/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 163 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7392
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin44
RA = 138.986, Dec = 29.553
tmin = 250732801, tmax = 250992001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='102343', job_status='RUN', time_executed='2021-08-31 05:29:45.932617', time_epoch_executed='1630412985.93' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='44'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102343

Creating custom pfile directory:
/scratch/kocevski/102343/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=250732801.0 && nMetStart<250992001.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=250732801.0 && nMetStart<250992001.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102343/ft1_4FGL_J0915.9+2933_daily_bin44.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=250732801.0 && nMetStart<250992001.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102343/ft1_4FGL_J0915.9+2933_daily_bin44.fits outfile=/scratch/kocevski/102343/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin44.fits ra=138.986 dec=29.553 rad=12.0 tmin=250732801.0 tmax=250992001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 1.33
user 0.99
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/102343/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin44.fits evtable="EVENTS" outfile="/scratch/kocevski/102343/ft1_filtered_4FGL_J0915.9+2933_daily_bin44.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.44
user 0.26
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102343/ft1_filtered_4FGL_J0915.9+2933_daily_bin44.fits" evtable="EVENTS" scfile=/scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits sctable="SC_DATA" outfile=/scratch/kocevski/102343/ltcube_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits
.....................!
real 9.21
user 8.87
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102343/ft1_filtered_4FGL_J0915.9+2933_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits sctable="SC_DATA" expcube=/scratch/kocevski/102343/ltcube_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.fits outfile=/scratch/kocevski/102343/expmap_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/102343/ltcube_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.fits
.....................!
real 140.82
user 137.16
sys 3.39

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0915.9+2933 @ 138.986 29.553

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/102343/ft1_filtered_4FGL_J0915.9+2933_daily_bin44.fits scfile=/scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits outfile=/scratch/kocevski/102343/cmap_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.47
user 0.28
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102343/ft1_filtered_4FGL_J0915.9+2933_daily_bin44.fits scfile=/scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits outfile=/scratch/kocevski/102343/cmap_HighResolution_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.43
user 0.29
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102343/ft1_filtered_4FGL_J0915.9+2933_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102343/Model_4FGL_J0915.9+2933_daily_bin44.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/102343/ft1_filtered_4FGL_J0915.9+2933_daily_bin44.fits.....................!
real 39.23
user 37.14
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/102343/ft1_filtered_4FGL_J0915.9+2933_daily_bin44.fits', '/scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits', expMap='/scratch/kocevski/102343/expmap_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.fits', expCube='/scratch/kocevski/102343/ltcube_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/102343/Model_4FGL_J0915.9+2933_daily_bin44.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0915.9+2933'

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.063e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/102343/ft1_filtered_4FGL_J0915.9+2933_daily_bin44.fits
Spacecraft file(s): /scratch/kocevski/102343/ft2_4FGL_J0915.9+2933_daily_bin44.fits
Exposure map: /scratch/kocevski/102343/expmap_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.fits
Exposure cube: /scratch/kocevski/102343/ltcube_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/102343/Model_4FGL_J0915.9+2933_daily_bin44.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5819.06099155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5818.96574572

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85345       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6697       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.909       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    32.702       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2023       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .75501       1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.863       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10458E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.1710       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.7670       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .72314       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.4721       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .50685       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2703       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5818.966     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2084 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85318        1.1808       -.16673E-06   -.10298E-02
   2  Prefactor     .10000E-03    8.9994       -.11189E-05** at limit **
   3  norm          1.6693        .81431        .20621E-07   -.13242E-03
   4  Prefactor     17.908        12.275       -.15307E-06   -.43867E-03
   5  Prefactor     .10000E-03    5.5482       -.29314E-07** at limit **
   6  norm          32.696        29.037       -.44097E-05    .30248E-04
   7  Prefactor     3.2021        3.5120       -.26235E-06   -.32581E-03
   8  Prefactor     .10000E-03    25.781       -.10234E-04** at limit **
   9  Prefactor     .10000E-03    1.4380        .31687E-08** at limit **
  10  norm          .75373        1.7458       -.28767E-06   -.11074E-02
  11  Prefactor     31.873        19.580        .19792E-05    .47082E-04
  12  Prefactor     .10000E-03    53.822       -.23508E-04** at limit **
  13  norm          .10000E-03    7.0374        .21735E-06** at limit **
  14  Prefactor     .10000E-03    1.9306       -.58161E-07** at limit **
  15  Prefactor     7.1708        4.5309       -.15754E-06   -.10907E-03
  16  Prefactor     4.7633        23.061       -.35662E-05   -.41896E-04
  17  Prefactor     .10000E-03    40.341        .29136E-04** at limit **
  18  Prefactor     .10000E-03    2.3302       -.20400E-07** at limit **
  19  Prefactor     .67081        4.9656        .18237E-05   -.11109E-02
  20  Prefactor     2.4720        1.9868       -.47577E-07   -.38886E-03
  21  Normalizat    .50691        .17028       -.57590E-06   -.50547E-04
  22  Prefactor     1.2703        .17132        .70974E-06   -.82969E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.853183
  Prefactor  = 0.0001
  norm       = 1.6693
  Prefactor  = 17.9076
  Prefactor  = 0.0001
  norm       = 32.6958
  Prefactor  = 3.20212
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.753732
  Prefactor  = 31.8733
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.17077
  Prefactor  = 4.76332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.670808
  Prefactor  = 2.47199
  Normalizat = 0.506905
  Prefactor  = 1.27027
 **********
 **   18 **HESSE 
 **********

 FCN=   5818.966     FROM HESSE     STATUS=OK           348 CALLS     2432 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85318        1.0803        .93808E-03   -1.5523    
   2  Prefactor     .10000E-03    9.1140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6693        .80855        .45119E-04   -1.5450    
   4  Prefactor     17.908        12.308        .47321E-03   -1.4861    
   5  Prefactor     .10000E-03    5.5644        .17546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          32.696        29.001        .70071E-04   -1.4564    
   7  Prefactor     3.2021        3.5028        .14351E-03   -1.5350    
   8  Prefactor     .10000E-03    25.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.4456        .89276E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .75373        1.5303        .14187E-02   -1.5534    
  11  Prefactor     31.873        19.539        .70985E-04   -1.4578    
  12  Prefactor     .10000E-03    53.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.1291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.9713        .10336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.1708        4.4342        .11581E-03   -1.5172    
  16  Prefactor     4.7633        23.098        .18428E-03   -1.5271    
  17  Prefactor     .10000E-03    39.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.3521        .11368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .67081        24.163        .32084E-02   -1.5544    
  20  Prefactor     2.4720        1.9787        .92551E-04   -1.5394    
  21  Normalizat    .50691        .19145        .29291E-03   -1.1210    
  22  Prefactor     1.2703        .19460        .20324E-03   -.84195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16555e-08
