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


Performing analysis on: 4FGL_J2146.4-1528_daily_bin1712
RA = 326.621, Dec = -15.4757
tmin = 683078401, tmax = 683337601
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='236062', job_status='RUN', time_executed='2022-09-16 23:28:48.255648', time_epoch_executed='1663396128.26' WHERE source_name='4FGL J2146.4-1528' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/236062

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/236062/ft1_4FGL_J2146.4-1528_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/236062/ft1_4FGL_J2146.4-1528_daily_bin1712.fits outfile=/scratch/kocevski/236062/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1712.fits ra=326.621 dec=-15.4757 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.79
user 4.52
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.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/236062/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/236062/ft1_filtered_4FGL_J2146.4-1528_daily_bin1712.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.61
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 401

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/236062/ft1_filtered_4FGL_J2146.4-1528_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/236062/ltcube_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.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/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.fits
.....................!
real 14.95
user 14.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/236062/ft1_filtered_4FGL_J2146.4-1528_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/236062/ltcube_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.fits outfile=/scratch/kocevski/236062/expmap_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.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/236062/ltcube_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.fits
.....................!
real 192.32
user 186.23
sys 4.91

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

Setting source of interest to:
4FGL J2146.4-1528 @ 326.621 -15.4757

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/236062/ft1_filtered_4FGL_J2146.4-1528_daily_bin1712.fits scfile=/scratch/kocevski/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.fits outfile=/scratch/kocevski/236062/cmap_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.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.621 yref=-15.4757 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/236062/ft1_filtered_4FGL_J2146.4-1528_daily_bin1712.fits scfile=/scratch/kocevski/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.fits outfile=/scratch/kocevski/236062/cmap_HighResolution_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.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.621 yref=-15.4757 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/236062/ft1_filtered_4FGL_J2146.4-1528_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/236062/Model_4FGL_J2146.4-1528_daily_bin1712.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/236062/ft1_filtered_4FGL_J2146.4-1528_daily_bin1712.fits.....................!
real 47.85
user 45.94
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/236062/ft1_filtered_4FGL_J2146.4-1528_daily_bin1712.fits', '/scratch/kocevski/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.fits', expMap='/scratch/kocevski/236062/expmap_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.fits', expCube='/scratch/kocevski/236062/ltcube_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/236062/Model_4FGL_J2146.4-1528_daily_bin1712.xml', optimizer='MINUIT')

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

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  4.163e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.796e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  4.246e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/236062/ft1_filtered_4FGL_J2146.4-1528_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/236062/ft2_4FGL_J2146.4-1528_daily_bin1712.fits
Exposure map: /scratch/kocevski/236062/expmap_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.fits
Exposure cube: /scratch/kocevski/236062/ltcube_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/236062/Model_4FGL_J2146.4-1528_daily_bin1712.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) = 4483.4746953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18725E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    28.787       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4366       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0469       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34241       1.0000          .0000       .10000E+07
     6 'Prefactor '    38.428       1.0000          .0000       .10000E+07
     7 'norm      '    .16299E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.1688       1.0000          .0000       .10000E+07
     9 'Prefactor '    47.951       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.2376       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2343       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24041E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .11084E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0851       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95967       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4483.136     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1103 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11047E-07    23.899        .59294E-07** at limit **
   2  Prefactor     28.586        10.454        .60491E-07   -.62408E-01
   3  Prefactor     5.5121        9.5478        .41065E-07   -.43783E-03
   4  Prefactor     2.0327        14.080       -.67320E-06   -.75983E-03
   5  Prefactor     .19172E-05    79.051        .23153E-06** at limit **
   6  Prefactor     38.923        2.4463        .22715E-07   -.13475E-01
   7  norm           .0000        2.6635        .11831E-06** at limit **
   8  Prefactor     1.9465        9.4973        .65318E-06   -.65514E-03
   9  Prefactor     48.027        2.0742       -.24200E-08   -.41929E-01
  10  Prefactor     2.2102        18.115       -.43829E-06   -.11737E-02
  11  Prefactor     5.3986        10.455       -.18172E-06   -.21520E-03
  12  Prefactor     .62172E-08    96.496       -.64382E-06** at limit **
  13  Prefactor     .16043E-07    32.929       -.68730E-06** at limit **
  14  Normalizat    1.0859        .32378       -.22071E-05   -.10569E-04
  15  Prefactor     .95951        .19429       -.20037E-06   -.26357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.10467e-08
  Prefactor  = 28.5861
  Prefactor  = 5.51206
  Prefactor  = 2.03266
  Prefactor  = 1.91719e-06
  Prefactor  = 38.9228
  norm       = 0
  Prefactor  = 1.94648
  Prefactor  = 48.0267
  Prefactor  = 2.21019
  Prefactor  = 5.39861
  Prefactor  = 6.21725e-09
  Prefactor  = 1.60427e-08
  Normalizat = 1.08591
  Prefactor  = 0.959507
 **********
 **   18 **HESSE 
 **********

 FCN=   4483.136     FROM HESSE     STATUS=OK           216 CALLS     1319 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11047E-07    24.116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     28.586        21.651        .18641E-03   -1.5601    
   3  Prefactor     5.5121        9.5929        .43072E-03   -1.5661    
   4  Prefactor     2.0327        14.241        .72236E-03   -1.5679    
   5  Prefactor     .19172E-05    97.825        .96487E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.923        26.823        .16133E-03   -1.5583    
   7  norm           .0000        2.6679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9465        9.8323        .69899E-03   -1.5680    
   9  Prefactor     48.027        27.781        .14442E-03   -1.5569    
  10  Prefactor     2.2102        18.418        .68685E-03   -1.5678    
  11  Prefactor     5.3986        10.502        .43912E-03   -1.5661    
  12  Prefactor     .62172E-08    95.759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16043E-07    33.326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0859        .27488        .69868E-01   -.90205    
  15  Prefactor     .95951        .16063        .45761E-01   -.94092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.32238e-07
