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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1284
RA = 309.252, Dec = -28.4383
tmin = 572140801, tmax = 572400001
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='77790', job_status='RUN', time_executed='2021-09-25 14:02:17.650093', time_epoch_executed='1632603737.65' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1284'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77790

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77790/ft1_4FGL_J2037.0-2826_daily_bin1284.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77790/ft2_4FGL_J2037.0-2826_daily_bin1284.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77790/ft1_4FGL_J2037.0-2826_daily_bin1284.fits outfile=/scratch/kocevski/77790/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1284.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=572140801.0 tmax=572400001.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.25
user 3.00
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77790/ft1_filtered_4FGL_J2037.0-2826_daily_bin1284.fits" evtable="EVENTS" scfile=/scratch/kocevski/77790/ft2_4FGL_J2037.0-2826_daily_bin1284.fits sctable="SC_DATA" outfile=/scratch/kocevski/77790/ltcube_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.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/77790/ft2_4FGL_J2037.0-2826_daily_bin1284.fits
.....................!
real 15.99
user 15.34
sys 0.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77790/ft1_filtered_4FGL_J2037.0-2826_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/77790/ft2_4FGL_J2037.0-2826_daily_bin1284.fits sctable="SC_DATA" expcube=/scratch/kocevski/77790/ltcube_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.fits outfile=/scratch/kocevski/77790/expmap_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.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/77790/ltcube_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.fits
.....................!
real 194.66
user 188.33
sys 5.25

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/77790/ft1_filtered_4FGL_J2037.0-2826_daily_bin1284.fits scfile=/scratch/kocevski/77790/ft2_4FGL_J2037.0-2826_daily_bin1284.fits outfile=/scratch/kocevski/77790/cmap_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77790/ft1_filtered_4FGL_J2037.0-2826_daily_bin1284.fits scfile=/scratch/kocevski/77790/ft2_4FGL_J2037.0-2826_daily_bin1284.fits outfile=/scratch/kocevski/77790/cmap_HighResolution_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/77790/ft1_filtered_4FGL_J2037.0-2826_daily_bin1284.fits', '/scratch/kocevski/77790/ft2_4FGL_J2037.0-2826_daily_bin1284.fits', expMap='/scratch/kocevski/77790/expmap_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.fits', expCube='/scratch/kocevski/77790/ltcube_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/77790/Model_4FGL_J2037.0-2826_daily_bin1284.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/77790/ft1_filtered_4FGL_J2037.0-2826_daily_bin1284.fits
Spacecraft file(s): /scratch/kocevski/77790/ft2_4FGL_J2037.0-2826_daily_bin1284.fits
Exposure map: /scratch/kocevski/77790/expmap_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.fits
Exposure cube: /scratch/kocevski/77790/ltcube_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/77790/Model_4FGL_J2037.0-2826_daily_bin1284.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) = 7024.10456044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3148       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    23.590       1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.699       1.0000         .10000E-03   10000.    
     5 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.201       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.694       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4778       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1197       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.282       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.653       1.0000         .10000E-03   10000.    
    14 'norm      '    17.199       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .96150       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0068       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=   7024.073     FROM MIGRAD    STATUS=CONVERGED    279 CALLS     1443 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3147        4.6843       -.24612E-05   -.43648E-03
   2  Prefactor     .10000E-03    7.7095       -.25495E-05** at limit **
   3  norm          23.587        17.296       -.18555E-05    .54136E-05
   4  Prefactor     37.694        54.382       -.78192E-05    .48301E-05
   5  norm          .10000E-03    9.0646        .84504E-06** at limit **
   6  Prefactor     37.174        59.953       -.38870E-04   -.40516E-05
   7  Prefactor     10.691        9.9264        .63028E-05   -.17826E-04
   8  Prefactor     1.4772        5.5873        .26180E-05   -.11804E-02
   9  Prefactor     6.1203        50.602        .14683E-05   -.11852E-04
  10  norm          .10000E-03    7.3363        .17663E-05** at limit **
  11  Prefactor     28.279        23.814       -.32498E-05   -.59236E-05
  12  Prefactor     .10000E-03    48.121       -.56146E-06** at limit **
  13  Prefactor     21.651        10.238        .27092E-06   -.21518E-04
  14  norm          17.199        18.589       -.72319E-06   -.53499E-05
  15  Normalizat    .96177        .27675        .11893E-05    .87875E-05
  16  Prefactor     1.0067        .10320        .12702E-05   -.18647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.31475
  Prefactor  = 0.0001
  norm       = 23.5874
  Prefactor  = 37.6936
  norm       = 0.0001
  Prefactor  = 37.1744
  Prefactor  = 10.6912
  Prefactor  = 1.47719
  Prefactor  = 6.12031
  norm       = 0.0001
  Prefactor  = 28.2794
  Prefactor  = 0.0001
  Prefactor  = 21.6512
  norm       = 17.1989
  Normalizat = 0.96177
  Prefactor  = 1.00673
 **********
 **   18 **HESSE 
 **********

 FCN=   7024.073     FROM HESSE     STATUS=OK           207 CALLS     1650 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3147        4.7135        .18154E-03   -1.5292    
   2  Prefactor     .10000E-03    7.7088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          23.587        17.313        .82471E-04   -1.4736    
   4  Prefactor     37.694        54.462        .65276E-04   -1.4479    
   5  norm          .10000E-03    9.1417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.174        60.043        .65710E-04   -1.4488    
   7  Prefactor     10.691        9.8814        .12252E-03   -1.5054    
   8  Prefactor     1.4772        5.5455        .35319E-03   -1.5465    
   9  Prefactor     6.1203        50.573        .16229E-03   -1.5213    
  10  norm          .10000E-03    7.3352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     28.279        23.914        .75333E-04   -1.4644    
  12  Prefactor     .10000E-03    49.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.651        10.266        .86078E-04   -1.4777    
  14  norm          17.199        18.589        .96575E-04   -1.4878    
  15  Normalizat    .96177        .31934        .40999E-03   -.94322    
  16  Prefactor     1.0067        .12044        .16112E-03   -.92506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18766e-09
