GetDist error "Parameter range is zero"

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
alessandro tronconi
Posts: 6
Joined: February 14 2009
Affiliation: Bologna University

GetDist error \"Parameter range is zero\"

Post by alessandro tronconi » June 15 2016

Hello
i'm doing nothing new with getdist (apart from using the new version embedded in the latest release of cosmomc). This is the error i'm getting. How can i get rid of it?

chains/art1_1.txt
chains/art1_2.txt
chains/art1_3.txt
chains/art1_4.txt
chains/art1_5.txt
chains/art1_6.txt
chains/art1_7.txt
chains/art1_8.txt
chains/art1_9.txt
chains/art1_10.txt
chains/art1_11.txt
chains/art1_12.txt
Number of chains used = 12
var(mean)/mean(var), remaining chains, worst e-value: R-1 = 0.42052
RL: Not enough samples to estimate convergence stats
using 11076 rows, 48 parameters; mean weight 2.20783676417, tot weight 24454.0
Approx indep samples (N/corr length): 585.0
Equiv number of single samples (sum w)/max(w): 1063.0
Effective number of weighted samples (sum w)^2/sum(w^2): 6731
Best fit sample -log(Like) = 5632.021000
Ln(mean 1/like) = 5645.946746
mean(-Ln(like)) = 5639.123217
-Ln(mean like) = 5636.427736
Traceback (most recent call last):
File "/home/tronconi/anaconda/bin/GetDist.py", line 4, in <module>
__import__('pkg_resources').run_script('GetDist==0.2.6', 'GetDist.py')
File "/home/tronconi/anaconda/lib/python2.7/site-packages/pkg_resources/__init__.py", line 698, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/tronconi/anaconda/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1616, in run_script
exec(code, namespace, namespace)
File "/home/tronconi/anaconda/lib/python2.7/site-packages/GetDist-0.2.6-py2.7.egg/EGG-INFO/scripts/GetDist.py", line 357, in <module>
main(args)
File "/home/tronconi/anaconda/lib/python2.7/site-packages/GetDist-0.2.6-py2.7.egg/EGG-INFO/scripts/GetDist.py", line 194, in main
mc._setDensitiesandMarge1D(writeDataToFile=not no_plots and plot_data_dir, meanlikes=plot_meanlikes)
File "/home/tronconi/anaconda/lib/python2.7/site-packages/GetDist-0.2.6-py2.7.egg/getdist/mcsamples.py", line 2098, in _setDensitiesandMarge1D
meanlikes=meanlikes)
File "/home/tronconi/anaconda/lib/python2.7/site-packages/GetDist-0.2.6-py2.7.egg/getdist/mcsamples.py", line 1266, in get1DDensityGridData
if paramrange == 0: raise MCSamplesError('Parameter range is zero: ' + par.name)
getdist.mcsamples.MCSamplesError: Parameter range is zero: kd

Antony Lewis
Posts: 1379
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: GetDist error \\\"Parameter range is zero\\\"

Post by Antony Lewis » June 15 2016

I don't know, but i'd check what's going on with parameter "'kd" in your output chain files (they don't look well converged, maybe parameters are not moving).

Post Reply