/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 146 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 = 7717
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin764
RA = 138.986, Dec = 29.553
tmin = 437356801, tmax = 437616001
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='108203', job_status='RUN', time_executed='2021-08-31 05:48:38.645556', time_epoch_executed='1630414118.65' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108203

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108203/ft1_4FGL_J0915.9+2933_daily_bin764.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108203/ft2_4FGL_J0915.9+2933_daily_bin764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108203/ft1_4FGL_J0915.9+2933_daily_bin764.fits outfile=/scratch/kocevski/108203/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin764.fits ra=138.986 dec=29.553 rad=12.0 tmin=437356801.0 tmax=437616001.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 5.89
user 5.22
sys 0.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108203/ft2_4FGL_J0915.9+2933_daily_bin764.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/108203/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin764.fits evtable="EVENTS" outfile="/scratch/kocevski/108203/ft1_filtered_4FGL_J0915.9+2933_daily_bin764.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 1.01
user 0.33
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108203/ft1_filtered_4FGL_J0915.9+2933_daily_bin764.fits" evtable="EVENTS" scfile=/scratch/kocevski/108203/ft2_4FGL_J0915.9+2933_daily_bin764.fits sctable="SC_DATA" outfile=/scratch/kocevski/108203/ltcube_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.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/108203/ft2_4FGL_J0915.9+2933_daily_bin764.fits
.....................!
real 12.84
user 11.94
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108203/ft1_filtered_4FGL_J0915.9+2933_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/108203/ft2_4FGL_J0915.9+2933_daily_bin764.fits sctable="SC_DATA" expcube=/scratch/kocevski/108203/ltcube_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.fits outfile=/scratch/kocevski/108203/expmap_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.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/108203/ltcube_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.fits
.....................!
real 197.88
user 187.23
sys 5.75

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/108203/ft1_filtered_4FGL_J0915.9+2933_daily_bin764.fits scfile=/scratch/kocevski/108203/ft2_4FGL_J0915.9+2933_daily_bin764.fits outfile=/scratch/kocevski/108203/cmap_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.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.89
user 0.36
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108203/ft1_filtered_4FGL_J0915.9+2933_daily_bin764.fits scfile=/scratch/kocevski/108203/ft2_4FGL_J0915.9+2933_daily_bin764.fits outfile=/scratch/kocevski/108203/cmap_HighResolution_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.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.86
user 0.37
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/108203/ft1_filtered_4FGL_J0915.9+2933_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/108203/ft2_4FGL_J0915.9+2933_daily_bin764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/108203/Model_4FGL_J0915.9+2933_daily_bin764.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/108203/ft1_filtered_4FGL_J0915.9+2933_daily_bin764.fits.....................!
real 48.70
user 46.44
sys 1.56

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/108203/ft1_filtered_4FGL_J0915.9+2933_daily_bin764.fits', '/scratch/kocevski/108203/ft2_4FGL_J0915.9+2933_daily_bin764.fits', expMap='/scratch/kocevski/108203/expmap_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.fits', expCube='/scratch/kocevski/108203/ltcube_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/108203/Model_4FGL_J0915.9+2933_daily_bin764.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/108203/ft1_filtered_4FGL_J0915.9+2933_daily_bin764.fits
Spacecraft file(s): /scratch/kocevski/108203/ft2_4FGL_J0915.9+2933_daily_bin764.fits
Exposure map: /scratch/kocevski/108203/expmap_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.fits
Exposure cube: /scratch/kocevski/108203/ltcube_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/108203/Model_4FGL_J0915.9+2933_daily_bin764.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) = 5239.16057334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76380       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.019       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .77002       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .46859E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10332E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13063E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .58028E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8362       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .47596       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.528       1.0000         .10000E-03   10000.    
    13 'norm      '    18.272       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11822E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.9923       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.592       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96729       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0122       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5239.150     FROM MIGRAD    STATUS=FAILED       867 CALLS     2788 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76349        1.4876        .11651E-03   -.17095E-03
   2  Prefactor     23.020        20.317        .83487E-04    .20018E-04
   3  norm          .10000E-03    .25016        .69814E-04** at limit **
   4  Prefactor     .78543        31.702        .43598E-02    .15942E-02
   5  Prefactor     .10016E-03    152.38        .51426E-02** at limit **
   6  norm          .10000E-03    12.188        .18142E-02** at limit **
   7  Prefactor     .10000E-03    1.1818        .76698E-03** at limit **
   8  Prefactor     .10000E-03    21.725        .18142E-02** at limit **
   9  Prefactor     .10000E-03    11.749        .22562E-02** at limit **
  10  norm          1.8360        1.6107        .83187E-04    .15017E-03
  11  Prefactor     .40461        471.64        .55261E-02    .16913E-03
  12  Prefactor     13.581        40.278        .10890E-03    .86230E-04
  13  norm          18.324        13.605        .93696E-04    .23782E-03
  14  Prefactor     .10000E-03    1.7982        .94142E-03** at limit **
  15  Prefactor     .10000E-03    .98736        .70120E-03** at limit **
  16  Prefactor     .10000E-03    24.761        .18142E-02** at limit **
  17  Prefactor     .10000E-03    89.834        .18142E-02** at limit **
  18  Prefactor     9.9898        7.5177        .12676E-03   -.52196E-04
  19  Prefactor     15.595        10.636        .10143E-03    .41471E-05
  20  Prefactor     .10000E-03    2.9114        .16690E-02** at limit **
  21  Normalizat    .96732        .20691        .23767E-03    .44377E-03
  22  Prefactor     1.0121        .20205        .23404E-03    .38985E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5239.150     FROM SIMPLEX   STATUS=UNCHANGED   1067 CALLS     3855 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76349        1.4876        .43481E-06   -1.5533    
   2  Prefactor     23.020        20.317        .79669E-06   -1.4748    
   3  norm          .10000E-03    .25016        .77578E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .78543        31.702        .39097E-06   -1.5531    
   5  Prefactor     .10016E-03    152.38        .70217E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    12.188        .32756E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.1818        .13213E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.725        .27010E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.749        .81481E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8360        1.6107        .33809E-06   -1.5437    
  11  Prefactor     .40461        471.64        .10115E-05   -1.5581    
  12  Prefactor     13.581        40.278        .33217E-06   -1.4971    
  13  norm          18.324        13.605        .32743E-06   -1.4852    
  14  Prefactor     .10000E-03    1.7982        .12188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .98736        .10465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.761        .56421E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    89.834        .70853E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.9898        7.5177        .33135E-06   -1.5076    
  19  Prefactor     15.595        10.636        .32773E-06   -1.4918    
  20  Prefactor     .10000E-03    2.9114        .82086E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96732        .20691        .20819E-06   -.94134    
  22  Prefactor     1.0121        .20205        .20302E-06   -.92326    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5239.150     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     4183 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76349        1.4871        .46604E-05   -.11221E-04
   2  Prefactor     23.020        20.306        .33395E-05    .11575E-04
   3  norm          .10000E-03    .25016        .13963E-04** at limit **
   4  Prefactor     .78545        31.777        .87196E-03    .35985E-05
   5  Prefactor     .10000E-03    158.24        .20570E-03** at limit **
   6  norm          .10000E-03    12.188        .36285E-03** at limit **
   7  Prefactor     .10000E-03    1.1819        .15340E-03** at limit **
   8  Prefactor     .10000E-03    21.725        .36285E-03** at limit **
   9  Prefactor     .10000E-03    11.803        .45123E-03** at limit **
  10  norm          1.8360        1.6105        .16637E-04    .52206E-04
  11  Prefactor     .40325        371.50        .22104E-03    .11418E-04
  12  Prefactor     13.581        40.288        .43560E-05    .13571E-04
  13  norm          18.324        11.938        .37479E-05    .47199E-03
  14  Prefactor     .10000E-03    1.7984        .18828E-03** at limit **
  15  Prefactor     .10000E-03    .98737        .14024E-03** at limit **
  16  Prefactor     .10000E-03    24.766        .36285E-03** at limit **
  17  Prefactor     .10000E-03    89.844        .36285E-03** at limit **
  18  Prefactor     9.9898        7.5145        .50705E-05    .44842E-06
  19  Prefactor     15.595        10.634        .40572E-05    .67250E-05
  20  Prefactor     .10000E-03    2.9235        .33379E-03** at limit **
  21  Normalizat    .96732        .20592        .47535E-04    .21128E-03
  22  Prefactor     1.0121        .20188        .46807E-04    .16735E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.76349
  Prefactor  = 23.0199
  norm       = 0.0001
  Prefactor  = 0.785451
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.83604
  Prefactor  = 0.403253
  Prefactor  = 13.5812
  norm       = 18.3241
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.98981
  Prefactor  = 15.5951
  Prefactor  = 0.0001
  Normalizat = 0.967317
  Prefactor  = 1.01212
 **********
 **   18 **HESSE 
 **********

 FCN=   5239.150     FROM HESSE     STATUS=OK           322 CALLS     4505 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76349        1.4866        .93209E-06   -1.5533    
   2  Prefactor     23.020        20.270        .66789E-06   -1.4748    
   3  norm          .10000E-03    .25017        .27925E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .78545        31.745        .34879E-04   -1.5531    
   5  Prefactor     .10000E-03    158.26        .41141E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    12.188        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.1819        .30679E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.725        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.805        .90247E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8360        1.6105        .33275E-05   -1.5437    
  11  Prefactor     .40325        368.56        .88418E-05   -1.5581    
  12  Prefactor     13.581        40.668        .87121E-06   -1.4971    
  13  norm          18.324        11.894        .74957E-06   -1.4852    
  14  Prefactor     .10000E-03    1.7984        .37657E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .98737        .28048E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.766        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    89.844        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.9898        7.5130        .10141E-05   -1.5076    
  19  Prefactor     15.595        10.634        .81145E-06   -1.4918    
  20  Prefactor     .10000E-03    2.9240        .66758E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96732        .20586        .95070E-05   -.94134    
  22  Prefactor     1.0121        .20190        .93614E-05   -.92327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0903e-10
