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


Performing analysis on: 4FGL_J0902.4+2051_daily_bin705
RA = 135.617, Dec = 20.8503
tmin = 422064001, tmax = 422323201
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='941367', job_status='RUN', time_executed='2021-08-30 21:11:09.878957', time_epoch_executed='1630383069.88' WHERE source_name='4FGL J0902.4+2051' and cadence='daily' and bin_id='705'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941367

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941367/ft1_4FGL_J0902.4+2051_daily_bin705.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941367/ft2_4FGL_J0902.4+2051_daily_bin705.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941367/ft1_4FGL_J0902.4+2051_daily_bin705.fits outfile=/scratch/kocevski/941367/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin705.fits ra=135.617 dec=20.8503 rad=12.0 tmin=422064001.0 tmax=422323201.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 4.38
user 3.40
sys 0.88

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/941367/ft2_4FGL_J0902.4+2051_daily_bin705.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941367/ft2_4FGL_J0902.4+2051_daily_bin705.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/941367/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin705.fits evtable="EVENTS" outfile="/scratch/kocevski/941367/ft1_filtered_4FGL_J0902.4+2051_daily_bin705.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.34
user 0.33
sys 0.82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941367/ft1_filtered_4FGL_J0902.4+2051_daily_bin705.fits" evtable="EVENTS" scfile=/scratch/kocevski/941367/ft2_4FGL_J0902.4+2051_daily_bin705.fits sctable="SC_DATA" outfile=/scratch/kocevski/941367/ltcube_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.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/941367/ft2_4FGL_J0902.4+2051_daily_bin705.fits
.....................!
real 12.55
user 11.33
sys 1.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941367/ft1_filtered_4FGL_J0902.4+2051_daily_bin705.fits evtable="EVENTS" scfile=/scratch/kocevski/941367/ft2_4FGL_J0902.4+2051_daily_bin705.fits sctable="SC_DATA" expcube=/scratch/kocevski/941367/ltcube_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.fits outfile=/scratch/kocevski/941367/expmap_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.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/941367/ltcube_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.fits
.....................!
real 193.12
user 186.29
sys 5.49

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 J0902.4+2051 @ 135.617 20.8503

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/941367/ft1_filtered_4FGL_J0902.4+2051_daily_bin705.fits scfile=/scratch/kocevski/941367/ft2_4FGL_J0902.4+2051_daily_bin705.fits outfile=/scratch/kocevski/941367/cmap_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.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=135.617 yref=20.8503 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 1.38
user 0.37
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941367/ft1_filtered_4FGL_J0902.4+2051_daily_bin705.fits scfile=/scratch/kocevski/941367/ft2_4FGL_J0902.4+2051_daily_bin705.fits outfile=/scratch/kocevski/941367/cmap_HighResolution_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.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=135.617 yref=20.8503 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 1.27
user 0.37
sys 0.82

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/941367/ft1_filtered_4FGL_J0902.4+2051_daily_bin705.fits evtable="EVENTS" scfile=/scratch/kocevski/941367/ft2_4FGL_J0902.4+2051_daily_bin705.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941367/Model_4FGL_J0902.4+2051_daily_bin705.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/941367/ft1_filtered_4FGL_J0902.4+2051_daily_bin705.fits.....................!
real 59.89
user 55.34
sys 1.97

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/941367/ft1_filtered_4FGL_J0902.4+2051_daily_bin705.fits', '/scratch/kocevski/941367/ft2_4FGL_J0902.4+2051_daily_bin705.fits', expMap='/scratch/kocevski/941367/expmap_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.fits', expCube='/scratch/kocevski/941367/ltcube_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/941367/Model_4FGL_J0902.4+2051_daily_bin705.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0902.4+2051'

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  7.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  2.145e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/941367/ft1_filtered_4FGL_J0902.4+2051_daily_bin705.fits
Spacecraft file(s): /scratch/kocevski/941367/ft2_4FGL_J0902.4+2051_daily_bin705.fits
Exposure map: /scratch/kocevski/941367/expmap_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.fits
Exposure cube: /scratch/kocevski/941367/ltcube_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/941367/Model_4FGL_J0902.4+2051_daily_bin705.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) = 6073.69293506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.860       1.0000         .10000E-03   10000.    
     2 'norm      '    .33764       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.438       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.114       1.0000         .10000E-03   10000.    
     6 'norm      '    2.1004       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.0552       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.9575       1.0000         .10000E-03   10000.    
    10 'norm      '    4.5192       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9897       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2759       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.438       1.0000         .10000E-03   10000.    
    15 'Prefactor '    104.06       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.9208       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2929       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .73131       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=   6073.690     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1756 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.933        31.616       -.26882E-05   -.17062E-03
   2  norm          .33380        1.3057        .15777E-05   -.33475E-03
   3  Prefactor     11.444        9.2441       -.35715E-06   -.31460E-04
   4  Prefactor     .10000E-03    3.5512        .98498E-08** at limit **
   5  Prefactor     24.067        38.049       -.31560E-06   -.72314E-04
   6  norm          2.1004        .91887       -.21235E-08   -.16536E-03
   7  Prefactor     9.0503        13.694        .30805E-06    .12816E-03
   8  Prefactor     .10000E-03    7.7975        .55892E-07** at limit **
   9  norm          7.9573        6.0974       -.38966E-09    .20824E-04
  10  norm          4.5059        48.881        .75844E-06    .17855E-05
  11  norm          1.9896        1.6148       -.51702E-08   -.13547E-04
  12  Prefactor     .10000E-03    12.483        .13657E-07** at limit **
  13  Prefactor     2.2757        3.3154        .15571E-06   -.10315E-03
  14  Prefactor     21.423        39.069       -.18246E-06   -.23253E-04
  15  Prefactor     104.04        83.373       -.18919E-06   -.36020E-04
  16  Prefactor     9.9171        29.332        .14064E-06   -.71001E-07
  17  Normalizat    1.2931        .19148        .17531E-06   -.14667E-03
  18  Prefactor     .73121        .15632       -.48764E-06   -.52327E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.9331
  norm       = 0.333795
  Prefactor  = 11.444
  Prefactor  = 0.0001
  Prefactor  = 24.0675
  norm       = 2.10038
  Prefactor  = 9.05027
  Prefactor  = 0.0001
  norm       = 7.95732
  norm       = 4.50591
  norm       = 1.98961
  Prefactor  = 0.0001
  Prefactor  = 2.27574
  Prefactor  = 21.423
  Prefactor  = 104.043
  Prefactor  = 9.91715
  Normalizat = 1.29311
  Prefactor  = 0.731209
 **********
 **   18 **HESSE 
 **********

 FCN=   6073.690     FROM HESSE     STATUS=OK           250 CALLS     2006 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.933        31.974        .64297E-04   -1.4459    
   2  norm          .33380        1.3142        .14231E-03   -1.5592    
   3  Prefactor     11.444        9.2575        .11846E-03   -1.5031    
   4  Prefactor     .10000E-03    3.5747        .14339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     24.067        38.151        .81573E-04   -1.4726    
   6  norm          2.1004        .91588        .45627E-04   -1.5418    
   7  Prefactor     9.0503        13.690        .13319E-03   -1.5106    
   8  Prefactor     .10000E-03    7.8211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.9573        6.0984        .14214E-03   -1.5144    
  10  norm          4.5059        48.660        .18938E-03   -1.5283    
  11  norm          1.9896        1.6154        .85860E-04   -1.5426    
  12  Prefactor     .10000E-03    12.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2757        3.2945        .16217E-03   -1.5406    
  14  Prefactor     21.423        39.252        .86507E-04   -1.4782    
  15  Prefactor     104.04        83.461        .39418E-04   -1.3664    
  16  Prefactor     9.9171        29.332        .12722E-03   -1.5078    
  17  Normalizat    1.2931        .22657        .23795E-03   -.83772    
  18  Prefactor     .73121        .18265        .25934E-03   -1.0232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64434e-10
