def MLE_objective_function(x, y, term, m_dict):
    return (- np.sum([np.log10(pdfMetalog(x[:term], yi, term, bounds, boundedness)) for yi in np.absolute(x[term:])]))
def MLE_objective_function(x, y, term, m_dict):
    return (- np.sum([np.log10(pdfMetalog(x[:term], yi, term, bounds, boundedness)) for yi in np.absolute(x[term:])]))