Minuit parameter uncertainties:
  1  1.48671
  2  20.2764
  3  3.38154e-08
  4  9.99182
  5  0.00178251
  6  1.94564e-06
  7  6.26738e-08
  8  2.08063e-05
  9  0.000100956
  10  1.61054
  11  24.532
  12  40.7516
  13  11.8955
  14  1.45817e-06
  15  2.14077e-07
  16  5.84688e-06
  17  3.29244e-05
  18  7.51369
  19  10.635
  20  1.24403e-05
  21  0.206033
  22  0.20205
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.836e+00  1.611e+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.012e+00  2.020e-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:  9.673e-01  2.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.18
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.86e-08 +/- 1.63e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 1.87e-05

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) = 5239.14232392
delta logL = 0.00809851882059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5239.14202116
delta logL = 0.0084012795669

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8024       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6627       1.0000          .0000       5.0000    
     3 'Normalizat'    .96890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0120       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5239.142     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      228 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8023        1.6431        .83948E-04    .35929E-03
   2  alpha         1.6627        .66526        .15168E-01    .19658E-04
   3  Normalizat    .96890        .19651        .23750E-03   -.38582E-04
   4  Prefactor     1.0120        .19834        .23406E-03   -.51390E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.80232
  alpha      = 1.66265
  Normalizat = 0.968903
  Prefactor  = 1.01204
 **********
 **   18 **HESSE 
 **********

 FCN=   5239.142     FROM HESSE     STATUS=OK            23 CALLS      251 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8023        1.6540        .33579E-05   -1.5439    
   2  alpha         1.6627        .66956        .60672E-03   -.34154    
   3  Normalizat    .96890        .19669        .95000E-05   -.94080    
   4  Prefactor     1.0120        .19855        .93623E-05   -.92329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.12407e-11
