Damage to x-ray fluorescence spectrometer