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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1299
RA = 309.252, Dec = -28.4383
tmin = 576028801, tmax = 576288001
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='77813', job_status='RUN', time_executed='2021-09-25 14:01:37.050942', time_epoch_executed='1632603697.05' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1299'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77813

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77813/ft1_4FGL_J2037.0-2826_daily_bin1299.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77813/ft2_4FGL_J2037.0-2826_daily_bin1299.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77813/ft1_4FGL_J2037.0-2826_daily_bin1299.fits outfile=/scratch/kocevski/77813/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1299.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=576028801.0 tmax=576288001.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.02
user 2.77
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77813/ft2_4FGL_J2037.0-2826_daily_bin1299.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/77813/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1299.fits evtable="EVENTS" outfile="/scratch/kocevski/77813/ft1_filtered_4FGL_J2037.0-2826_daily_bin1299.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.46
user 0.29
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77813/ft1_filtered_4FGL_J2037.0-2826_daily_bin1299.fits" evtable="EVENTS" scfile=/scratch/kocevski/77813/ft2_4FGL_J2037.0-2826_daily_bin1299.fits sctable="SC_DATA" outfile=/scratch/kocevski/77813/ltcube_576028801_576288001_4FGL_J2037.0-2826_daily_bin1299.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/77813/ft2_4FGL_J2037.0-2826_daily_bin1299.fits
.....................!
real 13.49
user 13.15
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77813/ft1_filtered_4FGL_J2037.0-2826_daily_bin1299.fits evtable="EVENTS" scfile=/scratch/kocevski/77813/ft2_4FGL_J2037.0-2826_daily_bin1299.fits sctable="SC_DATA" expcube=/scratch/kocevski/77813/ltcube_576028801_576288001_4FGL_J2037.0-2826_daily_bin1299.fits outfile=/scratch/kocevski/77813/expmap_576028801_576288001_4FGL_J2037.0-2826_daily_bin1299.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/77813/ltcube_576028801_576288001_4FGL_J2037.0-2826_daily_bin1299.fits
.....................!
real 157.30
user 152.99
sys 3.96

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/77813/ft1_filtered_4FGL_J2037.0-2826_daily_bin1299.fits scfile=/scratch/kocevski/77813/ft2_4FGL_J2037.0-2826_daily_bin1299.fits outfile=/scratch/kocevski/77813/cmap_576028801_576288001_4FGL_J2037.0-2826_daily_bin1299.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.50
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77813/ft1_filtered_4FGL_J2037.0-2826_daily_bin1299.fits scfile=/scratch/kocevski/77813/ft2_4FGL_J2037.0-2826_daily_bin1299.fits outfile=/scratch/kocevski/77813/cmap_HighResolution_576028801_576288001_4FGL_J2037.0-2826_daily_bin1299.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.50
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77813/ft1_filtered_4FGL_J2037.0-2826_daily_bin1299.fits evtable="EVENTS" scfile=/scratch/kocevski/77813/ft2_4FGL_J2037.0-2826_daily_bin1299.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77813/Model_4FGL_J2037.0-2826_daily_bin1299.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/77813/ft1_filtered_4FGL_J2037.0-2826_daily_bin1299.fits.....................!
real 79.38
user 78.12
sys 1.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0136       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.048       1.0000         .10000E-03   10000.    
     3 'norm      '    10.093       1.0000         .10000E-03   10000.    
     4 'Prefactor '    54.010       1.0000         .10000E-03   10000.    
     5 'norm      '    .33426E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.726       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5190       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.716       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .76420       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11134E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .69177       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0907       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=   12519.41     FROM MIGRAD    STATUS=CONVERGED    297 CALLS     1302 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0125        4.5727        .62336E-07   -.17274E-03
   2  Prefactor     13.015        23.342       -.52601E-06   -.10757E-03
   3  norm          10.093        8.8615        .12693E-06    .26696E-04
   4  Prefactor     54.009        31.893        .65689E-07   -.40735E-04
   5  norm          .10018E-03    6.2470        .18467E-05** at limit **
   6  Prefactor     10.722        19.992       -.28620E-06   -.58893E-04
   7  Prefactor     1.5228        3.1306        .14526E-05    .45303E-03
   8  Prefactor     .10000E-03    1.2152        .93109E-07** at limit **
   9  Prefactor     .10000E-03    14.716        .47546E-07** at limit **
  10  norm          .10000E-03    3.7265        .17917E-07** at limit **
  11  Prefactor     27.718        14.962        .23054E-07   -.79782E-04
  12  Prefactor     .75741        10.415       -.54874E-06    .16015E-03
  13  Prefactor     .10006E-03    2.9783       -.11964E-06** at limit **
  14  norm          .10000E-03    2.8452        .20509E-07** at limit **
  15  Normalizat    .69131        .19262       -.39096E-05   -.33555E-03
  16  Prefactor     1.0909        .80706E-01    .90878E-06   -.84347E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.01254
  Prefactor  = 13.0148
  norm       = 10.0928
  Prefactor  = 54.0092
  norm       = 0.000100178
  Prefactor  = 10.7223
  Prefactor  = 1.52281
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.7175
  Prefactor  = 0.757405
  Prefactor  = 0.000100058
  norm       = 0.0001
  Normalizat = 0.691313
  Prefactor  = 1.09086
 **********
 **   18 **HESSE 
 **********

 FCN=   12519.41     FROM HESSE     STATUS=OK           215 CALLS     1517 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0125        4.5731        .13350E-03   -1.5107    
   2  Prefactor     13.015        23.413        .11089E-03   -1.4986    
   3  norm          10.093        8.8774        .12613E-03   -1.5072    
   4  Prefactor     54.009        31.894        .27289E-03   -1.4237    
   5  norm          .10018E-03    33.263        .43248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.722        19.966        .12233E-03   -1.5053    
   7  Prefactor     1.5228        3.1885        .27950E-03   -1.5461    
   8  Prefactor     .10000E-03    1.2437        .12053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.7278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     27.718        14.957        .76097E-04   -1.4655    
  12  Prefactor     .75741        65.136        .67036E-02   -1.5534    
  13  Prefactor     .10006E-03    3.1485        .54787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.8472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .69131        .20609        .43730E-03   -1.0424    
  16  Prefactor     1.0909        .86178E-01    .15028E-03   -.89759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.39711e-09
