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


Performing analysis on: 4FGL_J2159.8-4751_daily_bin1709
RA = 329.962, Dec = -47.8518
tmin = 682300801, tmax = 682560001
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='238628', job_status='RUN', time_executed='2022-09-16 23:39:04.870886', time_epoch_executed='1663396744.87' WHERE source_name='4FGL J2159.8-4751' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/238628

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/238628/ft1_4FGL_J2159.8-4751_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/238628/ft2_4FGL_J2159.8-4751_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/238628/ft1_4FGL_J2159.8-4751_daily_bin1709.fits outfile=/scratch/kocevski/238628/ft1_filteredMKT_4FGL_J2159.8-4751_daily_bin1709.fits ra=329.962 dec=-47.8518 rad=12.0 tmin=682300801.0 tmax=682560001.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.80
user 3.58
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/238628/ft2_4FGL_J2159.8-4751_daily_bin1709.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/238628/ft1_filteredMKT_4FGL_J2159.8-4751_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/238628/ft1_filtered_4FGL_J2159.8-4751_daily_bin1709.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 554

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/238628/ft1_filtered_4FGL_J2159.8-4751_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/238628/ft2_4FGL_J2159.8-4751_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/238628/ltcube_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.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/238628/ft2_4FGL_J2159.8-4751_daily_bin1709.fits
.....................!
real 13.22
user 12.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/238628/ft1_filtered_4FGL_J2159.8-4751_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/238628/ft2_4FGL_J2159.8-4751_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/238628/ltcube_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.fits outfile=/scratch/kocevski/238628/expmap_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.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/238628/ltcube_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.fits
.....................!
real 192.01
user 186.39
sys 5.26

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/238628/ft1_filtered_4FGL_J2159.8-4751_daily_bin1709.fits scfile=/scratch/kocevski/238628/ft2_4FGL_J2159.8-4751_daily_bin1709.fits outfile=/scratch/kocevski/238628/cmap_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/238628/ft1_filtered_4FGL_J2159.8-4751_daily_bin1709.fits scfile=/scratch/kocevski/238628/ft2_4FGL_J2159.8-4751_daily_bin1709.fits outfile=/scratch/kocevski/238628/cmap_HighResolution_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/238628/ft1_filtered_4FGL_J2159.8-4751_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/238628/ft2_4FGL_J2159.8-4751_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/238628/Model_4FGL_J2159.8-4751_daily_bin1709.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/238628/ft1_filtered_4FGL_J2159.8-4751_daily_bin1709.fits.....................!
real 47.43
user 46.07
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/238628/ft1_filtered_4FGL_J2159.8-4751_daily_bin1709.fits', '/scratch/kocevski/238628/ft2_4FGL_J2159.8-4751_daily_bin1709.fits', expMap='/scratch/kocevski/238628/expmap_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.fits', expCube='/scratch/kocevski/238628/ltcube_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/238628/Model_4FGL_J2159.8-4751_daily_bin1709.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/238628/ft1_filtered_4FGL_J2159.8-4751_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/238628/ft2_4FGL_J2159.8-4751_daily_bin1709.fits
Exposure map: /scratch/kocevski/238628/expmap_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.fits
Exposure cube: /scratch/kocevski/238628/ltcube_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/238628/Model_4FGL_J2159.8-4751_daily_bin1709.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) = 6007.68468775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14300E-01   1.0000          .0000       .10000E+07
     2 'norm      '    3.7919       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.0205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .30325E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    18.682       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.3985       1.0000          .0000       .10000E+07
     7 'norm      '    .36343E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .75662E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.656       1.0000          .0000       .10000E+07
    10 'Prefactor '    .44999E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.6520       1.0000          .0000       .10000E+07
    12 'Prefactor '    15.878       1.0000          .0000       .10000E+07
    13 'Prefactor '    .42488       1.0000          .0000       .10000E+07
    14 'norm      '    .90162E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .52321E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .75165E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.6586       1.0000          .0000       .10000E+07
    18 'Prefactor '    17.536       1.0000          .0000       .10000E+07
    19 'Prefactor '    .36790E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    6.1047       1.0000          .0000       .10000E+07
    21 'Prefactor '    33.690       1.0000          .0000       .10000E+07
    22 'Normalizat'    .90742       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1657       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=   6007.580     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1478 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51242E-06    53.019        .67485E-06** at limit **
   2  norm          3.7929        2.1284       -.63564E-07    .50349E-05
   3  Prefactor     6.0875        7.4256       -.24643E-07   -.10120E-02
   4  Prefactor     .15321E-07    9.8290        .40585E-06** at limit **
   5  Prefactor     18.607        3.6240        .34434E-06   -.54576E-01
   6  Prefactor     1.4016        3.1851       -.26231E-06    .35308E-04
   7  norm          .60030E-05    5.4725       -.74084E-06** at limit **
   8  Prefactor     .23870E-08    4.3513       -.28507E-06** at limit **
   9  Prefactor     26.682        11.821        .15107E-06    .17763E-01
  10  Prefactor     .22993E-06    19.599       -.14322E-06** at limit **
  11  Prefactor     9.7897        4.0407        .73097E-06    .76228E-02
  12  Prefactor     15.785        5.9363       -.17330E-06   -.66784E-03
  13  Prefactor     .29743E-06    32.635        .36538E-06** at limit **
  14  norm           .0000        3.0403        .34264E-06** at limit **
  15  Prefactor     .19429E-08    3.7207        .23576E-06** at limit **
  16  Prefactor     .13101E-06    25.997        .63544E-06** at limit **
  17  Prefactor     3.5973        7.7652       -.34209E-06   -.17557E-02
  18  Prefactor     17.773        6.0044       -.57291E-06    .85613E-01
  19  Prefactor     .13257E-05    39.230        .79549E-05** at limit **
  20  Prefactor     6.0194        6.2791        .87346E-07   -.49313E-03
  21  Prefactor     35.601        17.003        .12443E-07   -.40476E-01
  22  Normalizat    .90686        .24175       -.60074E-05   -.10798E-04
  23  Prefactor     1.1658        .17821        .17347E-05   -.83652E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.12423e-07
  norm       = 3.79288
  Prefactor  = 6.0875
  Prefactor  = 1.53211e-08
  Prefactor  = 18.6075
  Prefactor  = 1.4016
  norm       = 6.00303e-06
  Prefactor  = 2.38698e-09
  Prefactor  = 26.6818
  Prefactor  = 2.29927e-07
  Prefactor  = 9.78972
  Prefactor  = 15.7848
  Prefactor  = 2.97429e-07
  norm       = 0
  Prefactor  = 1.94289e-09
  Prefactor  = 1.31006e-07
  Prefactor  = 3.59732
  Prefactor  = 17.7729
  Prefactor  = 1.32566e-06
  Prefactor  = 6.01938
  Prefactor  = 35.6015
  Normalizat = 0.906856
  Prefactor  = 1.16584
 **********
 **   18 **HESSE 
 **********

 FCN=   6007.580     FROM HESSE     STATUS=OK           426 CALLS     1904 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51242E-06    73.677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7929        2.1414        .51814E-03   -1.5669    
   3  Prefactor     6.0875        7.4520        .40898E-03   -1.5659    
   4  Prefactor     .15321E-07    9.9511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.607        30.268        .23144E-03   -1.5622    
   6  Prefactor     1.4016        3.2365        .91746E-03   -1.5684    
   7  norm          .60030E-05    3.6634        .52734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23870E-08    4.3677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.682        11.886        .19373E-03   -1.5605    
  10  Prefactor     .22993E-06    22.865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.7897        9.7729        .32231E-03   -1.5645    
  12  Prefactor     15.785        6.0206        .25108E-03   -1.5629    
  13  Prefactor     .29743E-06    293.01        .86658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        3.0488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .19429E-08    3.7381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .13101E-06    27.077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.5973        7.7771        .52786E-03   -1.5670    
  18  Prefactor     17.773        19.641        .23890E-03   -1.5624    
  19  Prefactor     .13257E-05    47.224        .16112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.0194        6.2873        .40611E-03   -1.5659    
  21  Prefactor     35.601        41.203        .17231E-03   -1.5589    
  22  Normalizat    .90686        .21572        .69564E-01   -.96220    
  23  Prefactor     1.1658        .15713        .35496E-01   -.87389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69527e-07
