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


Performing analysis on: 4FGL_J2159.8-4751_daily_bin1708
RA = 329.962, Dec = -47.8518
tmin = 682041601, tmax = 682300801
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='238627', job_status='RUN', time_executed='2022-09-16 23:39:42.486341', time_epoch_executed='1663396782.49' WHERE source_name='4FGL J2159.8-4751' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/238627

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/238627/ft1_4FGL_J2159.8-4751_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/238627/ft2_4FGL_J2159.8-4751_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/238627/ft1_4FGL_J2159.8-4751_daily_bin1708.fits outfile=/scratch/kocevski/238627/ft1_filteredMKT_4FGL_J2159.8-4751_daily_bin1708.fits ra=329.962 dec=-47.8518 rad=12.0 tmin=682041601.0 tmax=682300801.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.98
user 3.75
sys 0.22

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

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

Number of photons that the gtmktime cut: 566

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/238627/ft1_filtered_4FGL_J2159.8-4751_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/238627/ft2_4FGL_J2159.8-4751_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/238627/ltcube_682041601_682300801_4FGL_J2159.8-4751_daily_bin1708.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/238627/ft2_4FGL_J2159.8-4751_daily_bin1708.fits
.....................!
real 12.57
user 12.21
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/238627/ft1_filtered_4FGL_J2159.8-4751_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/238627/ft2_4FGL_J2159.8-4751_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/238627/ltcube_682041601_682300801_4FGL_J2159.8-4751_daily_bin1708.fits outfile=/scratch/kocevski/238627/expmap_682041601_682300801_4FGL_J2159.8-4751_daily_bin1708.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/238627/ltcube_682041601_682300801_4FGL_J2159.8-4751_daily_bin1708.fits
.....................!
real 191.39
user 185.84
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 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/238627/ft1_filtered_4FGL_J2159.8-4751_daily_bin1708.fits scfile=/scratch/kocevski/238627/ft2_4FGL_J2159.8-4751_daily_bin1708.fits outfile=/scratch/kocevski/238627/cmap_682041601_682300801_4FGL_J2159.8-4751_daily_bin1708.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/238627/ft1_filtered_4FGL_J2159.8-4751_daily_bin1708.fits scfile=/scratch/kocevski/238627/ft2_4FGL_J2159.8-4751_daily_bin1708.fits outfile=/scratch/kocevski/238627/cmap_HighResolution_682041601_682300801_4FGL_J2159.8-4751_daily_bin1708.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.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/238627/ft1_filtered_4FGL_J2159.8-4751_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/238627/ft2_4FGL_J2159.8-4751_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/238627/Model_4FGL_J2159.8-4751_daily_bin1708.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/238627/ft1_filtered_4FGL_J2159.8-4751_daily_bin1708.fits.....................!
real 48.02
user 46.70
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.580       1.0000          .0000       .10000E+07
     2 'norm      '    1.4332       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.5400       1.0000          .0000       .10000E+07
     4 'Prefactor '    32.202       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19908E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.8179       1.0000          .0000       .10000E+07
     7 'norm      '    .27650E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.7084       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.493       1.0000          .0000       .10000E+07
    10 'Prefactor '    19.143       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3084       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.4525       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15121E-04   1.0000          .0000       .10000E+07
    14 'norm      '    4.7268       1.0000          .0000       .10000E+07
    15 'Prefactor '    .69605E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    48.191       1.0000          .0000       .10000E+07
    17 'Prefactor '    .52564E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    17.079       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.4534       1.0000          .0000       .10000E+07
    20 'Prefactor '    .83756       1.0000          .0000       .10000E+07
    21 'Prefactor '    .66901E-01   1.0000          .0000       .10000E+07
    22 'Normalizat'    .91905       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99789       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=   6184.729     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1471 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.648        1.4854        .74879E-07   -.27260E-02
   2  norm          1.4342        1.1699       -.97238E-07    .76514E-03
   3  Prefactor     5.4828        9.1830        .52419E-06   -.12398E-03
   4  Prefactor     32.124        1.4122       -.11967E-07    .24908E-01
   5  Prefactor     .55511E-10    5.9035        .23955E-06** at limit **
   6  Prefactor     3.8132        2.7944        .47102E-06   -.19310E-02
   7  norm           .0000        2.1540        .27996E-06** at limit **
   8  Prefactor     2.5653        8.2186       -.18297E-05   -.11271E-02
   9  Prefactor     13.463        9.1278        .52584E-06    .27592E-02
  10  Prefactor     22.133        35.277       -.43411E-06    .10831E-01
  11  Prefactor     1.2799        4.1534        .85728E-06    .17580E-03
  12  Prefactor     7.4568        4.2840        .10226E-07    .10811E-02
  13  Prefactor     .66613E-09    25.948       -.14918E-05** at limit **
  14  norm          4.6815        6.7223       -.13765E-06    .44995E-03
  15  Prefactor      .0000        3.2338       -.59305E-07** at limit **
  16  Prefactor     46.129        38.193       -.13522E-05    .18045E-01
  17  Prefactor     .22204E-09    9.2359        .13472E-05** at limit **
  18  Prefactor     17.481        6.4651        .13807E-06    .37287E-01
  19  Prefactor     4.8730        10.964       -.46304E-06   -.20586E-01
  20  Prefactor     .86905        8.2147       -.21383E-05   -.47450E-02
  21  Prefactor      .0000        16.617       -.25118E-06** at limit **
  22  Normalizat    .91616        .21224        .15503E-04   -.83515E-04
  23  Prefactor     .99895        .15647       -.10389E-04   -.12930E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.6481
  norm       = 1.4342
  Prefactor  = 5.4828
  Prefactor  = 32.1242
  Prefactor  = 5.55112e-11
  Prefactor  = 3.81324
  norm       = 0
  Prefactor  = 2.56533
  Prefactor  = 13.4626
  Prefactor  = 22.1327
  Prefactor  = 1.2799
  Prefactor  = 7.45681
  Prefactor  = 6.66134e-10
  norm       = 4.68149
  Prefactor  = 0
  Prefactor  = 46.129
  Prefactor  = 2.22045e-10
  Prefactor  = 17.4805
  Prefactor  = 4.873
  Prefactor  = 0.869048
  Prefactor  = 0
  Normalizat = 0.916158
  Prefactor  = 0.998945
 **********
 **   18 **HESSE 
 **********

 FCN=   6184.729     FROM HESSE     STATUS=OK           420 CALLS     1891 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.648        13.474        .26205E-03   -1.5631    
   2  norm          1.4342        1.1811        .90171E-03   -1.5684    
   3  Prefactor     5.4828        9.4183        .42662E-03   -1.5661    
   4  Prefactor     32.124        24.601        .17625E-03   -1.5595    
   5  Prefactor     .55511E-10    5.9026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.8132        2.8011        .51631E-03   -1.5669    
   7  norm           .0000        2.1510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.5653        8.2995        .61866E-03   -1.5676    
   9  Prefactor     13.463        9.1826        .27242E-03   -1.5635    
  10  Prefactor     22.133        36.721        .22864E-03   -1.5614    
  11  Prefactor     1.2799        4.2372        .96400E-03   -1.5685    
  12  Prefactor     7.4568        4.2933        .36714E-03   -1.5653    
  13  Prefactor     .66613E-09    25.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.6815        6.7470        .46258E-03   -1.5665    
  15  Prefactor      .0000        3.2243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     46.129        39.010        .14406E-03   -1.5572    
  17  Prefactor     .22204E-09    9.1903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.481        25.152        .24208E-03   -1.5624    
  19  Prefactor     4.8730        45.724        .47692E-03   -1.5664    
  20  Prefactor     .86905        8.4304        .50176E-03   -1.5689    
  21  Prefactor      .0000        16.621        .14922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91616        .19252        .45145E-01   -.95895    
  23  Prefactor     .99895        .13703        .46241E-01   -.92765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.72471e-07
