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


Performing analysis on: 4FGL_J0902.4+2051_daily_bin70
RA = 135.617, Dec = 20.8503
tmin = 257472001, tmax = 257731201
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='936559', job_status='RUN', time_executed='2021-08-30 20:59:09.035027', time_epoch_executed='1630382349.04' WHERE source_name='4FGL J0902.4+2051' and cadence='daily' and bin_id='70'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/936559

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/936559/ft1_4FGL_J0902.4+2051_daily_bin70.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/936559/ft2_4FGL_J0902.4+2051_daily_bin70.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/936559/ft1_4FGL_J0902.4+2051_daily_bin70.fits outfile=/scratch/kocevski/936559/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin70.fits ra=135.617 dec=20.8503 rad=12.0 tmin=257472001.0 tmax=257731201.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.40
user 1.78
sys 0.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/936559/ft1_filtered_4FGL_J0902.4+2051_daily_bin70.fits" evtable="EVENTS" scfile=/scratch/kocevski/936559/ft2_4FGL_J0902.4+2051_daily_bin70.fits sctable="SC_DATA" outfile=/scratch/kocevski/936559/ltcube_257472001_257731201_4FGL_J0902.4+2051_daily_bin70.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/936559/ft2_4FGL_J0902.4+2051_daily_bin70.fits
.....................!
real 13.05
user 12.40
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/936559/ft1_filtered_4FGL_J0902.4+2051_daily_bin70.fits evtable="EVENTS" scfile=/scratch/kocevski/936559/ft2_4FGL_J0902.4+2051_daily_bin70.fits sctable="SC_DATA" expcube=/scratch/kocevski/936559/ltcube_257472001_257731201_4FGL_J0902.4+2051_daily_bin70.fits outfile=/scratch/kocevski/936559/expmap_257472001_257731201_4FGL_J0902.4+2051_daily_bin70.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/936559/ltcube_257472001_257731201_4FGL_J0902.4+2051_daily_bin70.fits
.....................!
real 190.68
user 185.29
sys 4.97

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/936559/ft1_filtered_4FGL_J0902.4+2051_daily_bin70.fits scfile=/scratch/kocevski/936559/ft2_4FGL_J0902.4+2051_daily_bin70.fits outfile=/scratch/kocevski/936559/cmap_257472001_257731201_4FGL_J0902.4+2051_daily_bin70.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 0.77
user 0.38
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/936559/ft1_filtered_4FGL_J0902.4+2051_daily_bin70.fits scfile=/scratch/kocevski/936559/ft2_4FGL_J0902.4+2051_daily_bin70.fits outfile=/scratch/kocevski/936559/cmap_HighResolution_257472001_257731201_4FGL_J0902.4+2051_daily_bin70.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 0.78
user 0.36
sys 0.41

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.604       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.7191       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2667       1.0000         .10000E-03   10000.    
     5 'Prefactor '    63.381       1.0000         .10000E-03   10000.    
     6 'norm      '    .87466       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.6340       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .58187E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    6.1353       1.0000         .10000E-03   10000.    
    10 'norm      '    13.645       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0946       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.461       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.0490       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3463       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .71724       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=   8717.904     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     1515 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.603        16.933       -.27368E-07   -.22286E-04
   2  norm          .10000E-03    .38634        .25295E-07** at limit **
   3  Prefactor     8.7182        7.5083        .61309E-07    .67308E-06
   4  Prefactor     3.2664        5.1208        .58157E-06    .50628E-04
   5  Prefactor     63.379        28.742       -.22370E-06   -.77433E-04
   6  norm          .87467        .48546       -.92291E-07   -.25245E-03
   7  Prefactor     4.6341        7.2772        .42871E-05   -.80142E-03
   8  Prefactor     .10001E-03    6.6024       -.11858E-06** at limit **
   9  norm          6.1353        4.6247        .37718E-07    .70685E-04
  10  norm          13.647        18.835        .52048E-08    .24314E-04
  11  norm          2.0948        1.3100       -.95989E-08    .34615E-04
  12  Prefactor     33.442        32.055       -.39571E-05   -.50002E-03
  13  Prefactor     5.0492        3.8290        .14012E-06   -.28692E-04
  14  Prefactor     .10000E-03    9.6422       -.27275E-05** at limit **
  15  Prefactor     .10000E-03    13.401        .29841E-06** at limit **
  16  Prefactor     .10000E-03    9.5691        .25125E-05** at limit **
  17  Normalizat    1.3463        .15425       -.49044E-07   -.62442E-05
  18  Prefactor     .71724        .12902       -.29364E-06   -.47930E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.6026
  norm       = 0.0001
  Prefactor  = 8.71823
  Prefactor  = 3.26641
  Prefactor  = 63.3788
  norm       = 0.874666
  Prefactor  = 4.63408
  Prefactor  = 0.000100006
  norm       = 6.13531
  norm       = 13.6469
  norm       = 2.09476
  Prefactor  = 33.4417
  Prefactor  = 5.04921
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 1.34629
  Prefactor  = 0.71724
 **********
 **   18 **HESSE 
 **********

 FCN=   8717.904     FROM HESSE     STATUS=OK           254 CALLS     1769 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.603        16.525        .77667E-04   -1.4676    
   2  norm          .10000E-03    .57352        .10884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.7182        7.4616        .13575E-03   -1.5117    
   4  Prefactor     3.2664        5.1035        .22406E-03   -1.5346    
   5  Prefactor     63.379        28.797        .50405E-04   -1.4114    
   6  norm          .87467        .49000        .46331E-04   -1.5521    
   7  Prefactor     4.6341        7.6312        .93483E-03   -1.5277    
   8  Prefactor     .10001E-03    67.011        .45999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.1353        4.6262        .16208E-03   -1.5213    
  10  norm          13.647        18.846        .10844E-03   -1.4969    
  11  norm          2.0948        1.3105        .81433E-04   -1.5418    
  12  Prefactor     33.442        33.614        .69273E-04   -1.4551    
  13  Prefactor     5.0492        3.8381        .14934E-03   -1.5259    
  14  Prefactor     .10000E-03    10.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.8831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3463        .18076        .22746E-03   -.82195    
  18  Prefactor     .71724        .15092        .25960E-03   -1.0286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37284e-09
