Limiting fragmentation and azimuthal anisotropy of photons in high energy collisions at RHIC energies