Valence band density of states and X-ray photoelectron spectrum of GaS