xmimsim-pymca: fitted detector parameters are now used