  In this work it is shown that the use of a hydrodynamical model of heavy ion
collisions which incorporates recent developments, together with updated photon
emission rates greatly improves agreement with both ALICE and PHENIX
measurements of direct photons, supporting the idea that thermal photons are
the dominant source of direct photon momentum anisotropy. The event-by-event
hydrodynamical model uses IP-Glasma initial states and includes, for the first
time, both shear and bulk viscosities, along with second order couplings
between the two viscosities. The effect of both shear and bulk viscosities on
the photon rates is studied, and those transport coefficients are shown to have
measurable consequences on the photon momentum anisotropy.
