[pvalues] Save p-values into a JSON file
Only run theta if options 'run_theta' is true
Allow histograms to have negative bin content