Measurement of optical Feshbach resonances in an ideal gas.