<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Barbara,<div class=""><br class=""></div><div class="">Any chance you could try the option I mentioned where you change number of chunks in the .yt/config file? That way you might be able to avoid doing merging altogether. </div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class=""><div bgcolor="#FFFFFF" text="#000000" class=""><font color="#666666" class="">
      ValueError: probabilities do not sum to 1<br class="">
      <br class="">
       </font><br class="">
    I'm not sure what does that mean? Any ideas? Is this related to the
    small photon list I'm working with? <br class=""></div></div></blockquote><div><br class=""></div>This is a bug I fixed yesterday—when I have some way of getting the patch to you I will let you know. </div><div><br class=""><blockquote type="cite" class=""><div class=""><div bgcolor="#FFFFFF" text="#000000" class="">
    I have increased the observation redshift from 0.01 (as in the
    example) to 0.07 because I was obtaining another error that said: <br class="">
    <br class="">
    <font color="#666666" class="">585             fak = Aratio*Tratio*Dratio<br class="">
          586             if fak > 1:<br class="">
      --> 587                 raise ValueError("Spectrum scaling
      factor = %g, cannot be greater than unity." % fak)<br class="">
          588             my_n_obs = np.uint64(n_ph_tot*fak)<br class="">
          589 <br class="">
      <br class="">
      ValueError: Spectrum scaling factor = 8.78099, cannot be greater
      than unity.</font><br class="">
    <br class="">
    But I'll admit I fixed that purely by chance and playing with the
    parameters... <br class=""></div></div></blockquote><br class=""></div><div>This happens when you choose parameters for project_photons that would result in a higher number of photons being drawn than exist in the original set that you generated. I’m going to change this error message so it’s more informative. </div><div><br class=""></div><div>Best,</div><div><br class=""></div><div>John</div><br class=""></div></body></html>