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


Performing analysis on: 4FGL_J1254.9+1138_daily_bin1777
RA = 193.733, Dec = 11.6495
tmin = 699926401, tmax = 700185601
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='914578', job_status='RUN', time_executed='2023-03-11 00:40:53.196061', time_epoch_executed='1678524053.2' WHERE source_name='4FGL J1254.9+1138' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914578

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914578/ft1_4FGL_J1254.9+1138_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914578/ft2_4FGL_J1254.9+1138_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914578/ft1_4FGL_J1254.9+1138_daily_bin1777.fits outfile=/scratch/kocevski/914578/ft1_filteredMKT_4FGL_J1254.9+1138_daily_bin1777.fits ra=193.733 dec=11.6495 rad=12.0 tmin=699926401.0 tmax=700185601.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.61
user 3.41
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/914578/ft2_4FGL_J1254.9+1138_daily_bin1777.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/914578/ft1_filteredMKT_4FGL_J1254.9+1138_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/914578/ft1_filtered_4FGL_J1254.9+1138_daily_bin1777.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: 587

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914578/ft1_filtered_4FGL_J1254.9+1138_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/914578/ft2_4FGL_J1254.9+1138_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/914578/ltcube_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.fits outfile=/scratch/kocevski/914578/expmap_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.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/914578/ltcube_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.fits
.....................!
real 191.41
user 186.26
sys 4.80

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/914578/ft1_filtered_4FGL_J1254.9+1138_daily_bin1777.fits scfile=/scratch/kocevski/914578/ft2_4FGL_J1254.9+1138_daily_bin1777.fits outfile=/scratch/kocevski/914578/cmap_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/914578/ft1_filtered_4FGL_J1254.9+1138_daily_bin1777.fits scfile=/scratch/kocevski/914578/ft2_4FGL_J1254.9+1138_daily_bin1777.fits outfile=/scratch/kocevski/914578/cmap_HighResolution_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/914578/ft1_filtered_4FGL_J1254.9+1138_daily_bin1777.fits', '/scratch/kocevski/914578/ft2_4FGL_J1254.9+1138_daily_bin1777.fits', expMap='/scratch/kocevski/914578/expmap_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.fits', expCube='/scratch/kocevski/914578/ltcube_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/914578/Model_4FGL_J1254.9+1138_daily_bin1777.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/914578/ft1_filtered_4FGL_J1254.9+1138_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/914578/ft2_4FGL_J1254.9+1138_daily_bin1777.fits
Exposure map: /scratch/kocevski/914578/expmap_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.fits
Exposure cube: /scratch/kocevski/914578/ltcube_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/914578/Model_4FGL_J1254.9+1138_daily_bin1777.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) = 6711.91753966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44441E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18406       1.0000          .0000       .10000E+07
     3 'norm      '    .40135E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10863       1.0000          .0000       .10000E+07
     5 'norm      '    .19054E-02   1.0000          .0000       .10000E+07
     6 'norm      '    1.3575       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.419       1.0000          .0000       .10000E+07
     8 'norm      '    .46412       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12787       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50662E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .18342E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.6542       1.0000          .0000       .10000E+07
    13 'Prefactor '    69.727       1.0000          .0000       .10000E+07
    14 'Prefactor '    56.978       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3911       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .77343       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=   6711.863     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1141 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    3.6476       -.15772E-06** at limit **
   2  Prefactor     .26035E-07    37.570       -.23070E-06** at limit **
   3  norm          .56621E-08    3.7697       -.12362E-06** at limit **
   4  Prefactor     .20510E-05    6.1129       -.11364E-07** at limit **
   5  norm          .38858E-09    17.273        .19156E-06** at limit **
   6  norm          1.3588        .69865       -.37493E-07   -.11399E-01
   7  Prefactor     31.352        11.633       -.46271E-07   -.65208E-02
   8  norm          .47131        1.6952       -.59443E-07   -.19016E-02
   9  Prefactor     .22089        25.939       -.66967E-06** at limit **
  10  Prefactor     .11102E-09    4.0197        .80118E-07** at limit **
  11  Prefactor     .16653E-09    15.528       -.27961E-06** at limit **
  12  Prefactor     2.6964        6.1467       -.83405E-07   -.10339E-01
  13  Prefactor     70.353        36.505       -.11121E-06    .10932    
  14  Prefactor     57.311        20.797       -.48295E-07   -.18017    
  15  Normalizat    1.3910        .22852        .21852E-05   -.11855E-03
  16  Prefactor     .77274        .18872       -.30819E-05   -.15900E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 2.60347e-08
  norm       = 5.66214e-09
  Prefactor  = 2.05103e-06
  norm       = 3.88578e-10
  norm       = 1.35879
  Prefactor  = 31.3521
  norm       = 0.471312
  Prefactor  = 0.220888
  Prefactor  = 1.11022e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 2.69644
  Prefactor  = 70.3531
  Prefactor  = 57.3111
  Normalizat = 1.39102
  Prefactor  = 0.772745
 **********
 **   18 **HESSE 
 **********

 FCN=   6711.863     FROM HESSE     STATUS=OK           243 CALLS     1384 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    3.6371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .26035E-07    44.062        .12067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .56621E-08    3.8275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .20510E-05    33.383        .13703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .38858E-09    17.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.3588        .71312        .93750E-03   -1.5685    
   7  Prefactor     31.352        13.281        .17843E-03   -1.5596    
   8  norm          .47131        1.7288        .82404E-03   -1.5694    
   9  Prefactor     .22089        3.2414        .79438E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    4.0114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    8.1207        .78344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.6964        12.444        .62545E-03   -1.5675    
  13  Prefactor     70.353        40.403        .11976E-03   -1.5540    
  14  Prefactor     57.311        48.424        .13249E-03   -1.5557    
  15  Normalizat    1.3910        .19638        .57338E-01   -.80889    
  16  Prefactor     .77274        .16126        .43370E-01   -1.0074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68483e-06
