Density of states of a two dimensional electron gas in a high magnetic field studied with photoluminescence