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


Performing analysis on: 4FGL_J2347.9-5106_daily_bin1721
RA = 356.999, Dec = -51.1139
tmin = 685411201, tmax = 685670401
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='70804', job_status='RUN', time_executed='2022-09-24 01:14:50.390639', time_epoch_executed='1664007290.39' WHERE source_name='4FGL J2347.9-5106' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70804

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70804/ft1_4FGL_J2347.9-5106_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70804/ft1_4FGL_J2347.9-5106_daily_bin1721.fits outfile=/scratch/kocevski/70804/ft1_filteredMKT_4FGL_J2347.9-5106_daily_bin1721.fits ra=356.999 dec=-51.1139 rad=12.0 tmin=685411201.0 tmax=685670401.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.28
user 5.01
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.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/70804/ft1_filteredMKT_4FGL_J2347.9-5106_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/70804/ft1_filtered_4FGL_J2347.9-5106_daily_bin1721.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.33
sys 0.16

Number of photons that the gtmktime cut: 586

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70804/ft1_filtered_4FGL_J2347.9-5106_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/70804/ltcube_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.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/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.fits
.....................!
real 12.45
user 12.06
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70804/ft1_filtered_4FGL_J2347.9-5106_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70804/ltcube_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.fits outfile=/scratch/kocevski/70804/expmap_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.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/70804/ltcube_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.fits
.....................!
real 191.12
user 184.89
sys 5.87

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

