self calibrating kernel save to file