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


Performing analysis on: 4FGL_J1147.2-2627_daily_bin1774
RA = 176.811, Dec = -26.4649
tmin = 699148801, tmax = 699408001
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='681341', job_status='RUN', time_executed='2023-03-02 00:42:26.066367', time_epoch_executed='1677746546.07' WHERE source_name='4FGL J1147.2-2627' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/681341

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/681341/ft1_4FGL_J1147.2-2627_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/681341/ft1_4FGL_J1147.2-2627_daily_bin1774.fits outfile=/scratch/kocevski/681341/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin1774.fits ra=176.811 dec=-26.4649 rad=12.0 tmin=699148801.0 tmax=699408001.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.79
user 2.58
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.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/681341/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/681341/ft1_filtered_4FGL_J1147.2-2627_daily_bin1774.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: 804

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/681341/ft1_filtered_4FGL_J1147.2-2627_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/681341/ltcube_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.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/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.fits
.....................!
real 12.50
user 12.17
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/681341/ft1_filtered_4FGL_J1147.2-2627_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/681341/ltcube_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.fits outfile=/scratch/kocevski/681341/expmap_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.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/681341/ltcube_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.fits
.....................!
real 190.95
user 186.21
sys 4.43

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

Setting source of interest to:
4FGL J1147.2-2627 @ 176.811 -26.4649

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/681341/ft1_filtered_4FGL_J1147.2-2627_daily_bin1774.fits scfile=/scratch/kocevski/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.fits outfile=/scratch/kocevski/681341/cmap_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.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=176.811 yref=-26.4649 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/681341/ft1_filtered_4FGL_J1147.2-2627_daily_bin1774.fits scfile=/scratch/kocevski/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.fits outfile=/scratch/kocevski/681341/cmap_HighResolution_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.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=176.811 yref=-26.4649 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/681341/ft1_filtered_4FGL_J1147.2-2627_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/681341/Model_4FGL_J1147.2-2627_daily_bin1774.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/681341/ft1_filtered_4FGL_J1147.2-2627_daily_bin1774.fits.....................!
real 75.77
user 74.47
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/681341/ft1_filtered_4FGL_J1147.2-2627_daily_bin1774.fits', '/scratch/kocevski/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.fits', expMap='/scratch/kocevski/681341/expmap_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.fits', expCube='/scratch/kocevski/681341/ltcube_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/681341/Model_4FGL_J1147.2-2627_daily_bin1774.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.2-2627'

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.341e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/681341/ft1_filtered_4FGL_J1147.2-2627_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/681341/ft2_4FGL_J1147.2-2627_daily_bin1774.fits
Exposure map: /scratch/kocevski/681341/expmap_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.fits
Exposure cube: /scratch/kocevski/681341/ltcube_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/681341/Model_4FGL_J1147.2-2627_daily_bin1774.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) = 8830.69272238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1754       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28592E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    129.19       1.0000          .0000       .10000E+07
     4 'Prefactor '    .80158E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12056E-01   1.0000          .0000       .10000E+07
     6 'norm      '    1.2698       1.0000          .0000       .10000E+07
     7 'norm      '    11.159       1.0000          .0000       .10000E+07
     8 'Prefactor '    18.159       1.0000          .0000       .10000E+07
     9 'norm      '    .17488E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.2021       1.0000          .0000       .10000E+07
    11 'norm      '    10.429       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.364       1.0000          .0000       .10000E+07
    13 'Prefactor '    .81393E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21963       1.0000          .0000       .10000E+07
    15 'Prefactor '    68.420       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16525E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .80774       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0479       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8830.692     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1395 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1740        3.7008       -.31224E-07    .19597E-03
   2  Prefactor     .13878E-08    28.136       -.81766E-06** at limit **
   3  Prefactor     130.55        133.94       -.64569E-06    .32478E-02
   4  Prefactor      .0000        2.1176        .88975E-08** at limit **
   5  Prefactor     .83267E-09    37.220        .60077E-06** at limit **
   6  norm          1.2663        1.5026        .28360E-07   -.47505E-03
   7  norm          11.138        6.6846        .68094E-08    .19002E-04
   8  Prefactor     18.175        6.9035       -.85215E-08    .97494E-03
   9  norm           .0000        13.228       -.18396E-06** at limit **
  10  Prefactor     9.1827        9.1873       -.19816E-07    .10036E-02
  11  norm          10.431        5.1477       -.12444E-07    .24655E-02
  12  Prefactor     11.334        6.2922       -.85169E-07    .38696E-02
  13  Prefactor     .88818E-09    23.465        .72244E-06** at limit **
  14  Prefactor     .14211E-07    126.44        .33093E-05** at limit **
  15  Prefactor     68.644        57.871       -.31503E-05   -.17123E-02
  16  Prefactor      .0000        11.956        .30581E-07** at limit **
  17  Normalizat    .80758        .25130        .44218E-05    .15252E-03
  18  Prefactor     1.0480        .11989       -.20330E-05    .42684E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.17396
  Prefactor  = 1.38778e-09
  Prefactor  = 130.548
  Prefactor  = 0
  Prefactor  = 8.32667e-10
  norm       = 1.26627
  norm       = 11.1383
  Prefactor  = 18.1753
  norm       = 0
  Prefactor  = 9.18269
  norm       = 10.4311
  Prefactor  = 11.3337
  Prefactor  = 8.88178e-10
  Prefactor  = 1.42109e-08
  Prefactor  = 68.6438
  Prefactor  = 0
  Normalizat = 0.807582
  Prefactor  = 1.04804
 **********
 **   18 **HESSE 
 **********

 FCN=   8830.692     FROM HESSE     STATUS=OK           286 CALLS     1681 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1740        3.7253        .69780E-03   -1.5678    
   2  Prefactor     .13878E-08    28.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     130.55        136.69        .87987E-04   -1.5479    
   4  Prefactor      .0000        2.1171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .83267E-09    37.225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.2663        1.5375        .98714E-03   -1.5685    
   7  norm          11.138        6.6813        .29966E-03   -1.5641    
   8  Prefactor     18.175        6.8979        .23476E-03   -1.5623    
   9  norm           .0000        13.219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.1827        9.1907        .33014E-03   -1.5647    
  11  norm          10.431        5.1541        .31001E-03   -1.5643    
  12  Prefactor     11.334        6.3050        .29693E-03   -1.5641    
  13  Prefactor     .88818E-09    23.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .14211E-07    16.106        .11436E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     68.644        64.248        .12090E-03   -1.5542    
  16  Prefactor      .0000        11.950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .80758        .21956        .89631E-01   -.99788    
  18  Prefactor     1.0480        .10368        .40034E-01   -.91145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92079e-09