Minuit parameter uncertainties:
  1  0.0122893
  2  2.14143
  3  7.45203
  4  0.000780892
  5  30.2682
  6  3.23645
  7  0.00937898
  8  0.000203424
  9  11.886
  10  0.00458557
  11  9.77288
  12  6.02062
  13  0.0186718
  14  1.62682e-05
  15  0.000171112
  16  0.00376696
  17  7.77713
  18  19.6408
  19  0.0158243
  20  6.28726
  21  41.2029
  22  0.215925
  23  0.157195
Done.

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

Extracting fit parameters...

4FGL J2159.8-4751
   Spectrum: PowerLaw
311    Prefactor:  2.299e-07  4.586e-03  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:  1.166e+00  1.572e-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:  9.069e-01  2.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 329.962 -47.852
Photon Flux Upper Limit: 8.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/238628/likelihoodResults_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.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) = 6007.60119903
delta logL = -0.0209698030167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6007.58022923
delta logL = -9.88620740827e-10

Fit tolerance = 1e-08

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

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

 FCN=   6007.580     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      214 TOTAL
                     EDM=   .16E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        18.383        .42118E-03** at limit **
   2  Index         2.8162        1.3370       -.36010E-04     .0000    
   3  Normalizat    .90686        1.2419        .61684E-06   -.25939E-05
   4  Prefactor     1.1658        1.1153        .16532E-05   -.97089E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.81616
  Normalizat = 0.906856
  Prefactor  = 1.16584
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6007.580     FROM HESSE     STATUS=FAILED         9 CALLS      223 TOTAL
                     EDM=   .16E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        18.383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .89830        2.0166       -.36010E-04   -.45200    
   3  Normalizat    .90686        1.2419        .61684E-06   -.96220    
   4  Prefactor     1.1658        1.1153        .16532E-05   -.87389    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.58823e-14
