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


Performing analysis on: 4FGL_J2159.8-4751_daily_bin1747
RA = 329.962, Dec = -47.8518
tmin = 692150401, tmax = 692409601
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='814826', job_status='RUN', time_executed='2022-12-11 01:47:25.853054', time_epoch_executed='1670752045.85' WHERE source_name='4FGL J2159.8-4751' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/814826

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/814826/ft1_4FGL_J2159.8-4751_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/814826/ft1_4FGL_J2159.8-4751_daily_bin1747.fits outfile=/scratch/kocevski/814826/ft1_filteredMKT_4FGL_J2159.8-4751_daily_bin1747.fits ra=329.962 dec=-47.8518 rad=12.0 tmin=692150401.0 tmax=692409601.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.97
user 3.75
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.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/814826/ft1_filteredMKT_4FGL_J2159.8-4751_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/814826/ft1_filtered_4FGL_J2159.8-4751_daily_bin1747.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: 464

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/814826/ft1_filtered_4FGL_J2159.8-4751_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/814826/ltcube_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.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/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.fits
.....................!
real 11.88
user 11.54
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/814826/ft1_filtered_4FGL_J2159.8-4751_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/814826/ltcube_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.fits outfile=/scratch/kocevski/814826/expmap_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.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/814826/ltcube_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.fits
.....................!
real 189.54
user 184.86
sys 4.37

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

Setting source of interest to:
4FGL J2159.8-4751 @ 329.962 -47.8518

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/814826/ft1_filtered_4FGL_J2159.8-4751_daily_bin1747.fits scfile=/scratch/kocevski/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.fits outfile=/scratch/kocevski/814826/cmap_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.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=329.962 yref=-47.8518 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/814826/ft1_filtered_4FGL_J2159.8-4751_daily_bin1747.fits scfile=/scratch/kocevski/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.fits outfile=/scratch/kocevski/814826/cmap_HighResolution_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.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=329.962 yref=-47.8518 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/814826/ft1_filtered_4FGL_J2159.8-4751_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/814826/Model_4FGL_J2159.8-4751_daily_bin1747.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/814826/ft1_filtered_4FGL_J2159.8-4751_daily_bin1747.fits.....................!
real 41.70
user 40.43
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/814826/ft1_filtered_4FGL_J2159.8-4751_daily_bin1747.fits', '/scratch/kocevski/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.fits', expMap='/scratch/kocevski/814826/expmap_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.fits', expCube='/scratch/kocevski/814826/ltcube_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/814826/Model_4FGL_J2159.8-4751_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2159.8-4751'

4FGL J2159.8-4751
   Spectrum: PowerLaw
