Analytic Solution of an Active Brownian Particle in a Harmonic Well