code: def remove_priors(self):
          
  
          for src in self.roi.sources:
  
              for par in self.like[src.name].funcs["Spectrum"].params.values():
                  par.removePrior()
docs: Clear all priors.