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


Performing analysis on: 4FGL_J1254.9+1138_daily_bin1747
RA = 193.733, Dec = 11.6495
tmin = 692150401, tmax = 692409601
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='800914', job_status='RUN', time_executed='2022-12-11 00:53:00.296920', time_epoch_executed='1670748780.3' WHERE source_name='4FGL J1254.9+1138' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/800914

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/800914/ft1_4FGL_J1254.9+1138_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/800914/ft2_4FGL_J1254.9+1138_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/800914/ft1_4FGL_J1254.9+1138_daily_bin1747.fits outfile=/scratch/kocevski/800914/ft1_filteredMKT_4FGL_J1254.9+1138_daily_bin1747.fits ra=193.733 dec=11.6495 rad=12.0 tmin=692150401.0 tmax=692409601.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.03
user 3.77
sys 0.22

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

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

Number of photons that the gtmktime cut: 680

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/800914/ft1_filtered_4FGL_J1254.9+1138_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/800914/ft2_4FGL_J1254.9+1138_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/800914/ltcube_692150401_692409601_4FGL_J1254.9+1138_daily_bin1747.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/800914/ft2_4FGL_J1254.9+1138_daily_bin1747.fits
.....................!
real 12.52
user 12.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/800914/ft1_filtered_4FGL_J1254.9+1138_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/800914/ft2_4FGL_J1254.9+1138_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/800914/ltcube_692150401_692409601_4FGL_J1254.9+1138_daily_bin1747.fits outfile=/scratch/kocevski/800914/expmap_692150401_692409601_4FGL_J1254.9+1138_daily_bin1747.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/800914/ltcube_692150401_692409601_4FGL_J1254.9+1138_daily_bin1747.fits
.....................!
real 190.94
user 186.45
sys 4.10

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/800914/ft1_filtered_4FGL_J1254.9+1138_daily_bin1747.fits scfile=/scratch/kocevski/800914/ft2_4FGL_J1254.9+1138_daily_bin1747.fits outfile=/scratch/kocevski/800914/cmap_692150401_692409601_4FGL_J1254.9+1138_daily_bin1747.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/800914/ft1_filtered_4FGL_J1254.9+1138_daily_bin1747.fits scfile=/scratch/kocevski/800914/ft2_4FGL_J1254.9+1138_daily_bin1747.fits outfile=/scratch/kocevski/800914/cmap_HighResolution_692150401_692409601_4FGL_J1254.9+1138_daily_bin1747.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97855E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .17528E-02   1.0000          .0000       .10000E+07
     3 'norm      '    7.3735       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11711E-02   1.0000          .0000       .10000E+07
     5 'norm      '    10.373       1.0000          .0000       .10000E+07
     6 'norm      '    .93205       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11373E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .27688       1.0000          .0000       .10000E+07
     9 'Prefactor '    .35635E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .30765E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7022       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.225       1.0000          .0000       .10000E+07
    13 'Prefactor '    39.749       1.0000          .0000       .10000E+07
    14 'Prefactor '    22.524       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3099       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .87974       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=   7493.485     FROM MIGRAD    STATUS=CONVERGED    147 CALLS      923 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4618       -.50041E-07** at limit **
   2  Prefactor      .0000        16.031        .18952E-06** at limit **
   3  norm          7.3755        3.8017       -.10475E-08   -.81439E-03
   4  Prefactor      .0000        14.001       -.13041E-06** at limit **
   5  norm          10.338        1.1591       -.26070E-07   -.90044E-03
   6  norm          .93145        .54822        .11781E-06   -.13766E-01
   7  Prefactor      .0000        8.2815        .27974E-06** at limit **
   8  norm          .27528        1.0921        .41810E-06   -.38124E-02
   9  Prefactor      .0000        2.9400        .21213E-06** at limit **
  10  Prefactor     .49960E-09    19.103       -.14813E-05** at limit **
  11  Prefactor     5.7443        12.614        .13559E-06    .58990E-05
  12  Prefactor     10.912        10.617        .20099E-07    .43757E-03
  13  Prefactor     37.903        34.241        .40727E-06    .14027E-03
  14  Prefactor     24.370        42.630        .67744E-06    .33079E-04
  15  Normalizat    1.3108        .21720       -.31889E-05    .15758E-03
  16  Prefactor     .87977        .17979       -.50390E-05    .17497E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 7.37548
  Prefactor  = 0
  norm       = 10.3378
  norm       = 0.931448
  Prefactor  = 0
  norm       = 0.275277
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Prefactor  = 5.74433
  Prefactor  = 10.9124
  Prefactor  = 37.9026
  Prefactor  = 24.3696
  Normalizat = 1.3108
  Prefactor  = 0.879767
 **********
 **   18 **HESSE 
 **********

 FCN=   7493.485     FROM HESSE     STATUS=OK           235 CALLS     1158 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        16.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.3755        3.8846        .36912E-03   -1.5654    
   4  Prefactor      .0000        13.962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.338        19.920        .31085E-03   -1.5644    
   6  norm          .93145        .55426        .43569E-03   -1.5689    
   7  Prefactor      .0000        8.2651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .27528        1.0901        .10542E-02   -1.5697    
   9  Prefactor      .0000        2.9395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .49960E-09    19.076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7443        12.602        .42041E-03   -1.5660    
  12  Prefactor     10.912        10.603        .29878E-03   -1.5642    
  13  Prefactor     37.903        34.214        .15863E-03   -1.5585    
  14  Prefactor     24.370        42.568        .21076E-03   -1.5609    
  15  Normalizat    1.3108        .18339        .57446E-01   -.83245    
  16  Prefactor     .87977        .15238        .44746E-01   -.96852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37502e-09
