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


Performing analysis on: 4FGL_J2146.4-1528_daily_bin1761
RA = 326.621, Dec = -15.4757
tmin = 695779201, tmax = 696038401
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='933625', job_status='RUN', time_executed='2023-01-22 01:38:06.324074', time_epoch_executed='1674380286.32' WHERE source_name='4FGL J2146.4-1528' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933625

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933625/ft1_4FGL_J2146.4-1528_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933625/ft2_4FGL_J2146.4-1528_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933625/ft1_4FGL_J2146.4-1528_daily_bin1761.fits outfile=/scratch/kocevski/933625/ft1_filteredMKT_4FGL_J2146.4-1528_daily_bin1761.fits ra=326.621 dec=-15.4757 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.06
user 4.80
sys 0.21

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

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

Number of photons that the gtmktime cut: 451

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933625/ft1_filtered_4FGL_J2146.4-1528_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/933625/ft2_4FGL_J2146.4-1528_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/933625/ltcube_695779201_696038401_4FGL_J2146.4-1528_daily_bin1761.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/933625/ft2_4FGL_J2146.4-1528_daily_bin1761.fits
.....................!
real 13.79
user 13.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933625/ft1_filtered_4FGL_J2146.4-1528_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/933625/ft2_4FGL_J2146.4-1528_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/933625/ltcube_695779201_696038401_4FGL_J2146.4-1528_daily_bin1761.fits outfile=/scratch/kocevski/933625/expmap_695779201_696038401_4FGL_J2146.4-1528_daily_bin1761.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/933625/ltcube_695779201_696038401_4FGL_J2146.4-1528_daily_bin1761.fits
.....................!
real 191.33
user 185.51
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/933625/ft1_filtered_4FGL_J2146.4-1528_daily_bin1761.fits scfile=/scratch/kocevski/933625/ft2_4FGL_J2146.4-1528_daily_bin1761.fits outfile=/scratch/kocevski/933625/cmap_695779201_696038401_4FGL_J2146.4-1528_daily_bin1761.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/933625/ft1_filtered_4FGL_J2146.4-1528_daily_bin1761.fits scfile=/scratch/kocevski/933625/ft2_4FGL_J2146.4-1528_daily_bin1761.fits outfile=/scratch/kocevski/933625/cmap_HighResolution_695779201_696038401_4FGL_J2146.4-1528_daily_bin1761.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.58
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/933625/ft1_filtered_4FGL_J2146.4-1528_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/933625/ft2_4FGL_J2146.4-1528_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/933625/Model_4FGL_J2146.4-1528_daily_bin1761.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/933625/ft1_filtered_4FGL_J2146.4-1528_daily_bin1761.fits.....................!
real 51.30
user 49.94
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .77860E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    19.653       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.7666       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19427E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36417E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26902E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .16095E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .39617E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    38.885       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10826E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .21781E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .25627E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .81168E-06   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.3773       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .87900       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=   5160.985     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1002 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.006       -.95705E-06** at limit **
   2  Prefactor     19.861        2.6268       -.64584E-06   -.66345E-02
   3  Prefactor     2.7699        3.3318       -.24562E-06   -.26534E-02
   4  Prefactor     .10547E-08    10.914       -.34112E-06** at limit **
   5  Prefactor     .18974E-06    40.333       -.71590E-05** at limit **
   6  Prefactor     .10714E-07    18.764       -.63937E-05** at limit **
   7  norm          .16653E-09    2.7313        .15932E-06** at limit **
   8  Prefactor     .57176E-08    18.132        .72646E-05** at limit **
   9  Prefactor     39.642        8.2537       -.18805E-06   -.30192E-01
  10  Prefactor     .94369E-09    5.3682        .24938E-06** at limit **
  11  Prefactor     .16653E-09    4.7457        .27003E-06** at limit **
  12  Prefactor     .46130E-07    23.970        .52003E-05** at limit **
  13  Prefactor     .49433E-06    14.531        .25748E-05** at limit **
  14  Normalizat    1.3763        .29741       -.64000E-05    .31039E-04
  15  Prefactor     .87887        .18046        .22320E-05    .11773E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 19.8606
  Prefactor  = 2.76989
  Prefactor  = 1.05471e-09
  Prefactor  = 1.89737e-07
  Prefactor  = 1.07137e-08
  norm       = 1.66533e-10
  Prefactor  = 5.71765e-09
  Prefactor  = 39.6418
  Prefactor  = 9.4369e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 4.61298e-08
  Prefactor  = 4.94327e-07
  Normalizat = 1.37626
  Prefactor  = 0.878868
 **********
 **   18 **HESSE 
 **********

 FCN=   5160.985     FROM HESSE     STATUS=OK           210 CALLS     1212 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.861        19.403        .22565E-03   -1.5619    
   3  Prefactor     2.7699        3.3375        .61164E-03   -1.5675    
   4  Prefactor     .10547E-08    4.8469        .56783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18974E-06    44.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10714E-07    19.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .16653E-09    2.7331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .57176E-08    18.380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.642        26.717        .16038E-03   -1.5582    
  10  Prefactor     .94369E-09    5.3704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    4.7394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .46130E-07    36.462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .49433E-06    38.715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.3763        .24741        .64768E-01   -.81318    
  15  Prefactor     .87887        .14985        .44737E-01   -.96883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70092e-08
