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


Performing analysis on: 4FGL_J2347.9-5106_daily_bin1697
RA = 356.999, Dec = -51.1139
tmin = 679190401, tmax = 679449601
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='857779', job_status='RUN', time_executed='2022-07-14 00:38:16.592445', time_epoch_executed='1657784296.59' WHERE source_name='4FGL J2347.9-5106' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857779

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857779/ft1_4FGL_J2347.9-5106_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857779/ft2_4FGL_J2347.9-5106_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857779/ft1_4FGL_J2347.9-5106_daily_bin1697.fits outfile=/scratch/kocevski/857779/ft1_filteredMKT_4FGL_J2347.9-5106_daily_bin1697.fits ra=356.999 dec=-51.1139 rad=12.0 tmin=679190401.0 tmax=679449601.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.47
user 3.21
sys 0.23

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

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

Number of photons that the gtmktime cut: 514

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857779/ft1_filtered_4FGL_J2347.9-5106_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857779/ft2_4FGL_J2347.9-5106_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857779/ltcube_679190401_679449601_4FGL_J2347.9-5106_daily_bin1697.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/857779/ft2_4FGL_J2347.9-5106_daily_bin1697.fits
.....................!
real 11.91
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857779/ft1_filtered_4FGL_J2347.9-5106_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857779/ft2_4FGL_J2347.9-5106_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857779/ltcube_679190401_679449601_4FGL_J2347.9-5106_daily_bin1697.fits outfile=/scratch/kocevski/857779/expmap_679190401_679449601_4FGL_J2347.9-5106_daily_bin1697.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/857779/ltcube_679190401_679449601_4FGL_J2347.9-5106_daily_bin1697.fits
.....................!
real 191.85
user 185.60
sys 5.58

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/857779/ft1_filtered_4FGL_J2347.9-5106_daily_bin1697.fits scfile=/scratch/kocevski/857779/ft2_4FGL_J2347.9-5106_daily_bin1697.fits outfile=/scratch/kocevski/857779/cmap_679190401_679449601_4FGL_J2347.9-5106_daily_bin1697.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857779/ft1_filtered_4FGL_J2347.9-5106_daily_bin1697.fits scfile=/scratch/kocevski/857779/ft2_4FGL_J2347.9-5106_daily_bin1697.fits outfile=/scratch/kocevski/857779/cmap_HighResolution_679190401_679449601_4FGL_J2347.9-5106_daily_bin1697.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857779/ft1_filtered_4FGL_J2347.9-5106_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857779/ft2_4FGL_J2347.9-5106_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857779/Model_4FGL_J2347.9-5106_daily_bin1697.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/857779/ft1_filtered_4FGL_J2347.9-5106_daily_bin1697.fits.....................!
real 41.78
user 40.44
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11098E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    55.155       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11764E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.2587       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.1499       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.4098       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1539       1.0000         .10000E-03   10000.    
     9 'norm      '    .11226E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.0335       1.0000         .10000E-03   10000.    
    11 'Prefactor '    79.339       1.0000         .10000E-03   10000.    
    12 'norm      '    15.850       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8721       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.178       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.511       1.0000         .10000E-03   10000.    
    19 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.3328       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.051       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11416E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10200E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    2.7190       1.0000         .10000E-03   10000.    
    28 'Prefactor '    7.7166       1.0000         .10000E-03   10000.    
    29 'Prefactor '    6.4161       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    1.2797       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .97944       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .84492       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=   5574.854     FROM MIGRAD    STATUS=CONVERGED   1011 CALLS     5077 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.613        .93074E-06** at limit **
   2  Prefactor     55.136        26.597        .15807E-04    .73380E-04
   3  Prefactor     .10001E-03    75.985       -.16915E-04** at limit **
   4  Prefactor     8.2577        9.2001       -.21136E-05   -.15114E-03
   5  Prefactor     .10000E-03    3.0694       -.67037E-07** at limit **
   6  Prefactor     7.1553        20.515       -.42708E-06   -.31857E-04
   7  Prefactor     5.4095        7.5332       -.19094E-05   -.20175E-03
   8  Prefactor     3.1531        4.6954        .84721E-06   -.34810E-03
   9  norm          .10000E-03    56.731        .14596E-04** at limit **
  10  Prefactor     9.0326        6.9229       -.41778E-06   -.36516E-03
  11  Prefactor     79.225        66.084        .62121E-04   -.17840E-04
  12  norm          15.851        10.520       -.11582E-05   -.10812E-03
  13  Prefactor     .10000E-03    3.9518        .20886E-06** at limit **
  14  Prefactor     .10001E-03    20.609        .12757E-05** at limit **
  15  Prefactor     5.8760        13.905        .33358E-04    .36936E-03
  16  Prefactor     26.791        141.53       -.34698E-03   -.17740E-04
  17  Prefactor     .10000E-03    10.618        .10403E-05** at limit **
  18  Prefactor     13.503        15.730        .22969E-05   -.32492E-04
  19  norm          .10000E-03    3.5206       -.10061E-07** at limit **
  20  norm          .10000E-03    3.3263        .10760E-07** at limit **
  21  norm          4.3319        3.8019        .53826E-07    .12309E-03
  22  Prefactor     16.051        7.1131       -.23919E-07    .28479E-05
  23  Prefactor     .10000E-03    44.845       -.52146E-05** at limit **
  24  norm          .10000E-03    2.6113        .58570E-07** at limit **
  25  Prefactor     .10000E-03    4.3410       -.56093E-09** at limit **
  26  norm          .10000E-03    .81130       -.54281E-07** at limit **
  27  norm          2.7182        3.2989       -.10242E-06   -.27724E-03
  28  Prefactor     7.7168        11.646       -.41776E-06   -.70892E-04
  29  Prefactor     6.4155        3.4202       -.48999E-06   -.13282E-02
  30  Prefactor     .10000E-03    9.1085       -.85976E-07** at limit **
  31  norm          .10000E-03    10.533       -.78857E-06** at limit **
  32  Prefactor     1.2796        2.8086       -.43768E-06   -.56590E-03
  33  Prefactor     .10000E-03    2.0513       -.49791E-06** at limit **
  34  Normalizat    .97969        .17626       -.72506E-05    .38409E-03
  35  Prefactor     .84468        .18670        .63741E-05   -.35440E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 55.1361
  Prefactor  = 0.000100006
  Prefactor  = 8.25768
  Prefactor  = 0.0001
  Prefactor  = 7.15529
  Prefactor  = 5.40951
  Prefactor  = 3.15305
  norm       = 0.0001
  Prefactor  = 9.03257
  Prefactor  = 79.2251
  norm       = 15.8506
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 5.87597
  Prefactor  = 26.7908
  Prefactor  = 0.0001
  Prefactor  = 13.5029
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.33187
  Prefactor  = 16.0506
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.71821
  Prefactor  = 7.7168
  Prefactor  = 6.41548
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.27964
  Prefactor  = 0.000100001
  Normalizat = 0.97969
  Prefactor  = 0.844677
 **********
 **   18 **HESSE 
 **********

 FCN=   5574.854     FROM HESSE     STATUS=OK           766 CALLS     5843 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     55.136        26.608        .54012E-04   -1.4222    
   3  Prefactor     .10001E-03    76.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2577        9.1932        .13950E-03   -1.5133    
   5  Prefactor     .10000E-03    3.0843        .12774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.1553        20.462        .15002E-03   -1.5173    
   7  Prefactor     5.4095        7.5295        .17277E-03   -1.5243    
   8  Prefactor     3.1531        4.6709        .17745E-03   -1.5353    
   9  norm          .10000E-03    57.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.0326        6.9480        .13335E-03   -1.5107    
  11  Prefactor     79.225        65.997        .22544E-03   -1.3925    
  12  norm          15.851        10.551        .10060E-03   -1.4911    
  13  Prefactor     .10000E-03    3.9758        .14494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    20.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.8760        13.849        .16572E-03   -1.5223    
  16  Prefactor     26.791        141.91        .76845E-04   -1.4672    
  17  Prefactor     .10000E-03    10.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.503        15.497        .10897E-03   -1.4973    
  19  norm          .10000E-03    3.5236        .13682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.3369        .13295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.3319        3.7975        .13287E-03   -1.5292    
  22  Prefactor     16.051        7.0632        .99971E-04   -1.4906    
  23  Prefactor     .10000E-03    45.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    2.6530        .11757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.3458        .15188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.5802        .12600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7182        3.2835        .14429E-03   -1.5378    
  28  Prefactor     7.7168        11.645        .14436E-03   -1.5152    
  29  Prefactor     6.4155        3.4117        .48173E-03   -1.5201    
  30  Prefactor     .10000E-03    9.1299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    10.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     1.2796        2.7469        .17886E-03   -1.5482    
  33  Prefactor     .10000E-03    2.0781        .10431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .97969        .20595        .22959E-03   -.93714    
  35  Prefactor     .84468        .21688        .26762E-03   -.98102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75705e-09
