A measurement of direct photon production cross section at the CERN p-antip collider