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


Performing analysis on: 4FGL_J0438.4-1254_daily_bin1712
RA = 69.6099, Dec = -12.9053
tmin = 683078401, tmax = 683337601
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='21814', job_status='RUN', time_executed='2022-09-16 11:20:11.131721', time_epoch_executed='1663352411.13' WHERE source_name='4FGL J0438.4-1254' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21814/ft1_4FGL_J0438.4-1254_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21814/ft1_4FGL_J0438.4-1254_daily_bin1712.fits outfile=/scratch/kocevski/21814/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1712.fits ra=69.6099 dec=-12.9053 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.83
user 4.55
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.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/21814/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/21814/ft1_filtered_4FGL_J0438.4-1254_daily_bin1712.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 726

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21814/ft1_filtered_4FGL_J0438.4-1254_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/21814/ltcube_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.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/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.fits
.....................!
real 14.41
user 13.98
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21814/ft1_filtered_4FGL_J0438.4-1254_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/21814/ltcube_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.fits outfile=/scratch/kocevski/21814/expmap_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.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/21814/ltcube_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.fits
.....................!
real 191.93
user 186.05
sys 4.66

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 153 point sources and 0 extended sources

Setting source of interest to:
4FGL J0438.4-1254 @ 69.6099 -12.9053

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/21814/ft1_filtered_4FGL_J0438.4-1254_daily_bin1712.fits scfile=/scratch/kocevski/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.fits outfile=/scratch/kocevski/21814/cmap_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.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=69.6099 yref=-12.9053 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 1.38
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21814/ft1_filtered_4FGL_J0438.4-1254_daily_bin1712.fits scfile=/scratch/kocevski/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.fits outfile=/scratch/kocevski/21814/cmap_HighResolution_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.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=69.6099 yref=-12.9053 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.63
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21814/ft1_filtered_4FGL_J0438.4-1254_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21814/Model_4FGL_J0438.4-1254_daily_bin1712.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/21814/ft1_filtered_4FGL_J0438.4-1254_daily_bin1712.fits.....................!
real 110.86
user 109.32
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21814/ft1_filtered_4FGL_J0438.4-1254_daily_bin1712.fits', '/scratch/kocevski/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.fits', expMap='/scratch/kocevski/21814/expmap_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.fits', expCube='/scratch/kocevski/21814/ltcube_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21814/Model_4FGL_J0438.4-1254_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0438.4-1254'

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  2.972e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.026e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/21814/ft1_filtered_4FGL_J0438.4-1254_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/21814/ft2_4FGL_J0438.4-1254_daily_bin1712.fits
Exposure map: /scratch/kocevski/21814/expmap_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.fits
Exposure cube: /scratch/kocevski/21814/ltcube_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21814/Model_4FGL_J0438.4-1254_daily_bin1712.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) = 7897.94074709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2736       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.5893       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.337       1.0000          .0000       .10000E+07
     4 'norm      '    25.781       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24718E-04   1.0000          .0000       .10000E+07
     6 'norm      '    1.8501       1.0000          .0000       .10000E+07
     7 'norm      '    10.709       1.0000          .0000       .10000E+07
     8 'Prefactor '    .62931E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7146       1.0000          .0000       .10000E+07
    10 'Prefactor '    .64596E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    43.006       1.0000          .0000       .10000E+07
    12 'norm      '    .62787       1.0000          .0000       .10000E+07
    13 'Prefactor '    29.693       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.301       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1359       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .85596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7897.897     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     1134 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1560        18.535       -.18169E-06    .25680E-01
   2  Prefactor     3.5993        2.9277        .19142E-07    .56023E-03
   3  Prefactor     25.177        9.9248        .65135E-07   -.48620E-02
   4  norm          25.731        7.2872        .57895E-08    .23009    
   5  Prefactor     .11102E-09    3.6616        .94561E-07** at limit **
   6  norm          1.8545        3.4705       -.16432E-07   -.12632E-02
   7  norm          10.816        8.1147        .31790E-07    .26438E-02
   8  Prefactor     .66613E-09    20.812       -.36296E-06** at limit **
   9  Prefactor     5.6714        7.5357        .49577E-07    .18893E-02
  10  Prefactor     .17764E-08    9.4585       -.31100E-06** at limit **
  11  Prefactor     45.363        46.903        .61201E-06   -.12085E-01
  12  norm          .62501        .21446       -.12827E-07   -.23675E-01
  13  Prefactor     29.703        6.7292        .63780E-08    .10620    
  14  Prefactor     25.748        22.352        .79445E-07    .91608E-01
  15  Normalizat    1.1342        .21505       -.67869E-05   -.85207E-04
  16  Prefactor     .85634        .12619        .42961E-05    .21957E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.15596
  Prefactor  = 3.59926
  Prefactor  = 25.1771
  norm       = 25.7312
  Prefactor  = 1.11022e-10
  norm       = 1.85448
  norm       = 10.8163
  Prefactor  = 6.66134e-10
  Prefactor  = 5.6714
  Prefactor  = 1.77636e-09
  Prefactor  = 45.3634
  norm       = 0.625007
  Prefactor  = 29.7032
  Prefactor  = 25.7482
  Normalizat = 1.13415
  Prefactor  = 0.856337
 **********
 **   18 **HESSE 
 **********

 FCN=   7897.897     FROM HESSE     STATUS=OK           247 CALLS     1381 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1560        19.276        .68076E-03   -1.5679    
   2  Prefactor     3.5993        2.9283        .53313E-03   -1.5670    
   3  Prefactor     25.177        9.8457        .19871E-03   -1.5608    
   4  norm          25.731        19.733        .19699E-03   -1.5607    
   5  Prefactor     .11102E-09    3.6284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.8545        3.5261        .76622E-03   -1.5681    
   7  norm          10.816        8.1571        .30592E-03   -1.5642    
   8  Prefactor     .66613E-09    3.9366        .10150E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6714        7.5364        .41994E-03   -1.5660    
  10  Prefactor     .17764E-08    9.4567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     45.363        46.711        .15250E-03   -1.5573    
  12  norm          .62501        .21535        .50963E-03   -1.5692    
  13  Prefactor     29.703        22.650        .18354E-03   -1.5599    
  14  Prefactor     25.748        24.755        .19885E-03   -1.5606    
  15  Normalizat    1.1342        .18543        .64654E-01   -.88663    
  16  Prefactor     .85634        .10849        .44441E-01   -.97684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29014e-06
