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


Performing analysis on: 4FGL_J1147.0-3812_daily_bin1776
RA = 176.76, Dec = -38.2006
tmin = 699667201, tmax = 699926401
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='831184', job_status='RUN', time_executed='2023-03-08 00:33:29.458792', time_epoch_executed='1678264409.46' WHERE source_name='4FGL J1147.0-3812' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831184

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831184/ft1_4FGL_J1147.0-3812_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831184/ft1_4FGL_J1147.0-3812_daily_bin1776.fits outfile=/scratch/kocevski/831184/ft1_filteredMKT_4FGL_J1147.0-3812_daily_bin1776.fits ra=176.76 dec=-38.2006 rad=12.0 tmin=699667201.0 tmax=699926401.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.88
user 3.68
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.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/831184/ft1_filteredMKT_4FGL_J1147.0-3812_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/831184/ft1_filtered_4FGL_J1147.0-3812_daily_bin1776.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.33
sys 0.15

Number of photons that the gtmktime cut: 919

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/831184/ft1_filtered_4FGL_J1147.0-3812_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/831184/ltcube_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.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/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.fits
.....................!
real 12.38
user 12.05
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831184/ft1_filtered_4FGL_J1147.0-3812_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/831184/ltcube_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.fits outfile=/scratch/kocevski/831184/expmap_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.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/831184/ltcube_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.fits
.....................!
real 190.84
user 185.68
sys 4.84

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 204 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1147.0-3812 @ 176.76 -38.2006

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/831184/ft1_filtered_4FGL_J1147.0-3812_daily_bin1776.fits scfile=/scratch/kocevski/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.fits outfile=/scratch/kocevski/831184/cmap_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.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.76 yref=-38.2006 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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831184/ft1_filtered_4FGL_J1147.0-3812_daily_bin1776.fits scfile=/scratch/kocevski/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.fits outfile=/scratch/kocevski/831184/cmap_HighResolution_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.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.76 yref=-38.2006 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/831184/ft1_filtered_4FGL_J1147.0-3812_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831184/Model_4FGL_J1147.0-3812_daily_bin1776.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/scratch/kocevski/831184/ft1_filtered_4FGL_J1147.0-3812_daily_bin1776.fits.....................!
real 174.97
user 173.41
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/831184/ft1_filtered_4FGL_J1147.0-3812_daily_bin1776.fits', '/scratch/kocevski/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.fits', expMap='/scratch/kocevski/831184/expmap_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.fits', expCube='/scratch/kocevski/831184/ltcube_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/831184/Model_4FGL_J1147.0-3812_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.0-3812'

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  5.752e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/831184/ft1_filtered_4FGL_J1147.0-3812_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/831184/ft2_4FGL_J1147.0-3812_daily_bin1776.fits
Exposure map: /scratch/kocevski/831184/expmap_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.fits
Exposure cube: /scratch/kocevski/831184/ltcube_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/831184/Model_4FGL_J1147.0-3812_daily_bin1776.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) = 9635.73809019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7514       1.0000          .0000       .10000E+07
     2 'norm      '    .82551E-06   1.0000          .0000       .10000E+07
     3 'norm      '    9.2274       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     5 'norm      '    9.9197       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.3647       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10825E-07   1.0000          .0000       .10000E+07
     8 'norm      '    29.484       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1279       1.0000          .0000       .10000E+07
    10 'Prefactor '    65.645       1.0000          .0000       .10000E+07
    11 'Normalizat'    .81497       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0811       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9635.734     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      894 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7515        7.7089        .22031E-05    .48892E-02
   2  norm          .11657E-08    4.3224        .96654E-07** at limit **
   3  norm          9.2278        11.387       -.37691E-05    .43544E-02
   4  Prefactor     .10159E-07    24.428        .66725E-06** at limit **
   5  norm          9.9198        5.6478       -.17481E-07    .40641E-02
   6  Prefactor     9.3643        6.7478       -.31021E-06   -.36483E-02
   7  Prefactor     .11102E-09    4.6953       -.18871E-06** at limit **
   8  norm          29.488        1.1071       -.10755E-06    .26081E-01
   9  Prefactor     2.1303        2.7207        .86499E-06    .15226E-01
  10  Prefactor     65.654        1.1952       -.10180E-06    .60829E-01
  11  Normalizat    .81506        .25973        .83423E-05    .60498E-04
  12  Prefactor     1.0810        .10242       -.28184E-05   -.55638E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.7515
  norm       = 1.16573e-09
  norm       = 9.22777
  Prefactor  = 1.01585e-08
  norm       = 9.91982
  Prefactor  = 9.36429
  Prefactor  = 1.11022e-10
  norm       = 29.4875
  Prefactor  = 2.13032
  Prefactor  = 65.6544
  Normalizat = 0.815061
  Prefactor  = 1.08102
 **********
 **   18 **HESSE 
 **********

 FCN=   9635.734     FROM HESSE     STATUS=OK           159 CALLS     1053 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7515        7.7833        .32066E-03   -1.5646    
   2  norm          .11657E-08    .82086        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.2278        11.698        .32969E-03   -1.5647    
   4  Prefactor     .10159E-07    24.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.9198        5.6577        .31791E-03   -1.5645    
   6  Prefactor     9.3643        6.7609        .32725E-03   -1.5647    
   7  Prefactor     .11102E-09    4.6994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          29.488        24.382        .18419E-03   -1.5599    
   9  Prefactor     2.1303        13.032        .70656E-03   -1.5679    
  10  Prefactor     65.654        39.100        .12343E-03   -1.5546    
  11  Normalizat    .81506        .22940        .98359E-01   -.99512    
  12  Prefactor     1.0810        .88822E-01    .38355E-01   -.90075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18582e-07
