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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1572
RA = 309.252, Dec = -28.4383
tmin = 646790401, tmax = 647049601
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='78230', job_status='RUN', time_executed='2021-09-25 14:03:24.500533', time_epoch_executed='1632603804.5' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1572'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/78230

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/78230/ft1_4FGL_J2037.0-2826_daily_bin1572.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/78230/ft2_4FGL_J2037.0-2826_daily_bin1572.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/78230/ft1_4FGL_J2037.0-2826_daily_bin1572.fits outfile=/scratch/kocevski/78230/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1572.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=646790401.0 tmax=647049601.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.65
user 3.41
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/78230/ft1_filtered_4FGL_J2037.0-2826_daily_bin1572.fits" evtable="EVENTS" scfile=/scratch/kocevski/78230/ft2_4FGL_J2037.0-2826_daily_bin1572.fits sctable="SC_DATA" outfile=/scratch/kocevski/78230/ltcube_646790401_647049601_4FGL_J2037.0-2826_daily_bin1572.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/78230/ft2_4FGL_J2037.0-2826_daily_bin1572.fits
.....................!
real 14.28
user 13.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/78230/ft1_filtered_4FGL_J2037.0-2826_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/78230/ft2_4FGL_J2037.0-2826_daily_bin1572.fits sctable="SC_DATA" expcube=/scratch/kocevski/78230/ltcube_646790401_647049601_4FGL_J2037.0-2826_daily_bin1572.fits outfile=/scratch/kocevski/78230/expmap_646790401_647049601_4FGL_J2037.0-2826_daily_bin1572.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/78230/ltcube_646790401_647049601_4FGL_J2037.0-2826_daily_bin1572.fits
.....................!
real 193.15
user 185.90
sys 5.16

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/78230/ft1_filtered_4FGL_J2037.0-2826_daily_bin1572.fits scfile=/scratch/kocevski/78230/ft2_4FGL_J2037.0-2826_daily_bin1572.fits outfile=/scratch/kocevski/78230/cmap_646790401_647049601_4FGL_J2037.0-2826_daily_bin1572.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/78230/ft1_filtered_4FGL_J2037.0-2826_daily_bin1572.fits scfile=/scratch/kocevski/78230/ft2_4FGL_J2037.0-2826_daily_bin1572.fits outfile=/scratch/kocevski/78230/cmap_HighResolution_646790401_647049601_4FGL_J2037.0-2826_daily_bin1572.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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/78230/ft1_filtered_4FGL_J2037.0-2826_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/78230/ft2_4FGL_J2037.0-2826_daily_bin1572.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/78230/Model_4FGL_J2037.0-2826_daily_bin1572.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/78230/ft1_filtered_4FGL_J2037.0-2826_daily_bin1572.fits.....................!
real 61.55
user 59.36
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    74.765       1.0000         .10000E-03   10000.    
     3 'norm      '    23.770       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .76097       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.573       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.4256       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .81113       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6568       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2236       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95441       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=   6823.946     FROM MIGRAD    STATUS=CONVERGED    344 CALLS     1507 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0911        .10881E-08** at limit **
   2  Prefactor     74.767        43.928        .25841E-06    .22477E-04
   3  norm          23.771        16.834        .30136E-05    .75030E-03
   4  Prefactor     .55524        64.783       -.73478E-05    .14554E-03
   5  norm          .10000E-03    3.9486        .18876E-07** at limit **
   6  Prefactor     11.533        59.555        .11756E-05    .45780E-04
   7  Prefactor     5.4232        8.2073        .23206E-05    .12296E-02
   8  Prefactor     .10000E-03    5.1778        .42324E-07** at limit **
   9  Prefactor     .10000E-03    210.15       -.40953E-05** at limit **
  10  norm          .10000E-03    14.489        .94696E-07** at limit **
  11  Prefactor     .78960        45.304       -.96222E-05    .42738E-03
  12  Prefactor     4.6565        22.158       -.59639E-06   -.23760E-04
  13  Prefactor     .10000E-03    4.4531        .17188E-07** at limit **
  14  norm          .10000E-03    5.2647       -.10090E-07** at limit **
  15  Normalizat    1.2236        .26093       -.21417E-05    .47760E-04
  16  Prefactor     .95440        .10255        .20274E-06    .25081E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 74.767
  norm       = 23.7706
  Prefactor  = 0.555242
  norm       = 0.0001
  Prefactor  = 11.5329
  Prefactor  = 5.42317
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.789599
  Prefactor  = 4.65655
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.22356
  Prefactor  = 0.954401
 **********
 **   18 **HESSE 
 **********

 FCN=   6823.946     FROM HESSE     STATUS=OK           207 CALLS     1714 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1144        .14179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     74.767        44.093        .46435E-04   -1.3976    
   3  norm          23.771        17.263        .82159E-04   -1.4732    
   4  Prefactor     .55524        49.026        .17046       -1.5559    
   5  norm          .10000E-03    3.9554        .16031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.533        59.620        .11776E-03   -1.5029    
   7  Prefactor     5.4232        8.5477        .86257E-03   -1.5242    
   8  Prefactor     .10000E-03    5.3353        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    210.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    14.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .78960        150.60        .62746E-02   -1.5530    
  12  Prefactor     4.6565        22.137        .18650E-03   -1.5276    
  13  Prefactor     .10000E-03    4.4817        .17018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.2665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2236        .30876        .38017E-03   -.85878    
  16  Prefactor     .95440        .12101        .16808E-03   -.94265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69705e-08
