Electron spectrometer calibration. consistency between magnesium- and aluminum-excited spectra