Minuit parameter uncertainties:
  1  5.84383e-06
  2  26.6141
  3  0.00135593
  4  9.1948
  5  1.2916e-05
  6  20.4815
  7  7.53079
  8  4.67144
  9  0.000303067
  10  6.94864
  11  66.0585
  12  10.5526
  13  4.26318e-05
  14  0.000659446
  15  13.8563
  16  123.779
  17  7.04117e-05
  18  15.5014
  19  3.77557e-08
  20  4.52303e-06
  21  3.79769
  22  7.06354
  23  0.000152886
  24  1.00757e-05
  25  8.89909e-07
  26  6.31295e-06
  27  3.28375
  28  11.6481
  29  3.41181
  30  3.87516e-05
  31  6.3535e-06
  32  2.74715
  33  7.29294e-05
  34  0.206122
  35  0.217101
Done.

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

Extracting fit parameters...

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  6.415e+00  3.412e+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

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  8.447e-01  2.171e-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:  9.797e-01  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.45
Ra Dec: 356.999 -51.114
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.36e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 1.87e-05 +/- 9.96e-06

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) = 5574.10715295
delta logL = 0.747332754781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5574.06135939
delta logL = 0.793126312581

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6841       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9028       1.0000          .0000       10.000    
     3 'Normalizat'    1.0088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82611       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=   5574.061     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6748        5.3009        .36166E-02   -.98667E-05
   2  Index         1.9023        .45706        .17921       -.17099E-04
   3  Normalizat    1.0092        .16972        .46278E-01    .14000E-04
   4  Prefactor     .82564        .18478        .44056E-01    .19651E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.67478
  Index      = 1.9023
  Normalizat = 1.00923
  Prefactor  = 0.825641
 **********
 **   18 **HESSE 
 **********

 FCN=   5574.061     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6748        4.4800        .11522E-03   -1.5154    
   2  Index         1.9023        .43661        .69802E-02   -.66816    
   3  Normalizat    1.0092        .19746        .22673E-03   -.92722    
   4  Prefactor     .82564        .21500        .27043E-03   -.98790    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.42587e-11
