code: def get_fit_failed_candidate_model(model_type, formula):
      
      warnings = [
          EEMeterWarning(
              qualified_name="eemeter.caltrack_daily.{}.model_results".format(model_type),
              description=(
                  "Error encountered in statsmodels.formula.api.ols method. (Empty data?)"
              ),
              data={"traceback": traceback.format_exc()},
          )
      ]
      return CalTRACKUsagePerDayCandidateModel(
          model_type=model_type, formula=formula, status="ERROR", warnings=warnings
      )
docs: Return a Candidate model that indicates the fitting routine failed.
  
      Parameters
      ----------
      model_type : :any:`str`
          Model type (e.g., ``'cdd_hdd'``).
      formula : :any:`float`
          The candidate model formula.
  
      Returns
      -------
      candidate_model : :any:`eemeter.CalTRACKUsagePerDayCandidateModel`
          Candidate model instance with status ``'ERROR'``, and warning with
          traceback.