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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1343
RA = 309.252, Dec = -28.4383
tmin = 587433601, tmax = 587692801
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='77882', job_status='RUN', time_executed='2021-09-25 14:03:56.250132', time_epoch_executed='1632603836.25' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1343'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77882

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77882/ft1_4FGL_J2037.0-2826_daily_bin1343.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77882/ft1_4FGL_J2037.0-2826_daily_bin1343.fits outfile=/scratch/kocevski/77882/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1343.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=587433601.0 tmax=587692801.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 3.53
user 3.30
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.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/77882/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1343.fits evtable="EVENTS" outfile="/scratch/kocevski/77882/ft1_filtered_4FGL_J2037.0-2826_daily_bin1343.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.54
user 0.37
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77882/ft1_filtered_4FGL_J2037.0-2826_daily_bin1343.fits" evtable="EVENTS" scfile=/scratch/kocevski/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.fits sctable="SC_DATA" outfile=/scratch/kocevski/77882/ltcube_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.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/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.fits
.....................!
real 17.53
user 16.95
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77882/ft1_filtered_4FGL_J2037.0-2826_daily_bin1343.fits evtable="EVENTS" scfile=/scratch/kocevski/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.fits sctable="SC_DATA" expcube=/scratch/kocevski/77882/ltcube_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.fits outfile=/scratch/kocevski/77882/expmap_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.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/77882/ltcube_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.fits
.....................!
real 190.89
user 185.65
sys 4.38

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J2037.0-2826 @ 309.252 -28.4383

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/77882/ft1_filtered_4FGL_J2037.0-2826_daily_bin1343.fits scfile=/scratch/kocevski/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.fits outfile=/scratch/kocevski/77882/cmap_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.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=309.252 yref=-28.4383 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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77882/ft1_filtered_4FGL_J2037.0-2826_daily_bin1343.fits scfile=/scratch/kocevski/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.fits outfile=/scratch/kocevski/77882/cmap_HighResolution_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.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=309.252 yref=-28.4383 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.67
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77882/ft1_filtered_4FGL_J2037.0-2826_daily_bin1343.fits evtable="EVENTS" scfile=/scratch/kocevski/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77882/Model_4FGL_J2037.0-2826_daily_bin1343.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/77882/ft1_filtered_4FGL_J2037.0-2826_daily_bin1343.fits.....................!
real 57.86
user 56.16
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/77882/ft1_filtered_4FGL_J2037.0-2826_daily_bin1343.fits', '/scratch/kocevski/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.fits', expMap='/scratch/kocevski/77882/expmap_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.fits', expCube='/scratch/kocevski/77882/ltcube_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/77882/Model_4FGL_J2037.0-2826_daily_bin1343.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2037.0-2826'

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.729e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/77882/ft1_filtered_4FGL_J2037.0-2826_daily_bin1343.fits
Spacecraft file(s): /scratch/kocevski/77882/ft2_4FGL_J2037.0-2826_daily_bin1343.fits
Exposure map: /scratch/kocevski/77882/expmap_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.fits
Exposure cube: /scratch/kocevski/77882/ltcube_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/77882/Model_4FGL_J2037.0-2826_daily_bin1343.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) = 6248.61482404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32062E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0665       1.0000         .10000E-03   10000.    
     3 'norm      '    14.258       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5712       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6515       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.5270       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.011       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0432       1.0000         .10000E-03   10000.    
    14 'norm      '    1.8764       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3907       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .87765       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6247.657     FROM MIGRAD    STATUS=CONVERGED    285 CALLS     1253 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10007E-03    3.7193        .14415E-05** at limit **
   2  Prefactor     3.0717        67.423        .12295E-05   -.95358E-05
   3  norm          14.250        14.885        .39003E-06   -.10795E-03
   4  Prefactor     .10000E-03    28.217        .59104E-06** at limit **
   5  norm          .10000E-03    11.362       -.45111E-07** at limit **
   6  Prefactor     2.5020        219.22       -.11538E-04   -.10698E-03
   7  Prefactor     .10000E-03    2.2208       -.31621E-06** at limit **
   8  Prefactor     1.6494        8.3152        .30655E-05   -.46474E-04
   9  Prefactor     .10000E-03    28.985       -.36541E-06** at limit **
  10  norm          .10000E-03    7.5430       -.46750E-07** at limit **
  11  Prefactor     8.5181        21.423       -.12894E-05   -.11443E-03
  12  Prefactor     17.024        18.381        .67697E-06    .17075E-03
  13  Prefactor     4.0416        11.309        .11616E-04   -.31381E-03
  14  norm          1.8761        27.974        .21206E-05   -.13703E-04
  15  Normalizat    1.3908        .28719       -.49402E-05   -.15656E-03
  16  Prefactor     .87768        .10518       -.32746E-06   -.65332E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100072
  Prefactor  = 3.07174
  norm       = 14.2496
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.50195
  Prefactor  = 0.0001
  Prefactor  = 1.64945
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.51809
  Prefactor  = 17.0237
  Prefactor  = 4.04158
  norm       = 1.87613
  Normalizat = 1.39076
  Prefactor  = 0.877679
 **********
 **   18 **HESSE 
 **********

 FCN=   6247.657     FROM HESSE     STATUS=OK           203 CALLS     1456 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10007E-03    37.383        .28502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.0717        66.521        .23165E-03   -1.5357    
   3  norm          14.250        14.899        .10607E-03   -1.4953    
   4  Prefactor     .10000E-03    28.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    11.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5020        226.94        .25455E-03   -1.5392    
   7  Prefactor     .10000E-03    2.2240        .11498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6494        8.3354        .32851E-03   -1.5451    
   9  Prefactor     .10000E-03    28.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    7.5440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.5181        21.422        .13728E-03   -1.5124    
  12  Prefactor     17.024        18.386        .97108E-04   -1.4883    
  13  Prefactor     4.0416        11.378        .10027E-02   -1.5306    
  14  norm          1.8761        28.151        .30397E-03   -1.5434    
  15  Normalizat    1.3908        .34226        .35902E-03   -.80896    
  16  Prefactor     .87768        .12688        .16925E-03   -.96925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57241e-09