Setting source of interest to:
4FGL J2347.9-5106 @ 356.999 -51.1139

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/70804/ft1_filtered_4FGL_J2347.9-5106_daily_bin1721.fits scfile=/scratch/kocevski/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.fits outfile=/scratch/kocevski/70804/cmap_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.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=356.999 yref=-51.1139 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/70804/ft1_filtered_4FGL_J2347.9-5106_daily_bin1721.fits scfile=/scratch/kocevski/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.fits outfile=/scratch/kocevski/70804/cmap_HighResolution_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.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=356.999 yref=-51.1139 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/70804/ft1_filtered_4FGL_J2347.9-5106_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/70804/Model_4FGL_J2347.9-5106_daily_bin1721.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/70804/ft1_filtered_4FGL_J2347.9-5106_daily_bin1721.fits.....................!
real 44.87
user 43.59
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/70804/ft1_filtered_4FGL_J2347.9-5106_daily_bin1721.fits', '/scratch/kocevski/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.fits', expMap='/scratch/kocevski/70804/expmap_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.fits', expCube='/scratch/kocevski/70804/ltcube_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/70804/Model_4FGL_J2347.9-5106_daily_bin1721.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2347.9-5106'

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  1.569e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
538        Index:  2.487e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
539        Scale:  7.443e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/70804/ft1_filtered_4FGL_J2347.9-5106_daily_bin1721.fits
Spacecraft file(s): /scratch/kocevski/70804/ft2_4FGL_J2347.9-5106_daily_bin1721.fits
Exposure map: /scratch/kocevski/70804/expmap_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.fits
Exposure cube: /scratch/kocevski/70804/ltcube_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/70804/Model_4FGL_J2347.9-5106_daily_bin1721.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) = 6404.52010741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0848       1.0000          .0000       .10000E+07
     2 'Prefactor '    .30403E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    29.708       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.3380       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5830       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21447E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.311       1.0000          .0000       .10000E+07
     8 'norm      '    .83129E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.158       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15601E-04   1.0000          .0000       .10000E+07
    11 'norm      '    12.117       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.8918       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0196       1.0000          .0000       .10000E+07
    14 'Prefactor '    12.740       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4112       1.0000          .0000       .10000E+07
    16 'norm      '    .89615E-01   1.0000          .0000       .10000E+07
    17 'norm      '    .26523E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .34491       1.0000          .0000       .10000E+07
    19 'Prefactor '    11.194       1.0000          .0000       .10000E+07
    20 'Prefactor '    .69294E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .84121E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    8.6652       1.0000          .0000       .10000E+07
    23 'norm      '    .11546E-07   1.0000          .0000       .10000E+07
    24 'norm      '    .25018       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.8764       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.1219       1.0000          .0000       .10000E+07
    27 'Prefactor '    .26962       1.0000          .0000       .10000E+07
    28 'norm      '    .39703E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    .33566E-04   1.0000          .0000       .10000E+07
    30 'Prefactor '    .25169E-05   1.0000          .0000       .10000E+07
    31 'Normalizat'    .66373       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.1611       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6404.474     FROM MIGRAD    STATUS=CONVERGED    226 CALLS     2516 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9544        5.7166        .40028E-07    .84033E-02
   2  Prefactor     .17852E-06    14.541       -.24309E-06** at limit **
   3  Prefactor     30.753        30.526       -.25100E-06    .34175E-01
   4  Prefactor     7.3268        7.4785       -.15380E-06    .10941E-01
   5  Prefactor     2.5621        4.5755       -.77316E-07    .11920E-03
   6  Prefactor     .55511E-10    2.0086       -.64316E-07** at limit **
   7  Prefactor     19.309        6.6027       -.71099E-07    .14162E-01
   8  norm          .11613E-06    83.416       -.53316E-06** at limit **
   9  Prefactor     10.154        5.3661        .18288E-06    .27045E-03
  10  Prefactor     .23814E-07    14.278       -.15392E-06** at limit **
  11  norm          12.114        7.7370       -.88618E-08    .10269E-01
  12  Prefactor     2.9094        5.2653        .15619E-06    .24690E-02
  13  Prefactor     1.9433        3.3422       -.79157E-07   -.27616E-02
  14  Prefactor     12.464        9.5118        .36126E-07    .25700E-01
  15  Prefactor     8.4262        1.9193        .43124E-07    .58658E-02
  16  norm          .36876E-05    29.894       -.84225E-06** at limit **
  17  norm           .0000        1.4649       -.21807E-06** at limit **
  18  norm          .35115        3.0703        .43468E-06    .10043E-02
  19  Prefactor     11.175        6.5449       -.70679E-08    .92568E-03
  20  Prefactor      .0000        6.6115       -.20481E-06** at limit **
  21  norm           .0000        1.2146        .14076E-06** at limit **
  22  Prefactor     8.7493        11.719        .45554E-06    .15914E-01
  23  norm           .0000        1.7803        .42468E-06** at limit **
  24  norm          .25031        2.6862        .14202E-06    .78996E-03
  25  Prefactor     1.8748        3.4244        .27358E-06    .50839E-01
  26  Prefactor     1.1250        1.8831        .16745E-06    .84075E-03
  27  Prefactor     .12634E-04    39.292       -.67519E-06** at limit **
  28  norm          .77716E-09    5.8704       -.26700E-07** at limit **
  29  Prefactor     .12212E-08    6.5457       -.18340E-06** at limit **
  30  Prefactor      .0000        .92749        .11123E-06** at limit **
  31  Normalizat    .66336        .19294        .13821E-05    .59005E-04
  32  Prefactor     1.1615        .21489       -.73987E-06    .72316E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95442
  Prefactor  = 1.78524e-07
  Prefactor  = 30.7531
  Prefactor  = 7.32678
  Prefactor  = 2.56208
  Prefactor  = 5.55112e-11
  Prefactor  = 19.3088
  norm       = 1.16129e-07
  Prefactor  = 10.1541
  Prefactor  = 2.38143e-08
  norm       = 12.114
  Prefactor  = 2.90944
  Prefactor  = 1.94328
  Prefactor  = 12.4645
  Prefactor  = 8.42621
  norm       = 3.68755e-06
  norm       = 0
  norm       = 0.351147
  Prefactor  = 11.1749
  Prefactor  = 0
  norm       = 0
  Prefactor  = 8.74927
  norm       = 0
  norm       = 0.250307
  Prefactor  = 1.87483
  Prefactor  = 1.12498
  Prefactor  = 1.26337e-05
  norm       = 7.77156e-10
  Prefactor  = 1.22125e-09
  Prefactor  = 0
  Normalizat = 0.663358
  Prefactor  = 1.16146
 **********
 **   18 **HESSE 
 **********

 FCN=   6404.474     FROM HESSE     STATUS=OK           745 CALLS     3261 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9544        54.078        .49859E-03   -1.5668    
   2  Prefactor     .17852E-06    17.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.753        34.320        .18350E-03   -1.5597    
   4  Prefactor     7.3268        7.5215        .37002E-03   -1.5654    
   5  Prefactor     2.5621        4.6018        .63471E-03   -1.5676    
   6  Prefactor     .55511E-10    2.0146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.309        6.6297        .22764E-03   -1.5620    
   8  norm          .11613E-06    83.672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.154        5.3748        .31414E-03   -1.5644    
  10  Prefactor     .23814E-07    15.933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.114        7.7640        .28753E-03   -1.5638    
  12  Prefactor     2.9094        5.5708        .59734E-03   -1.5674    
  13  Prefactor     1.9433        51.481        .72794E-03   -1.5680    
  14  Prefactor     12.464        28.779        .28039E-03   -1.5637    
  15  Prefactor     8.4262        11.562        .34542E-03   -1.5650    
  16  norm          .36876E-05    8.9454        .74959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        1.4690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .35115        3.1031        .96169E-03   -1.5696    
  19  Prefactor     11.175        7.0863        .29918E-03   -1.5641    
  20  Prefactor      .0000        6.6223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.2156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.7493        14.019        .34028E-03   -1.5649    
  23  norm           .0000        .44703        .27051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .25031        2.6161        .10943E-02   -1.5698    
  25  Prefactor     1.8748        8.1879        .75983E-03   -1.5681    
  26  Prefactor     1.1250        2.4212        .31723E-02   -1.5687    
  27  Prefactor     .12634E-04    16.489        .10648E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .77716E-09    5.9518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .12212E-08    6.6831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor      .0000        .92598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .66336        .16390        .41804E-01   -1.0536    
  32  Prefactor     1.1615        .17766        .51049E-01   -.87526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60202e-07
