Xrf fit

You don't need the both logging and print.