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


Performing analysis on: 4FGL_J0902.4+2051_daily_bin528
RA = 135.617, Dec = 20.8503
tmin = 376185601, tmax = 376444801
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='939846', job_status='RUN', time_executed='2021-08-30 21:08:25.080969', time_epoch_executed='1630382905.08' WHERE source_name='4FGL J0902.4+2051' and cadence='daily' and bin_id='528'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/939846

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/939846/ft1_4FGL_J0902.4+2051_daily_bin528.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/939846/ft2_4FGL_J0902.4+2051_daily_bin528.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/939846/ft1_4FGL_J0902.4+2051_daily_bin528.fits outfile=/scratch/kocevski/939846/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin528.fits ra=135.617 dec=20.8503 rad=12.0 tmin=376185601.0 tmax=376444801.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 11.57
user 3.11
sys 8.37

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/939846/ft1_filtered_4FGL_J0902.4+2051_daily_bin528.fits" evtable="EVENTS" scfile=/scratch/kocevski/939846/ft2_4FGL_J0902.4+2051_daily_bin528.fits sctable="SC_DATA" outfile=/scratch/kocevski/939846/ltcube_376185601_376444801_4FGL_J0902.4+2051_daily_bin528.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/939846/ft2_4FGL_J0902.4+2051_daily_bin528.fits
.....................!
real 21.85
user 12.28
sys 9.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/939846/ft1_filtered_4FGL_J0902.4+2051_daily_bin528.fits evtable="EVENTS" scfile=/scratch/kocevski/939846/ft2_4FGL_J0902.4+2051_daily_bin528.fits sctable="SC_DATA" expcube=/scratch/kocevski/939846/ltcube_376185601_376444801_4FGL_J0902.4+2051_daily_bin528.fits outfile=/scratch/kocevski/939846/expmap_376185601_376444801_4FGL_J0902.4+2051_daily_bin528.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/939846/ltcube_376185601_376444801_4FGL_J0902.4+2051_daily_bin528.fits
.....................!
real 200.25
user 185.08
sys 14.72

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/939846/ft1_filtered_4FGL_J0902.4+2051_daily_bin528.fits scfile=/scratch/kocevski/939846/ft2_4FGL_J0902.4+2051_daily_bin528.fits outfile=/scratch/kocevski/939846/cmap_376185601_376444801_4FGL_J0902.4+2051_daily_bin528.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 8.52
user 0.37
sys 8.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/939846/ft1_filtered_4FGL_J0902.4+2051_daily_bin528.fits scfile=/scratch/kocevski/939846/ft2_4FGL_J0902.4+2051_daily_bin528.fits outfile=/scratch/kocevski/939846/cmap_HighResolution_376185601_376444801_4FGL_J0902.4+2051_daily_bin528.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 8.53
user 0.39
sys 8.09

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.9542       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5560       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.2080       1.0000         .10000E-03   10000.    
     5 'Prefactor '    138.78       1.0000         .10000E-03   10000.    
     6 'norm      '    .88646       1.0000         .10000E-03   10000.    
     7 'Prefactor '    44.824       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .11519E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.0284       1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.355       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4694       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    30.981       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1005       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2175       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=   8118.744     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1727 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.3235       -.17702E-06** at limit **
   2  norm          5.9541        1.7584       -.31682E-07   -.12085E-04
   3  Prefactor     2.5568        9.8670       -.13842E-05   -.26978E-03
   4  Prefactor     7.2077        6.6447       -.26741E-06   -.10225E-03
   5  Prefactor     138.78        50.985        .20461E-05    .11894E-04
   6  norm          .88638        .73146       -.83404E-07   -.45331E-03
   7  Prefactor     44.824        18.520        .30486E-06    .45598E-04
   8  Prefactor     .10000E-03    9.0706        .32889E-06** at limit **
   9  norm          .10000E-03    3.1497       -.37807E-07** at limit **
  10  norm          .10000E-03    59.857       -.28607E-05** at limit **
  11  norm          2.0285        1.4449        .34442E-07    .13383E-03
  12  Prefactor     38.345        50.871       -.12831E-04    .11534E-04
  13  Prefactor     2.4694        3.7735       -.89986E-06   -.67307E-03
  14  Prefactor     .10000E-03    17.521       -.16058E-04** at limit **
  15  Prefactor     .10000E-03    18.258        .16742E-04** at limit **
  16  Prefactor     30.975        35.727       -.70051E-05   -.18540E-05
  17  Normalizat    1.1004        .18915        .10286E-05    .56014E-04
  18  Prefactor     1.2177        .16097        .54054E-06    .83373E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.95406
  Prefactor  = 2.55678
  Prefactor  = 7.20767
  Prefactor  = 138.78
  norm       = 0.886379
  Prefactor  = 44.8236
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.02846
  Prefactor  = 38.345
  Prefactor  = 2.46943
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.9747
  Normalizat = 1.10035
  Prefactor  = 1.21766
 **********
 **   18 **HESSE 
 **********

 FCN=   8118.744     FROM HESSE     STATUS=OK           248 CALLS     1975 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.3275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.9541        1.7498        .59867E-04   -1.5220    
   3  Prefactor     2.5568        9.8337        .25538E-03   -1.5388    
   4  Prefactor     7.2077        6.6313        .14940E-03   -1.5171    
   5  Prefactor     138.78        51.054        .34193E-04   -1.3346    
   6  norm          .88638        .72277        .64447E-04   -1.5520    
   7  Prefactor     44.824        18.379        .59884E-04   -1.4368    
   8  Prefactor     .10000E-03    9.1230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.1567        .15617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    60.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.0285        1.4460        .88650E-04   -1.5423    
  12  Prefactor     38.345        50.834        .64718E-04   -1.4469    
  13  Prefactor     2.4694        3.8019        .20471E-03   -1.5394    
  14  Prefactor     .10000E-03    17.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.975        35.788        .71986E-04   -1.4594    
  17  Normalizat    1.1004        .22675        .29511E-03   -.89741    
  18  Prefactor     1.2177        .19306        .24977E-03   -.85790    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.12435e-10