Minuit parameter uncertainties:
  1  1.08033
  2  1.10896e-05
  3  0.808552
  4  12.3094
  5  6.92131e-06
  6  29.0138
  7  3.50299
  8  5.81645e-05
  9  5.36098e-06
  10  1.53041
  11  19.543
  12  0.000178618
  13  6.44308e-05
  14  1.18224e-05
  15  4.43442
  16  20.9911
  17  9.65079e-05
  18  2.39276e-06
  19  8.0549
  20  1.97879
  21  0.191694
  22  0.194715
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5818.96572411

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.537e-01  1.530e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.270e+00  1.947e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  5.069e-01  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 138.986 29.553
Photon Flux Upper Limit: 5.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102343/likelihoodResults_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5817.41426611
delta logL = 1.55145800241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5817.409751
delta logL = 1.55597310839

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47422       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2262       1.0000          .0000       5.0000    
     3 'Normalizat'    .43569       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3084       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5817.410     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .47389        4.6714        .71925E-02    .52927E-02
   2  alpha         3.2276        3.7819        .21226        .22053E-03
   3  Normalizat    .43537        .44172E-01    .70988E-01   -.71032E-04
   4  Prefactor     1.3089        .46253E-01    .32464E-01   -.12625E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.473888
  alpha      = 3.22759
  Normalizat = 0.435371
  Prefactor  = 1.30885
 **********
 **   18 **HESSE 
 **********

 FCN=   5817.410     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .47389        1.2275        .32526E-04   -1.5570    
   2  alpha         3.2276        1.2149        .84229E-02    .29531    
   3  Normalizat    .43537        .18658        .31429E-03   -1.1551    
   4  Prefactor     1.3089        .19561        .20025E-03   -.83044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28966e-10
Minuit parameter uncertainties:
  1  1.2276
  2  1.27433
  3  0.186843
  4  0.195723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102343': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5817.40974341
delta logL = 1.55598070105

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.739e-01  1.228e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.228e+00  1.274e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.309e+00  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  4.354e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 138.986 29.553
Photon Index (Free Index): 3.23 +/- 1.27
Photon Flux (Free Index): 6.74e-08 +/- 4.50e-08
Energy Flux (Free Index): 1.33e-05 +/- 9.78e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/102343/cmap_HighResolution_250732801_250992001_4FGL_J0915.9+2933_daily_bin44.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/102343

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-05', comment='SUCCESS', energy_flux2='1.33e-05', dlogl='1.56e+00', photon_flux2='6.74e-08', job_status='DONE', time_completed='2021-08-31 05:36:59.991060', photon_index_error2='1.27', photon_index2='3.23', ts='0.34', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='5.12e-08', energy_flux_error2='9.78e-06', EG='0.51', time_epoch_completed='1630413419.99', return_code='0', job_id='102343', GAL2='1.31', EG2='0.44', return_code2='0', photon_flux_error2='4.50e-08', ts2='3.58', photon_index='1.75' WHERE bin_id='44' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:37:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 102343: <4FGL_J0915.9+2933_daily_bin44> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin44> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 05:26:35 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:26:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 05:26:40 2021
Terminated at Tue Aug 31 05:37:00 2021
Results reported at Tue Aug 31 05:37:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin44 138.986 29.553 250732801 250992001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0915.9+2933 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   423.59 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             221.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            625 sec.

The output (if any) is above this job summary.