Minuit parameter uncertainties:
  1  29.2473
  2  0.00354828
  3  34.3203
  4  7.52151
  5  4.60179
  6  1.8669e-05
  7  6.62972
  8  0.00623375
  9  5.37475
  10  0.00123219
  11  7.76397
  12  5.57079
  13  20.0044
  14  28.7793
  15  11.5617
  16  0.0114868
  17  6.43734e-06
  18  2.08773
  19  7.08629
  20  5.58567e-06
  21  1.86275e-06
  22  14.0194
  23  4.17244e-06
  24  1.61842
  25  7.83605
  26  2.42118
  27  0.0288669
  28  0.000135761
  29  0.000180744
  30  3.62935e-07
  31  0.164023
  32  0.177748
Done.

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

Extracting fit parameters...

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  1.125e+00  2.421e+00  0.000e+00  1.000e+06 ( 1.000e-12)
538        Index:  2.487e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
539        Scale:  7.443e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  1.161e+00  1.777e-01  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  6.634e-01  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 356.999 -51.114
Photon Flux Upper Limit: 6.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/70804/likelihoodResults_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.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) = 6404.4620552
delta logL = 0.0121103807332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6404.45817211
delta logL = 0.0159934734202

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95230       1.0000          .0000       .10000E+07
     2 'Index     '    2.8828       1.0000          .0000       10.000    
     3 'Normalizat'    .65440       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1682       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6404.458     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      216 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95088        26.695        .42209E-03    .80766E-02
   2  Index         2.8817        3.1864        .34070        .21803E-04
   3  Normalizat    .65465        .27564E-01    .41678E-01    .27092E-04
   4  Prefactor     1.1680        .30598E-01    .50927E-01    .67481E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.950878
  Index      = 2.88166
  Normalizat = 0.654646
  Prefactor  = 1.16796
 **********
 **   18 **HESSE 
 **********

 FCN=   6404.458     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95088        2.3432        .11601E-04   -1.5688    
   2  Index         2.8817        2.4169        .87569E-02   -.43749    
   3  Normalizat    .65465        .19692        .25791E-03   -1.0571    
   4  Prefactor     1.1680        .21832        .22515E-03   -.87323    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41428e-09
Minuit parameter uncertainties:
  1  2.34321
  2  2.54937
  3  0.197129
  4  0.218484
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70804': 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) = 6404.4581704
delta logL = 0.0159951793203

Extracting fit parameters...

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  9.509e-01  2.343e+00  0.000e+00  1.000e+06 ( 1.000e-12)
538        Index:  2.882e+00  2.549e+00  0.000e+00  1.000e+01 (-1.000e+00)
539        Scale:  7.443e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  1.168e+00  2.185e-01  0.000e+00  1.000e+01 ( 1.000e+00)
592        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
593        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
590   Normalization:  6.546e-01  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
Ra Dec: 356.999 -51.114

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/70804/cmap_HighResolution_685411201_685670401_4FGL_J2347.9-5106_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.04e-03', job_status='DONE', photon_flux_upper_limit='6.49e-08', time_completed='2022-09-24 01:27:20.117943', job_id='70804', GAL2='1.17', fit_tolerance='1e-08', EG2='0.65', EG='0.66', time_epoch_completed='1664008040.12', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.60e-02', ts2='0.61', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1721' AND source_name='4FGL J2347.9-5106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:27:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 70804: <4FGL_J2347.9-5106_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2347.9-5106_daily_bin1721> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep 24 01:10:47 2022
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:14:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 01:14:29 2022
Terminated at Sat Sep 24 01:27:20 2022
Results reported at Sat Sep 24 01:27:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2347.9-5106_daily_bin1721 356.999 -51.1139 685411201 685670401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2347.9-5106 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   752.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            993 sec.

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

