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


Performing analysis on: 4FGL_J2146.5-1344_daily_bin1717
RA = 326.645, Dec = -13.7347
tmin = 684374401, tmax = 684633601
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='236085', job_status='RUN', time_executed='2022-09-16 23:26:58.284447', time_epoch_executed='1663396018.28' WHERE source_name='4FGL J2146.5-1344' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/236085

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/236085/ft1_4FGL_J2146.5-1344_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/236085/ft1_4FGL_J2146.5-1344_daily_bin1717.fits outfile=/scratch/kocevski/236085/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1717.fits ra=326.645 dec=-13.7347 rad=12.0 tmin=684374401.0 tmax=684633601.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 5.03
user 4.78
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.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/236085/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1717.fits evtable="EVENTS" outfile="/scratch/kocevski/236085/ft1_filtered_4FGL_J2146.5-1344_daily_bin1717.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 561

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/236085/ft1_filtered_4FGL_J2146.5-1344_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/236085/ltcube_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.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/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.fits
.....................!
real 13.38
user 12.99
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/236085/ft1_filtered_4FGL_J2146.5-1344_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/236085/ltcube_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.fits outfile=/scratch/kocevski/236085/expmap_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.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/236085/ltcube_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.fits
.....................!
real 191.23
user 186.02
sys 4.86

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

Setting source of interest to:
4FGL J2146.5-1344 @ 326.645 -13.7347

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/236085/ft1_filtered_4FGL_J2146.5-1344_daily_bin1717.fits scfile=/scratch/kocevski/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.fits outfile=/scratch/kocevski/236085/cmap_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.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=326.645 yref=-13.7347 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/236085/ft1_filtered_4FGL_J2146.5-1344_daily_bin1717.fits scfile=/scratch/kocevski/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.fits outfile=/scratch/kocevski/236085/cmap_HighResolution_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.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=326.645 yref=-13.7347 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/236085/ft1_filtered_4FGL_J2146.5-1344_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/236085/Model_4FGL_J2146.5-1344_daily_bin1717.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/236085/ft1_filtered_4FGL_J2146.5-1344_daily_bin1717.fits.....................!
real 57.06
user 55.76
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/236085/ft1_filtered_4FGL_J2146.5-1344_daily_bin1717.fits', '/scratch/kocevski/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.fits', expMap='/scratch/kocevski/236085/expmap_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.fits', expCube='/scratch/kocevski/236085/ltcube_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/236085/Model_4FGL_J2146.5-1344_daily_bin1717.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2146.5-1344'

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.885e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.495e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.382e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  2.840e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/236085/ft1_filtered_4FGL_J2146.5-1344_daily_bin1717.fits
Spacecraft file(s): /scratch/kocevski/236085/ft2_4FGL_J2146.5-1344_daily_bin1717.fits
Exposure map: /scratch/kocevski/236085/expmap_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.fits
Exposure cube: /scratch/kocevski/236085/ltcube_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/236085/Model_4FGL_J2146.5-1344_daily_bin1717.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) = 6132.59223485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38358E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .27200E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    17.101       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25520       1.0000          .0000       .10000E+07
     5 'Prefactor '    .20539E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48472       1.0000          .0000       .10000E+07
     7 'norm      '    5.0726       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.5373       1.0000          .0000       .10000E+07
     9 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.0957       1.0000          .0000       .10000E+07
    11 'Prefactor '    18.684       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.086       1.0000          .0000       .10000E+07
    13 'norm      '    2.3304       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0391       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0263       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6132.578     FROM MIGRAD    STATUS=CONVERGED     59 CALLS     1152 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85820E-07    4.6568        .12749E-05** at limit **
   2  Prefactor     .27756E-09    4.0923       -.80161E-06** at limit **
   3  Prefactor     17.123        1.1559        .15249E-06   -.41862E-01
   4  Prefactor     .25098        .87892        .14890E-05    .76719E-02
   5  Prefactor     .17958E-05    3.2759        .24215E-05** at limit **
   6  Prefactor     .47303        .55397        .65507E-07    .31072E-03
   7  norm          5.0715        1.6127       -.37540E-06   -.34962E-01
   8  Prefactor     1.5367        5.8672        .25583E-05   -.56480E-03
   9  Prefactor     .78576E-06    5.6924       -.49274E-06** at limit **
  10  Prefactor     4.0933        8.0440       -.42472E-05   -.41355E-01
  11  Prefactor     18.686        1.1678       -.55331E-07    .27618E-01
  12  Prefactor     11.102        1.1149       -.16857E-06    .31520E-01
  13  norm          2.3303        3.2370        .50667E-06    .28929E-02
  14  Normalizat    1.0389        .25563       -.15142E-04    .13649E-03
  15  Prefactor     1.0265        .16241        .18846E-04    .28391E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.58202e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 17.1233
  Prefactor  = 0.250982
  Prefactor  = 1.79584e-06
  Prefactor  = 0.473027
  norm       = 5.07147
  Prefactor  = 1.5367
  Prefactor  = 7.8576e-07
  Prefactor  = 4.09329
  Prefactor  = 18.6863
  Prefactor  = 11.1017
  norm       = 2.33032
  Normalizat = 1.03895
  Prefactor  = 1.02646
 **********
 **   18 **HESSE 
 **********

 FCN=   6132.578     FROM HESSE     STATUS=OK           224 CALLS     1376 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85820E-07    4.8648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .27756E-09    4.0865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.123        74.227        .24192E-03   -1.5625    
   4  Prefactor     .25098        3.1833        .75292E-02   -1.5698    
   5  Prefactor     .17958E-05    7.9594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .47303        10.855        .80261E-02   -1.5694    
   7  norm          5.0715        7.0294        .44620E-03   -1.5663    
   8  Prefactor     1.5367        5.9905        .85987E-03   -1.5683    
   9  Prefactor     .78576E-06    7.7379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.0933        8.7244        .49791E-03   -1.5667    
  11  Prefactor     18.686        12.878        .23143E-03   -1.5622    
  12  Prefactor     11.102        40.645        .30065E-03   -1.5641    
  13  norm          2.3303        3.2462        .67152E-03   -1.5677    
  14  Normalizat    1.0389        .22074        .66986E-01   -.91737    
  15  Prefactor     1.0265        .13517        .41558E-01   -.91853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36026e-06
