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 144 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2347.9-5106_daily_bin1701
RA = 356.999, Dec = -51.1139
tmin = 680227201, tmax = 680486401
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='193326', job_status='RUN', time_executed='2022-07-26 02:18:37.721385', time_epoch_executed='1658827117.72' WHERE source_name='4FGL J2347.9-5106' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193326

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193326/ft1_4FGL_J2347.9-5106_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193326/ft2_4FGL_J2347.9-5106_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193326/ft1_4FGL_J2347.9-5106_daily_bin1701.fits outfile=/scratch/kocevski/193326/ft1_filteredMKT_4FGL_J2347.9-5106_daily_bin1701.fits ra=356.999 dec=-51.1139 rad=12.0 tmin=680227201.0 tmax=680486401.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 2.90
user 2.67
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193326/ft2_4FGL_J2347.9-5106_daily_bin1701.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/193326/ft1_filteredMKT_4FGL_J2347.9-5106_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/193326/ft1_filtered_4FGL_J2347.9-5106_daily_bin1701.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.52
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 174

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193326/ft1_filtered_4FGL_J2347.9-5106_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/193326/ft2_4FGL_J2347.9-5106_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/193326/ltcube_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.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/193326/ft2_4FGL_J2347.9-5106_daily_bin1701.fits
.....................!
real 15.54
user 14.93
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193326/ft1_filtered_4FGL_J2347.9-5106_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/193326/ft2_4FGL_J2347.9-5106_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/193326/ltcube_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.fits outfile=/scratch/kocevski/193326/expmap_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.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/193326/ltcube_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.fits
.....................!
real 194.48
user 188.13
sys 5.77

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/193326/ft1_filtered_4FGL_J2347.9-5106_daily_bin1701.fits scfile=/scratch/kocevski/193326/ft2_4FGL_J2347.9-5106_daily_bin1701.fits outfile=/scratch/kocevski/193326/cmap_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193326/ft1_filtered_4FGL_J2347.9-5106_daily_bin1701.fits scfile=/scratch/kocevski/193326/ft2_4FGL_J2347.9-5106_daily_bin1701.fits outfile=/scratch/kocevski/193326/cmap_HighResolution_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.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.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193326/ft1_filtered_4FGL_J2347.9-5106_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/193326/ft2_4FGL_J2347.9-5106_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193326/Model_4FGL_J2347.9-5106_daily_bin1701.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/193326/ft1_filtered_4FGL_J2347.9-5106_daily_bin1701.fits......................!
real 24.15
user 22.84
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/193326/ft1_filtered_4FGL_J2347.9-5106_daily_bin1701.fits', '/scratch/kocevski/193326/ft2_4FGL_J2347.9-5106_daily_bin1701.fits', expMap='/scratch/kocevski/193326/expmap_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.fits', expCube='/scratch/kocevski/193326/ltcube_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/193326/Model_4FGL_J2347.9-5106_daily_bin1701.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  1.000e-04  1.000e+04 ( 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/193326/ft1_filtered_4FGL_J2347.9-5106_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/193326/ft2_4FGL_J2347.9-5106_daily_bin1701.fits
Exposure map: /scratch/kocevski/193326/expmap_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.fits
Exposure cube: /scratch/kocevski/193326/ltcube_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/193326/Model_4FGL_J2347.9-5106_daily_bin1701.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1934.41550425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.471       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .49207E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8955       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .21632E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .23371E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11517E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6360       1.0000         .10000E-03   10000.    
     9 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.990       1.0000         .10000E-03   10000.    
    11 'Prefactor '    133.13       1.0000         .10000E-03   10000.    
    12 'norm      '    .10200E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14295E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10670E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.774       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10587E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    6.7165       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .13454E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    4.3987       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.0775       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .48454       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.

 FCN=   1920.785     FROM MIGRAD    STATUS=CONVERGED   1005 CALLS     6163 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.297        128.82       -.17426E-03    .19020E-04
   2  Prefactor     .10000E-03    22.188       -.10136E-04** at limit **
   3  Prefactor     .10000E-03    155.86       -.18887E-04** at limit **
   4  Prefactor     9.8928        12.572       -.13792E-05    .98184E-04
   5  Prefactor     .10000E-03    21.143       -.77080E-05** at limit **
   6  Prefactor     .10000E-03    63.928       -.14801E-05** at limit **
   7  Prefactor     .10000E-03    12.279       -.32994E-05** at limit **
   8  Prefactor     4.6384        6.7892        .64515E-06    .10848E-03
   9  norm          .10000E-03    25.201        .45440E-05** at limit **
  10  Prefactor     14.989        5.8315       -.77839E-06    .24006E-03
  11  Prefactor     133.16        87.342        .45948E-06    .96219E-04
  12  norm          .10000E-03    9.0579       -.25573E-06** at limit **
  13  Prefactor     10000.        1250.8       -.16478E-04** at limit **
  14  Prefactor     10000.        1714.8        .61286E-03** at limit **
  15  Prefactor     10000.        1083.3        .87106E-04** at limit **
  16  Prefactor     .10000E-03    9978.8       -.18389E-02** at limit **
  17  Prefactor     .10000E-03    775.48        .28744E-03** at limit **
  18  Prefactor     .10000E-03    38.478       -.60093E-06** at limit **
  19  norm          .10000E-03    20.384        .43720E-05** at limit **
  20  norm          .10000E-03    15.188        .45040E-05** at limit **
  21  norm          .10000E-03    13.765       -.32296E-05** at limit **
  22  Prefactor     26.779        26.325        .99246E-06    .22458E-03
  23  Prefactor     .10000E-03    95.952        .27224E-04** at limit **
  24  norm          6.7228        8.5318       -.22467E-06   -.36542E-04
  25  Prefactor     .10000E-03    103.82       -.25293E-04** at limit **
  26  norm          .10000E-03    1.3158       -.60362E-07** at limit **
  27  norm          .10000E-03    4.0223        .10345E-06** at limit **
  28  Prefactor     .10000E-03    24.879       -.89668E-06** at limit **
  29  Prefactor     .10000E-03    2.6563        .33944E-07** at limit **
  30  Prefactor     .10000E-03    19.562        .65216E-05** at limit **
  31  norm          .10000E-03    17.362       -.72313E-05** at limit **
  32  Prefactor     .10000E-03    12.460        .35852E-05** at limit **
  33  Prefactor     4.4009        8.0720        .13169E-07    .16554E-03
  34  Normalizat    1.0780        .34593        .10864E-04    .55058E-03
  35  Prefactor     .48408        .33908        .67243E-05    .50714E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.2965
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 9.89276
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 4.63843
  norm       = 0.0001
  Prefactor  = 14.9886
  Prefactor  = 133.163
  norm       = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 26.7785
  Prefactor  = 0.0001
  norm       = 6.7228
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.40086
  Normalizat = 1.07803
  Prefactor  = 0.484083
 **********
 **   18 **HESSE 
 **********

 FCN=   1920.785     FROM HESSE     STATUS=OK           748 CALLS     6911 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.297        129.02        .67288E-04   -1.4519    
   2  Prefactor     .10000E-03    22.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    156.57        .21165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.8928        12.586        .12738E-03   -1.5079    
   5  Prefactor     .10000E-03    180.80        .36847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    64.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.459        .14987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6384        6.8013        .12942E-03   -1.5277    
   9  norm          .10000E-03    25.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.989        5.8133        .62434E-04   -1.4933    
  11  Prefactor     133.16        87.651        .34901E-04   -1.3395    
  12  norm          .10000E-03    9.1515        .12838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10000.        1250.8        .20868E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10000.        1712.7        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10000.        1083.4        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9979.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    774.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    38.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    20.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    15.190        .16685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    13.792        .15869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     26.779        26.212        .77421E-04   -1.4673    
  23  Prefactor     .10000E-03    95.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          6.7228        8.5095        .13984E-03   -1.5189    
  25  Prefactor     .10000E-03    104.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.3174        .49091E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    4.0345        .85818E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    24.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    2.6581        .69763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    19.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    17.362        .17841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    12.623        .15098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     4.4009        8.0943        .15774E-03   -1.5288    
  34  Normalizat    1.0780        .40118        .22690E-03   -.90460    
  35  Prefactor     .48408        .38935        .34196E-03   -1.1271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21131e-09
Minuit parameter uncertainties:
  1  130.063
  2  3.59229e-05
  3  0.00108296
  4  12.5895
  5  0.00043189
  6  0.000749539
  7  0.000182188
  8  6.80242
  9  7.5495e-05
  10  5.81352
  11  87.7364
  12  9.58761e-05
  13  3.82962e-06
  14  6.61007e-05
  15  6.0182e-05
  16  0.00135583
  17  1.20335e-05
  18  1.12566e-05
  19  5.67659e-06
  20  1.01133e-05
  21  3.66153e-05
  22  26.2229
  23  1.66445e-05
  24  8.51102
  25  0.000435094
  26  3.49212e-06
  27  2.4241e-05
  28  2.05767e-05
  29  7.53972e-06
  30  3.20907e-05
  31  9.63198e-06
  32  0.000127498
  33  8.09629
  34  0.402319
  35  0.391518
Done.

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

Extracting fit parameters...

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  1.000e-04  7.540e-06  1.000e-04  1.000e+04 ( 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:  4.841e-01  3.915e-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.078e+00  4.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 356.999 -51.114
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193326/likelihoodResults_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.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): 102
logL (Free Index) = 1920.786287
delta logL = -0.00155265636454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1920.78473422
delta logL = 1.2863097254e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4733       1.0000          .0000       10.000    
     3 'Normalizat'    1.0780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .48408       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=   1920.785     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      253 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.440        .70432E-02** at limit **
   2  Index         1.9031        5.5193        .50000        .48393E-06
   3  Normalizat    1.0780        .24942E-01    .22689E-03   -.95329E-04
   4  Prefactor     .48407        .26070E-01    .34196E-03   -.61462E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.90308
  Normalizat = 1.07804
  Prefactor  = 0.48407
 **********
 **   18 **HESSE 
 **********

 FCN=   1920.785     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    286.83        .77699E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9031        5.9080        .50000       -.66796    
   3  Normalizat    1.0780        .76856E-01    .45379E-04   -.90460    
   4  Prefactor     .48407        .80323E-01    .13679E-04   -1.1271    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.11695e-09
Minuit parameter uncertainties:
  1  0.000255743
  2  1044.59
  3  0.076864
  4  0.080342
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193326': 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): 102
logL (Free Index) = 1920.78473071
delta logL = 3.63727872355e-06

Extracting fit parameters...

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  1.000e-04  2.557e-04  1.000e-04  1.000e+04 ( 1.000e-12)
538        Index:  1.903e+00  1.045e+03  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:  4.841e-01  8.034e-02  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.078e+00  7.686e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/193326/cmap_HighResolution_680227201_680486401_4FGL_J2347.9-5106_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2022-07-26 02:28:19.113913', job_id='193326', GAL2='0.48', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1658827699.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.48', dlogl='3.64e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1701' AND source_name='4FGL J2347.9-5106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:28:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 193326: <4FGL_J2347.9-5106_daily_bin1701> in cluster <slac> Done

Job <4FGL_J2347.9-5106_daily_bin1701> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jul 26 02:15:16 2022
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:16:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:16:05 2022
Terminated at Tue Jul 26 02:28:19 2022
Results reported at Tue Jul 26 02:28:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2347.9-5106_daily_bin1701 356.999 -51.1139 680227201 680486401 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 :                                   583.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            783 sec.

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

