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


Performing analysis on: 4FGL_J0902.4+2051_daily_bin418
RA = 135.617, Dec = 20.8503
tmin = 347673601, tmax = 347932801
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='939683', job_status='RUN', time_executed='2021-08-30 21:07:23.046301', time_epoch_executed='1630382843.05' WHERE source_name='4FGL J0902.4+2051' and cadence='daily' and bin_id='418'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/939683

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/939683/ft1_4FGL_J0902.4+2051_daily_bin418.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/939683/ft2_4FGL_J0902.4+2051_daily_bin418.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/939683/ft1_4FGL_J0902.4+2051_daily_bin418.fits outfile=/scratch/kocevski/939683/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin418.fits ra=135.617 dec=20.8503 rad=12.0 tmin=347673601.0 tmax=347932801.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 9.42
user 3.25
sys 5.95

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/939683/ft1_filtered_4FGL_J0902.4+2051_daily_bin418.fits" evtable="EVENTS" scfile=/scratch/kocevski/939683/ft2_4FGL_J0902.4+2051_daily_bin418.fits sctable="SC_DATA" outfile=/scratch/kocevski/939683/ltcube_347673601_347932801_4FGL_J0902.4+2051_daily_bin418.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/939683/ft2_4FGL_J0902.4+2051_daily_bin418.fits
.....................!
real 18.51
user 11.31
sys 7.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/939683/ft1_filtered_4FGL_J0902.4+2051_daily_bin418.fits evtable="EVENTS" scfile=/scratch/kocevski/939683/ft2_4FGL_J0902.4+2051_daily_bin418.fits sctable="SC_DATA" expcube=/scratch/kocevski/939683/ltcube_347673601_347932801_4FGL_J0902.4+2051_daily_bin418.fits outfile=/scratch/kocevski/939683/expmap_347673601_347932801_4FGL_J0902.4+2051_daily_bin418.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/939683/ltcube_347673601_347932801_4FGL_J0902.4+2051_daily_bin418.fits
.....................!
real 198.96
user 186.16
sys 12.05

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/939683/ft1_filtered_4FGL_J0902.4+2051_daily_bin418.fits scfile=/scratch/kocevski/939683/ft2_4FGL_J0902.4+2051_daily_bin418.fits outfile=/scratch/kocevski/939683/cmap_347673601_347932801_4FGL_J0902.4+2051_daily_bin418.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 6.21
user 0.36
sys 5.81

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/939683/ft1_filtered_4FGL_J0902.4+2051_daily_bin418.fits scfile=/scratch/kocevski/939683/ft2_4FGL_J0902.4+2051_daily_bin418.fits outfile=/scratch/kocevski/939683/cmap_HighResolution_347673601_347932801_4FGL_J0902.4+2051_daily_bin418.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 6.15
user 0.38
sys 5.73

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.459       1.0000         .10000E-03   10000.    
     2 'norm      '    .75932       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.862       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    72.825       1.0000         .10000E-03   10000.    
     6 'norm      '    .28734       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10493E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.969       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.7023       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2151       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.001       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.012       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    60.079       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4185       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .58632       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=   5661.562     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1731 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.441        22.475        .32219E-06    .14770E-04
   2  norm          .76163        1.1414       -.11005E-05    .21866E-05
   3  Prefactor     12.853        11.394        .10580E-05    .59718E-04
   4  Prefactor     .10000E-03    2.6623       -.11720E-08** at limit **
   5  Prefactor     72.828        41.973       -.11341E-07    .13068E-04
   6  norm          .28726        .57282        .41757E-08   -.98073E-04
   7  Prefactor     .10000E-03    19.491       -.10158E-07** at limit **
   8  Prefactor     14.970        15.876       -.76813E-07    .18499E-04
   9  norm          .10000E-03    2.0741        .94591E-08** at limit **
  10  norm          8.6936        24.033       -.14037E-05   -.40754E-05
  11  norm          1.2151        1.1651       -.24952E-07    .44291E-04
  12  Prefactor     29.002        27.592        .80013E-07    .65099E-05
  13  Prefactor     .10000E-03    1.4399       -.32067E-07** at limit **
  14  Prefactor     15.000        25.889       -.18039E-05    .40163E-05
  15  Prefactor     .10000E-03    13.217       -.42748E-07** at limit **
  16  Prefactor     60.081        36.090        .61614E-07    .62118E-05
  17  Normalizat    1.4184        .18237        .10319E-05   -.29814E-04
  18  Prefactor     .58636        .14925       -.32896E-06    .94167E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4408
  norm       = 0.761631
  Prefactor  = 12.853
  Prefactor  = 0.0001
  Prefactor  = 72.8278
  norm       = 0.287264
  Prefactor  = 0.0001
  Prefactor  = 14.9697
  norm       = 0.0001
  norm       = 8.69364
  norm       = 1.21512
  Prefactor  = 29.0023
  Prefactor  = 0.0001
  Prefactor  = 15.0005
  Prefactor  = 0.0001
  Prefactor  = 60.0809
  Normalizat = 1.41838
  Prefactor  = 0.586359
 **********
 **   18 **HESSE 
 **********

 FCN=   5661.562     FROM HESSE     STATUS=OK           248 CALLS     1979 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.441        22.486        .10918E-03   -1.4975    
   2  norm          .76163        1.1474        .95348E-03   -1.5533    
   3  Prefactor     12.853        11.519        .11169E-03   -1.4991    
   4  Prefactor     .10000E-03    2.6744        .11988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     72.828        42.189        .47045E-04   -1.3999    
   6  norm          .28726        .57191        .41477E-04   -1.5601    
   7  Prefactor     .10000E-03    20.001        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.970        15.963        .10352E-03   -1.4934    
   9  norm          .10000E-03    2.0752        .10583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.6936        24.072        .13588E-03   -1.5118    
  11  norm          1.2151        1.1763        .77361E-04   -1.5488    
  12  Prefactor     29.002        27.601        .74396E-04   -1.4630    
  13  Prefactor     .10000E-03    1.4510        .88117E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.000        25.897        .10337E-03   -1.4933    
  15  Prefactor     .10000E-03    13.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     60.081        36.130        .25882E-03   -1.4156    
  17  Normalizat    1.4184        .21235        .21388E-03   -.80098    
  18  Prefactor     .58636        .17260        .27177E-03   -1.0816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63887e-11
