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


Performing analysis on: 4FGL_J1254.9+1138_daily_bin1759
RA = 193.733, Dec = 11.6495
tmin = 695260801, tmax = 695520001
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='558273', job_status='RUN', time_executed='2023-01-16 01:14:30.945044', time_epoch_executed='1673860470.95' WHERE source_name='4FGL J1254.9+1138' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/558273

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/558273/ft1_4FGL_J1254.9+1138_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/558273/ft1_4FGL_J1254.9+1138_daily_bin1759.fits outfile=/scratch/kocevski/558273/ft1_filteredMKT_4FGL_J1254.9+1138_daily_bin1759.fits ra=193.733 dec=11.6495 rad=12.0 tmin=695260801.0 tmax=695520001.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.25
user 2.05
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.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/558273/ft1_filteredMKT_4FGL_J1254.9+1138_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/558273/ft1_filtered_4FGL_J1254.9+1138_daily_bin1759.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.44
user 0.30
sys 0.14

Number of photons that the gtmktime cut: 795

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/558273/ft1_filtered_4FGL_J1254.9+1138_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/558273/ltcube_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.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/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.fits
.....................!
real 12.39
user 12.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/558273/ft1_filtered_4FGL_J1254.9+1138_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/558273/ltcube_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.fits outfile=/scratch/kocevski/558273/expmap_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.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/558273/ltcube_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.fits
.....................!
real 156.30
user 150.86
sys 5.13

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

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/558273/ft1_filtered_4FGL_J1254.9+1138_daily_bin1759.fits scfile=/scratch/kocevski/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.fits outfile=/scratch/kocevski/558273/cmap_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.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=193.733 yref=11.6495 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.48
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/558273/ft1_filtered_4FGL_J1254.9+1138_daily_bin1759.fits scfile=/scratch/kocevski/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.fits outfile=/scratch/kocevski/558273/cmap_HighResolution_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.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=193.733 yref=11.6495 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.49
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/558273/ft1_filtered_4FGL_J1254.9+1138_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/558273/Model_4FGL_J1254.9+1138_daily_bin1759.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/558273/ft1_filtered_4FGL_J1254.9+1138_daily_bin1759.fits.....................!
real 55.09
user 53.82
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/558273/ft1_filtered_4FGL_J1254.9+1138_daily_bin1759.fits', '/scratch/kocevski/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.fits', expMap='/scratch/kocevski/558273/expmap_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.fits', expCube='/scratch/kocevski/558273/ltcube_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/558273/Model_4FGL_J1254.9+1138_daily_bin1759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/558273/ft1_filtered_4FGL_J1254.9+1138_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/558273/ft2_4FGL_J1254.9+1138_daily_bin1759.fits
Exposure map: /scratch/kocevski/558273/expmap_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.fits
Exposure cube: /scratch/kocevski/558273/ltcube_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/558273/Model_4FGL_J1254.9+1138_daily_bin1759.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) = 8803.75066548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57176E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21683E-06   1.0000          .0000       .10000E+07
     3 'norm      '    4.2597       1.0000          .0000       .10000E+07
     4 'Prefactor '    .40895E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .11008E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .86327       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.414       1.0000          .0000       .10000E+07
     8 'norm      '    1.5172       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1606       1.0000          .0000       .10000E+07
    10 'Prefactor '    .46341E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .41789E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18319E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6234       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18541E-07   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1324       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0730       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8803.669     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1069 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7725        .13270E-06** at limit **
   2  Prefactor     .12323E-07    7.3091       -.44408E-07** at limit **
   3  norm          4.2608        3.1677        .80293E-07    .57499E-03
   4  Prefactor     .64929E-04    34.403       -.11469E-05** at limit **
   5  norm          .70760E-04    36.007       -.12191E-05** at limit **
   6  norm          .86333        .50059       -.40003E-07    .38085E-02
   7  Prefactor     14.415        12.966        .19305E-06    .52429E-01
   8  norm          1.5167        1.2744        .75081E-08    .27563E-03
   9  Prefactor     4.1607        6.0243        .46959E-06   -.77100E-03
  10  Prefactor     .33307E-07    19.834        .94393E-06** at limit **
  11  Prefactor     .17208E-07    7.4960       -.14407E-06** at limit **
  12  Prefactor      .0000        1.8380       -.25106E-06** at limit **
  13  Prefactor     6.6225        5.1368        .11408E-06   -.15060E-01
  14  Prefactor     .59286E-07    23.089       -.41894E-06** at limit **
  15  Normalizat    1.1324        .19971       -.18874E-05   -.39755E-04
  16  Prefactor     1.0730        .17008        .17756E-05   -.50592E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.23235e-08
  norm       = 4.26076
  Prefactor  = 6.49286e-05
  norm       = 7.07596e-05
  norm       = 0.863327
  Prefactor  = 14.4149
  norm       = 1.51674
  Prefactor  = 4.16068
  Prefactor  = 3.33067e-08
  Prefactor  = 1.72085e-08
  Prefactor  = 0
  Prefactor  = 6.62252
  Prefactor  = 5.92859e-08
  Normalizat = 1.13244
  Prefactor  = 1.07296
 **********
 **   18 **HESSE 
 **********

 FCN=   8803.669     FROM HESSE     STATUS=OK           231 CALLS     1300 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12323E-07    7.3591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.2608        3.1748        .48794E-03   -1.5667    
   4  Prefactor     .64929E-04    67.178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .70760E-04    71.306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .86333        .50676        .48333E-03   -1.5689    
   7  Prefactor     14.415        13.654        .26356E-03   -1.5632    
   8  norm          1.5167        1.3051        .86741E-03   -1.5683    
   9  Prefactor     4.1607        6.0341        .49389E-03   -1.5667    
  10  Prefactor     .33307E-07    19.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .17208E-07    7.5265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.8445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.6225        15.084        .38968E-03   -1.5656    
  14  Prefactor     .59286E-07    23.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1324        .16963        .61448E-01   -.88717    
  16  Prefactor     1.0730        .14454        .38717E-01   -.90335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04432e-06
