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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1565
RA = 309.252, Dec = -28.4383
tmin = 644976001, tmax = 645235201
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='78223', job_status='RUN', time_executed='2021-09-25 14:05:48.232375', time_epoch_executed='1632603948.23' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1565'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/78223

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/78223/ft1_4FGL_J2037.0-2826_daily_bin1565.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/78223/ft2_4FGL_J2037.0-2826_daily_bin1565.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/78223/ft1_4FGL_J2037.0-2826_daily_bin1565.fits outfile=/scratch/kocevski/78223/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1565.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=644976001.0 tmax=645235201.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.80
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/78223/ft2_4FGL_J2037.0-2826_daily_bin1565.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/78223/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1565.fits evtable="EVENTS" outfile="/scratch/kocevski/78223/ft1_filtered_4FGL_J2037.0-2826_daily_bin1565.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/78223/ft1_filtered_4FGL_J2037.0-2826_daily_bin1565.fits" evtable="EVENTS" scfile=/scratch/kocevski/78223/ft2_4FGL_J2037.0-2826_daily_bin1565.fits sctable="SC_DATA" outfile=/scratch/kocevski/78223/ltcube_644976001_645235201_4FGL_J2037.0-2826_daily_bin1565.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/78223/ft2_4FGL_J2037.0-2826_daily_bin1565.fits
.....................!
real 14.80
user 14.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/78223/ft1_filtered_4FGL_J2037.0-2826_daily_bin1565.fits evtable="EVENTS" scfile=/scratch/kocevski/78223/ft2_4FGL_J2037.0-2826_daily_bin1565.fits sctable="SC_DATA" expcube=/scratch/kocevski/78223/ltcube_644976001_645235201_4FGL_J2037.0-2826_daily_bin1565.fits outfile=/scratch/kocevski/78223/expmap_644976001_645235201_4FGL_J2037.0-2826_daily_bin1565.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/78223/ltcube_644976001_645235201_4FGL_J2037.0-2826_daily_bin1565.fits
.....................!
real 192.59
user 186.96
sys 4.94

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/78223/ft1_filtered_4FGL_J2037.0-2826_daily_bin1565.fits scfile=/scratch/kocevski/78223/ft2_4FGL_J2037.0-2826_daily_bin1565.fits outfile=/scratch/kocevski/78223/cmap_644976001_645235201_4FGL_J2037.0-2826_daily_bin1565.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.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/78223/ft1_filtered_4FGL_J2037.0-2826_daily_bin1565.fits scfile=/scratch/kocevski/78223/ft2_4FGL_J2037.0-2826_daily_bin1565.fits outfile=/scratch/kocevski/78223/cmap_HighResolution_644976001_645235201_4FGL_J2037.0-2826_daily_bin1565.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.60
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/78223/ft1_filtered_4FGL_J2037.0-2826_daily_bin1565.fits evtable="EVENTS" scfile=/scratch/kocevski/78223/ft2_4FGL_J2037.0-2826_daily_bin1565.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/78223/Model_4FGL_J2037.0-2826_daily_bin1565.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/78223/ft1_filtered_4FGL_J2037.0-2826_daily_bin1565.fits....................!
real 60.76
user 59.19
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14557E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    41.355       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.473       1.0000         .10000E-03   10000.    
     5 'norm      '    .10724E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    99.184       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5802       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10595E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.405       1.0000         .10000E-03   10000.    
    10 'norm      '    .11379E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.796       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.125       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .28250E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    11.277       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1155       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0680       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7106.237     FROM MIGRAD    STATUS=CONVERGED    103 CALLS     1293 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0884        .72476E-06** at limit **
   2  Prefactor     .10000E-03    10.477       -.94192E-06** at limit **
   3  norm          41.227        22.025        .15115E-05   -.21780E-02
   4  Prefactor     22.953        49.393        .25289E-05    .51499E-02
   5  norm          .10000E-03    13.116       -.54928E-07** at limit **
   6  Prefactor     99.464        33.355        .10127E-05   -.16148E-01
   7  Prefactor     6.5703        5.6152       -.66962E-06    .64677E-04
   8  Prefactor     .10000E-03    5.6194        .24859E-05** at limit **
   9  Prefactor     23.441        5.6769        .33712E-06   -.21476E-02
  10  norm          .10000E-03    15.742        .96348E-06** at limit **
  11  Prefactor     21.843        4.8294       -.33666E-06    .74495E-03
  12  Prefactor     45.221        25.476       -.10492E-05   -.67328E-02
  13  Prefactor     .10000E-03    40.020       -.89215E-05** at limit **
  14  norm          11.266        10.559       -.59494E-06   -.22832E-03
  15  Normalizat    1.1150        .30679       -.66962E-05    .22883E-04
  16  Prefactor     1.0680        .12951        .12018E-05    .34153E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 41.2265
  Prefactor  = 22.9532
  norm       = 0.0001
  Prefactor  = 99.4643
  Prefactor  = 6.57031
  Prefactor  = 0.0001
  Prefactor  = 23.4414
  norm       = 0.0001
  Prefactor  = 21.8427
  Prefactor  = 45.2214
  Prefactor  = 0.0001
  norm       = 11.2661
  Normalizat = 1.11502
  Prefactor  = 1.06804
 **********
 **   18 **HESSE 
 **********

 FCN=   7106.237     FROM HESSE     STATUS=OK           245 CALLS     1538 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9824        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.478        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          41.227        22.601        .15584E-02   -1.4423    
   4  Prefactor     22.953        54.195        .21123E-02   -1.4749    
   5  norm          .10000E-03    13.004        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     99.464        69.954        .10091E-02   -1.3710    
   7  Prefactor     6.5703        5.6696        .39110E-02   -1.5195    
   8  Prefactor     .10000E-03    2.6731        .49336E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.441        69.816        .20699E-02   -1.4739    
  10  norm          .10000E-03    15.712        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.843        24.647        .21449E-02   -1.4773    
  12  Prefactor     45.221        26.136        .14921E-02   -1.4362    
  13  Prefactor     .10000E-03    6.7211        .73136E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.266        10.559        .29825E-02   -1.5037    
  15  Normalizat    1.1150        .28557        .91085E-01   -.89271    
  16  Prefactor     1.0680        .11236        .38955E-01   -.90495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80416e-06
