aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 150 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 = 7706
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1690
RA = 309.252, Dec = -28.4383
tmin = 677376001, tmax = 677635201
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='158168', job_status='RUN', time_executed='2022-06-23 01:14:02.232078', time_epoch_executed='1655972042.23' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158168

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158168/ft1_4FGL_J2037.0-2826_daily_bin1690.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158168/ft2_4FGL_J2037.0-2826_daily_bin1690.fits


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

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

Done.
real 2.56
user 2.36
sys 0.19

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

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

Number of photons that the gtmktime cut: 159

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158168/ft1_filtered_4FGL_J2037.0-2826_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/158168/ft2_4FGL_J2037.0-2826_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/158168/ltcube_677376001_677635201_4FGL_J2037.0-2826_daily_bin1690.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/158168/ft2_4FGL_J2037.0-2826_daily_bin1690.fits
.....................!
real 16.32
user 15.82
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158168/ft1_filtered_4FGL_J2037.0-2826_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/158168/ft2_4FGL_J2037.0-2826_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/158168/ltcube_677376001_677635201_4FGL_J2037.0-2826_daily_bin1690.fits outfile=/scratch/kocevski/158168/expmap_677376001_677635201_4FGL_J2037.0-2826_daily_bin1690.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/158168/ltcube_677376001_677635201_4FGL_J2037.0-2826_daily_bin1690.fits
.....................!
real 195.46
user 188.51
sys 6.20

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/158168/ft1_filtered_4FGL_J2037.0-2826_daily_bin1690.fits scfile=/scratch/kocevski/158168/ft2_4FGL_J2037.0-2826_daily_bin1690.fits outfile=/scratch/kocevski/158168/cmap_677376001_677635201_4FGL_J2037.0-2826_daily_bin1690.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158168/ft1_filtered_4FGL_J2037.0-2826_daily_bin1690.fits scfile=/scratch/kocevski/158168/ft2_4FGL_J2037.0-2826_daily_bin1690.fits outfile=/scratch/kocevski/158168/cmap_HighResolution_677376001_677635201_4FGL_J2037.0-2826_daily_bin1690.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=309.252 yref=-28.4383 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158168/ft1_filtered_4FGL_J2037.0-2826_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/158168/ft2_4FGL_J2037.0-2826_daily_bin1690.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158168/Model_4FGL_J2037.0-2826_daily_bin1690.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/158168/ft1_filtered_4FGL_J2037.0-2826_daily_bin1690.fits.......................!
real 28.30
user 26.92
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    94.786       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    16.607       1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.608       1.0000         .10000E-03   10000.    
     5 'norm      '    8.3502       1.0000         .10000E-03   10000.    
     6 'Prefactor '    148.29       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.877       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1942       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .12931E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.257       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10571E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .10308       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2850       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=   1899.868     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     1873 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     94.741        55.597        .41282E-04   -.39078E-04
   2  Prefactor     .10000E-03    99.356        .18142E-02** at limit **
   3  norm          16.603        101.43        .98283E-04   -.83863E-05
   4  Prefactor     37.700        333.05        .65355E-04   -.48098E-05
   5  norm          8.3277        81.358        .13873E-03   -.13992E-04
   6  Prefactor     148.21        282.05        .16547E-03   -.81416E-05
   7  Prefactor     26.880        32.674        .77273E-04   -.48624E-04
   8  Prefactor     2.1894        18.166        .27781E-03   -.19653E-04
   9  Prefactor     .10000E-03    143.23        .18142E-02** at limit **
  10  norm          .10000E-03    409.31        .36285E-03** at limit **
  11  Prefactor     25.230        57.995        .79708E-04   -.27492E-04
  12  Prefactor     .10000E-03    192.27        .18142E-02** at limit **
  13  Prefactor     .10000E-03    5.0573        .95687E-03** at limit **
  14  norm          .10000E-03    8.5602        .12456E-02** at limit **
  15  Normalizat    .10265        1.0497        .10520E-01   -.61615E-05
  16  Prefactor     1.2852        .28953        .15875E-03   -.10443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 94.7406
  Prefactor  = 0.0001
  norm       = 16.603
  Prefactor  = 37.7002
  norm       = 8.32775
  Prefactor  = 148.211
  Prefactor  = 26.8798
  Prefactor  = 2.18942
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.2299
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.102654
  Prefactor  = 1.28518
 **********
 **   18 **HESSE 
 **********

 FCN=   1899.868     FROM HESSE     STATUS=OK           187 CALLS     2060 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     94.741        55.585        .82564E-05   -1.3758    
   2  Prefactor     .10000E-03    99.356        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.603        101.41        .39313E-05   -1.4893    
   4  Prefactor     37.700        332.84        .13071E-04   -1.4479    
   5  norm          8.3277        81.234        .55493E-05   -1.5131    
   6  Prefactor     148.21        281.98        .66188E-05   -1.3267    
   7  Prefactor     26.880        32.650        .30909E-05   -1.4671    
   8  Prefactor     2.1894        18.006        .11113E-04   -1.5412    
   9  Prefactor     .10000E-03    143.23        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    409.32        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.230        57.675        .31883E-05   -1.4703    
  12  Prefactor     .10000E-03    192.34        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.0573        .19137E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    8.5602        .24913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .10265        .88480        .42080E-03   -1.3779    
  16  Prefactor     1.2852        .26865        .31749E-04   -.83749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75633e-11