311    Prefactor:  6.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
312        Index:  2.524e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  7.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/814826/ft1_filtered_4FGL_J2159.8-4751_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/814826/ft2_4FGL_J2159.8-4751_daily_bin1747.fits
Exposure map: /scratch/kocevski/814826/expmap_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.fits
Exposure cube: /scratch/kocevski/814826/ltcube_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/814826/Model_4FGL_J2159.8-4751_daily_bin1747.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) = 5148.11857015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.159       1.0000          .0000       .10000E+07
     2 'norm      '    .13289E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2438       1.0000          .0000       .10000E+07
     4 'Prefactor '    .71460E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11725E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87658E-05   1.0000          .0000       .10000E+07
     7 'norm      '    6.6292       1.0000          .0000       .10000E+07
     8 'Prefactor '    .47647E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .63642E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    60.545       1.0000          .0000       .10000E+07
    11 'Prefactor '    .51281E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.0759       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10148       1.0000          .0000       .10000E+07
    14 'norm      '    .22356E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.2579       1.0000          .0000       .10000E+07
    16 'Prefactor '    40.001       1.0000          .0000       .10000E+07
    17 'Prefactor '    .35227E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .99546E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .72452E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .10337E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    28.411       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4341       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84197       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5148.090     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1890 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.168        2.6297       -.41373E-07    .13844E-01
   2  norm           .0000        1.8762        .18343E-06** at limit **
   3  Prefactor     3.2915        10.275        .12038E-05    .51580E-02
   4  Prefactor     .33307E-09    9.8079        .90980E-06** at limit **
   5  Prefactor     .10270E-06    16.432       -.20329E-05** at limit **
   6  Prefactor      .0000        2.6507       -.11009E-05** at limit **
   7  norm          6.6521        4.7167        .48007E-06    .46737E-03
   8  Prefactor     .37403E-05    41.284        .32120E-05** at limit **
   9  Prefactor     .55511E-10    5.0764        .11117E-05** at limit **
  10  Prefactor     59.509        55.013       -.46073E-06    .47378E-01
  11  Prefactor     .15216E-05    17.514       -.66585E-07** at limit **
  12  Prefactor     3.0749        3.1990        .29886E-06   -.15185E-03
  13  Prefactor      .0000        40.814        .14820E-06** at limit **
  14  norm           .0000        2.1077        .95507E-06** at limit **
  15  Prefactor     3.1711        5.0017       -.42947E-07    .31919E-03
  16  Prefactor     40.025        1.1599       -.21002E-07    .51446E-02
  17  Prefactor     .55511E-10    5.3446        .10419E-05** at limit **
  18  Prefactor     .29021E-06    17.375       -.24737E-05** at limit **
  19  Prefactor     .67257E-06    11.108       -.11893E-05** at limit **
  20  Prefactor      .0000        4.5273        .54860E-06** at limit **
  21  Prefactor     29.390        17.645       -.84504E-06    .14488    
  22  Normalizat    1.4358        .26077        .90439E-05   -.16630E-04
  23  Prefactor     .84116        .18569       -.10367E-04   -.14584E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1679
  norm       = 0
  Prefactor  = 3.2915
  Prefactor  = 3.33067e-10
  Prefactor  = 1.02696e-07
  Prefactor  = 0
  norm       = 6.65208
  Prefactor  = 3.74029e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 59.5093
  Prefactor  = 1.52156e-06
  Prefactor  = 3.07487
  Prefactor  = 0
  norm       = 0
  Prefactor  = 3.17109
  Prefactor  = 40.0251
  Prefactor  = 5.55112e-11
  Prefactor  = 2.90212e-07
  Prefactor  = 6.72573e-07
  Prefactor  = 0
  Prefactor  = 29.3897
  Normalizat = 1.43577
  Prefactor  = 0.841158
 **********
 **   18 **HESSE 
 **********

 FCN=   5148.090     FROM HESSE     STATUS=OK           408 CALLS     2298 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.168        26.887        .27587E-03   -1.5635    
   2  norm           .0000        1.8363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2915        10.307        .56212E-03   -1.5672    
   4  Prefactor     .33307E-09    9.8081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10270E-06    25.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.6457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.6521        4.7157        .38951E-03   -1.5656    
   8  Prefactor     .37403E-05    43.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    5.0764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     59.509        57.894        .12853E-03   -1.5554    
  11  Prefactor     .15216E-05    20.686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.0749        3.2051        .57809E-03   -1.5673    
  13  Prefactor      .0000        40.848        .13890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        2.1082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.1711        5.0154        .56084E-03   -1.5672    
  16  Prefactor     40.025        39.438        .15813E-03   -1.5581    
  17  Prefactor     .55511E-10    5.3308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .29021E-06    17.856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .67257E-06    23.377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        4.5272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     29.390        37.085        .18764E-03   -1.5600    
  22  Normalizat    1.4358        .22367        .57456E-01   -.79600    
  23  Prefactor     .84116        .15953        .44261E-01   -.98229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35051e-06
Minuit parameter uncertainties:
  1  26.8871
  2  5.61404e-06
  3  10.3075
  4  0.000112099
  5  0.00323356
  6  1.30338e-06
  7  4.71572
  8  0.0256402
  9  3.57555e-05
  10  57.8947
  11  0.0112205
  12  3.20512
  13  8.56977e-06
  14  8.44781e-06
  15  5.01541
  16  39.4382
  17  3.84207e-05
  18  0.00455278
  19  0.00793044
  20  4.95148e-06
  21  37.0853
  22  0.223819
  23  0.15962
