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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1442
RA = 309.252, Dec = -28.4383
tmin = 613094401, tmax = 613353601
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='78047', job_status='RUN', time_executed='2021-09-25 14:02:04.974872', time_epoch_executed='1632603724.97' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1442'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/78047

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/78047/ft1_4FGL_J2037.0-2826_daily_bin1442.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/78047/ft2_4FGL_J2037.0-2826_daily_bin1442.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/78047/ft1_4FGL_J2037.0-2826_daily_bin1442.fits outfile=/scratch/kocevski/78047/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1442.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=613094401.0 tmax=613353601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.96
user 2.76
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/78047/ft2_4FGL_J2037.0-2826_daily_bin1442.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/78047/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1442.fits evtable="EVENTS" outfile="/scratch/kocevski/78047/ft1_filtered_4FGL_J2037.0-2826_daily_bin1442.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.50
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/78047/ft1_filtered_4FGL_J2037.0-2826_daily_bin1442.fits" evtable="EVENTS" scfile=/scratch/kocevski/78047/ft2_4FGL_J2037.0-2826_daily_bin1442.fits sctable="SC_DATA" outfile=/scratch/kocevski/78047/ltcube_613094401_613353601_4FGL_J2037.0-2826_daily_bin1442.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/78047/ft2_4FGL_J2037.0-2826_daily_bin1442.fits
.....................!
real 14.27
user 13.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/78047/ft1_filtered_4FGL_J2037.0-2826_daily_bin1442.fits evtable="EVENTS" scfile=/scratch/kocevski/78047/ft2_4FGL_J2037.0-2826_daily_bin1442.fits sctable="SC_DATA" expcube=/scratch/kocevski/78047/ltcube_613094401_613353601_4FGL_J2037.0-2826_daily_bin1442.fits outfile=/scratch/kocevski/78047/expmap_613094401_613353601_4FGL_J2037.0-2826_daily_bin1442.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/78047/ltcube_613094401_613353601_4FGL_J2037.0-2826_daily_bin1442.fits
.....................!
real 191.69
user 185.64
sys 5.55

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/78047/ft1_filtered_4FGL_J2037.0-2826_daily_bin1442.fits scfile=/scratch/kocevski/78047/ft2_4FGL_J2037.0-2826_daily_bin1442.fits outfile=/scratch/kocevski/78047/cmap_613094401_613353601_4FGL_J2037.0-2826_daily_bin1442.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.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/78047/ft1_filtered_4FGL_J2037.0-2826_daily_bin1442.fits evtable="EVENTS" scfile=/scratch/kocevski/78047/ft2_4FGL_J2037.0-2826_daily_bin1442.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/78047/Model_4FGL_J2037.0-2826_daily_bin1442.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/78047/ft1_filtered_4FGL_J2037.0-2826_daily_bin1442.fits.....................!
real 54.77
user 53.46
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2844       1.0000         .10000E-03   10000.    
     2 'Prefactor '    42.716       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    101.24       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    59.211       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11743       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.271       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    36.413       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.141       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .72366       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1697       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=   5837.191     FROM MIGRAD    STATUS=CONVERGED    342 CALLS     1504 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2974        13.897       -.30505E-05    .64904E-04
   2  Prefactor     42.752        51.785        .20361E-05    .41611E-04
   3  norm          .10000E-03    7.6571        .15063E-07** at limit **
   4  Prefactor     101.30        95.020        .91231E-06   -.96649E-05
   5  norm          .10000E-03    35.678        .19710E-05** at limit **
   6  Prefactor     59.010        67.344       -.57756E-05   -.81510E-04
   7  Prefactor     .23705        67.589        .21961E-04   -.36688E-04
   8  Prefactor     11.275        7.5734        .86981E-07    .33317E-04
   9  Prefactor     .10000E-03    60.648       -.30182E-05** at limit **
  10  norm          36.391        35.027       -.21717E-05   -.75014E-04
  11  Prefactor     .10000E-03    11.074       -.44740E-06** at limit **
  12  Prefactor     13.169        25.608        .15244E-05    .49999E-04
  13  Prefactor     .10000E-03    1.9535       -.32812E-06** at limit **
  14  norm          .10000E-03    10.859       -.21341E-06** at limit **
  15  Normalizat    .72299        .31943       -.31214E-05   -.74673E-04
  16  Prefactor     1.1697        .13155       -.37925E-07   -.65548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.29741
  Prefactor  = 42.7516
  norm       = 0.0001
  Prefactor  = 101.302
  norm       = 0.000100001
  Prefactor  = 59.0103
  Prefactor  = 0.237046
  Prefactor  = 11.275
  Prefactor  = 0.0001
  norm       = 36.391
  Prefactor  = 0.0001
  Prefactor  = 13.1693
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.722993
  Prefactor  = 1.16973
 **********
 **   18 **HESSE 
 **********

 FCN=   5837.191     FROM HESSE     STATUS=OK           201 CALLS     1705 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2974        13.434        .27163E-03   -1.5405    
   2  Prefactor     42.752        51.924        .61337E-04   -1.4399    
   3  norm          .10000E-03    7.6700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     101.30        95.010        .19979E-03   -1.3692    
   5  norm          .10000E-03    36.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     59.010        67.862        .26069E-03   -1.4170    
   7  Prefactor     .23705        68.649        .37827E-02   -1.5611    
   8  Prefactor     11.275        7.5676        .11933E-03   -1.5036    
   9  Prefactor     .10000E-03    60.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          36.391        35.014        .66415E-04   -1.4501    
  11  Prefactor     .10000E-03    11.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.169        25.635        .11049E-03   -1.4982    
  13  Prefactor     .10000E-03    1.9519        .10413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    11.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .72299        .34568        .46487E-03   -1.0299    
  16  Prefactor     1.1697        .14608        .16017E-03   -.87268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94372e-08