Minuit parameter uncertainties:
  1  4.5733
  2  23.4291
  3  8.87857
  4  31.9037
  5  0.00487128
  6  19.9788
  7  3.18888
  8  4.71253e-06
  9  7.75142e-06
  10  1.2488e-06
  11  14.959
  12  14.0626
  13  0.00085111
  14  1.29445e-06
  15  0.206316
  16  0.0861885
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.523e+00  3.189e+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.091e+00  8.619e-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:  6.913e-01  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/77813/likelihoodResults_576028801_576288001_4FGL_J2037.0-2826_daily_bin1299.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) = 12519.4049052
delta logL = 0.00909362959283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12519.4033508
delta logL = 0.0106480859467

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7101       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3743       1.0000          .0000       10.000    
     3 'Normalizat'    .69326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0903       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12519.40     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      267 TOTAL
                     EDM=   .91E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7115        3.6234        .29119E-03   -.25768E-05
   2  Index         2.3737        1.2649        .12035E-01    .89739E-06
   3  Normalizat    .69323        .19798        .43673E-03    .72887E-06
   4  Prefactor     1.0903        .84258E-01    .15031E-03   -.30253E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71148
  Index      = 2.3737
  Normalizat = 0.693232
  Prefactor  = 1.09031
 **********
 **   18 **HESSE 
 **********

 FCN=   12519.40     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .23E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7115        3.5721        .11648E-04   -1.5446    
   2  Index         2.3737        1.2479        .48141E-03   -.55302    
   3  Normalizat    .69323        .19806        .17469E-04   -1.0416    
   4  Prefactor     1.0903        .84287E-01    .60125E-05   -.89777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26121e-14
Minuit parameter uncertainties:
  1  3.57259
  2  1.26648
  3  0.19826
  4  0.084297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77813': 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) = 12519.4033505
delta logL = 0.0106483293566

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.711e+00  3.573e+00  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.374e+00  1.266e+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.090e+00  8.430e-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:  6.932e-01  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/77813/cmap_HighResolution_576028801_576288001_4FGL_J2037.0-2826_daily_bin1299.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.89e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2021-09-25 14:12:07.344899', job_id='77813', GAL2='1.09', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1632604327.34', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.06e-02', ts2='0.32', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1299' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:12:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 77813: <4FGL_J2037.0-2826_daily_bin1299> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1299 309.252 -28.4383 576028801 576288001 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 :                                   624.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            704 sec.

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

