added data argument if want fitted for different dataset
uses access functions and passed object_data as no longer in jagr_analysis