Done.

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

Extracting fit parameters...

4FGL J2159.8-4751
   Spectrum: PowerLaw
311    Prefactor:  5.951e+01  5.789e+01  0.000e+00  1.000e+06 ( 1.000e-13)
312        Index:  2.524e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  7.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  8.412e-01  1.596e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.436e+00  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.36
Ra Dec: 329.962 -47.852
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 6.21e-08 +/- 6.04e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 1.71e-05

TS (Fixed Index): 1.36
Ra Dec: 329.962 -47.852
Photon Flux Upper Limit: 1.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.44e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/814826/likelihoodResults_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.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) = 5145.4140217
delta logL = 2.67560267381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5145.39443966
delta logL = 2.69518472054

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7879       1.0000          .0000       .10000E+07
     2 'Index     '    4.6405       1.0000          .0000       10.000    
     3 'Normalizat'    1.2653       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92136       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+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=   5145.394     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      291 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7894        65.768        .79254E-05    .17762E-01
   2  Index         4.6405        3.3062        .33312E-02    .37900E-03
   3  Normalizat    1.2653        .25663        .26696E-03    .49155E-03
   4  Prefactor     .92130        .18525        .22681E-03    .47330E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.7894
  Index      = 4.64051
  Normalizat = 1.26532
  Prefactor  = 0.921299
 **********
 **   18 **HESSE 
 **********

 FCN=   5145.394     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7894        13.377        .31701E-06   -1.5656    
   2  Index         4.6405        1.1332        .13325E-03   -.71959E-01
   3  Normalizat    1.2653        .26534        .53391E-04   -.84607    
   4  Prefactor     .92130        .19024        .45363E-04   -.95401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19214e-10
Minuit parameter uncertainties:
  1  13.3771
  2  1.14314
  3  0.265627
  4  0.190376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/814826': 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) = 5145.3944395
delta logL = 2.69518487211

Extracting fit parameters...

4FGL J2159.8-4751
   Spectrum: PowerLaw
311    Prefactor:  6.789e+00  1.338e+01  0.000e+00  1.000e+06 ( 1.000e-13)
312        Index:  4.641e+00  1.143e+00  0.000e+00  1.000e+01 (-1.000e+00)
313        Scale:  7.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  9.213e-01  1.904e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.265e+00  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.35
Ra Dec: 329.962 -47.852
Photon Index (Free Index): 4.64 +/- 1.14
Photon Flux (Free Index): 2.09e-07 +/- 9.79e-08
Energy Flux (Free Index): 2.88e-05 +/- 1.34e-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/814826/cmap_HighResolution_692150401_692409601_4FGL_J2159.8-4751_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-02', comment='SUCCESS', photon_flux='6.21e-08', energy_flux2='2.88e-05', photon_flux_error='6.04e-08', dlogl='2.70e+00', energy_flux='1.76e-05', photon_flux2='2.09e-07', job_status='DONE', time_completed='2022-12-11 01:56:20.218333', photon_index_error2='1.14', photon_index2='4.64', ts='1.36', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.85e-07', energy_flux_error2='1.34e-05', EG='1.44', time_epoch_completed='1670752580.22', return_code='0', job_id='814826', GAL2='0.92', EG2='1.27', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='9.79e-08', ts2='7.35', photon_index='2.52' WHERE bin_id='1747' AND source_name='4FGL J2159.8-4751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:56:20 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 814826: <4FGL_J2159.8-4751_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2159.8-4751_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:45:11 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:45:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:45:13 2022
Terminated at Sun Dec 11 01:56:20 2022
Results reported at Sun Dec 11 01:56:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2159.8-4751_daily_bin1747 329.962 -47.8518 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2159.8-4751 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   537.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             239.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            669 sec.

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