Minuit parameter uncertainties:
  1  1.26449e-06
  2  1.35756
  3  1.28478
  4  1.13907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/238628': 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) = 6007.58022922
delta logL = 5.0276867114e-09

Extracting fit parameters...

4FGL J2159.8-4751
   Spectrum: PowerLaw
311    Prefactor:  0.000e+00  1.264e-06  0.000e+00  1.000e+06 ( 1.000e-13)
312        Index:  2.816e+00  1.358e+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:  1.166e+00  1.139e+00  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:  9.069e-01  1.285e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 329.962 -47.852

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/238628/cmap_HighResolution_682300801_682560001_4FGL_J2159.8-4751_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.62e-08', time_completed='2022-09-16 23:48:40.286239', job_id='238628', GAL2='1.17', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1663397320.29', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='5.03e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1709' AND source_name='4FGL J2159.8-4751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:48:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 238628: <4FGL_J2159.8-4751_daily_bin1709> in cluster <slac> Done

Job <4FGL_J2159.8-4751_daily_bin1709> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 23:35:22 2022
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:36:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:36:15 2022
Terminated at Fri Sep 16 23:48:41 2022
Results reported at Fri Sep 16 23:48:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2159.8-4751_daily_bin1709 329.962 -47.8518 682300801 682560001 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 :                                   577.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            799 sec.

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