Minuit parameter uncertainties:
  1  3.06453e-06
  2  2.46827e-05
  3  3.88465
  4  1.43829e-05
  5  19.9205
  6  0.55426
  7  2.51111e-05
  8  1.09014
  9  1.35917e-05
  10  0.00019938
  11  12.6022
  12  10.6028
  13  34.2143
  14  42.5689
  15  0.183477
  16  0.152456
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  4.996e-10  1.994e-04  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:  8.798e-01  1.525e-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.311e+00  1.835e-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: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/800914/likelihoodResults_692150401_692409601_4FGL_J1254.9+1138_daily_bin1747.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) = 7493.09033409
delta logL = 0.394241395115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7493.05867144
delta logL = 0.425904048619

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0687       1.0000          .0000       .10000E+07
     2 'Index     '    5.0719       1.0000          .0000       10.000    
     3 'Normalizat'    1.2356       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91869       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=   7493.059     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      359 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0688        19.686        .11762E-02    .11700E-01
   2  Index         5.0720        4.1131        .20138        .12027E-03
   3  Normalizat    1.2356        .39398E-01    .58926E-01    .91280E-05
   4  Prefactor     .91868        .33584E-01    .45243E-01    .14421E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.06879
  Index      = 5.07197
  Normalizat = 1.23559
  Prefactor  = 0.918679
 **********
 **   18 **HESSE 
 **********

 FCN=   7493.059     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      392 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0688        61.443        .93321E-05   -1.5687    
   2  Index         5.0720        6.9923        .10161E-01    .14395E-01
   3  Normalizat    1.2356        .20151        .26060E-03   -.85510    
   4  Prefactor     .91868        .16484        .25206E-03   -.95491    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.93993e-09
Minuit parameter uncertainties:
  1  16.2076
  2  11.2852
  3  0.201635
  4  0.164931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/800914': 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) = 7493.05867143
delta logL = 0.425904060128

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.069e+00  1.621e+01  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  5.072e+00  1.129e+01  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:  9.187e-01  1.649e-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.236e+00  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.02
Ra Dec: 193.733 11.649
Photon Index (Free Index): 5.07 +/- 11.29
Photon Flux (Free Index): 6.04e-08 +/- 7.89e-08
Energy Flux (Free Index): 7.98e-06 +/- 1.55e-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/800914/cmap_HighResolution_692150401_692409601_4FGL_J1254.9+1138_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.99e-03', comment='SUCCESS', energy_flux2='7.98e-06', dlogl='4.26e-01', photon_flux2='6.04e-08', job_status='DONE', time_completed='2022-12-11 01:01:47.103842', photon_index_error2='11.29', photon_index2='5.07', ts='-0.00', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.55e-05', EG='1.31', time_epoch_completed='1670749307.1', return_code='0', job_id='800914', GAL2='0.92', EG2='1.24', return_code2='102', photon_flux_error2='7.89e-08', ts2='1.02', photon_index='2.79' WHERE bin_id='1747' AND source_name='4FGL J1254.9+1138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:01:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 800914: <4FGL_J1254.9+1138_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1254.9+1138_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:50:28 2022
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:50:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:50:30 2022
Terminated at Sun Dec 11 01:01:47 2022
Results reported at Sun Dec 11 01:01:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.9+1138_daily_bin1747 193.733 11.6495 692150401 692409601 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 :                                   528.95 sec.
    Max Memory :                                 643 MB
    Average Memory :                             264.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            679 sec.

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

