Magnetars are neutron stars with ultra-strong magnetic fields that are about a quadrillion times greater than the magnetic field of Earth. These huge magnetic fields are thought to be produced when an rapidly rotating neutron star is formed by the collapse of the core of a massive star. Magnetars emit bright X-rays and show erratic periods of activity, with the emission of bursts and flares which can release in just one second an amount of energy...