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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1695
RA = 309.252, Dec = -28.4383
tmin = 678672001, tmax = 678931201
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='729918', job_status='RUN', time_executed='2022-07-08 00:33:41.925986', time_epoch_executed='1657265621.93' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/729918

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/729918/ft1_4FGL_J2037.0-2826_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/729918/ft2_4FGL_J2037.0-2826_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/729918/ft1_4FGL_J2037.0-2826_daily_bin1695.fits outfile=/scratch/kocevski/729918/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1695.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=678672001.0 tmax=678931201.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.40
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/729918/ft2_4FGL_J2037.0-2826_daily_bin1695.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/729918/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/729918/ft1_filtered_4FGL_J2037.0-2826_daily_bin1695.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 631

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/729918/ft1_filtered_4FGL_J2037.0-2826_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/729918/ft2_4FGL_J2037.0-2826_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/729918/ltcube_678672001_678931201_4FGL_J2037.0-2826_daily_bin1695.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/729918/ft2_4FGL_J2037.0-2826_daily_bin1695.fits
.....................!
real 11.85
user 11.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/729918/ft1_filtered_4FGL_J2037.0-2826_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/729918/ft2_4FGL_J2037.0-2826_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/729918/ltcube_678672001_678931201_4FGL_J2037.0-2826_daily_bin1695.fits outfile=/scratch/kocevski/729918/expmap_678672001_678931201_4FGL_J2037.0-2826_daily_bin1695.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/729918/ltcube_678672001_678931201_4FGL_J2037.0-2826_daily_bin1695.fits
.....................!
real 190.53
user 184.69
sys 5.49

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/729918/ft1_filtered_4FGL_J2037.0-2826_daily_bin1695.fits scfile=/scratch/kocevski/729918/ft2_4FGL_J2037.0-2826_daily_bin1695.fits outfile=/scratch/kocevski/729918/cmap_678672001_678931201_4FGL_J2037.0-2826_daily_bin1695.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/729918/ft1_filtered_4FGL_J2037.0-2826_daily_bin1695.fits scfile=/scratch/kocevski/729918/ft2_4FGL_J2037.0-2826_daily_bin1695.fits outfile=/scratch/kocevski/729918/cmap_HighResolution_678672001_678931201_4FGL_J2037.0-2826_daily_bin1695.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/729918/ft1_filtered_4FGL_J2037.0-2826_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/729918/ft2_4FGL_J2037.0-2826_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/729918/Model_4FGL_J2037.0-2826_daily_bin1695.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/729918/ft1_filtered_4FGL_J2037.0-2826_daily_bin1695.fits.....................!
real 64.23
user 62.87
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3961       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.813       1.0000         .10000E-03   10000.    
     5 'norm      '    .17617E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8008       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10048E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8473       1.0000         .10000E-03   10000.    
     9 'Prefactor '    67.855       1.0000         .10000E-03   10000.    
    10 'norm      '    .61343       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.910       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1233       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1197       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=   7036.193     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1572 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3986        7.8956        .74395E-05   -.62784E-03
   2  Prefactor     .10000E-03    13.242       -.27571E-06** at limit **
   3  norm          .10000E-03    7.3907        .24185E-06** at limit **
   4  Prefactor     43.755        62.948       -.11238E-05   -.22780E-05
   5  norm          .10000E-03    12.217       -.92804E-06** at limit **
   6  Prefactor     3.5874        371.65       -.72973E-05   -.23868E-04
   7  Prefactor     .11922        5.8406        .47333E-06   -.11090E-03
   8  Prefactor     1.8477        2.5067        .24840E-07   -.26976E-04
   9  Prefactor     67.705        115.90       -.83612E-05   -.25365E-03
  10  norm          .65982        23.596        .67507E-06    .71225E-04
  11  Prefactor     .10000E-03    26.126        .22558E-06** at limit **
  12  Prefactor     19.910        32.395       -.71243E-05   -.38938E-03
  13  Prefactor     .10000E-03    14.237        .54640E-07** at limit **
  14  norm          .10000E-03    6.7101        .18952E-06** at limit **
  15  Normalizat    1.1227        .29317        .38938E-05   -.14220E-03
  16  Prefactor     1.1197        .11195       -.16338E-05    .18317E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.39864
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 43.7553
  norm       = 0.000100002
  Prefactor  = 3.58743
  Prefactor  = 0.119218
  Prefactor  = 1.84773
  Prefactor  = 67.7051
  norm       = 0.65982
  Prefactor  = 0.0001
  Prefactor  = 19.9097
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.12267
  Prefactor  = 1.11968
 **********
 **   18 **HESSE 
 **********

 FCN=   7036.193     FROM HESSE     STATUS=OK           211 CALLS     1783 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3986        8.1174        .96042E-03   -1.5288    
   2  Prefactor     .10000E-03    13.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.4085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     43.755        62.959        .60568E-04   -1.4384    
   5  norm          .10000E-03    113.63        .55355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.5874        375.74        .20705E-03   -1.5329    
   7  Prefactor     .11922        11.555        .57960E-01   -1.5639    
   8  Prefactor     1.8477        2.4919        .15088E-03   -1.5436    
   9  Prefactor     67.705        123.00        .24363E-03   -1.4060    
  10  norm          .65982        245.18        .74132E-02   -1.5546    
  11  Prefactor     .10000E-03    26.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.910        33.474        .89762E-04   -1.4815    
  13  Prefactor     .10000E-03    14.760        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.7170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1227        .33316        .42186E-03   -.89027    
  16  Prefactor     1.1197        .12789        .16711E-03   -.88840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40577e-09