Minuit parameter uncertainties:
  1  2.41082e-06
  2  3.69654e-06
  3  22.6053
  4  54.3119
  5  1.95721e-06
  6  70.0121
  7  5.67006
  8  5.92696e-06
  9  70.0608
  10  2.19079e-06
  11  24.6583
  12  26.1426
  13  8.86325e-05
  14  10.5603
  15  0.285966
  16  0.112382
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  6.570e+00  5.670e+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.068e+00  1.124e-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.115e+00  2.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.47
Ra Dec: 309.252 -28.438
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 5.02e-08 +/- 4.33e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 1.17e-05

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

Saving results to:
/scratch/kocevski/78223/likelihoodResults_644976001_645235201_4FGL_J2037.0-2826_daily_bin1565.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) = 7105.66978668
delta logL = 0.566912053827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7105.59955348
delta logL = 0.637145256222

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9875       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9233       1.0000          .0000       10.000    
     3 'Normalizat'    1.1333       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0625       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=   7105.600     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9955        9.4843        .33424E-02    .18919E-04
   2  Index         1.9236        .56759        .23636       -.59072E-04
   3  Normalizat    1.1330        .26270        .90454E-01    .11043E-03
   4  Prefactor     1.0625        .11116        .39228E-01   -.33129E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99545
  Index      = 1.92359
  Normalizat = 1.13304
  Prefactor  = 1.06253
 **********
 **   18 **HESSE 
 **********

 FCN=   7105.600     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9955        7.0194        .13369E-03   -1.5108    
   2  Index         1.9236        .50461        .86973E-02   -.66274    
   3  Normalizat    1.1330        .30203        .40063E-03   -.88698    
   4  Prefactor     1.0625        .12817        .17359E-03   -.90673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96007e-10
Minuit parameter uncertainties:
  1  7.02009
  2  0.506
  3  0.302492
  4  0.128204
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/78223': 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) = 7105.59955218
delta logL = 0.637146560749

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  8.995e+00  7.020e+00  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  1.924e+00  5.060e-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.063e+00  1.282e-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.133e+00  3.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 309.252 -28.438
Photon Index (Free Index): 1.92 +/- 0.51
Photon Flux (Free Index): 3.51e-08 +/- 3.23e-08
Energy Flux (Free Index): 2.95e-05 +/- 3.41e-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/78223/cmap_HighResolution_644976001_645235201_4FGL_J2037.0-2826_daily_bin1565.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', comment='SUCCESS', photon_flux='5.02e-08', energy_flux2='2.95e-05', photon_flux_error='4.33e-08', dlogl='6.37e-01', energy_flux='1.36e-05', photon_flux2='3.51e-08', job_status='DONE', time_completed='2021-09-25 14:15:08.322303', photon_index_error2='0.51', photon_index2='1.92', ts='2.47', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='3.41e-05', EG='1.12', time_epoch_completed='1632604508.32', return_code='0', job_id='78223', GAL2='1.06', EG2='1.13', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='3.23e-08', ts2='3.75', photon_index='2.57' WHERE bin_id='1565' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:15:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 78223: <4FGL_J2037.0-2826_daily_bin1565> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1565 309.252 -28.4383 644976001 645235201 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 :                                   556.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             253.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            849 sec.

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