Minuit parameter uncertainties:
  1  4.40003e-05
  2  0.00214106
  3  0.000293855
  4  0.0165494
  5  0.000160943
  6  0.713118
  7  13.2808
  8  1.72882
  9  1.69231
  10  3.79172e-05
  11  7.09741e-05
  12  11.5852
  13  40.4035
  14  48.4241
  15  0.196489
  16  0.161358
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.110e-10  3.792e-05  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:  7.727e-01  1.614e-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.391e+00  1.965e-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.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/914578/likelihoodResults_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.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) = 6711.86335659
delta logL = -9.86252334769e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6711.86325797
delta logL = -1.25246515381e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     2 'Index     '    1.4216       1.0000          .0000       10.000    
     3 'Normalizat'    1.3910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77277       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.

 FCN=   6711.863     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      236 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25535E-08    .58504E-01    .42118E-03** at limit **
   2  Index         3.9637        7.4978        .50000        .40473E-08
   3  Normalizat    1.3910        .92791E-03    .57338E-01    .36827E-03
   4  Prefactor     .77274        .76892E-03    .43362E-01    .12528E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.55351e-09
  Index      = 3.96369
  Normalizat = 1.39103
  Prefactor  = 0.772743
 **********
 **   18 **HESSE 
 **********

 FCN=   6711.863     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      267 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25535E-08    .30701        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.9637        6.4225        .50000       -.20878    
   3  Normalizat    1.3910        .21223E-02    .25355E-03   -.80889    
   4  Prefactor     .77274        .17587E-02    .27131E-03   -1.0074    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.95184e-10
Minuit parameter uncertainties:
  1  5.60061e-05
  2  8639.51
  3  0.00212228
  4  0.00175872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914578': 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) = 6711.86325796
delta logL = -9.1313268058e-10

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.554e-09  5.601e-05  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  3.964e+00  8.640e+03  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:  7.727e-01  1.759e-03  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.391e+00  2.122e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/914578/cmap_HighResolution_699926401_700185601_4FGL_J1254.9+1138_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.89e-03', job_status='DONE', photon_flux_upper_limit='7.44e-08', time_completed='2023-03-11 00:49:14.044210', job_id='914578', GAL2='0.77', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1678524554.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='-9.13e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1777' AND source_name='4FGL J1254.9+1138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:49:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 914578: <4FGL_J1254.9+1138_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1254.9+1138_daily_bin1777> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Mar 11 00:40:20 2023
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:40:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:40:21 2023
Terminated at Sat Mar 11 00:49:14 2023
Results reported at Sat Mar 11 00:49:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.9+1138_daily_bin1777 193.733 11.6495 699926401 700185601 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 :                                   503.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             329.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   533 sec.
    Turnaround time :                            534 sec.

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

