Index: /trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
===================================================================
--- /trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc	(revision 8883)
+++ /trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc	(revision 8884)
@@ -290,5 +290,5 @@
     }
 
-    const Double_t ofl = vstime->GetBinContent(vstime->GetNbinsX());
+    const Double_t ofl = vstime->GetBinContent(vstime->GetNbinsX()+1);
     const Double_t eff = vstime->Integral()+ofl;
     if (ofl>0)
@@ -335,4 +335,6 @@
     const Float_t emin2 = chain.GetMaximum("MMcCorsikaRunHeader.fELowLim");
     *fLog << "found " << emin2 << "GeV" << endl;
+
+    // Need a check for the upper energy LIMIT?!?
 
     if (emin2>emin)
@@ -558,5 +560,5 @@
     // Calculate the Probability
     temp1.Divide(&temp2);
-    temp1.Scale(1./temp1.Integral(1, temp1.GetNbinsX()));
+    temp1.Scale(1./temp1.Integral(1, temp1.GetNbinsX()+1));
 
     // Some cosmetics: Name, Axis, etc.
