Two dimensional (2D) q-state Potts model has been studied in microcanonical ensemble using Monte Carlo simulations. For the microcanonical Monte Carlo simulation 15x15 spin system and q=10 state Potts model was chosen with periodic boundary condition. For large system energy the demon energy distribution is found to deviate from linearity and has the form exp(-ï¢ED+ï§ED 2). ï§ is found to be zero near the first-order transition. We suggest a possible origin of localized two level system observed in glasses.