Minuit parameter uncertainties:
  1  22.5003
  2  1.14743
  3  11.5206
  4  4.46411e-06
  5  42.2061
  6  0.571921
  7  9.48668e-06
  8  15.9673
  9  9.25867e-07
  10  24.0985
  11  1.17636
  12  27.6132
  13  1.54308e-07
  14  25.9164
  15  9.43615e-07
  16  36.1431
  17  0.212486
  18  0.172758
Done.

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

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  1.000e-04  9.487e-06  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:  5.864e-01  1.728e-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.418e+00  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/939683/likelihoodResults_347673601_347932801_4FGL_J0902.4+2051_daily_bin418.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): 102
logL (Free Index) = 5661.5625659
delta logL = -0.000238505299421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5661.56232742
delta logL = -2.58405634668e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1162       1.0000          .0000       10.000    
     3 'Normalizat'    1.4185       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58630       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.

 FCN=   5661.562     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      221 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.341        .90712E-02** at limit **
   2  Index         2.0940        5.7419        .50000        .68627E-05
   3  Normalizat    1.4184        .37908E-02    .48380E-01    .96627E-04
   4  Prefactor     .58636        .32553E-02    .61430E-01    .10839E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.09396
  Normalizat = 1.41839
  Prefactor  = 0.586358
 **********
 **   18 **HESSE 
 **********

 FCN=   5661.562     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      252 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    389.24        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0940        8.7271        .50000       -.62021    
   3  Normalizat    1.4184        .19979E-01    .21387E-03   -.80098    
   4  Prefactor     .58636        .17132E-01    .27177E-03   -1.0816    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67891e-07
Minuit parameter uncertainties:
  1  0.00220583
  2  274.042
  3  0.0199791
  4  0.0171324
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/939683': 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): 102
logL (Free Index) = 5661.56232728
delta logL = 1.16305272968e-07

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  1.000e-04  2.206e-03  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  2.094e+00  2.740e+02  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:  5.864e-01  1.713e-02  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.418e+00  1.998e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/939683/cmap_HighResolution_347673601_347932801_4FGL_J0902.4+2051_daily_bin418.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2021-08-30 21:17:44.143639', job_id='939683', GAL2='0.59', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1630383464.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='1.16e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='418' AND source_name='4FGL J0902.4+2051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:17:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 939683: <4FGL_J0902.4+2051_daily_bin418> in cluster <slac> Done

Job <4FGL_J0902.4+2051_daily_bin418> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Aug 30 21:05:32 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 21:05:33 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:33 2021
Terminated at Mon Aug 30 21:17:45 2021
Results reported at Mon Aug 30 21:17:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0902.4+2051_daily_bin418 135.617 20.8503 347673601 347932801 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 :                                   710.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            733 sec.

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