Minuit parameter uncertainties:
  1  3.72529
  2  0.000394928
  3  136.695
  4  9.64719e-07
  5  0.000349954
  6  1.53747
  7  6.68127
  8  6.89789
  9  3.37675e-05
  10  9.19074
  11  5.1541
  12  6.30497
  13  0.000289351
  14  0.000957512
  15  64.2483
  16  6.46124e-06
  17  0.219798
  18  0.103701
Done.

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

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.818e+01  6.898e+00  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  1.048e+00  1.037e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  8.076e-01  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.81
Ra Dec: 176.811 -26.465
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 1.51e-07 +/- 5.72e-08
Energy Flux (Fixed Index): 4.10e-05 +/- 1.56e-05

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) = 8830.58151551
delta logL = 0.110857230817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8830.56601703
delta logL = 0.126355708606

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8830.566     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      244 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.952        128.64        .22396E-03    .47605E-03
   2  Index         2.3699        3.3817        .16746        .79220E-04
   3  Normalizat    .83430        .17383        .88351E-01    .57420E-04
   4  Prefactor     1.0393        .61298E-01    .40580E-01    .49101E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.9515
  Index      = 2.36991
  Normalizat = 0.834304
  Prefactor  = 1.03931
 **********
 **   18 **HESSE 
 **********

 FCN=   8830.566     FROM HESSE     STATUS=OK            31 CALLS      275 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.952        8.2068        .89584E-05   -1.5619    
   2  Index         2.3699        .38044        .62251E-02   -.55391    
   3  Normalizat    .83430        .24912        .39129E-03   -.98809    
   4  Prefactor     1.0393        .11993        .17321E-03   -.91430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.681e-12
Minuit parameter uncertainties:
  1  8.20682
  2  0.380953
  3  0.249459
  4  0.119962
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/681341': 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) = 8830.56601674
delta logL = 0.126356000714

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.995e+01  8.207e+00  0.000e+00  1.000e+06 ( 1.000e-12)
297        Index:  2.370e+00  3.810e-01  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  1.039e+00  1.200e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  8.343e-01  2.495e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.02
Ra Dec: 176.811 -26.465
Photon Index (Free Index): 2.37 +/- 0.38
Photon Flux (Free Index): 1.31e-07 +/- 6.52e-08
Energy Flux (Free Index): 4.47e-05 +/- 1.99e-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/681341/cmap_HighResolution_699148801_699408001_4FGL_J1147.2-2627_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.51e-07', energy_flux2='4.47e-05', photon_flux_error='5.72e-08', dlogl='1.26e-01', energy_flux='4.10e-05', photon_flux2='1.31e-07', job_status='DONE', time_completed='2023-03-02 00:52:19.573589', photon_index_error2='0.38', photon_index2='2.37', ts='14.81', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.99e-05', EG='0.81', time_epoch_completed='1677747139.57', return_code='0', job_id='681341', GAL2='1.04', EG2='0.83', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='6.52e-08', ts2='15.02', photon_index='2.56' WHERE bin_id='1774' AND source_name='4FGL J1147.2-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:52:19 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 681341: <4FGL_J1147.2-2627_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1147.2-2627_daily_bin1774> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Mar  2 00:40:14 2023
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:40:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:40:15 2023
Terminated at Thu Mar  2 00:52:20 2023
Results reported at Thu Mar  2 00:52:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1147.2-2627_daily_bin1774 176.811 -26.4649 699148801 699408001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1147.2-2627 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   596.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            726 sec.

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

