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 5 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1757
RA = 309.252, Dec = -28.4383
tmin = 694742401, tmax = 695001601
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='220709', job_status='RUN', time_executed='2023-01-10 02:16:52.705667', time_epoch_executed='1673345812.71' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/220709

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/220709/ft1_4FGL_J2037.0-2826_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/220709/ft2_4FGL_J2037.0-2826_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/220709/ft1_4FGL_J2037.0-2826_daily_bin1757.fits outfile=/scratch/kocevski/220709/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1757.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=694742401.0 tmax=695001601.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.95
user 2.71
sys 0.22

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

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

Number of photons that the gtmktime cut: 236

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/220709/ft1_filtered_4FGL_J2037.0-2826_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/220709/ft2_4FGL_J2037.0-2826_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/220709/ltcube_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.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/220709/ft2_4FGL_J2037.0-2826_daily_bin1757.fits
.....................!
real 16.04
user 15.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/220709/ft1_filtered_4FGL_J2037.0-2826_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/220709/ft2_4FGL_J2037.0-2826_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/220709/ltcube_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.fits outfile=/scratch/kocevski/220709/expmap_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.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/220709/ltcube_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.fits
.....................!
real 193.07
user 186.74
sys 5.70

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/220709/ft1_filtered_4FGL_J2037.0-2826_daily_bin1757.fits scfile=/scratch/kocevski/220709/ft2_4FGL_J2037.0-2826_daily_bin1757.fits outfile=/scratch/kocevski/220709/cmap_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.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.57
user 0.39
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/220709/ft1_filtered_4FGL_J2037.0-2826_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/220709/ft2_4FGL_J2037.0-2826_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/220709/Model_4FGL_J2037.0-2826_daily_bin1757.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/220709/ft1_filtered_4FGL_J2037.0-2826_daily_bin1757.fits......................!
real 33.03
user 31.66
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/220709/ft1_filtered_4FGL_J2037.0-2826_daily_bin1757.fits', '/scratch/kocevski/220709/ft2_4FGL_J2037.0-2826_daily_bin1757.fits', expMap='/scratch/kocevski/220709/expmap_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.fits', expCube='/scratch/kocevski/220709/ltcube_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/220709/Model_4FGL_J2037.0-2826_daily_bin1757.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  0.000e+00  1.000e+06 ( 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/220709/ft1_filtered_4FGL_J2037.0-2826_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/220709/ft2_4FGL_J2037.0-2826_daily_bin1757.fits
Exposure map: /scratch/kocevski/220709/expmap_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.fits
Exposure cube: /scratch/kocevski/220709/ltcube_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/220709/Model_4FGL_J2037.0-2826_daily_bin1757.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) = 2566.58898633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.220       1.0000          .0000       .10000E+07
     2 'Prefactor '    .56255       1.0000          .0000       .10000E+07
     3 'norm      '    109.38       1.0000          .0000       .10000E+07
     4 'norm      '    .66841E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12511       1.0000          .0000       .10000E+07
     6 'Prefactor '    23.345       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21037E-04   1.0000          .0000       .10000E+07
     8 'norm      '    8.2426       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.403       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42844E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .93244E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .33201E-01   1.0000          .0000       .10000E+07
    13 'Normalizat'    1.8319       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .83565       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=   2566.540     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      918 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.858        7.7138       -.71442E-06    .89277E-01
   2  Prefactor     .27778E-06    114.55        .10386E-05** at limit **
   3  norm          113.08        105.34        .52414E-05   -.22657E-02
   4  norm          .38858E-09    10.075        .86012E-06** at limit **
   5  Prefactor     .18263E-07    210.46        .85577E-05** at limit **
   6  Prefactor     23.000        20.207       -.11048E-04   -.15082E-01
   7  Prefactor      .0000        3.2399        .24635E-06** at limit **
   8  norm          11.111        59.311       -.77758E-05    .87235E-02
   9  Prefactor     18.724        5.9110        .12657E-05   -.30506E-01
  10  Prefactor     .19984E-08    17.810        .23666E-05** at limit **
  11  Prefactor      .0000        7.4603        .86716E-07** at limit **
  12  norm          .55511E-09    10.166        .10485E-05** at limit **
  13  Normalizat    1.8332        .53044        .58606E-04    .85297E-04
  14  Prefactor     .83356        .23202        .89494E-06    .18019E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.8577
  Prefactor  = 2.77778e-07
  norm       = 113.083
  norm       = 3.88578e-10
  Prefactor  = 1.82632e-08
  Prefactor  = 22.9995
  Prefactor  = 0
  norm       = 11.1114
  Prefactor  = 18.7245
  Prefactor  = 1.9984e-09
  Prefactor  = 0
  norm       = 5.55112e-10
  Normalizat = 1.83321
  Prefactor  = 0.833559
 **********
 **   18 **HESSE 
 **********

 FCN=   2566.540     FROM HESSE     STATUS=OK           188 CALLS     1106 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.858        48.040        .18503E-03   -1.5601    
   2  Prefactor     .27778E-06    117.90        .72651E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          113.08        105.12        .95623E-04   -1.5495    
   4  norm          .38858E-09    10.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18263E-07    211.16        .13299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.000        20.226        .20702E-03   -1.5612    
   7  Prefactor      .0000        3.2422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.111        61.917        .34896E-03   -1.5641    
   9  Prefactor     18.724        30.268        .23320E-03   -1.5621    
  10  Prefactor     .19984E-08    17.813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        7.4541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-09    10.113        .16286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.8332        .44756        .75083E-01   -.68800    
  14  Prefactor     .83356        .19513        .44179E-01   -.98503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08848e-07