Minuit parameter uncertainties:
  1  4.71395
  2  9.20245e-06
  3  17.317
  4  54.5343
  5  3.74327e-05
  6  60.1412
  7  9.88295
  8  5.5474
  9  35.2267
  10  9.27721e-06
  11  23.9218
  12  0.000121291
  13  10.2665
  14  18.5954
  15  0.31997
  16  0.120473
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.069e+01  9.883e+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

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.007e+00  1.205e-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:  9.618e-01  3.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.65
Ra Dec: 309.252 -28.438
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 8.17e-08 +/- 7.54e-08
Energy Flux (Fixed Index): 2.21e-05 +/- 2.04e-05

TS (Fixed Index): 1.65
Ra Dec: 309.252 -28.438
Photon Flux Upper Limit: 2.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/77790/likelihoodResults_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.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) = 7023.03075688
delta logL = 1.04270718457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7023.00297044
delta logL = 1.07049362677

Fit tolerance = 1e-08

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

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

 FCN=   7023.003     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      253 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2867        21.606        .67870E-02    .17785E-03
   2  Index         4.0579        3.0462        .13574        .14979E-03
   3  Normalizat    .87391        .83635E-01    .96500E-01    .27671E-04
   4  Prefactor     1.0314        .33554E-01    .41145E-01   -.10022E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.28669
  Index      = 4.05793
  Normalizat = 0.873907
  Prefactor  = 1.0314
 **********
 **   18 **HESSE 
 **********

 FCN=   7023.003     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      286 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2867        39.413        .71530E-04   -1.5406    
   2  Index         4.0579        6.8998        .51443E-02   -.18955    
   3  Normalizat    .87391        .28482        .42752E-03   -.97383    
   4  Prefactor     1.0314        .11463        .15931E-03   -.91690    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.76678e-09
Minuit parameter uncertainties:
  1  19.0011
  2  5.19749
  3  0.285311
  4  0.114656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77790': 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) = 7023.00296998
delta logL = 1.07049409058

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  2.287e+00  1.900e+01  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  4.058e+00  5.197e+00  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:  1.031e+00  1.147e-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:  8.739e-01  2.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.02
Ra Dec: 309.252 -28.438
Photon Index (Free Index): 4.06 +/- 5.20
Photon Flux (Free Index): 1.44e-07 +/- 9.66e-08
Energy Flux (Free Index): 2.14e-05 +/- 2.73e-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/77790/cmap_HighResolution_572140801_572400001_4FGL_J2037.0-2826_daily_bin1284.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-02', comment='SUCCESS', photon_flux='8.17e-08', energy_flux2='2.14e-05', photon_flux_error='7.54e-08', dlogl='1.07e+00', energy_flux='2.21e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2021-09-25 14:12:00.924008', photon_index_error2='5.20', photon_index2='4.06', ts='1.65', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='2.21e-07', energy_flux_error2='2.73e-05', EG='0.96', time_epoch_completed='1632604320.92', return_code='0', job_id='77790', GAL2='1.03', EG2='0.87', return_code2='102', energy_flux_error='2.04e-05', photon_flux_error2='9.66e-08', ts2='4.02', photon_index='2.57' WHERE bin_id='1284' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:12:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 77790: <4FGL_J2037.0-2826_daily_bin1284> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1284> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 14:00:22 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 14:00:30 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:30 2021
Terminated at Sat Sep 25 14:12:01 2021
Results reported at Sat Sep 25 14:12:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1284 309.252 -28.4383 572140801 572400001 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 :                                   578.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            699 sec.

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

