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


Performing analysis on: 4FGL_J2347.9-5106_daily_bin1733
RA = 356.999, Dec = -51.1139
tmin = 688521601, tmax = 688780801
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='709833', job_status='RUN', time_executed='2022-10-30 00:42:03.569854', time_epoch_executed='1667115723.57' WHERE source_name='4FGL J2347.9-5106' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/709833

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/709833/ft1_4FGL_J2347.9-5106_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/709833/ft2_4FGL_J2347.9-5106_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/709833/ft1_4FGL_J2347.9-5106_daily_bin1733.fits outfile=/scratch/kocevski/709833/ft1_filteredMKT_4FGL_J2347.9-5106_daily_bin1733.fits ra=356.999 dec=-51.1139 rad=12.0 tmin=688521601.0 tmax=688780801.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.52
user 3.32
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/709833/ft2_4FGL_J2347.9-5106_daily_bin1733.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/709833/ft1_filteredMKT_4FGL_J2347.9-5106_daily_bin1733.fits evtable="EVENTS" outfile="/scratch/kocevski/709833/ft1_filtered_4FGL_J2347.9-5106_daily_bin1733.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.49
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 609

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/709833/ft1_filtered_4FGL_J2347.9-5106_daily_bin1733.fits" evtable="EVENTS" scfile=/scratch/kocevski/709833/ft2_4FGL_J2347.9-5106_daily_bin1733.fits sctable="SC_DATA" outfile=/scratch/kocevski/709833/ltcube_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.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/709833/ft2_4FGL_J2347.9-5106_daily_bin1733.fits
.....................!
real 12.16
user 11.80
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/709833/ft1_filtered_4FGL_J2347.9-5106_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/709833/ft2_4FGL_J2347.9-5106_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/709833/ltcube_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.fits outfile=/scratch/kocevski/709833/expmap_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.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/709833/ltcube_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.fits
.....................!
real 190.56
user 185.93
sys 4.28

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/709833/ft1_filtered_4FGL_J2347.9-5106_daily_bin1733.fits scfile=/scratch/kocevski/709833/ft2_4FGL_J2347.9-5106_daily_bin1733.fits outfile=/scratch/kocevski/709833/cmap_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.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.54
user 0.34
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/709833/ft1_filtered_4FGL_J2347.9-5106_daily_bin1733.fits scfile=/scratch/kocevski/709833/ft2_4FGL_J2347.9-5106_daily_bin1733.fits outfile=/scratch/kocevski/709833/cmap_HighResolution_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/709833/ft1_filtered_4FGL_J2347.9-5106_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/709833/ft2_4FGL_J2347.9-5106_daily_bin1733.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/709833/Model_4FGL_J2347.9-5106_daily_bin1733.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/709833/ft1_filtered_4FGL_J2347.9-5106_daily_bin1733.fits.....................!
real 46.04
user 44.72
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/709833/ft1_filtered_4FGL_J2347.9-5106_daily_bin1733.fits', '/scratch/kocevski/709833/ft2_4FGL_J2347.9-5106_daily_bin1733.fits', expMap='/scratch/kocevski/709833/expmap_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.fits', expCube='/scratch/kocevski/709833/ltcube_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/709833/Model_4FGL_J2347.9-5106_daily_bin1733.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/709833/ft1_filtered_4FGL_J2347.9-5106_daily_bin1733.fits
Spacecraft file(s): /scratch/kocevski/709833/ft2_4FGL_J2347.9-5106_daily_bin1733.fits
Exposure map: /scratch/kocevski/709833/expmap_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.fits
Exposure cube: /scratch/kocevski/709833/ltcube_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/709833/Model_4FGL_J2347.9-5106_daily_bin1733.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) = 6494.04086434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48589       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.6892       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.2258       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.7768       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1134       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25947E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    13.575       1.0000          .0000       .10000E+07
     8 'norm      '    16.571       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.5855       1.0000          .0000       .10000E+07
    10 'Prefactor '    .26521E-04   1.0000          .0000       .10000E+07
    11 'norm      '    23.182       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1636       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25973E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.5757       1.0000          .0000       .10000E+07
    15 'Prefactor '    21.314       1.0000          .0000       .10000E+07
    16 'norm      '    .18892E-02   1.0000          .0000       .10000E+07
    17 'norm      '    7.6257       1.0000          .0000       .10000E+07
    18 'norm      '    .20896E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .14960E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .93258E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .18597E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    15.534       1.0000          .0000       .10000E+07
    23 'norm      '    2.3656       1.0000          .0000       .10000E+07
    24 'norm      '    .31556E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .16272E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    1.3398       1.0000          .0000       .10000E+07
    27 'Prefactor '    .11868E-02   1.0000          .0000       .10000E+07
    28 'norm      '    .40913E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    .12321E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .26082E-04   1.0000          .0000       .10000E+07
    31 'Normalizat'    1.1715       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .75775       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=   6493.979     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     3034 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    263.16        .10023E-04** at limit **
   2  Prefactor     5.6938        1.1184        .62433E-08   -.65682E-02
   3  Prefactor     8.1230        1.1794       -.50754E-07    .22127E-02
   4  Prefactor     1.7771        4.9374        .34057E-06    .22420E-03
   5  Prefactor     2.1121        2.1447        .25670E-06   -.10990E-01
   6  Prefactor     .42222E-06    16.373       -.21140E-05** at limit **
   7  Prefactor     13.570        6.0915       -.23423E-06   -.52240E-02
   8  norm          15.848        3.2417        .33438E-06    .28257E-02
   9  Prefactor     6.5861        4.0342        .28060E-06   -.14250E-01
  10  Prefactor     .14796E-05    10.900        .46091E-06** at limit **
  11  norm          23.218        2.3439        .14470E-06    .94818E-01
  12  Prefactor     2.1675        7.4693        .45653E-06    .19238E-02
  13  Prefactor     .77544E-06    21.745        .44793E-05** at limit **
  14  Prefactor     3.9436        14.577        .22094E-05    .37400E-02
  15  Prefactor     21.498        2.9153        .92073E-07   -.10933E-01
  16  norm           .0000        2.8002        .86476E-06** at limit **
  17  norm          7.6228        5.3959       -.27881E-06    .90933E-03
  18  norm           .0000        1.2037       -.39133E-07** at limit **
  19  Prefactor     .33856E-06    4.7307        .95382E-06** at limit **
  20  Prefactor     .11996E-06    8.5121        .10248E-05** at limit **
  21  norm           .0000        1.0346       -.27776E-06** at limit **
  22  Prefactor     15.502        13.446        .68587E-06    .28375E-02
  23  norm          2.3624        1.2473       -.18407E-07    .24942E-03
  24  norm          .55511E-10    1.8389        .13109E-06** at limit **
  25  Prefactor     .13323E-08    4.6529        .41322E-06** at limit **
  26  Prefactor     1.3388        2.3884       -.22023E-06    .74093E-03
  27  Prefactor     .44409E-09    4.4141        .85591E-06** at limit **
  28  norm          .41078E-08    9.9889       -.24167E-06** at limit **
  29  Prefactor     .55511E-10    1.7442        .21058E-07** at limit **
  30  Prefactor      .0000        .99931        .29583E-06** at limit **
  31  Normalizat    1.1715        .20392       -.18548E-04   -.86658E-04
  32  Prefactor     .75841        .21735        .30575E-05   -.74667E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 5.6938
  Prefactor  = 8.12303
  Prefactor  = 1.77713
  Prefactor  = 2.11211
  Prefactor  = 4.22218e-07
  Prefactor  = 13.5705
  norm       = 15.8483
  Prefactor  = 6.58607
  Prefactor  = 1.47965e-06
  norm       = 23.218
  Prefactor  = 2.16748
  Prefactor  = 7.75435e-07
  Prefactor  = 3.94356
  Prefactor  = 21.4978
  norm       = 0
  norm       = 7.62281
  norm       = 0
  Prefactor  = 3.38563e-07
  Prefactor  = 1.1996e-07
  norm       = 0
  Prefactor  = 15.5023
  norm       = 2.36239
  norm       = 5.55112e-11
  Prefactor  = 1.33227e-09
  Prefactor  = 1.33879
  Prefactor  = 4.44089e-10
  norm       = 4.10783e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Normalizat = 1.17153
  Prefactor  = 0.758406
 **********
 **   18 **HESSE 
 **********

 FCN=   6493.979     FROM HESSE     STATUS=OK           721 CALLS     3755 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    298.84        .80142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.6938        14.353        .42090E-03   -1.5660    
   3  Prefactor     8.1230        30.800        .34932E-03   -1.5651    
   4  Prefactor     1.7771        4.9836        .78501E-03   -1.5681    
   5  Prefactor     2.1121        6.7544        .70931E-03   -1.5679    
   6  Prefactor     .42222E-06    21.767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.570        6.1781        .27160E-03   -1.5634    
   8  norm          15.848        23.680        .24577E-03   -1.5628    
   9  Prefactor     6.5861        4.7557        .39081E-03   -1.5657    
  10  Prefactor     .14796E-05    23.935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          23.218        10.048        .20775E-03   -1.5612    
  12  Prefactor     2.1675        7.7582        .69996E-03   -1.5679    
  13  Prefactor     .77544E-06    27.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.9436        110.84        .47034E-03   -1.5668    
  15  Prefactor     21.498        16.512        .21667E-03   -1.5615    
  16  norm           .0000        2.8025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.6228        5.3948        .36291E-03   -1.5653    
  18  norm           .0000        1.2039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .33856E-06    12.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11996E-06    13.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.0357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.502        13.975        .25386E-03   -1.5629    
  23  norm          2.3624        1.2824        .66597E-03   -1.5677    
  24  norm          .55511E-10    1.8665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .13323E-08    4.6650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.3388        2.4372        .94674E-03   -1.5685    
  27  Prefactor     .44409E-09    4.4387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .41078E-08    10.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .55511E-10    1.7634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor      .0000        .99872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.1715        .17336        .35631E-01   -.87487    
  32  Prefactor     .75841        .18396        .64893E-01   -1.0128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04725e-07
