Photon production in an expanding and chemically equilibrating gluon-enriched plasma