Minuit parameter uncertainties:
  1  1.43315e-06
  2  19.4029
  3  3.33747
  4  0.000142042
  5  0.00583215
  6  0.000902875
  7  4.14097e-05
  8  0.000648402
  9  26.7173
  10  0.000142986
  11  5.40077e-05
  12  0.00259311
  13  0.00874927
  14  0.247626
  15  0.149917
Done.

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

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  1.071e-08  9.029e-04  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.789e-01  1.499e-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.376e+00  2.476e-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.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/933625/likelihoodResults_695779201_696038401_4FGL_J2146.4-1528_daily_bin1761.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) = 5160.9849772
delta logL = -0.000113862786748

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5160.82828953
delta logL = 0.156573812773

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24469E-02   1.0000          .0000       .10000E+07
     2 'Index     '    9.9994       1.0000          .0000       10.000    
     3 'Normalizat'    1.3203       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90239       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=   5160.828     FROM MIGRAD    STATUS=CONVERGED    160 CALLS      489 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24409E-02    .43388E-02    .14047E-03** at limit **
   2  Index        10.0000        7.5010        .50000    ** at limit **
   3  Normalizat    1.3204        .25464        .65902E-01    .91932E-04
   4  Prefactor     .90231        .15106        .45036E-01    .10135E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0024409
  Index      = 10
  Normalizat = 1.32045
  Prefactor  = 0.902313
 **********
 **   18 **HESSE 
 **********

 FCN=   5160.828     FROM HESSE     STATUS=OK            35 CALLS      524 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24409E-02    .49735E-02    .61256E-06   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        7.8794        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3204        .32045        .29153E-03   -.82958    
   4  Prefactor     .90231        .18840        .20839E-03   -.96060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.20669e-11
Minuit parameter uncertainties:
  1  0.00497354
  2  0.000227053
  3  0.320938
  4  0.188539
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933625': 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) = 5160.82828646
delta logL = 0.156576878618

Extracting fit parameters...

4FGL J2146.4-1528
   Spectrum: PowerLaw
286    Prefactor:  2.441e-03  4.974e-03  0.000e+00  1.000e+06 ( 1.000e-12)
287        Index:  1.000e+01  2.271e-04  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.023e-01  1.885e-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.320e+00  3.209e-01  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/933625/cmap_HighResolution_695779201_696038401_4FGL_J2146.4-1528_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', job_status='DONE', photon_flux_upper_limit='1.47e-07', time_completed='2023-01-22 01:45:55.199593', job_id='933625', GAL2='0.90', fit_tolerance='1e-08', EG2='1.32', EG='1.38', time_epoch_completed='1674380755.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.57e-01', ts2='0.35', photon_index_error='0.00', photon_index='2.80' WHERE bin_id='1761' AND source_name='4FGL J2146.4-1528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:45:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 933625: <4FGL_J2146.4-1528_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2146.4-1528_daily_bin1761> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan 22 01:35:30 2023
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:36:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:36:39 2023
Terminated at Sun Jan 22 01:45:56 2023
Results reported at Sun Jan 22 01:45:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.4-1528_daily_bin1761 326.621 -15.4757 695779201 696038401 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 :                                   471.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            626 sec.

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

