gammapy.stats
gammapy.stats.
get_wstat_gof_terms
Calculate goodness of fit terms for wstat
see Poisson data with background measurement.