Minuit parameter uncertainties:
  1  48.0408
  2  0.011446
  3  105.125
  4  0.000120971
  5  0.00392528
  6  20.2263
  7  1.25466e-05
  8  52.4596
  9  30.2678
  10  0.000376661
  11  1.41364e-06
  12  0.000151227
  13  0.448565
  14  0.195293
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  2.300e+01  2.023e+01  0.000e+00  1.000e+06 ( 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:  8.336e-01  1.953e-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.833e+00  4.486e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.79
Ra Dec: 309.252 -28.438
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 1.76e-07 +/- 1.54e-07
Energy Flux (Fixed Index): 4.75e-05 +/- 4.18e-05

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

Saving results to:
/scratch/kocevski/220709/likelihoodResults_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.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) = 2565.83737708
delta logL = 0.702829927615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2565.78331575
delta logL = 0.756891262382

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1702       1.0000          .0000       .10000E+07
     2 'Index     '    4.6587       1.0000          .0000       10.000    
     3 'Normalizat'    1.6531       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89358       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=   2565.783     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      262 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1584        28.789        .69875E-03    .18006E-02
   2  Index         4.6617        3.8295        .89019E-01    .63123E-04
   3  Normalizat    1.6531        .17672        .77947E-01    .31166E-05
   4  Prefactor     .89371        .76140E-01    .44923E-01    .27569E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.15836
  Index      = 4.66166
  Normalizat = 1.6531
  Prefactor  = 0.893713
 **********
 **   18 **HESSE 
 **********

 FCN=   2565.783     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      295 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1584        42.417        .45345E-05   -1.5679    
   2  Index         4.6617        7.1703        .36935E-02   -.67720E-01
   3  Normalizat    1.6531        .53794        .34493E-03   -.73562    
   4  Prefactor     .89371        .23459        .19745E-03   -.96361    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.53774e-10
Minuit parameter uncertainties:
  1  19.1367
  2  5.70055
  3  0.539848
  4  0.234851
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/220709': 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): 102
logL (Free Index) = 2565.78331309
delta logL = 0.756893917548

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  2.158e+00  1.914e+01  0.000e+00  1.000e+06 ( 1.000e-12)
319        Index:  4.662e+00  5.701e+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:  8.937e-01  2.349e-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.653e+00  5.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.53
Ra Dec: 309.252 -28.438
Photon Index (Free Index): 4.66 +/- 5.70
Photon Flux (Free Index): 3.51e-07 +/- 2.42e-07
Energy Flux (Free Index): 4.82e-05 +/- 3.59e-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/220709/cmap_HighResolution_694742401_695001601_4FGL_J2037.0-2826_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.89e-02', comment='SUCCESS', photon_flux='1.76e-07', energy_flux2='4.82e-05', photon_flux_error='1.54e-07', dlogl='7.57e-01', energy_flux='4.75e-05', photon_flux2='3.51e-07', job_status='DONE', time_completed='2023-01-10 02:23:26.286202', photon_index_error2='5.70', photon_index2='4.66', ts='1.79', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='4.97e-07', energy_flux_error2='3.59e-05', EG='1.83', time_epoch_completed='1673346206.29', return_code='0', job_id='220709', GAL2='0.89', EG2='1.65', return_code2='102', energy_flux_error='4.18e-05', photon_flux_error2='2.42e-07', ts2='3.53', photon_index='2.57' WHERE bin_id='1757' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:23:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 220709: <4FGL_J2037.0-2826_daily_bin1757> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1757> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan 10 02:15:20 2023
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:16:37 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:16:37 2023
Terminated at Tue Jan 10 02:23:27 2023
Results reported at Tue Jan 10 02:23:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1757 309.252 -28.4383 694742401 695001601 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 :                                   395.65 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             354.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   409 sec.
    Turnaround time :                            487 sec.

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