Minuit parameter uncertainties:
  1  31.9878
  2  1.31427
  3  9.25868
  4  7.34746e-07
  5  38.1897
  6  0.915883
  7  13.6944
  8  1.02148e-05
  9  6.09888
  10  29.6452
  11  1.61542
  12  4.69135e-06
  13  3.29478
  14  39.2989
  15  83.5558
  16  29.3747
  17  0.226747
  18  0.182796
Done.

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

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  9.050e+00  1.369e+01  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  2.145e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.312e-01  1.828e-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:  1.293e+00  2.267e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.65
Ra Dec: 135.617 20.850
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941367/likelihoodResults_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.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) = 6073.62359796
delta logL = 0.0668070301517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6073.61469389
delta logL = 0.0757111045341

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4835       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5111       1.0000          .0000       10.000    
     3 'Normalizat'    1.2784       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73765       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=   6073.615     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      285 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4841        13.565        .14660E-03    .23497E-04
   2  Index         2.5131        1.0508        .87374E-02    .35720E-03
   3  Normalizat    1.2788        .21850        .23901E-03    .22789E-03
   4  Prefactor     .73748        .18231        .25828E-03    .18236E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.48412
  Index      = 2.5131
  Normalizat = 1.27875
  Prefactor  = 0.73748
 **********
 **   18 **HESSE 
 **********

 FCN=   6073.615     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4841        12.406        .58642E-05   -1.5161    
   2  Index         2.5131        .96134        .17475E-02   -.52058    
   3  Normalizat    1.2788        .21818        .47803E-04   -.84203    
   4  Prefactor     .73748        .18214        .10331E-04   -1.0208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.52437e-11
Minuit parameter uncertainties:
  1  12.4105
  2  0.969391
  3  0.218333
  4  0.182287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941367': 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) = 6073.61468617
delta logL = 0.0757188226444

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  7.484e+00  1.241e+01  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  2.513e+00  9.694e-01  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.375e-01  1.823e-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:  1.279e+00  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.65
Ra Dec: 135.617 20.850

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/941367/cmap_HighResolution_422064001_422323201_4FGL_J0902.4+2051_daily_bin705.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.71e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-08-30 21:20:28.109942', job_id='941367', GAL2='0.74', fit_tolerance='1e-08', EG2='1.28', EG='1.29', time_epoch_completed='1630383628.11', return_code2='0', ts='0.65', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='7.57e-02', ts2='0.81', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='705' AND source_name='4FGL J0902.4+2051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:20:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 941367: <4FGL_J0902.4+2051_daily_bin705> in cluster <slac> Done

Job <4FGL_J0902.4+2051_daily_bin705> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Aug 30 21:10:38 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 21:10:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 21:10:40 2021
Terminated at Mon Aug 30 21:20:28 2021
Results reported at Mon Aug 30 21:20:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0902.4+2051_daily_bin705 135.617 20.8503 422064001 422323201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0902.4+2051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   560.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   588 sec.
    Turnaround time :                            590 sec.

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