Minuit parameter uncertainties:
  1  3.63059e-06
  2  0.000601867
  3  3.17482
  4  0.132089
  5  0.142067
  6  0.506756
  7  13.6537
  8  1.30513
  9  6.0341
  10  0.00161843
  11  0.000719444
  12  7.48704e-06
  13  15.0842
  14  0.00234366
  15  0.169713
  16  0.144595
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.331e-08  1.618e-03  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.073e+00  1.446e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.132e+00  1.697e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 7.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/558273/likelihoodResults_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.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) = 8803.66941344
delta logL = -0.000400360464482

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8803.66901371
delta logL = -6.28228008281e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12645E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5560       1.0000          .0000       10.000    
     3 'Normalizat'    1.1326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0729       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8803.669     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      304 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4598        .64860E-02** at limit **
   2  Index         3.8147        1.3983       -.52032E-04     .0000    
   3  Normalizat    1.1324        1.1351       -.34540E-05   -.14664E-03
   4  Prefactor     1.0730        1.1687        .31166E-05   -.18091E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.81466
  Normalizat = 1.13244
  Prefactor  = 1.07296
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8803.669     FROM HESSE     STATUS=FAILED         9 CALLS      313 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4598        .64860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5942        2.2706       -.52032E-04   -.23935    
   3  Normalizat    1.1324        1.1351       -.34540E-05   -.88717    
   4  Prefactor     1.0730        1.1687        .31166E-05   -.90335    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.39184e-11
Minuit parameter uncertainties:
  1  6.83924e-06
  2  1.41837
  3  1.16117
  4  1.19838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/558273': 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): 101
logL (Free Index) = 8803.66901308
delta logL = 8.22183210403e-10

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  0.000e+00  6.839e-06  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  3.815e+00  1.418e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.073e+00  1.198e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.132e+00  1.161e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 193.733 11.649

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/558273/cmap_HighResolution_695260801_695520001_4FGL_J1254.9+1138_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-03', job_status='DONE', photon_flux_upper_limit='7.00e-08', time_completed='2023-01-16 01:22:14.079731', job_id='558273', GAL2='1.07', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1673860934.08', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='8.22e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1759' AND source_name='4FGL J1254.9+1138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:22:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 558273: <4FGL_J1254.9+1138_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1254.9+1138_daily_bin1759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Jan 16 01:10:16 2023
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:11:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:11:24 2023
Terminated at Mon Jan 16 01:22:14 2023
Results reported at Mon Jan 16 01:22:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.9+1138_daily_bin1759 193.733 11.6495 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1254.9+1138 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   463.85 sec.
    Max Memory :                                 628 MB
    Average Memory :                             241.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            718 sec.

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