Minuit parameter uncertainties:
  1  12.8931
  2  2.92833
  3  9.84569
  4  19.7326
  5  4.42197e-05
  6  3.52614
  7  8.15714
  8  0.000100648
  9  7.53638
  10  0.000260921
  11  46.7118
  12  0.215353
  13  22.65
  14  24.7554
  15  0.185532
  16  0.108516
Done.

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

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  1.776e-09  2.609e-04  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.026e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  8.563e-01  1.085e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.134e+00  1.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.610 -12.905
Photon Flux Upper Limit: 6.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21814/likelihoodResults_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.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) = 7897.94837969
delta logL = -0.0513457370434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7897.89703407
delta logL = -1.12957422971e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61262E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.2159       1.0000          .0000       10.000    
     3 'Normalizat'    1.1341       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85635       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   7897.847     FROM MIGRAD    STATUS=FAILED       179 CALLS      343 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14313E-02    .50524E-01    .80135E-05** at limit **
   2  Index         6.6293        7.6180        .15430E-01    .46014E-03
   3  Normalizat    1.1180        .20252        .28792E-03   -.66928E-04
   4  Prefactor     .86232        .12501        .20285E-03   -.39344E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7897.847     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      426 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14313E-02    .50524E-01    .31252E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.6293        7.6180        .77869E-02    .33193    
   3  Normalizat    1.1180        .20252        .27401E-03   -.89178    
   4  Prefactor     .86232        .12501        .16155E-03   -.97470    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7897.847     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      460 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14312E-02    .97984E-01    .16027E-05** at limit **
   2  Index         6.6294        8.1870        .30859E-02    .34925E-05
   3  Normalizat    1.1180        .20198        .11517E-04    .40867E-04
   4  Prefactor     .86232        .12491        .81140E-05    .21017E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00143121
  Index      = 6.62938
  Normalizat = 1.11795
  Prefactor  = 0.862321
 **********
 **   18 **HESSE 
 **********

 FCN=   7897.847     FROM HESSE     STATUS=OK            27 CALLS      487 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14312E-02    .12062        .74905E-07   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.6294        8.2865        .12344E-03    .33194    
   3  Normalizat    1.1180        .20224        .23034E-05   -.89177    
   4  Prefactor     .86232        .12501        .16228E-05   -.97470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4868e-09
Minuit parameter uncertainties:
  1  0.0262778
  2  8.28406
  3  0.202384
  4  0.125054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21814': 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) = 7897.84702529
delta logL = 0.0500086622933

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  1.431e-03  2.628e-02  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  6.629e+00  8.284e+00  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.026e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  8.623e-01  1.251e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.118e+00  2.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.610 -12.905

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/21814/cmap_HighResolution_683078401_683337601_4FGL_J0438.4-1254_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2022-09-16 11:30:15.137414', job_id='21814', GAL2='0.86', fit_tolerance='1e-08', EG2='1.12', EG='1.13', time_epoch_completed='1663353015.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='5.00e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1712' AND source_name='4FGL J0438.4-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:30:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 21814: <4FGL_J0438.4-1254_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0438.4-1254_daily_bin1712> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 11:15:31 2022
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:17:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:17:36 2022
Terminated at Fri Sep 16 11:30:16 2022
Results reported at Fri Sep 16 11:30:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0438.4-1254_daily_bin1712 69.6099 -12.9053 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0438.4-1254 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   604.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            885 sec.

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

