Thermodynamic properties of a magnetized Fermi gas.