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


Performing analysis on: 4FGL_J2146.4-1528_daily_bin1749
RA = 326.621, Dec = -15.4757
tmin = 692668801, tmax = 692928001
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='963253', job_status='RUN', time_executed='2022-12-17 01:26:20.667427', time_epoch_executed='1671269180.67' WHERE source_name='4FGL J2146.4-1528' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963253

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963253/ft1_4FGL_J2146.4-1528_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963253/ft2_4FGL_J2146.4-1528_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963253/ft1_4FGL_J2146.4-1528_daily_bin1749.fits outfile=/scratch/kocevski/963253/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1749.fits ra=326.621 dec=-15.4757 rad=12.0 tmin=692668801.0 tmax=692928001.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.65
user 3.43
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/963253/ft2_4FGL_J2146.4-1528_daily_bin1749.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/963253/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/963253/ft1_filtered_4FGL_J2146.4-1528_daily_bin1749.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.49
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 491

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963253/ft1_filtered_4FGL_J2146.4-1528_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/963253/ft2_4FGL_J2146.4-1528_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/963253/ltcube_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.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/963253/ft2_4FGL_J2146.4-1528_daily_bin1749.fits
.....................!
real 12.24
user 11.92
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963253/ft1_filtered_4FGL_J2146.4-1528_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/963253/ft2_4FGL_J2146.4-1528_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/963253/ltcube_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.fits outfile=/scratch/kocevski/963253/expmap_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.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/963253/ltcube_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.fits
.....................!
real 190.64
user 185.08
sys 5.20

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/963253/ft1_filtered_4FGL_J2146.4-1528_daily_bin1749.fits scfile=/scratch/kocevski/963253/ft2_4FGL_J2146.4-1528_daily_bin1749.fits outfile=/scratch/kocevski/963253/cmap_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963253/ft1_filtered_4FGL_J2146.4-1528_daily_bin1749.fits scfile=/scratch/kocevski/963253/ft2_4FGL_J2146.4-1528_daily_bin1749.fits outfile=/scratch/kocevski/963253/cmap_HighResolution_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.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.56
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/963253/ft1_filtered_4FGL_J2146.4-1528_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/963253/ft2_4FGL_J2146.4-1528_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963253/Model_4FGL_J2146.4-1528_daily_bin1749.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/963253/ft1_filtered_4FGL_J2146.4-1528_daily_bin1749.fits.....................!
real 54.20
user 52.74
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/963253/ft1_filtered_4FGL_J2146.4-1528_daily_bin1749.fits', '/scratch/kocevski/963253/ft2_4FGL_J2146.4-1528_daily_bin1749.fits', expMap='/scratch/kocevski/963253/expmap_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.fits', expCube='/scratch/kocevski/963253/ltcube_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/963253/Model_4FGL_J2146.4-1528_daily_bin1749.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/963253/ft1_filtered_4FGL_J2146.4-1528_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/963253/ft2_4FGL_J2146.4-1528_daily_bin1749.fits
Exposure map: /scratch/kocevski/963253/expmap_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.fits
Exposure cube: /scratch/kocevski/963253/ltcube_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/963253/Model_4FGL_J2146.4-1528_daily_bin1749.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) = 5551.36656475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24536E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14766E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10658E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.2545       1.0000          .0000       .10000E+07
     5 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    .46241E-07   1.0000          .0000       .10000E+07
     7 'norm      '    9.5987       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17208E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    .15075       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    22.087       1.0000          .0000       .10000E+07
    12 'Prefactor '    .57793E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    62.543       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.3519       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .87662       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=   5551.366     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1174 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10880E-07    6.7676       -.17778E-06** at limit **
   2  Prefactor     .16653E-09    13.223       -.54586E-06** at limit **
   3  Prefactor      .0000        4.7536       -.72837E-08** at limit **
   4  Prefactor     9.2540        7.8320       -.11817E-06    .48478E-03
   5  Prefactor     .67724E-08    8.4694       -.13529E-06** at limit **
   6  Prefactor     .55511E-10    9.9317       -.14208E-07** at limit **
   7  norm          9.6003        7.6439        .75595E-07    .12560E-03
   8  Prefactor      .0000        2.9191        .34437E-07** at limit **
   9  Prefactor     .46629E-08    767.99       -.43733E-05** at limit **
  10  Prefactor     11.149        12.931       -.28673E-08    .25273E-02
  11  Prefactor     22.094        2.6769       -.17887E-08    .17571E-01
  12  Prefactor     .55511E-10    22.616       -.53982E-06** at limit **
  13  Prefactor     62.552        3.2492       -.27227E-07    .26976E-01
  14  Normalizat    1.3522        .28924       -.45165E-05    .10519E-03
  15  Prefactor     .87645        .17582        .20198E-05    .12006E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08802e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 9.25404
  Prefactor  = 6.77236e-09
  Prefactor  = 5.55112e-11
  norm       = 9.60028
  Prefactor  = 0
  Prefactor  = 4.66294e-09
  Prefactor  = 11.149
  Prefactor  = 22.094
  Prefactor  = 5.55112e-11
  Prefactor  = 62.5523
  Normalizat = 1.35224
  Prefactor  = 0.876451
 **********
 **   18 **HESSE 
 **********

 FCN=   5551.366     FROM HESSE     STATUS=OK           212 CALLS     1386 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10880E-07    15.223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    13.345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        4.7564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.2540        7.8528        .32920E-03   -1.5647    
   5  Prefactor     .67724E-08    15.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    9.9853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.6003        7.6558        .32321E-03   -1.5646    
   8  Prefactor      .0000        2.9298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .46629E-08    14.719        .12728E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.149        13.127        .29961E-03   -1.5641    
  11  Prefactor     22.094        15.506        .21284E-03   -1.5614    
  12  Prefactor     .55511E-10    22.625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     62.552        62.918        .12646E-03   -1.5550    
  14  Normalizat    1.3522        .24255        .64993E-01   -.82020    
  15  Prefactor     .87645        .14504        .44706E-01   -.96969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02443e-08
