Guiding center motion for particles in a ponderomotive magnetostatic end plug