Minuit parameter uncertainties:
  1  1.65406
  2  0.678918
  3  0.196836
  4  0.19869
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108203': 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) = 5239.14202115
delta logL = 0.00840128040181

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.802e+00  1.654e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.663e+00  6.789e-01  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.012e+00  1.987e-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:  9.689e-01  1.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.19
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.66 +/- 0.68
Photon Flux (Free Index): 1.65e-08 +/- 2.16e-08
Energy Flux (Free Index): 2.35e-05 +/- 2.78e-05

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/108203/cmap_HighResolution_437356801_437616001_4FGL_J0915.9+2933_daily_bin764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.86e-08', energy_flux2='2.35e-05', photon_flux_error='1.63e-08', dlogl='8.40e-03', energy_flux='2.14e-05', photon_flux2='1.65e-08', job_status='DONE', time_completed='2021-08-31 05:59:33.779123', photon_index_error2='0.68', photon_index2='1.66', ts='5.18', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='2.78e-05', EG='0.97', time_epoch_completed='1630414773.78', return_code='0', job_id='108203', GAL2='1.01', EG2='0.97', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='2.16e-08', ts2='5.19', photon_index='1.75' WHERE bin_id='764' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:59:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 108203: <4FGL_J0915.9+2933_daily_bin764> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin764> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:45:53 2021
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:45:55 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:45:55 2021
Terminated at Tue Aug 31 05:59:36 2021
Results reported at Tue Aug 31 05:59:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin764 138.986 29.553 437356801 437616001 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 :                                   631.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            823 sec.

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

