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 60 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_J2146.5-1344_daily_bin1774
RA = 326.645, Dec = -13.7347
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='696655', job_status='RUN', time_executed='2023-03-02 01:36:30.068009', time_epoch_executed='1677749790.07' WHERE source_name='4FGL J2146.5-1344' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696655

Creating custom pfile directory:
/scratch/kocevski/696655/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/696655/ft1_4FGL_J2146.5-1344_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/696655/ft2_4FGL_J2146.5-1344_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696655/ft1_4FGL_J2146.5-1344_daily_bin1774.fits outfile=/scratch/kocevski/696655/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1774.fits ra=326.645 dec=-13.7347 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.17
user 1.99
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/696655/ft2_4FGL_J2146.5-1344_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/696655/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/696655/ft1_filtered_4FGL_J2146.5-1344_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.41
user 0.26
sys 0.14

Number of photons that the gtmktime cut: 59

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/696655/ft1_filtered_4FGL_J2146.5-1344_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/696655/ft2_4FGL_J2146.5-1344_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/696655/ltcube_699148801_699408001_4FGL_J2146.5-1344_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/696655/ft2_4FGL_J2146.5-1344_daily_bin1774.fits
.....................!
real 9.70
user 9.41
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696655/ft1_filtered_4FGL_J2146.5-1344_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/696655/ft2_4FGL_J2146.5-1344_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/696655/ltcube_699148801_699408001_4FGL_J2146.5-1344_daily_bin1774.fits outfile=/scratch/kocevski/696655/expmap_699148801_699408001_4FGL_J2146.5-1344_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/696655/ltcube_699148801_699408001_4FGL_J2146.5-1344_daily_bin1774.fits
.....................!
real 145.53
user 141.42
sys 3.81

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/696655/ft1_filtered_4FGL_J2146.5-1344_daily_bin1774.fits scfile=/scratch/kocevski/696655/ft2_4FGL_J2146.5-1344_daily_bin1774.fits outfile=/scratch/kocevski/696655/cmap_699148801_699408001_4FGL_J2146.5-1344_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=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.45
user 0.28
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696655/ft1_filtered_4FGL_J2146.5-1344_daily_bin1774.fits scfile=/scratch/kocevski/696655/ft2_4FGL_J2146.5-1344_daily_bin1774.fits outfile=/scratch/kocevski/696655/cmap_HighResolution_699148801_699408001_4FGL_J2146.5-1344_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=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.45
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/696655/ft1_filtered_4FGL_J2146.5-1344_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/696655/ft2_4FGL_J2146.5-1344_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696655/Model_4FGL_J2146.5-1344_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/696655/ft1_filtered_4FGL_J2146.5-1344_daily_bin1774.fits..............................!
real 15.38
user 14.37
sys 0.95

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10120E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19096E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14181E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    28.864       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12938E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .28855E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .43743E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46130E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .45852E+06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10802E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    24.489       1.0000          .0000       .10000E+07
    13 'norm      '    .14361E-06   1.0000          .0000       .10000E+07
    14 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    15 'Prefactor '    .84730       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=   745.9993     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1442 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    17.820        .66093E-08** at limit **
   2  Prefactor     .99920E-09    32.335       -.74953E-06** at limit **
   3  Prefactor     .41078E-07    82.561       -.13224E-04** at limit **
   4  Prefactor     28.873        13.181        .15825E-05    .68246E-01
   5  Prefactor     .55511E-10    15.032        .70164E-06** at limit **
   6  Prefactor     .32363E-07    78.560        .13353E-04** at limit **
   7  norm          .97922E-07    24.936        .31505E-05** at limit **
   8  Prefactor     .23409E-06    21.761        .12767E-06** at limit **
   9  Prefactor     .15543E-07    261.54        .94528E-05** at limit **
  10  Prefactor     .45852E+06    1.0000       -.83093E-11    .21666E-02
  11  Prefactor     .60674E-07    521.89       -.22038E-04** at limit **
  12  Prefactor     24.506        1.2811        .13690E-06   -.35257E-02
  13  norm          .66730E-06    19.309       -.28905E-05** at limit **
  14  Normalizat    .10000E-01    .18090       -.88136E-06** at limit **
  15  Prefactor     .84734        .14989       -.17077E-05    .75940E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 9.99201e-10
  Prefactor  = 4.10783e-08
  Prefactor  = 28.8728
  Prefactor  = 5.55112e-11
  Prefactor  = 3.2363e-08
  norm       = 9.79217e-08
  Prefactor  = 2.34091e-07
  Prefactor  = 1.55431e-08
  Prefactor  = 458518
  Prefactor  = 6.06737e-08
  Prefactor  = 24.5062
  norm       = 6.673e-07
  Normalizat = 0.01
  Prefactor  = 0.847344
 **********
 **   18 **HESSE 
 **********

 FCN=   745.9993     FROM HESSE     STATUS=OK           204 CALLS     1646 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    17.828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .99920E-09    32.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .41078E-07    82.866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.873        22.624        .18616E-03   -1.5600    
   5  Prefactor     .55511E-10    15.045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .32363E-07    78.839        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .97922E-07    25.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23409E-06    23.653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15543E-07    261.45        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .45852E+06    .14678E+06    .20069E-04   -.83059E-01
  11  Prefactor     .60674E-07    521.01        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.506        .22984E+06    .20212E-03   -1.5609    
  13  norm          .66730E-06    24.644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .10000E-01    .15963        .16246       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .84734        .15859        .32028E-01   -.98006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29777e-05
