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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1728
RA = 309.252, Dec = -28.4383
tmin = 687225601, tmax = 687484801
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='304327', job_status='RUN', time_executed='2022-10-15 00:35:58.733843', time_epoch_executed='1665819358.73' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304327

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304327/ft1_4FGL_J2037.0-2826_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304327/ft2_4FGL_J2037.0-2826_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304327/ft1_4FGL_J2037.0-2826_daily_bin1728.fits outfile=/scratch/kocevski/304327/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1728.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=687225601.0 tmax=687484801.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.20
user 1.99
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/304327/ft2_4FGL_J2037.0-2826_daily_bin1728.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/304327/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1728.fits evtable="EVENTS" outfile="/scratch/kocevski/304327/ft1_filtered_4FGL_J2037.0-2826_daily_bin1728.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.42
user 0.28
sys 0.14

Number of photons that the gtmktime cut: 1016

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/304327/ft1_filtered_4FGL_J2037.0-2826_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/304327/ft2_4FGL_J2037.0-2826_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/304327/ltcube_687225601_687484801_4FGL_J2037.0-2826_daily_bin1728.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/304327/ft2_4FGL_J2037.0-2826_daily_bin1728.fits
.....................!
real 10.29
user 9.95
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304327/ft1_filtered_4FGL_J2037.0-2826_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304327/ft2_4FGL_J2037.0-2826_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/304327/ltcube_687225601_687484801_4FGL_J2037.0-2826_daily_bin1728.fits outfile=/scratch/kocevski/304327/expmap_687225601_687484801_4FGL_J2037.0-2826_daily_bin1728.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/304327/ltcube_687225601_687484801_4FGL_J2037.0-2826_daily_bin1728.fits
.....................!
real 148.16
user 143.80
sys 3.72

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/304327/ft1_filtered_4FGL_J2037.0-2826_daily_bin1728.fits scfile=/scratch/kocevski/304327/ft2_4FGL_J2037.0-2826_daily_bin1728.fits outfile=/scratch/kocevski/304327/cmap_687225601_687484801_4FGL_J2037.0-2826_daily_bin1728.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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304327/ft1_filtered_4FGL_J2037.0-2826_daily_bin1728.fits scfile=/scratch/kocevski/304327/ft2_4FGL_J2037.0-2826_daily_bin1728.fits outfile=/scratch/kocevski/304327/cmap_HighResolution_687225601_687484801_4FGL_J2037.0-2826_daily_bin1728.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.46
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/304327/ft1_filtered_4FGL_J2037.0-2826_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304327/ft2_4FGL_J2037.0-2826_daily_bin1728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/304327/Model_4FGL_J2037.0-2826_daily_bin1728.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/304327/ft1_filtered_4FGL_J2037.0-2826_daily_bin1728.fits.....................!
real 68.47
user 67.21
sys 1.04

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66674E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.990       1.0000          .0000       .10000E+07
     3 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     4 'norm      '    8.2044       1.0000          .0000       .10000E+07
     5 'Prefactor '    16.308       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.3857       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.7786       1.0000          .0000       .10000E+07
     8 'norm      '    20.019       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4999       1.0000          .0000       .10000E+07
    10 'Prefactor '    .74385E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.8338       1.0000          .0000       .10000E+07
    12 'norm      '    9.5690       1.0000          .0000       .10000E+07
    13 'Normalizat'    .89919       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1787       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=   10944.82     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      876 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83877E-07    8.9622        .15874E-06** at limit **
   2  Prefactor     14.969        5.0090        .33706E-07   -.12657    
   3  norm          .13212E-07    4.3570        .47793E-07** at limit **
   4  norm          8.2040        5.8892       -.23170E-07   -.19950E-01
   5  Prefactor     16.315        1.3370       -.40443E-08    .28030E-01
   6  Prefactor     5.3850        6.0755        .13276E-06    .12097E-03
   7  Prefactor     3.7785        3.8048        .13881E-06    .49454E-02
   8  norm          20.023        2.4142       -.12178E-07    .64053E-01
   9  Prefactor     4.4991        1.9744       -.17678E-07    .18084E-01
  10  Prefactor     .44409E-09    12.004        .10689E-06** at limit **
  11  Prefactor     3.8331        6.2493        .13690E-06    .16503E-02
  12  norm          9.5672        7.6747       -.26960E-07   -.57414E-01
  13  Normalizat    .89952        .25659        .20437E-05   -.84057E-04
  14  Prefactor     1.1786        .10251       -.18288E-05   -.49384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.38773e-08
  Prefactor  = 14.9692
  norm       = 1.32117e-08
  norm       = 8.204
  Prefactor  = 16.3152
  Prefactor  = 5.38498
  Prefactor  = 3.77852
  norm       = 20.023
  Prefactor  = 4.49907
  Prefactor  = 4.44089e-10
  Prefactor  = 3.83309
  norm       = 9.56718
  Normalizat = 0.899525
  Prefactor  = 1.17855
 **********
 **   18 **HESSE 
 **********

 FCN=   10944.82     FROM HESSE     STATUS=OK           198 CALLS     1074 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83877E-07    8.8134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.969        22.859        .25843E-03   -1.5631    
   3  norm          .13212E-07    4.3747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.2040        10.119        .34978E-03   -1.5651    
   5  Prefactor     16.315        43.238        .24775E-03   -1.5627    
   6  Prefactor     5.3850        6.2572        .43279E-03   -1.5662    
   7  Prefactor     3.7785        3.8135        .51909E-03   -1.5669    
   8  norm          20.023        21.533        .22357E-03   -1.5618    
   9  Prefactor     4.4991        17.602        .47438E-03   -1.5666    
  10  Prefactor     .44409E-09    11.974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8331        6.2724        .51520E-03   -1.5669    
  12  norm          9.5672        9.6447        .32372E-03   -1.5646    
  13  Normalizat    .89952        .23200        .10084       -.96477    
  14  Prefactor     1.1786        .91382E-01    .35155E-01   -.86994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.07093e-07