Minuit parameter uncertainties:
  1  0.000361078
  2  14.3535
  3  30.8006
  4  4.98362
  5  6.75443
  6  0.00606332
  7  6.17811
  8  23.6798
  9  4.75566
  10  0.0119021
  11  10.0481
  12  7.75827
  13  0.00925794
  14  41.8155
  15  16.512
  16  1.53247e-05
  17  5.39481
  18  2.85027e-06
  19  0.00413299
  20  0.0024997
  21  1.53488e-06
  22  13.9749
  23  1.28236
  24  2.34011e-05
  25  0.000158062
  26  2.43725
  27  8.95767e-05
  28  0.000410421
  29  2.25877e-05
  30  5.05527e-06
  31  0.173445
  32  0.184111
Done.

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

Extracting fit parameters...

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  1.339e+00  2.437e+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:  7.584e-01  1.841e-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:  1.172e+00  1.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/709833/likelihoodResults_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.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) = 6493.85984115
delta logL = 0.118944197492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6493.85958705
delta logL = 0.119198304296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9026       1.0000          .0000       .10000E+07
     2 'Index     '    1.9932       1.0000          .0000       10.000    
     3 'Normalizat'    1.1792       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75068       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6493.860     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      283 TOTAL
                     EDM=   .48E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8989        2.8232        .16126E-04    .15580E-03
   2  Index         1.9917        .87497        .13665E-01    .23512E-05
   3  Normalizat    1.1792        .19716        .21566E-03   -.63786E-05
   4  Prefactor     .75073        .21586        .28834E-03   -.73335E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89891
  Index      = 1.99168
  Normalizat = 1.1792
  Prefactor  = 0.750729
 **********
 **   18 **HESSE 
 **********

 FCN=   6493.860     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8989        2.8226        .64503E-06   -1.5680    
   2  Index         1.9917        .87515        .54658E-03   -.64558    
   3  Normalizat    1.1792        .19736        .86264E-05   -.87248    
   4  Prefactor     .75073        .21608        .11534E-04   -1.0157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3712e-12