Minuit parameter uncertainties:
  1  13.4738
  2  1.1811
  3  9.41831
  4  24.601
  5  4.31496e-05
  6  2.80115
  7  1.15238e-06
  8  8.29958
  9  9.18261
  10  36.7217
  11  4.23722
  12  4.29326
  13  0.000262604
  14  6.74698
  15  1.17606e-05
  16  39.0101
  17  9.24893e-05
  18  25.152
  19  29.8542
  20  5.41349
  21  8.90297e-06
  22  0.192665
  23  0.137082
Done.

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

Extracting fit parameters...

4FGL J2159.8-4751
   Spectrum: PowerLaw
311    Prefactor:  2.213e+01  3.672e+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:  9.989e-01  1.371e-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.162e-01  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 329.962 -47.852
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/238627/likelihoodResults_682041601_682300801_4FGL_J2159.8-4751_daily_bin1708.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) = 6184.34603859
delta logL = 0.383066723999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6184.31541639
delta logL = 0.413688920055

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3507       1.0000          .0000       .10000E+07
     2 'Index     '    3.9442       1.0000          .0000       10.000    
     3 'Normalizat'    .87928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0172       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=   6184.315     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      290 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3493        254.48        .16945E-04   -.13163E-01
   2  Index         3.9446        6.8392        .72757E-02   -.32849E-03
   3  Normalizat    .87919        .18791        .28071E-03   -.52863E-03
   4  Prefactor     1.0173        .14486        .20313E-03   -.59987E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.34929
  Index      = 3.94462
  Normalizat = 0.87919
  Prefactor  = 1.01727
 **********
 **   18 **HESSE 
 **********

 FCN=   6184.315     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3493        17.484        .67779E-06   -1.5662    
   2  Index         3.9446        1.8997        .29103E-03   -.21268    
   3  Normalizat    .87919        .20613        .56141E-04   -.97195    
   4  Prefactor     1.0173        .15660        .40626E-04   -.92156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96964e-09
