On the XFEL Schrodinger Equation: Highly Oscillatory Magnetic Potentials and Time Averaging