Analytical solution for optimal squeezing of wave packet of a trapped quantum particle.