dgm_fit
