Numerical tracing of energetic particle drifts in a model magnetosphere