Measurement of optical gain in CO gas excited only by fission fragments