Minuit parameter uncertainties:
  1  16.5277
  2  1.05721e-06
  3  7.46235
  4  5.10415
  5  28.8031
  6  0.490001
  7  7.6328
  8  0.00125356
  9  4.6265
  10  18.8545
  11  1.31047
  12  33.633
  13  3.83829
  14  0.000368351
  15  4.75152e-05
  16  0.000338396
  17  0.180847
  18  0.151004
Done.

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

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  4.634e+00  7.633e+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:  7.172e-01  1.510e-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.346e+00  1.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/936559/likelihoodResults_257472001_257731201_4FGL_J0902.4+2051_daily_bin70.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) = 8717.89590022
delta logL = 0.00803033637021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8717.89325125
delta logL = 0.0106793095038

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0665       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3285       1.0000          .0000       10.000    
     3 'Normalizat'    1.3434       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71866       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=   8717.893     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0665        32.212         .0000        .38456E-02
   2  Index         2.3287        3.1956         .0000        .10112E-02
   3  Normalizat    1.3434        .15276         .0000        .25528E-05
   4  Prefactor     .71863        .13062         .0000        .26036E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.06653
  Index      = 2.32871
  Normalizat = 1.34341
  Prefactor  = 0.718627
 **********
 **   18 **HESSE 
 **********

 FCN=   8717.893     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0665        8.3191        .19994E-03   -1.5305    
   2  Index         2.3287        1.3049        .48377E-02   -.56363    
   3  Normalizat    1.3434        .17478        .22766E-03   -.82280    
   4  Prefactor     .71863        .15029        .25937E-03   -1.0280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1895e-08
Minuit parameter uncertainties:
  1  8.32147
  2  1.32657
  3  0.174854
  4  0.150373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/936559': 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) = 8717.89325121
delta logL = 0.0106793517862

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  4.067e+00  8.321e+00  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  2.329e+00  1.327e+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:  7.186e-01  1.504e-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.343e+00  1.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/936559/cmap_HighResolution_257472001_257731201_4FGL_J0902.4+2051_daily_bin70.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2021-08-30 21:09:34.783174', job_id='936559', GAL2='0.72', fit_tolerance='1e-08', EG2='1.34', EG='1.35', time_epoch_completed='1630382974.78', return_code2='0', ts='0.49', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.07e-02', ts2='0.52', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='70' AND source_name='4FGL J0902.4+2051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:09:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 936559: <4FGL_J0902.4+2051_daily_bin70> in cluster <slac> Done

Job <4FGL_J0902.4+2051_daily_bin70> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Aug 30 20:55:45 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:55:47 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:47 2021
Terminated at Mon Aug 30 21:09:35 2021
Results reported at Mon Aug 30 21:09:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0902.4+2051_daily_bin70 135.617 20.8503 257472001 257731201 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 :                                   629.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            830 sec.

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

