I'm working on a problem right now where we have to figure out the transition probability between arbitrary excited states of the harmonic oscillator under a small time-dependent perturbation. Its time dependence is as $e^{-t^2}$, and it's applied at initial time $t_i = -\infty$. (It's not explicitly called small and gradually-applied, per se, but I think that's a reasonable interpretation of the conditions given in the problem.) The system is more or less a variation on the driven harmonic oscillator.
After much internet-scouring, I've determined that the best way to approach this is to use the near-adiabatic approximation, which involves the dynamic phase factor: $$ \theta_n(t) = -\int^t_0\omega_n(t')dt' = -\frac1\hbar\int^t_0E_n(t')dt' $$ Every definition of this equation I can find online sets its lower limit at $0$. Problem is, that's almost certainly under the implicit assumption that $t_i = 0$, which it isn't for me. What makes things particularly challenging is the fact that my expression for $E_n(t)$ contains a constant term, so if I set the lower limit to $-\infty$ the integral just evaluates as that and breaks everything.
Is that $0$ not actually related to the initial time, and rather just... part of the expression? And if I'm right, i.e. if the lower limit should indeed be $-\infty$, how in the world could I get around that?
(Disclaimer: It is distinctly possible that I might be totally off the mark and this isn't even relevant to the problem, but I don't... think that's the case. At any rate, I haven't yet found any better options for solving it. I can provide more of the details if necessary, but I'm kinda new here and don't 100% know where 'asking for help' ends and 'asking for answers' begins - so I'm erring on the side of caution for now)