Evaluation of the source of error in spark source mass spectrography