Minuit parameter uncertainties:
  1  2.69755e-06
  2  44.1126
  3  17.2669
  4  10.4427
  5  3.62259e-06
  6  52.5266
  7  8.54964
  8  1.39852e-05
  9  0.00147754
  10  2.57067e-05
  11  21.8639
  12  20.318
  13  1.4504e-05
  14  1.17394e-06
  15  0.309219
  16  0.121047
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  5.423e+00  8.550e+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:  9.544e-01  1.210e-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.224e+00  3.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/78230/likelihoodResults_646790401_647049601_4FGL_J2037.0-2826_daily_bin1572.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) = 6823.94401111
delta logL = 0.00245443145741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6823.94366472
delta logL = 0.0028008215495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2440       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6590       1.0000          .0000       10.000    
     3 'Normalizat'    1.2197       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95526       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=   6823.944     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      237 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2318        9.1069        .87764E-03   -.40908E-04
   2  Index         2.6540        1.2257        .13811E-01    .15962E-03
   3  Normalizat    1.2201        .30260        .38063E-03   -.49491E-04
   4  Prefactor     .95524        .11865        .16801E-03   -.11411E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.23178
  Index      = 2.65396
  Normalizat = 1.22007
  Prefactor  = 0.955236
 **********
 **   18 **HESSE 
 **********

 FCN=   6823.944     FROM HESSE     STATUS=OK            27 CALLS      264 TOTAL
                     EDM=   .95E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2318        8.6695        .35106E-04   -1.5250    
   2  Index         2.6540        1.1677        .27623E-02   -.48839    
   3  Normalizat    1.2201        .30279        .15225E-04   -.85985    
   4  Prefactor     .95524        .11865        .33603E-04   -.94237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.50773e-12
Minuit parameter uncertainties:
  1  8.67163
  2  1.18177
  3  0.303226
  4  0.118683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/78230': 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) = 6823.94365002
delta logL = 0.00281551528951

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  5.232e+00  8.672e+00  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.654e+00  1.182e+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:  9.552e-01  1.187e-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.220e+00  3.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/78230/cmap_HighResolution_646790401_647049601_4FGL_J2037.0-2826_daily_bin1572.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-02', job_status='DONE', photon_flux_upper_limit='1.83e-07', time_completed='2021-09-25 14:12:48.381628', job_id='78230', GAL2='0.96', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1632604368.38', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.82e-03', ts2='0.52', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1572' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:12:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 78230: <4FGL_J2037.0-2826_daily_bin1572> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1572 309.252 -28.4383 646790401 647049601 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 :                                   555.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            708 sec.

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