Minuit parameter uncertainties:
  1  55.6157
  2  1.56315e-05
  3  82.2752
  4  225.737
  5  52.1111
  6  284.6
  7  32.6718
  8  12.5625
  9  7.26276e-05
  10  0.000655148
  11  57.803
  12  0.000143927
  13  3.81427e-06
  14  7.89799e-07
  15  0.584369
  16  0.268942
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  2.688e+01  3.267e+01  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.285e+00  2.689e-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.027e-01  5.844e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.20
Ra Dec: 309.252 -28.438
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 2.05e-07 +/- 2.49e-07
Energy Flux (Fixed Index): 5.56e-05 +/- 6.75e-05

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

Saving results to:
/scratch/kocevski/158168/likelihoodResults_677376001_677635201_4FGL_J2037.0-2826_daily_bin1690.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) = 1899.64731
delta logL = 0.220823219106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1899.64203007
delta logL = 0.226103154591

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.994       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1173       1.0000          .0000       10.000    
     3 'Normalizat'    .57496E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2955       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=   1899.642     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      276 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.025        551.21        .22975E-02   -.78552E-04
   2  Index         3.1187        6.4656        .12247        .33697E-04
   3  Normalizat    .57010E-01    .17470        .32878       -.51856E-04
   4  Prefactor     1.2953        .11994        .32689E-01   -.40739E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.0247
  Index      = 3.11865
  Normalizat = 0.0570098
  Prefactor  = 1.29535
 **********
 **   18 **HESSE 
 **********

 FCN=   1899.642     FROM HESSE     STATUS=OK            33 CALLS      309 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.025        26.014        .91899E-04   -1.4835    
   2  Index         3.1187        .91505        .49584E-02   -.38577    
   3  Normalizat    .57010E-01    2.0928        .11631E-01   -1.4335    
   4  Prefactor     1.2953        .29623        .15797E-03   -.83445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00435e-09
Minuit parameter uncertainties:
  1  26.0299
  2  0.921105
  3  0.653386
  4  0.296613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158168': 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) = 1899.64202244
delta logL = 0.226110781081

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.902e+01  2.603e+01  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  3.119e+00  9.211e-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.295e+00  2.966e-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:  5.701e-02  6.534e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.71
Ra Dec: 309.252 -28.438
Photon Index (Free Index): 3.12 +/- 0.92
Photon Flux (Free Index): 3.01e-07 +/- 2.86e-07
Energy Flux (Free Index): 5.68e-05 +/- 5.25e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/158168/cmap_HighResolution_677376001_677635201_4FGL_J2037.0-2826_daily_bin1690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.31e-02', comment='SUCCESS', photon_flux='2.05e-07', energy_flux2='5.68e-05', photon_flux_error='2.49e-07', dlogl='2.26e-01', energy_flux='5.56e-05', photon_flux2='3.01e-07', job_status='DONE', time_completed='2022-06-23 01:20:36.622688', photon_index_error2='0.92', photon_index2='3.12', ts='1.20', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='6.80e-07', energy_flux_error2='5.25e-05', EG='0.10', time_epoch_completed='1655972436.62', return_code='0', job_id='158168', GAL2='1.30', EG2='0.06', return_code2='0', energy_flux_error='6.75e-05', photon_flux_error2='2.86e-07', ts2='1.71', photon_index='2.57' WHERE bin_id='1690' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun 23 01:20:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 158168: <4FGL_J2037.0-2826_daily_bin1690> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1690> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun 23 01:10:26 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 01:11:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 01:11:22 2022
Terminated at Thu Jun 23 01:20:37 2022
Results reported at Thu Jun 23 01:20:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1690 309.252 -28.4383 677376001 677635201 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 :                                   396.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   554 sec.
    Turnaround time :                            611 sec.

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