Minuit parameter uncertainties:
  1  11.1144
  2  51.9794
  3  1.52322e-05
  4  95.1529
  5  0.000401978
  6  67.9508
  7  8.0756
  8  7.56822
  9  0.000211434
  10  35.0339
  11  5.89032e-05
  12  25.656
  13  1.09672e-05
  14  1.58263e-05
  15  0.346726
  16  0.14613
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  2.370e-01  8.076e+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.170e+00  1.461e-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:  7.230e-01  3.467e-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: 1.56e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/78047/likelihoodResults_613094401_613353601_4FGL_J2037.0-2826_daily_bin1442.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) = 5837.190564
delta logL = 2.21672353291e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5837.19006483
delta logL = 0.000521336171005

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23863       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7706       1.0000          .0000       10.000    
     3 'Normalizat'    .72221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1699       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=   5837.190     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      237 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31170        22.949        .58717E-01    .37636E-03
   2  Index         2.7572        3.2623        .50000        .36533E-05
   3  Normalizat    .72188        .13965E-01    .10495       -.12536E-03
   4  Prefactor     1.1699        .60134E-02    .35384E-01   -.32107E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.311703
  Index      = 2.75718
  Normalizat = 0.721876
  Prefactor  = 1.16989
 **********
 **   18 **HESSE 
 **********

 FCN=   5837.190     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31170        142.22        .36812E-02   -1.5596    
   2  Index         2.7572        5.2249        .31429E-01   -.46516    
   3  Normalizat    .72188        .34154        .46519E-03   -1.0304    
   4  Prefactor     1.1699        .14427        .16016E-03   -.87263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32408e-07
Minuit parameter uncertainties:
  1  13.3459
  2  10.3213
  3  0.34255
  4  0.14432
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/78047': 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) = 5837.19000925
delta logL = 0.000576917275794

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  3.117e-01  1.335e+01  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.757e+00  1.032e+01  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.170e+00  1.443e-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:  7.219e-01  3.426e-01  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/78047/cmap_HighResolution_613094401_613353601_4FGL_J2037.0-2826_daily_bin1442.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='1.56e-07', time_completed='2021-09-25 14:10:53.795628', job_id='78047', GAL2='1.17', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1632604253.8', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='5.77e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1442' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:10:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 78047: <4FGL_J2037.0-2826_daily_bin1442> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1442 309.252 -28.4383 613094401 613353601 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 :                                   523.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             304.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   579 sec.
    Turnaround time :                            611 sec.

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

