code useful for CMF fitting
clean up
checkpoints