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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1304
RA = 309.252, Dec = -28.4383
tmin = 577324801, tmax = 577584001
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='77821', job_status='RUN', time_executed='2021-09-25 14:01:17.282804', time_epoch_executed='1632603677.28' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1304'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77821

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77821/ft1_4FGL_J2037.0-2826_daily_bin1304.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77821/ft2_4FGL_J2037.0-2826_daily_bin1304.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77821/ft1_4FGL_J2037.0-2826_daily_bin1304.fits outfile=/scratch/kocevski/77821/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1304.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=577324801.0 tmax=577584001.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.04
user 2.78
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77821/ft1_filtered_4FGL_J2037.0-2826_daily_bin1304.fits" evtable="EVENTS" scfile=/scratch/kocevski/77821/ft2_4FGL_J2037.0-2826_daily_bin1304.fits sctable="SC_DATA" outfile=/scratch/kocevski/77821/ltcube_577324801_577584001_4FGL_J2037.0-2826_daily_bin1304.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/77821/ft2_4FGL_J2037.0-2826_daily_bin1304.fits
.....................!
real 14.19
user 13.77
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77821/ft1_filtered_4FGL_J2037.0-2826_daily_bin1304.fits evtable="EVENTS" scfile=/scratch/kocevski/77821/ft2_4FGL_J2037.0-2826_daily_bin1304.fits sctable="SC_DATA" expcube=/scratch/kocevski/77821/ltcube_577324801_577584001_4FGL_J2037.0-2826_daily_bin1304.fits outfile=/scratch/kocevski/77821/expmap_577324801_577584001_4FGL_J2037.0-2826_daily_bin1304.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/77821/ltcube_577324801_577584001_4FGL_J2037.0-2826_daily_bin1304.fits
.....................!
real 193.38
user 187.44
sys 4.63

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/77821/ft1_filtered_4FGL_J2037.0-2826_daily_bin1304.fits scfile=/scratch/kocevski/77821/ft2_4FGL_J2037.0-2826_daily_bin1304.fits outfile=/scratch/kocevski/77821/cmap_577324801_577584001_4FGL_J2037.0-2826_daily_bin1304.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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77821/ft1_filtered_4FGL_J2037.0-2826_daily_bin1304.fits scfile=/scratch/kocevski/77821/ft2_4FGL_J2037.0-2826_daily_bin1304.fits outfile=/scratch/kocevski/77821/cmap_HighResolution_577324801_577584001_4FGL_J2037.0-2826_daily_bin1304.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.58
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77821/ft1_filtered_4FGL_J2037.0-2826_daily_bin1304.fits evtable="EVENTS" scfile=/scratch/kocevski/77821/ft2_4FGL_J2037.0-2826_daily_bin1304.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77821/Model_4FGL_J2037.0-2826_daily_bin1304.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/77821/ft1_filtered_4FGL_J2037.0-2826_daily_bin1304.fits.....................!
real 91.45
user 88.98
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5346       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16933E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    27.947       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10599E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.1725       1.0000         .10000E-03   10000.    
     6 'Prefactor '    87.383       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.300       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3960       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10869E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9816       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .99443       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1005       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11137.94     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     1752 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5349        5.3002        .17078E-03    .54627E-03
   2  Prefactor     .10000E-03    18.710        .13589    ** at limit **
   3  norm          27.952        12.601        .75783E-04    .17192E-03
   4  Prefactor     .10000E-03    61.297        .18142E-02** at limit **
   5  norm          5.1729        8.1020        .17676E-03   -.52354E-04
   6  Prefactor     87.415        54.709        .42979E-04    .45391E-04
   7  Prefactor     11.299        6.1684        .11918E-03   -.44071E-03
   8  Prefactor     3.3958        3.5814        .99152E-03    .33526E-04
   9  Prefactor     .10002E-03    121.16        .18142E-02** at limit **
  10  norm          .10000E-03    4.8764        .18142E-02** at limit **
  11  Prefactor     .10000E-03    9.7600        .18142E-02** at limit **
  12  Prefactor     6.9949        26.604        .15183E-03   -.15874E-04
  13  Prefactor     .10000E-03    3.9594        .18142E-02** at limit **
  14  norm          .10000E-03    8.9751        .36285E-03** at limit **
  15  Normalizat    .99497        .24340        .41269E-03   -.31101E-03
  16  Prefactor     1.1002        .10033        .16450E-03   -.48262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.53489
  Prefactor  = 0.0001
  norm       = 27.9519
  Prefactor  = 0.0001
  norm       = 5.17291
  Prefactor  = 87.4145
  Prefactor  = 11.2989
  Prefactor  = 3.39578
  Prefactor  = 0.000100017
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.99488
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.994973
  Prefactor  = 1.10025
 **********
 **   18 **HESSE 
 **********

 FCN=   11137.94     FROM HESSE     STATUS=OK           197 CALLS     1949 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5349        5.2998        .68312E-05   -1.5237    
   2  Prefactor     .10000E-03    18.632        .13634       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          27.952        12.601        .30313E-05   -1.4650    
   4  Prefactor     .10000E-03    61.314        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.1729        8.1016        .70704E-05   -1.5253    
   6  Prefactor     87.415        54.710        .85959E-05   -1.3835    
   7  Prefactor     11.299        6.1684        .47672E-05   -1.5036    
   8  Prefactor     3.3958        3.5807        .39661E-04   -1.5339    
   9  Prefactor     .10002E-03    121.26        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.8765        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.7631        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9949        26.599        .60732E-05   -1.5179    
  13  Prefactor     .10000E-03    3.9631        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    8.9755        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .99497        .24351        .16508E-04   -.93199    
  16  Prefactor     1.1002        .10039        .32899E-04   -.89459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27336e-10
