/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 = 7439
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0902.4+2051_daily_bin96
RA = 135.617, Dec = 20.8503
tmin = 264211201, tmax = 264470401
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='936596', job_status='RUN', time_executed='2021-08-30 20:58:51.632589', time_epoch_executed='1630382331.63' WHERE source_name='4FGL J0902.4+2051' and cadence='daily' and bin_id='96'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/936596

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/936596/ft1_4FGL_J0902.4+2051_daily_bin96.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/936596/ft2_4FGL_J0902.4+2051_daily_bin96.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/936596/ft1_4FGL_J0902.4+2051_daily_bin96.fits outfile=/scratch/kocevski/936596/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin96.fits ra=135.617 dec=20.8503 rad=12.0 tmin=264211201.0 tmax=264470401.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 2.17
user 1.48
sys 0.61

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/936596/ft2_4FGL_J0902.4+2051_daily_bin96.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/936596/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin96.fits evtable="EVENTS" outfile="/scratch/kocevski/936596/ft1_filtered_4FGL_J0902.4+2051_daily_bin96.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.03
user 0.32
sys 0.66

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/936596/ft1_filtered_4FGL_J0902.4+2051_daily_bin96.fits" evtable="EVENTS" scfile=/scratch/kocevski/936596/ft2_4FGL_J0902.4+2051_daily_bin96.fits sctable="SC_DATA" outfile=/scratch/kocevski/936596/ltcube_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.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/936596/ft2_4FGL_J0902.4+2051_daily_bin96.fits
.....................!
real 12.66
user 11.81
sys 0.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/936596/ft1_filtered_4FGL_J0902.4+2051_daily_bin96.fits evtable="EVENTS" scfile=/scratch/kocevski/936596/ft2_4FGL_J0902.4+2051_daily_bin96.fits sctable="SC_DATA" expcube=/scratch/kocevski/936596/ltcube_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.fits outfile=/scratch/kocevski/936596/expmap_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.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/936596/ltcube_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.fits
.....................!
real 193.34
user 186.91
sys 6.07

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/936596/ft1_filtered_4FGL_J0902.4+2051_daily_bin96.fits scfile=/scratch/kocevski/936596/ft2_4FGL_J0902.4+2051_daily_bin96.fits outfile=/scratch/kocevski/936596/cmap_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.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.05
user 0.37
sys 0.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/936596/ft1_filtered_4FGL_J0902.4+2051_daily_bin96.fits scfile=/scratch/kocevski/936596/ft2_4FGL_J0902.4+2051_daily_bin96.fits outfile=/scratch/kocevski/936596/cmap_HighResolution_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.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.04
user 0.38
sys 0.65

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/936596/ft1_filtered_4FGL_J0902.4+2051_daily_bin96.fits', '/scratch/kocevski/936596/ft2_4FGL_J0902.4+2051_daily_bin96.fits', expMap='/scratch/kocevski/936596/expmap_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.fits', expCube='/scratch/kocevski/936596/ltcube_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/936596/Model_4FGL_J0902.4+2051_daily_bin96.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/936596/ft1_filtered_4FGL_J0902.4+2051_daily_bin96.fits
Spacecraft file(s): /scratch/kocevski/936596/ft2_4FGL_J0902.4+2051_daily_bin96.fits
Exposure map: /scratch/kocevski/936596/expmap_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.fits
Exposure cube: /scratch/kocevski/936596/ltcube_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/936596/Model_4FGL_J0902.4+2051_daily_bin96.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) = 5486.51208537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.8599       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6060       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.490       1.0000         .10000E-03   10000.    
     6 'norm      '    .15196       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1875       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.835       1.0000         .10000E-03   10000.    
     9 'norm      '    4.5194       1.0000         .10000E-03   10000.    
    10 'norm      '    33.303       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0205       1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.019       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.6297       1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.419       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.310       1.0000         .10000E-03   10000.    
    16 'Prefactor '    58.095       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .84903       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92987       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5486.511     FROM MIGRAD    STATUS=CONVERGED    333 CALLS     2227 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.766         .0000    ** at limit **
   2  norm          3.8591        1.6541         .0000        .49618E-03
   3  Prefactor     1.6039        12.899         .0000        .11275E-01
   4  Prefactor     .10000E-03    2.6308         .0000    ** at limit **
   5  Prefactor     40.491        35.734         .0000       -.88349E-03
   6  norm          .15219        .46536         .0000        .25828E-02
   7  Prefactor     3.1871        7.5817         .0000        .56715E-02
   8  Prefactor     27.836        17.206         .0000       -.12741E-02
   9  norm          4.5193        4.6470         .0000       -.60713E-03
  10  norm          33.303        28.634         .0000       -.52114E-03
  11  norm          1.0205        .97372         .0000       -.21727E-03
  12  Prefactor     63.019        57.840         .0000       -.13037E-03
  13  Prefactor     4.6299        3.4959         .0000        .35864E-03
  14  Prefactor     30.419        25.579         .0000       -.43547E-03
  15  Prefactor     19.309        41.587         .0000        .67844E-03
  16  Prefactor     58.095        44.012         .0000       -.29740E-03
  17  Normalizat    .84896        .18313         .0000        .25223E-04
  18  Prefactor     .92993        .15713         .0000        .22680E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.85915
  Prefactor  = 1.60392
  Prefactor  = 0.0001
  Prefactor  = 40.4906
  norm       = 0.152188
  Prefactor  = 3.18713
  Prefactor  = 27.8357
  norm       = 4.51929
  norm       = 33.303
  norm       = 1.02055
  Prefactor  = 63.019
  Prefactor  = 4.62988
  Prefactor  = 30.419
  Prefactor  = 19.3094
  Prefactor  = 58.0953
  Normalizat = 0.848964
  Prefactor  = 0.929934
 **********
 **   18 **HESSE 
 **********

 FCN=   5486.511     FROM HESSE     STATUS=OK           246 CALLS     2473 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8591        1.6361        .55733E-04   -1.5315    
   3  Prefactor     1.6039        12.665        .16719E-02   -1.5455    
   4  Prefactor     .10000E-03    2.6429        .11730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     40.491        35.786        .62994E-04   -1.4434    
   6  norm          .15219        .45211        .82704E-04   -1.5630    
   7  Prefactor     3.1871        7.4922        .11348E-02   -1.5351    
   8  Prefactor     27.836        17.266        .75935E-04   -1.4652    
   9  norm          4.5193        4.6517        .15800E-03   -1.5283    
  10  norm          33.303        28.632        .69437E-04   -1.4553    
  11  norm          1.0205        1.0057        .69460E-03   -1.5506    
  12  Prefactor     63.019        57.854        .50549E-04   -1.4119    
  13  Prefactor     4.6299        3.4956        .11437E-03   -1.5278    
  14  Prefactor     30.419        25.611        .72646E-04   -1.4604    
  15  Prefactor     19.309        41.585        .91147E-04   -1.4829    
  16  Prefactor     58.095        44.071        .52635E-04   -1.4182    
  17  Normalizat    .84896        .21398        .25060E-03   -.98277    
  18  Prefactor     .92993        .18392        .21871E-03   -.95103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27061e-08
