Thanks SpiffyKavu, I think I understand how it works now. I guess that powerful electric currents in the crust of the neutron star could produce its powerful magnetic field. I might be wrong of course.
SpiffyKavu, would it be possible for electric currents to run through the degenerate neutron matter? And if they could, would they too experience superconductivity. I understand that the neutrons are already flowing without resistance, but I don't see how objects that don't have charge could produce magnetic fields. Form what I have learned, which is limited, only objects with charge can produce magnetic fields.