Minuit parameter uncertainties:
  1  0.00328887
  2  28.6249
  3  14.9029
  4  0.000193997
  5  5.83002e-05
  6  47.8445
  7  9.65469e-06
  8  7.41729
  9  0.000155763
  10  1.68637e-06
  11  21.4408
  12  18.3918
  13  11.3846
  14  14.5426
  15  0.342828
  16  0.126926
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  9.655e-06  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  8.777e-01  1.269e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.391e+00  3.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 309.252 -28.438
Photon Flux Upper Limit: 8.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/77882/likelihoodResults_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.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) = 6247.65954154
delta logL = -0.00212888539681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6247.65741229
delta logL = 3.644518074e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5476       1.0000          .0000       10.000    
     3 'Normalizat'    1.3908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+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=   6247.657     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      259 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.747        .11687E-01** at limit **
   2  Index         1.8095        5.4470        .50000       -.24606E-06
   3  Normalizat    1.3908        .22498E-01    .35902E-03   -.17103E-03
   4  Prefactor     .87768        .87156E-02    .16925E-03   -.34215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.80947
  Normalizat = 1.39076
  Prefactor  = 0.87768
 **********
 **   18 **HESSE 
 **********

 FCN=   6247.657     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      288 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    238.67        .13973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8095        8.8023        .50000       -.69204    
   3  Normalizat    1.3908        .66881E-01    .14361E-04   -.80896    
   4  Prefactor     .87768        .25910E-01    .33849E-04   -.96925    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21752e-08
Minuit parameter uncertainties:
  1  0.000445555
  2  666.688
  3  0.0668849
  4  0.0259107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77882': 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) = 6247.65740536
delta logL = 7.29487601348e-06

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  4.456e-04  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  1.809e+00  6.667e+02  0.000e+00  1.000e+01 (-1.000e+00)
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  8.777e-01  2.591e-02  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.391e+00  6.688e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 309.252 -28.438

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/77882/cmap_HighResolution_587433601_587692801_4FGL_J2037.0-2826_daily_bin1343.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.77e-03', job_status='DONE', photon_flux_upper_limit='8.67e-08', time_completed='2021-09-25 14:13:02.202334', job_id='77882', GAL2='0.88', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1632604382.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='7.29e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1343' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:13:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 77882: <4FGL_J2037.0-2826_daily_bin1343> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1343> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 14:00:30 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 14:00:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 14:00:51 2021
Terminated at Sat Sep 25 14:13:02 2021
Results reported at Sat Sep 25 14:13:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1343 309.252 -28.4383 587433601 587692801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2037.0-2826 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   519.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            752 sec.

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