Minuit parameter uncertainties:
  1  4.48021
  2  0.437515
  3  0.197602
  4  0.215224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857779': 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) = 5574.0613547
delta logL = 0.793131002602

Extracting fit parameters...

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  7.675e+00  4.480e+00  1.000e-04  1.000e+04 ( 1.000e-12)
538        Index:  1.902e+00  4.375e-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:  8.256e-01  2.152e-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.009e+00  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.04
Ra Dec: 356.999 -51.114
Photon Index (Free Index): 1.90 +/- 0.44
Photon Flux (Free Index): 3.87e-08 +/- 2.95e-08
Energy Flux (Free Index): 3.45e-05 +/- 3.12e-05

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/857779/cmap_HighResolution_679190401_679449601_4FGL_J2347.9-5106_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.36e-08', energy_flux2='3.45e-05', photon_flux_error='3.38e-08', dlogl='7.93e-01', energy_flux='1.87e-05', photon_flux2='3.87e-08', job_status='DONE', time_completed='2022-07-14 00:51:54.527197', photon_index_error2='0.44', photon_index2='1.90', ts='9.45', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='3.12e-05', EG='0.98', time_epoch_completed='1657785114.53', return_code='0', job_id='857779', GAL2='0.83', EG2='1.01', return_code2='0', energy_flux_error='9.96e-06', photon_flux_error2='2.95e-08', ts2='11.04', photon_index='2.49' WHERE bin_id='1697' AND source_name='4FGL J2347.9-5106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:51:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 857779: <4FGL_J2347.9-5106_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2347.9-5106_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:36:00 2022
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:36:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:36:01 2022
Terminated at Thu Jul 14 00:51:55 2022
Results reported at Thu Jul 14 00:51:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2347.9-5106_daily_bin1697 356.999 -51.1139 679190401 679449601 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 :                                   818.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            955 sec.

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