Minuit parameter uncertainties:
  1  7.78334
  2  6.1324e-05
  3  11.6983
  4  0.000995923
  5  5.65773
  6  6.76094
  7  4.68838e-05
  8  24.3824
  9  10.5382
  10  39.1005
  11  0.229677
  12  0.0888337
Done.

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

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  9.920e+00  5.658e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  1.081e+00  8.883e-02  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  8.151e-01  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.54
Ra Dec: 176.760 -38.201
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 5.79e-08 +/- 3.30e-08
Energy Flux (Fixed Index): 2.56e-05 +/- 1.46e-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) = 9635.33221401
delta logL = 0.401437522414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9635.27586128
delta logL = 0.457790251392

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7783       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6196       1.0000          .0000       5.0000    
     3 'Normalizat'    .84650       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0764       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9635.276     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      218 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7671        4.9951        .35930E-03   -.53315E-03
   2  alpha         1.6186        .35814        .39517       -.53353E-04
   3  Normalizat    .84653        .22330        .96678E-01    .42815E-04
   4  Prefactor     1.0764        .88135E-01    .38563E-01   -.69246E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.76706
  alpha      = 1.6186
  Normalizat = 0.846533
  Prefactor  = 1.07645
 **********
 **   18 **HESSE 
 **********

 FCN=   9635.276     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7671        6.4142        .14372E-04   -1.5652    
   2  alpha         1.6186        .54473        .14634E-01   -.36030    
   3  Normalizat    .84653        .25776        .42833E-03   -.98365    
   4  Prefactor     1.0764        .10217        .15131E-03   -.90223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56511e-09
Minuit parameter uncertainties:
  1  6.4142
  2  0.54978
  3  0.258137
  4  0.102187
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831184': 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) = 9635.27585813
delta logL = 0.457793401916

Extracting fit parameters...

4FGL J1147.0-3812
   Spectrum: LogParabola
316         norm:  7.767e+00  6.414e+00  0.000e+00  1.000e+06 ( 1.000e-12)
317        alpha:  1.619e+00  5.498e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  5.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  7.398e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
687    Prefactor:  1.076e+00  1.022e-01  0.000e+00  1.000e+01 ( 1.000e+00)
688        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
689        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  8.465e-01  2.581e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.45
Ra Dec: 176.760 -38.201
Photon Index (Free Index): 1.62 +/- 0.55
Photon Flux (Free Index): 2.83e-08 +/- 2.95e-08
Energy Flux (Free Index): 4.05e-05 +/- 3.78e-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/831184/cmap_HighResolution_699667201_699926401_4FGL_J1147.0-3812_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.79e-08', energy_flux2='4.05e-05', photon_flux_error='3.30e-08', dlogl='4.58e-01', energy_flux='2.56e-05', photon_flux2='2.83e-08', job_status='DONE', time_completed='2023-03-08 00:44:36.455269', photon_index_error2='0.55', photon_index2='1.62', ts='11.54', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='3.78e-05', EG='0.82', time_epoch_completed='1678265076.46', return_code='0', job_id='831184', GAL2='1.08', EG2='0.85', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='2.95e-08', ts2='12.45', photon_index='2.16' WHERE bin_id='1776' AND source_name='4FGL J1147.0-3812' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:44:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 831184: <4FGL_J1147.0-3812_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1147.0-3812_daily_bin1776> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Mar  8 00:30:22 2023
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:30:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:30:23 2023
Terminated at Wed Mar  8 00:44:37 2023
Results reported at Wed Mar  8 00:44:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1147.0-3812_daily_bin1776 176.76 -38.2006 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1147.0-3812 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   669.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             342.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            855 sec.

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