Minuit parameter uncertainties:
  1  17.4838
  2  1.95108
  3  0.206314
  4  0.156668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/238627': 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) = 6184.31541623
delta logL = 0.413689080652

Extracting fit parameters...

4FGL J2159.8-4751
   Spectrum: PowerLaw
311    Prefactor:  5.349e+00  1.748e+01  0.000e+00  1.000e+06 ( 1.000e-13)
312        Index:  3.945e+00  1.951e+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.017e+00  1.567e-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:  8.792e-01  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 329.962 -47.852
Photon Index (Free Index): 3.94 +/- 1.95
Photon Flux (Free Index): 5.03e-08 +/- 5.05e-08
Energy Flux (Free Index): 7.59e-06 +/- 7.72e-06

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/238627/cmap_HighResolution_682041601_682300801_4FGL_J2159.8-4751_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.59e-03', comment='SUCCESS', energy_flux2='7.59e-06', dlogl='4.14e-01', photon_flux2='5.03e-08', job_status='DONE', time_completed='2022-09-16 23:49:35.546307', photon_index_error2='1.95', photon_index2='3.94', ts='0.48', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='7.72e-06', EG='0.92', time_epoch_completed='1663397375.55', return_code='0', job_id='238627', GAL2='1.02', EG2='0.88', return_code2='0', photon_flux_error2='5.05e-08', ts2='1.36', photon_index='2.52' WHERE bin_id='1708' AND source_name='4FGL J2159.8-4751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:49:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 238627: <4FGL_J2159.8-4751_daily_bin1708> in cluster <slac> Done

Job <4FGL_J2159.8-4751_daily_bin1708> 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) <bullet0162>, 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:49:36 2022
Results reported at Fri Sep 16 23:49:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2159.8-4751_daily_bin1708 329.962 -47.8518 682041601 682300801 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 :                                   595.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            854 sec.

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

