FIXED: plotting spectrum and getting ML dm variations