Minuit parameter uncertainties:
  1  0.000814763
  2  8.7531e-05
  3  5.29394e-06
  4  7.85285
  5  0.000643002
  6  5.13742e-05
  7  7.65583
  8  5.67596e-07
  9  0.00052284
  10  13.1271
  11  15.5063
  12  8.1452e-05
  13  62.9188
  14  0.242758
  15  0.145104
Done.

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

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  5.551e-11  5.137e-05  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:  8.765e-01  1.451e-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.352e+00  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 326.621 -15.476
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/963253/likelihoodResults_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.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) = 5551.36598309
delta logL = -2.93175535262e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5551.36595377
delta logL = -3.85989551432e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99365E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.7649       1.0000          .0000       10.000    
     3 'Normalizat'    1.3523       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87644       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5551.366     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      253 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1940        .42118E-03** at limit **
   2  Index         4.3775        1.3398       -.22524E-04     .0000    
   3  Normalizat    1.3522        1.0694       -.47486E-05   -.28710E-04
   4  Prefactor     .87645        1.2224        .16561E-05   -.21866E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.37752
  Normalizat = 1.35224
  Prefactor  = 0.876451
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5551.366     FROM HESSE     STATUS=FAILED         9 CALLS      262 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0348        2.3658       -.22524E-04   -.12482    
   3  Normalizat    1.3522        1.0694       -.47486E-05   -.82020    
   4  Prefactor     .87645        1.2224        .16561E-05   -.96969    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.93594e-12
Minuit parameter uncertainties:
  1  3.74931e-06
  2  1.35667
  3  1.08782
  4  1.26413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963253': 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) = 5551.36595377
delta logL = 1.00044417195e-11

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  0.000e+00  3.749e-06  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  4.378e+00  1.357e+00  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:  8.765e-01  1.264e+00  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.352e+00  1.088e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 326.621 -15.476

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/963253/cmap_HighResolution_692668801_692928001_4FGL_J2146.4-1528_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.19e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2022-12-17 01:34:14.215214', job_id='963253', GAL2='0.88', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1671269654.22', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.80' WHERE bin_id='1749' AND source_name='4FGL J2146.4-1528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:34:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 963253: <4FGL_J2146.4-1528_daily_bin1749> in cluster <slac> Done

Job <4FGL_J2146.4-1528_daily_bin1749> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Dec 17 01:25:21 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:25:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:25:22 2022
Terminated at Sat Dec 17 01:34:15 2022
Results reported at Sat Dec 17 01:34:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.4-1528_daily_bin1749 326.621 -15.4757 692668801 692928001 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 :                                   475.54 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   532 sec.
    Turnaround time :                            534 sec.

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

