Xrf fit

This logging should happen when you catch the IOError and deal with it