extracts the type of fit that was applied in flux_fitting or checks that the fit_type provided by the user is compatible with Fluxible
extracts the type of fit that was applied in flux_fitting or checks that the fit_type provided by the user is compatible with Fluxible