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 89 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.4-1528_daily_bin1774
RA = 326.621, Dec = -15.4757
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='696653', job_status='RUN', time_executed='2023-03-02 01:37:04.316920', time_epoch_executed='1677749824.32' WHERE source_name='4FGL J2146.4-1528' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696653

Creating custom pfile directory:
/scratch/kocevski/696653/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/696653/ft1_4FGL_J2146.4-1528_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/696653/ft2_4FGL_J2146.4-1528_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696653/ft1_4FGL_J2146.4-1528_daily_bin1774.fits outfile=/scratch/kocevski/696653/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1774.fits ra=326.621 dec=-15.4757 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.80
user 2.59
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/696653/ft2_4FGL_J2146.4-1528_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/696653/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/696653/ft1_filtered_4FGL_J2146.4-1528_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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 55

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/696653/ft1_filtered_4FGL_J2146.4-1528_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/696653/ft2_4FGL_J2146.4-1528_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/696653/ltcube_699148801_699408001_4FGL_J2146.4-1528_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/696653/ft2_4FGL_J2146.4-1528_daily_bin1774.fits
.....................!
real 12.09
user 11.76
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696653/ft1_filtered_4FGL_J2146.4-1528_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/696653/ft2_4FGL_J2146.4-1528_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/696653/ltcube_699148801_699408001_4FGL_J2146.4-1528_daily_bin1774.fits outfile=/scratch/kocevski/696653/expmap_699148801_699408001_4FGL_J2146.4-1528_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/696653/ltcube_699148801_699408001_4FGL_J2146.4-1528_daily_bin1774.fits
.....................!
real 190.14
user 185.73
sys 4.02

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/696653/ft1_filtered_4FGL_J2146.4-1528_daily_bin1774.fits scfile=/scratch/kocevski/696653/ft2_4FGL_J2146.4-1528_daily_bin1774.fits outfile=/scratch/kocevski/696653/cmap_699148801_699408001_4FGL_J2146.4-1528_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.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696653/ft1_filtered_4FGL_J2146.4-1528_daily_bin1774.fits scfile=/scratch/kocevski/696653/ft2_4FGL_J2146.4-1528_daily_bin1774.fits outfile=/scratch/kocevski/696653/cmap_HighResolution_699148801_699408001_4FGL_J2146.4-1528_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.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/696653/ft1_filtered_4FGL_J2146.4-1528_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/696653/ft2_4FGL_J2146.4-1528_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696653/Model_4FGL_J2146.4-1528_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/696653/ft1_filtered_4FGL_J2146.4-1528_daily_bin1774.fits............................!
real 19.33
user 18.07
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92854E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .72854E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    23.245       1.0000          .0000       .10000E+07
     4 'Prefactor '    .86968E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    256.30       1.0000          .0000       .10000E+07
     6 'Prefactor '    .66814       1.0000          .0000       .10000E+07
     7 'norm      '    .17600E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .26860E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8982       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1486       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.7521       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.0389       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.4716       1.0000          .0000       .10000E+07
    14 'Normalizat'    .10037E-01   1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1587       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.

 FCN=   672.8360     FROM MIGRAD    STATUS=CONVERGED    716 CALLS     1620 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        18.644        .42118E-03** at limit **
   2  Prefactor      .0000        36.378        .14725E-02** at limit **
   3  Prefactor     29.676        22.780        .20746E-03    .85780E-03
   4  Prefactor      .0000        14.606        .42118E-03** at limit **
   5  Prefactor      .0000        107.22        .62471E-04** at limit **
   6  Prefactor      .0000        77.817        .63333E-03** at limit **
   7  norm           .0000        25.777        .42118E-03** at limit **
   8  Prefactor      .0000        23.501        .42118E-03** at limit **
   9  Prefactor     .55511E-10    259.56        .75468E-03** at limit **
  10  Prefactor     .32871E+06    .14537E+06    .57100E-03    .57092E-05
  11  Prefactor     .11102E-09    523.23        .79171E-03** at limit **
  12  Prefactor     .10000E+07    99827.        .40834E-02** at limit **
  13  Prefactor     .10000E+07    .80481E+06    .39428E-02** at limit **
  14  Normalizat    .10000E-01    .17747        .15500    ** at limit **
  15  Prefactor     .80148        .17077        .35688E-01    .14048E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 29.6762
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 328708
  Prefactor  = 1.11022e-10
  Prefactor  = 1e+06
  Prefactor  = 1e+06
  Normalizat = 0.01
  Prefactor  = 0.801477
 **********
 **   18 **HESSE 
 **********

 FCN=   672.8360     FROM HESSE     STATUS=OK           168 CALLS     1788 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        18.646        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        36.573        .15271E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     29.676        22.883        .82985E-05   -1.5599    
   4  Prefactor      .0000        14.606        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        107.22        .12494E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        77.817        .12667E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        25.777        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        23.502        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    259.56        .15094E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .32871E+06    .14543E+06    .22840E-04   -.34967    
  11  Prefactor     .11102E-09    523.23        .15834E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E+07    99826.        .81669E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E+07    .80481E+06    .78856E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .10000E-01    .18211        .65692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .80148        .16716        .14741E-03   -.99674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.23155e-11
