Here is an older discussion on the topic: https://www.researchgate.net/post/Can_anyone_recommend_XPS_analysis_software
And since having good software isn't worth much without some know-how, here is some element-specific guidance: https://www.thermofisher.com/de/de/home/materials-science/learning-center/periodic-table/lanthanide-rare-earth/cerium.html