Minuit parameter uncertainties:
  1  2.82261
  2  0.882315
  3  0.197483
  4  0.216321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/709833': 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) = 6493.85958473
delta logL = 0.119200620868

Extracting fit parameters...

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  1.899e+00  2.823e+00  0.000e+00  1.000e+06 ( 1.000e-12)
538        Index:  1.992e+00  8.823e-01  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:  7.507e-01  2.163e-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:  1.179e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/709833/cmap_HighResolution_688521601_688780801_4FGL_J2347.9-5106_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.75e-03', job_status='DONE', photon_flux_upper_limit='7.39e-08', time_completed='2022-10-30 00:55:23.980633', job_id='709833', GAL2='0.75', fit_tolerance='1e-08', EG2='1.18', EG='1.17', time_epoch_completed='1667116523.98', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.19e-01', ts2='0.64', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1733' AND source_name='4FGL J2347.9-5106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 00:55:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 709833: <4FGL_J2347.9-5106_daily_bin1733> in cluster <slac> Done

Job <4FGL_J2347.9-5106_daily_bin1733> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Oct 30 00:40:17 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:40:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:40:18 2022
Terminated at Sun Oct 30 00:55:24 2022
Results reported at Sun Oct 30 00:55:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2347.9-5106_daily_bin1733 356.999 -51.1139 688521601 688780801 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 :                                   802.46 sec.
    Max Memory :                                 1046 MB
    Average Memory :                             298.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            907 sec.

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

