Try @invokelatest inspect(fit_foce).
See also here for a detailed explanation, and here for an explanation of invokelatest. I guess the issue here is that your deserialize(output_file) is reconstructing a function, not just data, hence the need for @invokelatest.