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


Performing analysis on: 4FGL_J2146.5-1344_daily_bin1722
RA = 326.645, Dec = -13.7347
tmin = 685670401, tmax = 685929601
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='248858', job_status='RUN', time_executed='2022-09-27 01:08:44.766546', time_epoch_executed='1664266124.77' WHERE source_name='4FGL J2146.5-1344' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248858

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248858/ft1_4FGL_J2146.5-1344_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248858/ft2_4FGL_J2146.5-1344_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248858/ft1_4FGL_J2146.5-1344_daily_bin1722.fits outfile=/scratch/kocevski/248858/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1722.fits ra=326.645 dec=-13.7347 rad=12.0 tmin=685670401.0 tmax=685929601.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.77
user 3.52
sys 0.22

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

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

Number of photons that the gtmktime cut: 775

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248858/ft1_filtered_4FGL_J2146.5-1344_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/248858/ft2_4FGL_J2146.5-1344_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/248858/ltcube_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.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/248858/ft2_4FGL_J2146.5-1344_daily_bin1722.fits
.....................!
real 15.28
user 14.76
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248858/ft1_filtered_4FGL_J2146.5-1344_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248858/ft2_4FGL_J2146.5-1344_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/248858/ltcube_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.fits outfile=/scratch/kocevski/248858/expmap_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.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/248858/ltcube_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.fits
.....................!
real 192.10
user 186.13
sys 5.51

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/248858/ft1_filtered_4FGL_J2146.5-1344_daily_bin1722.fits scfile=/scratch/kocevski/248858/ft2_4FGL_J2146.5-1344_daily_bin1722.fits outfile=/scratch/kocevski/248858/cmap_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248858/ft1_filtered_4FGL_J2146.5-1344_daily_bin1722.fits scfile=/scratch/kocevski/248858/ft2_4FGL_J2146.5-1344_daily_bin1722.fits outfile=/scratch/kocevski/248858/cmap_HighResolution_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/248858/ft1_filtered_4FGL_J2146.5-1344_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248858/ft2_4FGL_J2146.5-1344_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248858/Model_4FGL_J2146.5-1344_daily_bin1722.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/248858/ft1_filtered_4FGL_J2146.5-1344_daily_bin1722.fits.....................!
real 72.70
user 71.21
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248858/ft1_filtered_4FGL_J2146.5-1344_daily_bin1722.fits', '/scratch/kocevski/248858/ft2_4FGL_J2146.5-1344_daily_bin1722.fits', expMap='/scratch/kocevski/248858/expmap_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.fits', expCube='/scratch/kocevski/248858/ltcube_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248858/Model_4FGL_J2146.5-1344_daily_bin1722.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/248858/ft1_filtered_4FGL_J2146.5-1344_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/248858/ft2_4FGL_J2146.5-1344_daily_bin1722.fits
Exposure map: /scratch/kocevski/248858/expmap_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.fits
Exposure cube: /scratch/kocevski/248858/ltcube_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248858/Model_4FGL_J2146.5-1344_daily_bin1722.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) = 8369.69395595

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98691E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.459       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17374E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.7096       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18084E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    22.616       1.0000          .0000       .10000E+07
     7 'norm      '    2.8564       1.0000          .0000       .10000E+07
     8 'Prefactor '    8.9351       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.246       1.0000          .0000       .10000E+07
    10 'Prefactor '    .39591E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    26.062       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21372E-03   1.0000          .0000       .10000E+07
    13 'norm      '    2.9178       1.0000          .0000       .10000E+07
    14 'Normalizat'    .67305       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1283       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=   8369.682     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      777 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12212E-08    4.6407        .20840E-06** at limit **
   2  Prefactor     11.462        2.0135       -.91710E-06   -.43188E-01
   3  Prefactor     .12546E-06    16.023       -.48013E-05** at limit **
   4  Prefactor     4.7089        4.1939       -.97117E-07   -.12650E-02
   5  Prefactor      .0000        2.4526        .18393E-06** at limit **
   6  Prefactor     22.861        8.2105        .20574E-05   -.13397    
   7  norm          2.8228        3.9664        .16707E-07    .41920E-02
   8  Prefactor     8.9329        5.2527        .13940E-06    .67613E-02
   9  Prefactor     13.196        4.7468       -.21076E-05   -.40704E-01
  10  Prefactor     .11657E-08    2.8738        .15681E-06** at limit **
  11  Prefactor     26.022        8.3253       -.28203E-05   -.88709E-01
  12  Prefactor     .12546E-06    14.490        .44132E-05** at limit **
  13  norm          2.9185        3.0659        .68667E-07    .69927E-03
  14  Normalizat    .67255        .20675        .97400E-05    .50387E-04
  15  Prefactor     1.1285        .13347        .18385E-07    .58709E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.22125e-09
  Prefactor  = 11.4621
  Prefactor  = 1.25455e-07
  Prefactor  = 4.70893
  Prefactor  = 0
  Prefactor  = 22.8614
  norm       = 2.82281
  Prefactor  = 8.93293
  Prefactor  = 13.1961
  Prefactor  = 1.16573e-09
  Prefactor  = 26.0218
  Prefactor  = 1.25455e-07
  norm       = 2.91849
  Normalizat = 0.67255
  Prefactor  = 1.12851
 **********
 **   18 **HESSE 
 **********

 FCN=   8369.682     FROM HESSE     STATUS=OK           214 CALLS      991 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12212E-08    4.6438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.462        9.1433        .29569E-03   -1.5640    
   3  Prefactor     .12546E-06    16.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7089        4.2051        .46345E-03   -1.5665    
   5  Prefactor      .0000        2.4523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.861        13.799        .21033E-03   -1.5612    
   7  norm          2.8228        3.9779        .60128E-03   -1.5674    
   8  Prefactor     8.9329        5.3111        .33507E-03   -1.5648    
   9  Prefactor     13.196        11.306        .27496E-03   -1.5635    
  10  Prefactor     .11657E-08    2.8708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.022        11.660        .19592E-03   -1.5606    
  12  Prefactor     .12546E-06    14.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9185        3.0729        .59450E-03   -1.5674    
  14  Normalizat    .67255        .18388        .77717E-01   -1.0499    
  15  Prefactor     1.1285        .11567        .36597E-01   -.88561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37456e-07