Minuit parameter uncertainties:
  1  7.20446e-07
  2  1.74985
  3  9.83987
  4  6.63196
  5  51.07
  6  0.722781
  7  18.3812
  8  3.84744e-06
  9  2.87326e-06
  10  0.000216676
  11  1.44607
  12  50.8912
  13  3.80231
  14  4.44622e-05
  15  2.93515e-06
  16  35.8126
  17  0.226948
  18  0.193172
Done.

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

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  4.482e+01  1.838e+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:  1.218e+00  1.932e-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.100e+00  2.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.93
Ra Dec: 135.617 20.850
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 4.52e-08
Energy Flux (Fixed Index): 5.51e-05 +/- 2.26e-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) = 8118.15526966
delta logL = 0.589132381898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8118.14400806
delta logL = 0.600393975357

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.307       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5196       1.0000          .0000       10.000    
     3 'Normalizat'    1.0528       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2442       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=   8118.144     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      279 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.304        20.603        .72779E-04    .89380E-03
   2  Index         2.5197        .39565        .37094E-02    .39319E-03
   3  Normalizat    1.0527        .22194        .30055E-03   -.35626E-03
   4  Prefactor     1.2443        .19378        .24739E-03   -.62413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.3044
  Index      = 2.51975
  Normalizat = 1.05273
  Prefactor  = 1.24429
 **********
 **   18 **HESSE 
 **********

 FCN=   8118.144     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.304        18.977        .14556E-04   -1.4606    
   2  Index         2.5197        .36412        .14838E-03   -.51904    
   3  Normalizat    1.0527        .22149        .60111E-04   -.91284    
   4  Prefactor     1.2443        .19352        .49477E-04   -.84979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13514e-10
Minuit parameter uncertainties:
  1  18.9804
  2  0.364547
  3  0.221689
  4  0.19363
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/939846': 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) = 8118.14400797
delta logL = 0.600394065415

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  3.030e+01  1.898e+01  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  2.520e+00  3.645e-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:  1.244e+00  1.936e-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.053e+00  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.16
Ra Dec: 135.617 20.850
Photon Index (Free Index): 2.52 +/- 0.36
Photon Flux (Free Index): 1.51e-07 +/- 6.38e-08
Energy Flux (Free Index): 4.28e-05 +/- 1.75e-05

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/939846/cmap_HighResolution_376185601_376444801_4FGL_J0902.4+2051_daily_bin528.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='4.28e-05', photon_flux_error='4.52e-08', dlogl='6.00e-01', energy_flux='5.51e-05', photon_flux2='1.51e-07', job_status='DONE', time_completed='2021-08-30 21:20:01.580634', photon_index_error2='0.36', photon_index2='2.52', ts='11.93', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='1.75e-05', EG='1.10', time_epoch_completed='1630383601.58', return_code='0', job_id='939846', GAL2='1.24', EG2='1.05', return_code2='0', energy_flux_error='2.26e-05', photon_flux_error2='6.38e-08', ts2='13.16', photon_index='2.15' WHERE bin_id='528' AND source_name='4FGL J0902.4+2051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:20:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 939846: <4FGL_J0902.4+2051_daily_bin528> in cluster <slac> Done

Job <4FGL_J0902.4+2051_daily_bin528> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Aug 30 21:05:44 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 21:05:46 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:05:46 2021
Terminated at Mon Aug 30 21:20:04 2021
Results reported at Mon Aug 30 21:20:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0902.4+2051_daily_bin528 135.617 20.8503 376185601 376444801 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 :                                   819.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             244.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            860 sec.

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

