def accept_fit  ( result , pdf = None , dataset = None ) :
    """Accept the fit result?
    - valid fit result
    - fit status is 0 (SUCCESS)
    - covariance matrix quality  is either 0 or -1 
    """
    return result and ( 0 == result.status () ) and ( result.covQual () in ( -1 , 3 ) )