Analysis of photon emission induced by light and heavy ions in time-of-flight medium energy ion scattering