Minuit parameter uncertainties:
  1  0.00129238
  2  6.71036e-05
  3  71.3042
  4  1.78768
  5  0.00756145
  6  4.53196
  7  7.02937
  8  5.99053
  9  0.00493162
  10  8.72442
  11  12.8781
  12  40.6457
  13  3.2462
  14  0.220935
  15  0.135219
Done.

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

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  5.071e+00  7.029e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.495e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.382e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  2.840e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  1.026e+00  1.352e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.039e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.84
Ra Dec: 326.645 -13.735
Photon Flux Upper Limit: 4.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/236085/likelihoodResults_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.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) = 6131.67790897
delta logL = 0.900363795624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6131.67329007
delta logL = 0.904982688122

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6131.673     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      284 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9975        5.6593        .12760E-04   -.38489E-03
   2  alpha         2.4174        .66441        .10188E-01    .30270E-03
   3  Normalizat    1.0321        .25398        .29701E-03    .16651E-04
   4  Prefactor     1.0181        .16238        .18978E-03    .35463E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.99753
  alpha      = 2.41736
  Normalizat = 1.03211
  Prefactor  = 1.01807
 **********
 **   18 **HESSE 
 **********

 FCN=   6131.673     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9975        5.1852        .51041E-06   -1.5668    
   2  alpha         2.4174        .60989        .20376E-02   -.33062E-01
   3  Normalizat    1.0321        .25410        .11880E-04   -.91962    
   4  Prefactor     1.0181        .16251        .75912E-05   -.92130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21947e-12
Minuit parameter uncertainties:
  1  5.18517
  2  0.61611
  3  0.254402
  4  0.16259
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/236085': 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) = 6131.67329007
delta logL = 0.904982690016

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  3.998e+00  5.185e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  2.417e+00  6.161e-01  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.382e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  2.840e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  1.018e+00  1.626e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.032e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.65
Ra Dec: 326.645 -13.735
Photon Index (Free Index): 2.42 +/- 0.62
Photon Flux (Free Index): 3.58e-08 +/- 3.42e-08
Energy Flux (Free Index): 1.75e-05 +/- 1.63e-05

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/236085/cmap_HighResolution_684374401_684633601_4FGL_J2146.5-1344_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-04', comment='SUCCESS', energy_flux2='1.75e-05', dlogl='9.05e-01', photon_flux2='3.58e-08', job_status='DONE', time_completed='2022-09-16 23:35:34.703270', photon_index_error2='0.62', photon_index2='2.42', ts='0.84', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='4.25e-08', energy_flux_error2='1.63e-05', EG='1.04', time_epoch_completed='1663396534.7', return_code='0', job_id='236085', GAL2='1.02', EG2='1.03', return_code2='0', photon_flux_error2='3.42e-08', ts2='2.65', photon_index='1.50' WHERE bin_id='1717' AND source_name='4FGL J2146.5-1344' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:35:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 236085: <4FGL_J2146.5-1344_daily_bin1717> in cluster <slac> Done

Job <4FGL_J2146.5-1344_daily_bin1717> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 16 23:25:30 2022
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:26:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:26:44 2022
Terminated at Fri Sep 16 23:35:35 2022
Results reported at Fri Sep 16 23:35:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.5-1344_daily_bin1717 326.645 -13.7347 684374401 684633601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2146.5-1344 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   518.48 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             366.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   530 sec.
    Turnaround time :                            605 sec.

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