Minuit parameter uncertainties:
  1  5.30021
  2  0.000144429
  3  12.6021
  4  0.00031459
  5  8.10327
  6  54.7418
  7  6.1687
  8  3.58094
  9  0.00287674
  10  3.07657e-06
  11  8.12226e-05
  12  26.644
  13  5.35758e-05
  14  3.97728e-05
  15  0.243778
  16  0.100405
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.130e+01  6.169e+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.100e+00  1.004e-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.950e-01  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.83
Ra Dec: 309.252 -28.438
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 8.63e-08 +/- 4.71e-08
Energy Flux (Fixed Index): 2.34e-05 +/- 1.27e-05

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) = 11137.9049461
delta logL = 0.032197065193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11137.9040639
delta logL = 0.033079220455

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.251       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7096       1.0000          .0000       10.000    
     3 'Normalizat'    .98573       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1028       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=   11137.90     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      312 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.255        7.6073        .62572E-03    .16190E-03
   2  Index         2.7102        .61422        .81252E-02    .62532E-03
   3  Normalizat    .98564        .23919        .41437E-03    .62555E-05
   4  Prefactor     1.1027        .98982E-01    .16433E-03   -.13975E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2552
  Index      = 2.71017
  Normalizat = 0.985644
  Prefactor  = 1.10274
 **********
 **   18 **HESSE 
 **********

 FCN=   11137.90     FROM HESSE     STATUS=OK            27 CALLS      339 TOTAL
                     EDM=   .89E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.255        7.1253        .12514E-03   -1.5067    
   2  Index         2.7102        .57518        .16250E-02   -.47571    
   3  Normalizat    .98564        .23918        .16575E-04   -.93513    
   4  Prefactor     1.1027        .98983E-01    .65730E-05   -.89379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92547e-13
Minuit parameter uncertainties:
  1  7.12587
  2  0.576794
  3  0.239436
  4  0.0989995
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77821': 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) = 11137.9040619
delta logL = 0.0330811950498

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.026e+01  7.126e+00  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.710e+00  5.768e-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.103e+00  9.900e-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:  9.856e-01  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.93
Ra Dec: 309.252 -28.438
Photon Index (Free Index): 2.71 +/- 0.58
Photon Flux (Free Index): 9.37e-08 +/- 5.54e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.23e-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/77821/cmap_HighResolution_577324801_577584001_4FGL_J2037.0-2826_daily_bin1304.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.63e-08', energy_flux2='2.24e-05', photon_flux_error='4.71e-08', dlogl='3.31e-02', energy_flux='2.34e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2021-09-25 14:13:00.932502', photon_index_error2='0.58', photon_index2='2.71', ts='5.83', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.23e-05', EG='0.99', time_epoch_completed='1632604380.93', return_code='0', job_id='77821', GAL2='1.10', EG2='0.99', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='5.54e-08', ts2='5.93', photon_index='2.57' WHERE bin_id='1304' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:13:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 77821: <4FGL_J2037.0-2826_daily_bin1304> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1304 309.252 -28.4383 577324801 577584001 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 :                                   694.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             335.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            756 sec.

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

