Dixmier trace and the DOS of magnetic operators