def MLE_quantile_constraints(x):
    M = [quantileMetalog(x[:term], yi, term, bounds=bounds, boundedness=boundedness) for yi in x[term:]]
    return (m_dict['dataValues']['x'] - M)
def MLE_quantile_constraints(x):
    M = [quantileMetalog(x[:term], yi, term, bounds=bounds, boundedness=boundedness) for yi in x[term:]]
    return (m_dict['dataValues']['x'] - M)