Constraints on the Magnetic Field Geometry of Magnetars