Minuit parameter uncertainties:
  1  3.1986e-06
  2  1.63612
  3  9.01662
  4  5.38352e-06
  5  35.8049
  6  0.452124
  7  7.49444
  8  17.2691
  9  4.65205
  10  28.6438
  11  1.00567
  12  57.9053
  13  3.49576
  14  25.62
  15  41.6478
  16  44.0954
  17  0.214192
  18  0.184046
Done.

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

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  3.187e+00  7.494e+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

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.299e-01  1.840e-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:  8.490e-01  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 135.617 20.850
Photon Flux Upper Limit: 6.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/936596/likelihoodResults_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.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) = 5486.50622087
delta logL = 0.00438905313968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5486.50535665
delta logL = 0.005253273991

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5217       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0142       1.0000          .0000       10.000    
     3 'Normalizat'    .85027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92918       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=   5486.505     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      236 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5218        8.6269        .21542E-03   -.17579E-03
   2  Index         2.0138        1.2576        .14346E-01   -.24177E-04
   3  Normalizat    .85025        .19884        .25043E-03    .44444E-04
   4  Prefactor     .92920        .18185        .21878E-03    .63395E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.52183
  Index      = 2.01383
  Normalizat = 0.85025
  Prefactor  = 0.929197
 **********
 **   18 **HESSE 
 **********

 FCN=   5486.505     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5218        8.4087        .86167E-05   -1.5333    
   2  Index         2.0138        1.2275        .57386E-03   -.64005    
   3  Normalizat    .85025        .19896        .10017E-04   -.98231    
   4  Prefactor     .92920        .18199        .87513E-05   -.95128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07654e-10
Minuit parameter uncertainties:
  1  8.41155
  2  1.24757
  3  0.199135
  4  0.182107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/936596': 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) = 5486.50535659
delta logL = 0.0052533340895

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  3.522e+00  8.412e+00  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  2.014e+00  1.248e+00  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:  9.292e-01  1.821e-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:  8.502e-01  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
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/936596/cmap_HighResolution_264211201_264470401_4FGL_J0902.4+2051_daily_bin96.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-03', job_status='DONE', photon_flux_upper_limit='6.23e-08', time_completed='2021-08-30 21:08:03.259771', job_id='936596', GAL2='0.93', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1630382883.26', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.25e-03', ts2='0.25', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='96' AND source_name='4FGL J0902.4+2051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:08:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 936596: <4FGL_J0902.4+2051_daily_bin96> in cluster <slac> Done

Job <4FGL_J0902.4+2051_daily_bin96> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Aug 30 20:55:48 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:55:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 20:55:49 2021
Terminated at Mon Aug 30 21:08:04 2021
Results reported at Mon Aug 30 21:08:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0902.4+2051_daily_bin96 135.617 20.8503 264211201 264470401 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 :                                   558.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             249.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            736 sec.

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

