Bundle it.

def _create_catalog(self,catalog=None):
        """
        Bundle it.
        """
        if catalog is None:
            catalog = ugali.analysis.loglike.createCatalog(self.config,self.roi)
        cut = self.mask.restrictCatalogToObservableSpace(catalog)
        self.catalog = catalog.applyCut(cut)