Analytic ion conics in the magnetosphere