Theoretical study toward rationalizing inelastic background analysis of buried layers in XPS and HAXPES. (10th June 2019)