Minuit parameter uncertainties:
  1  8.11944
  2  4.71111e-05
  3  1.62849e-08
  4  63.0551
  5  0.000901682
  6  73.9087
  7  2.34691
  8  2.49202
  9  123.461
  10  25.5424
  11  2.53417e-05
  12  33.5052
  13  2.99312e-05
  14  6.3896e-06
  15  0.333783
  16  0.127927
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.192e-01  2.347e+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.120e+00  1.279e-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.123e+00  3.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/729918/likelihoodResults_678672001_678931201_4FGL_J2037.0-2826_daily_bin1695.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): 102
logL (Free Index) = 7036.09347538
delta logL = 0.0995706359481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7036.06139323
delta logL = 0.131652780959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12125E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    6.4951       1.0000          .0000       10.000    
     3 'Normalizat'    1.0809       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1296       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=   7036.061     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      251 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12153E-01    .32358        .42534E-02    .50305E-02
   2  Index         6.4952        3.4100        .24123        .16100E-03
   3  Normalizat    1.0809        .36771E-01    .96832E-01   -.66291E-04
   4  Prefactor     1.1295        .14603E-01    .36558E-01   -.14321E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0121532
  Index      = 6.4952
  Normalizat = 1.08089
  Prefactor  = 1.12955
 **********
 **   18 **HESSE 
 **********

 FCN=   7036.061     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      282 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12153E-01    2.7003        .18842E-04   -1.5686    
   2  Index         6.4952        5.4323        .13188E-01    .30369    
   3  Normalizat    1.0809        .23324        .42902E-03   -.90368    
   4  Prefactor     1.1295        .91531E-01    .16646E-03   -.88528    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.26861e-07
Minuit parameter uncertainties:
  1  0.360835
  2  17.0415
  3  0.23346
  4  0.0915435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/729918': 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) = 7036.06139253
delta logL = 0.131653478687

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.215e-02  3.608e-01  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  6.495e+00  1.704e+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.130e+00  9.154e-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:  1.081e+00  2.335e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/729918/cmap_HighResolution_678672001_678931201_4FGL_J2037.0-2826_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', job_status='DONE', photon_flux_upper_limit='1.61e-07', time_completed='2022-07-08 00:43:03.256124', job_id='729918', GAL2='1.13', fit_tolerance='1e-08', EG2='1.08', EG='1.12', time_epoch_completed='1657266183.26', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.32e-01', ts2='0.29', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1695' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:43:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0039>
Subject: Job 729918: <4FGL_J2037.0-2826_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1695> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jul  8 00:30:38 2022
Job was executed on host(s) <bullet0039>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:30:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:30:38 2022
Terminated at Fri Jul  8 00:43:03 2022
Results reported at Fri Jul  8 00:43:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1695 309.252 -28.4383 678672001 678931201 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 :                                   562.78 sec.
    Max Memory :                                 629 MB
    Average Memory :                             252.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            745 sec.

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