Minuit parameter uncertainties:
  1  0.00103255
  2  21.6507
  3  9.59297
  4  10.7605
  5  0.0273903
  6  26.8235
  7  2.08542e-06
  8  8.7495
  9  27.781
  10  12.7606
  11  10.5021
  12  0.00154096
  13  0.00146141
  14  0.275246
  15  0.160711
Done.

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

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  3.892e+01  2.682e+01  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.796e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  4.246e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.595e-01  1.607e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.086e+00  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.58
Ra Dec: 326.621 -15.476
Photon Index (Fixed Index): 2.80 +/- 0.00
Photon Flux (Fixed Index): 1.24e-07 +/- 8.51e-08
Energy Flux (Fixed Index): 2.78e-05 +/- 1.91e-05

TS (Fixed Index): 3.58
Ra Dec: 326.621 -15.476
Photon Flux Upper Limit: 2.95e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.34e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/236062/likelihoodResults_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.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) = 4483.13566848
delta logL = 0.000102688994957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4483.13563819
delta logL = 0.000132972087158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.743       1.0000          .0000       .10000E+07
     2 'Index     '    2.8094       1.0000          .0000       10.000    
     3 'Normalizat'    1.0848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95997       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+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=   4483.136     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      259 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.723        29.635        .64270E-05   -.78008E-03
   2  Index         2.8085        .77853        .79821E-02    .15778E-04
   3  Normalizat    1.0849        .32115        .30927E-03   -.23710E-04
   4  Prefactor     .96000        .19493        .20094E-03   -.57144E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.7226
  Index      = 2.8085
  Normalizat = 1.0849
  Prefactor  = 0.959998
 **********
 **   18 **HESSE 
 **********

 FCN=   4483.136     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.723        29.094        .12854E-05   -1.5584    
   2  Index         2.8085        .76372        .31928E-03   -.45371    
   3  Normalizat    1.0849        .32142        .12371E-04   -.90238    
   4  Prefactor     .96000        .19505        .80374E-05   -.94075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84796e-11
Minuit parameter uncertainties:
  1  29.0945
  2  0.767444
  3  0.322001
  4  0.195195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/236062': 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) = 4483.13563633
delta logL = 0.00013483256771

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  3.872e+01  2.909e+01  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  2.809e+00  7.674e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  4.246e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.600e-01  1.952e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.085e+00  3.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.61
Ra Dec: 326.621 -15.476
Photon Index (Free Index): 2.81 +/- 0.77
Photon Flux (Free Index): 1.24e-07 +/- 9.54e-08
Energy Flux (Free Index): 2.77e-05 +/- 1.92e-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/236062/cmap_HighResolution_683078401_683337601_4FGL_J2146.4-1528_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.34e-02', comment='SUCCESS', photon_flux='1.24e-07', energy_flux2='2.77e-05', photon_flux_error='8.51e-08', dlogl='1.35e-04', energy_flux='2.78e-05', photon_flux2='1.24e-07', job_status='DONE', time_completed='2022-09-16 23:36:27.692734', photon_index_error2='0.77', photon_index2='2.81', ts='3.58', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='2.95e-07', energy_flux_error2='1.92e-05', EG='1.09', time_epoch_completed='1663396587.69', return_code='0', job_id='236062', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='9.54e-08', ts2='3.61', photon_index='2.80' WHERE bin_id='1712' AND source_name='4FGL J2146.4-1528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:36:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 236062: <4FGL_J2146.4-1528_daily_bin1712> in cluster <slac> Done

Job <4FGL_J2146.4-1528_daily_bin1712> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 16 23:25:28 2022
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:26:35 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:35 2022
Terminated at Fri Sep 16 23:36:28 2022
Results reported at Fri Sep 16 23:36:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.4-1528_daily_bin1712 326.621 -15.4757 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2146.4-1528 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   459.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            660 sec.

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

