Accurate calculation of ground-state energies in an analytic Lanczos expansion