Minuit parameter uncertainties:
  1  2.85484e-05
  2  3.06085e-06
  3  22.8827
  4  6.30014e-06
  5  3.24139e-05
  6  3.71197e-05
  7  4.89966e-06
  8  1.80842e-06
  9  0.000177161
  10  147857
  11  0.000524189
  12  0.764399
  13  0.624116
  14  1.09102e-06
  15  0.167265
Done.

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

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  0.000e+00  3.712e-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.015e-01  1.673e-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.000e-02  1.091e-06  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.47e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/696653/likelihoodResults_699148801_699408001_4FGL_J2146.4-1528_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): 0
logL (Free Index) = 672.84211519
delta logL = -0.00612521376468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 672.835990002
delta logL = -2.59155967797e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38969E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .75457       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80150       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=   672.8360     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      239 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        42.832        .42118E-03** at limit **
   2  Index         3.8109        2.0300        .25946E-03     .0000    
   3  Normalizat    .10000E-01    .25505        .86908E-05** at limit **
   4  Prefactor     .80148        1.1500        .59222E-05   -.17211E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.81095
  Normalizat = 0.01
  Prefactor  = 0.801476
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   672.8360     FROM HESSE     STATUS=FAILED         9 CALLS      248 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        42.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5914        2.3284        .25946E-03   -.24011    
   3  Normalizat    .10000E-01    .25505        .86908E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .80148        1.1500        .59222E-05   -.99674    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.26609e-12
Minuit parameter uncertainties:
  1  4.32391e-05
  2  2.0943
  3  7.05338e-07
  4  1.18755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696653': 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) = 672.835989976
delta logL = 3.34239302902e-11

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  0.000e+00  4.324e-05  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  3.811e+00  2.094e+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.015e-01  1.188e+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.000e-02  7.053e-07  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/696653/cmap_HighResolution_699148801_699408001_4FGL_J2146.4-1528_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-01', job_status='DONE', photon_flux_upper_limit='1.47e-06', time_completed='2023-03-02 01:42:34.164930', job_id='696653', GAL2='0.80', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677750154.16', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='3.34e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.80' WHERE bin_id='1774' AND source_name='4FGL J2146.4-1528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:42:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 696653: <4FGL_J2146.4-1528_daily_bin1774> in cluster <slac> Done

Job <4FGL_J2146.4-1528_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) <bullet0196>, 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:42:34 2023
Results reported at Thu Mar  2 01:42:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.4-1528_daily_bin1774 326.621 -15.4757 699148801 699408001 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 :                                   332.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             457.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   433 sec.
    Turnaround time :                            434 sec.

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

