Magnetized neutron star