new file 'OptNIR_ALL.txt' for making histogram
and CMD figures