Self-Consistent Simulation Of Radiation And Space-Charge In High-Brightness Relativistic Electron Beams