Minuit parameter uncertainties:
  1  0.00015179
  2  9.14332
  3  0.00287771
  4  4.20508
  5  3.16955e-06
  6  13.7994
  7  3.97788
  8  5.31107
  9  11.3064
  10  0.000114442
  11  11.6601
  12  0.0027429
  13  3.0729
  14  0.184044
  15  0.115695
Done.

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

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  2.823e+00  3.978e+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.129e+00  1.157e-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:  6.726e-01  1.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.02
Ra Dec: 326.645 -13.735
Photon Index (Fixed Index): 1.50 +/- 0.00
Photon Flux (Fixed Index): 4.71e-09 +/- 6.64e-09
Energy Flux (Fixed Index): 1.40e-05 +/- 1.98e-05

TS (Fixed Index): 1.02
Ra Dec: 326.645 -13.735
Photon Flux Upper Limit: 2.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/248858/likelihoodResults_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.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) = 8369.26685408
delta logL = 0.415536096012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8369.2575842
delta logL = 0.424805975093

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5648       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7872       1.0000          .0000       5.0000    
     3 'Normalizat'    .65125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1306       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.

 FCN=   8369.258     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      261 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5669        27.846        .84996E-03    .43260E-02
   2  alpha         2.7867        3.8118        .22517        .89901E-04
   3  Normalizat    .65124        .51236E-01    .78775E-01   -.38713E-03
   4  Prefactor     1.1306        .29815E-01    .36526E-01   -.94279E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.56693
  alpha      = 2.78674
  Normalizat = 0.651239
  Prefactor  = 1.13058
 **********
 **   18 **HESSE 
 **********

 FCN=   8369.258     FROM HESSE     STATUS=OK            31 CALLS      292 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5669        8.0991        .10208E-04   -1.5683    
   2  alpha         2.7867        3.6368        .12762E-01    .11495    
   3  Normalizat    .65124        .22544        .34879E-03   -1.0585    
   4  Prefactor     1.1306        .13767        .17570E-03   -.88495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01283e-07
Minuit parameter uncertainties:
  1  7.12481
  2  2.56694
  3  0.225755
  4  0.137714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248858': 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) = 8369.25758388
delta logL = 0.424806294095

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.567e+00  7.125e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  2.787e+00  2.567e+00  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.131e+00  1.377e-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:  6.512e-01  2.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 326.645 -13.735
Photon Index (Free Index): 2.79 +/- 2.57
Photon Flux (Free Index): 3.46e-08 +/- 7.91e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.07e-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/248858/cmap_HighResolution_685670401_685929601_4FGL_J2146.5-1344_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.26e-05', comment='SUCCESS', photon_flux='4.71e-09', energy_flux2='1.11e-05', photon_flux_error='6.64e-09', dlogl='4.25e-01', energy_flux='1.40e-05', photon_flux2='3.46e-08', job_status='DONE', time_completed='2022-09-27 01:17:52.406378', photon_index_error2='2.57', photon_index2='2.79', ts='1.02', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='2.77e-08', energy_flux_error2='1.07e-05', EG='0.67', time_epoch_completed='1664266672.41', return_code='0', job_id='248858', GAL2='1.13', EG2='0.65', return_code2='0', energy_flux_error='1.98e-05', photon_flux_error2='7.91e-08', ts2='1.87', photon_index='1.50' WHERE bin_id='1722' AND source_name='4FGL J2146.5-1344' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 01:17:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 248858: <4FGL_J2146.5-1344_daily_bin1722> in cluster <slac> Done

Job <4FGL_J2146.5-1344_daily_bin1722> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 27 01:05:51 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 01:07:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 01:07:14 2022
Terminated at Tue Sep 27 01:17:53 2022
Results reported at Tue Sep 27 01:17:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.5-1344_daily_bin1722 326.645 -13.7347 685670401 685929601 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 :                                   549.41 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             320.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            722 sec.

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