Minuit parameter uncertainties:
  1  0.00171948
  2  22.8594
  3  0.000480434
  4  10.1185
  5  43.239
  6  6.25718
  7  3.81354
  8  21.5336
  9  17.602
  10  0.000148467
  11  6.2724
  12  9.64474
  13  0.232263
  14  0.0913939
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  5.385e+00  6.257e+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

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.179e+00  9.139e-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:  8.995e-01  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 309.252 -28.438
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 4.12e-08 +/- 4.78e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 1.29e-05

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

Saving results to:
/scratch/kocevski/304327/likelihoodResults_687225601_687484801_4FGL_J2037.0-2826_daily_bin1728.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) = 10944.8000851
delta logL = 0.0245556491318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10944.788062
delta logL = 0.0365787897208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3513       1.0000          .0000       .10000E+07
     2 'Index     '    2.8892       1.0000          .0000       10.000    
     3 'Normalizat'    .88642       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1821       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10944.79     FROM MIGRAD    STATUS=FAILED       100 CALLS      258 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3439        9.3267        .96527E-04    .59563E-02
   2  Index         2.8898        1.6722        .12078E-01    .48074E-03
   3  Normalizat    .88647        .25667        .44981E-03   -.33362E-05
   4  Prefactor     1.1821        .10342        .16134E-03   -.69054E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10944.79     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      337 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3439        9.3267        .13410E-04   -1.5666    
   2  Index         2.8898        1.6722        .10551E-02   -.43571    
   3  Normalizat    .88647        .25667        .27172E-03   -.96937    
   4  Prefactor     1.1821        .10342        .14091E-03   -.86883    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10944.79     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      368 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3439        7.1494        .19305E-04    .22236E-03
   2  Index         2.8898        1.2935        .24157E-02    .18140E-04
   3  Normalizat    .88647        .25563        .17992E-04   -.35384E-05
   4  Prefactor     1.1821        .10298        .64537E-05   -.70464E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.34393
  Index      = 2.88975
  Normalizat = 0.886471
  Prefactor  = 1.18212
 **********
 **   18 **HESSE 
 **********

 FCN=   10944.79     FROM HESSE     STATUS=OK            27 CALLS      395 TOTAL
                     EDM=   .92E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3439        6.9050        .38611E-05   -1.5666    
   2  Index         2.8898        1.2499        .48313E-03   -.43571    
   3  Normalizat    .88647        .25555        .35985E-05   -.96937    
   4  Prefactor     1.1821        .10294        .12907E-05   -.86883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.15592e-14
Minuit parameter uncertainties:
  1  6.90499
  2  1.26634
  3  0.255899
  4  0.10296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304327': 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) = 10944.7880613
delta logL = 0.036579509524

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  4.344e+00  6.905e+00  0.000e+00  1.000e+06 ( 1.000e-12)
319        Index:  2.890e+00  1.266e+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:  1.182e+00  1.030e-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:  8.865e-01  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.13
Ra Dec: 309.252 -28.438
Photon Index (Free Index): 2.89 +/- 1.27
Photon Flux (Free Index): 5.02e-08 +/- 5.99e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/304327/cmap_HighResolution_687225601_687484801_4FGL_J2037.0-2826_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', photon_flux='4.12e-08', energy_flux2='1.06e-05', photon_flux_error='4.78e-08', dlogl='3.66e-02', energy_flux='1.11e-05', photon_flux2='5.02e-08', job_status='DONE', time_completed='2022-10-15 00:44:02.979444', photon_index_error2='1.27', photon_index2='2.89', ts='1.04', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.17e-05', EG='0.90', time_epoch_completed='1665819842.98', return_code='0', job_id='304327', GAL2='1.18', EG2='0.89', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='5.99e-08', ts2='1.13', photon_index='2.57' WHERE bin_id='1728' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:44:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 304327: <4FGL_J2037.0-2826_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1728> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Oct 15 00:35:44 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:35:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:35:46 2022
Terminated at Sat Oct 15 00:44:03 2022
Results reported at Sat Oct 15 00:44:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1728 309.252 -28.4383 687225601 687484801 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 :                                   485.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             359.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   497 sec.
    Turnaround time :                            499 sec.

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

