Electron energy distribution of a mirror confined relativistic plasma inferred from synchrotron radiation measurements