Closed form solution of the itinerant oscillator model of molecular libration