Minuit parameter uncertainties:
  1  0.000161795
  2  0.000361593
  3  0.00368884
  4  22.6236
  5  6.79423e-05
  6  0.00319496
  7  0.00317299
  8  0.0047061
  9  0.00403122
  10  148988
  11  0.011248
  12  4950.31
  13  0.00811064
  14  3.2097e-08
  15  0.158674
Done.

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

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  9.792e-08  3.173e-03  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:  8.473e-01  1.587e-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.000e-02  3.210e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 326.645 -13.735
Photon Flux Upper Limit: 2.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.61e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/696655/likelihoodResults_699148801_699408001_4FGL_J2146.5-1344_daily_bin1774.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): 102
logL (Free Index) = 746.001335681
delta logL = -0.00206013406876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 745.999279581
delta logL = -4.0337865812e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90169E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    2.0412       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84723       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   745.9993     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      233 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        17.475        .42118E-03** at limit **
   2  alpha         .38778        .54609       -.93015E-04     .0000    
   3  Normalizat    .10000E-01    .25762       -.31521E-04** at limit **
   4  Prefactor     .84734        1.1945        .61043E-05   -.52803E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.387778
  Normalizat = 0.01
  Prefactor  = 0.847344
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   745.9993     FROM HESSE     STATUS=FAILED         9 CALLS      242 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        17.475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .37036E-02    .56819       -.93015E-04   -1.0064    
   3  Normalizat    .10000E-01    .25762       -.31521E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .84734        1.1945        .61043E-05   -.98006    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.58827e-12
Minuit parameter uncertainties:
  1  2.86154e-05
  2  0.562534
  3  9.7354e-07
  4  1.2345
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696655': 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): 101
logL (Free Index) = 745.999275545
delta logL = 1.90425453184e-09

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  0.000e+00  2.862e-05  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  3.878e-01  5.625e-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:  8.473e-01  1.234e+00  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.000e-02  9.735e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 326.645 -13.735

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/696655/cmap_HighResolution_699148801_699408001_4FGL_J2146.5-1344_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.61e-04', job_status='DONE', photon_flux_upper_limit='2.55e-07', time_completed='2023-03-02 01:40:45.253578', job_id='696655', GAL2='0.85', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677750045.25', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.90e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.50' WHERE bin_id='1774' AND source_name='4FGL J2146.5-1344' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:40:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 696655: <4FGL_J2146.5-1344_daily_bin1774> in cluster <slac> Done

Job <4FGL_J2146.5-1344_daily_bin1774> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Mar  2 01:35:20 2023
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:35:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:35:21 2023
Terminated at Thu Mar  2 01:40:45 2023
Results reported at Thu Mar  2 01:40:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.5-1344_daily_bin1774 326.645 -13.7347 699148801 699408001 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 :                                   256.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             206.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   324 sec.
    Turnaround time :                            325 sec.

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

