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


Performing analysis on: 4FGL_J2347.9-5106_daily_bin1736
RA = 356.999, Dec = -51.1139
tmin = 689299201, tmax = 689558401
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='963510', job_status='RUN', time_executed='2022-11-08 00:44:13.268556', time_epoch_executed='1667897053.27' WHERE source_name='4FGL J2347.9-5106' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963510/ft1_4FGL_J2347.9-5106_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963510/ft2_4FGL_J2347.9-5106_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963510/ft1_4FGL_J2347.9-5106_daily_bin1736.fits outfile=/scratch/kocevski/963510/ft1_filteredMKT_4FGL_J2347.9-5106_daily_bin1736.fits ra=356.999 dec=-51.1139 rad=12.0 tmin=689299201.0 tmax=689558401.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.59
user 3.35
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963510/ft1_filtered_4FGL_J2347.9-5106_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/963510/ft2_4FGL_J2347.9-5106_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/963510/ltcube_689299201_689558401_4FGL_J2347.9-5106_daily_bin1736.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/963510/ft2_4FGL_J2347.9-5106_daily_bin1736.fits
.....................!
real 12.22
user 11.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963510/ft1_filtered_4FGL_J2347.9-5106_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963510/ft2_4FGL_J2347.9-5106_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/963510/ltcube_689299201_689558401_4FGL_J2347.9-5106_daily_bin1736.fits outfile=/scratch/kocevski/963510/expmap_689299201_689558401_4FGL_J2347.9-5106_daily_bin1736.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/963510/ltcube_689299201_689558401_4FGL_J2347.9-5106_daily_bin1736.fits
.....................!
real 191.59
user 186.08
sys 5.08

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/963510/ft1_filtered_4FGL_J2347.9-5106_daily_bin1736.fits scfile=/scratch/kocevski/963510/ft2_4FGL_J2347.9-5106_daily_bin1736.fits outfile=/scratch/kocevski/963510/cmap_689299201_689558401_4FGL_J2347.9-5106_daily_bin1736.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963510/ft1_filtered_4FGL_J2347.9-5106_daily_bin1736.fits scfile=/scratch/kocevski/963510/ft2_4FGL_J2347.9-5106_daily_bin1736.fits outfile=/scratch/kocevski/963510/cmap_HighResolution_689299201_689558401_4FGL_J2347.9-5106_daily_bin1736.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=356.999 yref=-51.1139 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/963510/ft1_filtered_4FGL_J2347.9-5106_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963510/ft2_4FGL_J2347.9-5106_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963510/Model_4FGL_J2347.9-5106_daily_bin1736.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/963510/ft1_filtered_4FGL_J2347.9-5106_daily_bin1736.fits.....................!
real 48.00
user 46.66
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.297       1.0000          .0000       .10000E+07
     2 'Prefactor '    31.497       1.0000          .0000       .10000E+07
     3 'Prefactor '    .83892E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .46038E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    13.832       1.0000          .0000       .10000E+07
     6 'Prefactor '    .63685E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.0381       1.0000          .0000       .10000E+07
     8 'norm      '    .35699E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4306       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12021E-05   1.0000          .0000       .10000E+07
    11 'norm      '    29.638       1.0000          .0000       .10000E+07
    12 'Prefactor '    .89363       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18062E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .74004E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.1606       1.0000          .0000       .10000E+07
    16 'norm      '    .10037E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .72523E-04   1.0000          .0000       .10000E+07
    18 'norm      '    4.7450       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.0228       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.1115       1.0000          .0000       .10000E+07
    21 'norm      '    .23060E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .23047E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .64328       1.0000          .0000       .10000E+07
    24 'norm      '    .39646E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    6.7398       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.4971       1.0000          .0000       .10000E+07
    27 'Prefactor '    2.6941       1.0000          .0000       .10000E+07
    28 'norm      '    18.377       1.0000          .0000       .10000E+07
    29 'Prefactor '    .25645E-05   1.0000          .0000       .10000E+07
    30 'Prefactor '    .56362E-04   1.0000          .0000       .10000E+07
    31 'Normalizat'    1.0540       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .68176       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=   6933.594     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     2414 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.010        32.427        .31287E-05   -.46534E-01
   2  Prefactor     31.570        2.0690        .40384E-07   -.10829E-01
   3  Prefactor     .38447E-06    7.4763        .36334E-05** at limit **
   4  Prefactor     .22204E-09    3.1628       -.40818E-07** at limit **
   5  Prefactor     13.842        6.9568        .44133E-06    .51815E-02
   6  Prefactor     .14883E-06    2.2047       -.95739E-06** at limit **
   7  Prefactor     8.0122        5.0973       -.84644E-07   -.38542E-03
   8  norm          .94036E-07    13.428       -.12724E-05** at limit **
   9  Prefactor     4.4499        3.8568        .20465E-06   -.36628E-02
  10  Prefactor     .33129E-06    22.971        .18370E-05** at limit **
  11  norm          29.652        1.4051        .10872E-06    .13631E-01
  12  Prefactor     .89976        .48680       -.17486E-06   -.71683E-02
  13  Prefactor     .66613E-09    5.8978        .92821E-07** at limit **
  14  Prefactor     .59786E-07    8.3413       -.33810E-05** at limit **
  15  Prefactor     6.1841        1.4794        .43772E-08   -.84216E-03
  16  norm           .0000        2.4428       -.18384E-06** at limit **
  17  norm           .0000        2.0361       -.33991E-06** at limit **
  18  norm          4.7310        3.4236       -.76098E-07    .43347E-02
  19  Prefactor     7.0368        5.2172       -.57950E-07    .77363E-03
  20  Prefactor     7.6961        14.841        .21229E-05   -.52328E-01
  21  norm          .12519E-05    5.3413        .72292E-06** at limit **
  22  Prefactor     .32752E-07    4.0562        .28465E-07** at limit **
  23  norm          .64351        .61323        .11334E-08    .42729E-02
  24  norm          .55511E-10    1.7585       -.21567E-06** at limit **
  25  Prefactor     6.7493        1.2215        .40642E-07   -.59754E-02
  26  Prefactor     1.4991        1.6859       -.18645E-06    .48788E-02
  27  Prefactor     2.7155        2.9699        .18024E-05    .11206E-01
  28  norm          18.419        3.0809       -.62199E-06   -.12070E-01
  29  Prefactor     .12385E-06    2.8161        .10950E-05** at limit **
  30  Prefactor     .16653E-09    1.2818       -.13806E-06** at limit **
  31  Normalizat    1.0534        .17447       -.44289E-05    .79273E-04
  32  Prefactor     .68173        .18745        .10315E-05   -.39546E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.0105
  Prefactor  = 31.5702
  Prefactor  = 3.8447e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 13.8422
  Prefactor  = 1.48825e-07
  Prefactor  = 8.01221
  norm       = 9.40359e-08
  Prefactor  = 4.44987
  Prefactor  = 3.31291e-07
  norm       = 29.6519
  Prefactor  = 0.899762
  Prefactor  = 6.66134e-10
  Prefactor  = 5.97855e-08
  Prefactor  = 6.18411
  norm       = 0
  norm       = 0
  norm       = 4.73099
  Prefactor  = 7.03683
  Prefactor  = 7.69611
  norm       = 1.25194e-06
  Prefactor  = 3.27516e-08
  norm       = 0.643509
  norm       = 5.55112e-11
  Prefactor  = 6.74931
  Prefactor  = 1.49908
  Prefactor  = 2.71551
  norm       = 18.4192
  Prefactor  = 1.23845e-07
  Prefactor  = 1.66533e-10
  Normalizat = 1.05337
  Prefactor  = 0.681731
 **********
 **   18 **HESSE 
 **********

 FCN=   6933.594     FROM HESSE     STATUS=OK           729 CALLS     3143 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.010        35.381        .15755E-03   -1.5580    
   2  Prefactor     31.570        21.196        .17821E-03   -1.5596    
   3  Prefactor     .38447E-06    10.287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-09    3.1590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.842        6.9706        .26906E-03   -1.5634    
   6  Prefactor     .14883E-06    4.1650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.0122        5.1006        .35340E-03   -1.5651    
   8  norm          .94036E-07    13.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4499        4.4719        .47818E-03   -1.5666    
  10  Prefactor     .33129E-06    29.807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          29.652        9.9556        .18371E-03   -1.5599    
  12  Prefactor     .89976        7.9413        .46202E-03   -1.5689    
  13  Prefactor     .66613E-09    5.9028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .59786E-07    9.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.1841        9.9966        .40423E-03   -1.5658    
  16  norm           .0000        2.4428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.0364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.7310        3.4701        .46168E-03   -1.5664    
  19  Prefactor     7.0368        5.2735        .37832E-03   -1.5655    
  20  Prefactor     7.6961        24.938        .37593E-03   -1.5652    
  21  norm          .12519E-05    2.3053        .60782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .32752E-07    4.4979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .64351        .61532        .65437E-03   -1.5692    
  24  norm          .55511E-10    1.7481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.7493        12.940        .38626E-03   -1.5656    
  26  Prefactor     1.4991        1.7405        .87517E-03   -1.5683    
  27  Prefactor     2.7155        17.452        .62043E-03   -1.5675    
  28  norm          18.419        15.322        .23336E-03   -1.5622    
  29  Prefactor     .12385E-06    4.1745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .16653E-09    1.2820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.0534        .15032        .40297E-01   -.91263    
  32  Prefactor     .68173        .15829        .62471E-01   -1.0425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51016e-07
Minuit parameter uncertainties:
  1  35.3816
  2  21.1965
  3  0.00397736
  4  5.30465e-05
  5  6.97056
  6  0.00157468
  7  5.10064
  8  0.00228034
  9  4.47186
  10  0.00628513
  11  9.95559
  12  5.34616
  13  0.000124189
  14  0.00150931
  15  9.99664
  16  3.13311e-06
  17  6.85948e-06
  18  3.47011
  19  5.27353
  20  24.9385
  21  0.00339772
  22  0.000767788
  23  0.615325
  24  2.13476e-05
  25  12.9396
  26  1.74045
  27  13.7684
  28  15.3223
  29  0.00143813
  30  3.1328e-05
  31  0.150385
  32  0.158392
Done.

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

Extracting fit parameters...

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  1.499e+00  1.740e+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:  6.817e-01  1.584e-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.053e+00  1.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.79
Ra Dec: 356.999 -51.114
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 1.49e-08 +/- 1.72e-08
Energy Flux (Fixed Index): 4.38e-06 +/- 5.08e-06

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

Saving results to:
/scratch/kocevski/963510/likelihoodResults_689299201_689558401_4FGL_J2347.9-5106_daily_bin1736.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) = 6932.43674721
delta logL = 1.15758766199

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6932.38061019
delta logL = 1.21372468307

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95604       1.0000          .0000       .10000E+07
     2 'Index     '    1.2516       1.0000          .0000       10.000    
     3 'Normalizat'    1.0685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67161       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=   6932.381     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      209 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95317        1.0154        .42202E-03    .33833E-02
   2  Index         1.2511        .40256        .25170       -.15519E-03
   3  Normalizat    1.0685        .14366        .39458E-01   -.16234E-03
   4  Prefactor     .67159        .15758        .62876E-01   -.19788E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.953171
  Index      = 1.25109
  Normalizat = 1.06852
  Prefactor  = 0.671586
 **********
 **   18 **HESSE 
 **********

 FCN=   6932.381     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95317        1.3770        .82717E-05   -1.5688    
   2  Index         1.2511        .62301        .97020E-02   -.84773    
   3  Normalizat    1.0685        .17030        .20635E-03   -.90769    
   4  Prefactor     .67159        .18654        .27816E-03   -1.0465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19172e-10
Minuit parameter uncertainties:
  1  1.37701
  2  0.626756
  3  0.170392
  4  0.186709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963510': 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) = 6932.38060772
delta logL = 1.21372714829

Extracting fit parameters...

4FGL J2347.9-5106
   Spectrum: PowerLaw
537    Prefactor:  9.532e-01  1.377e+00  0.000e+00  1.000e+06 ( 1.000e-12)
538        Index:  1.251e+00  6.268e-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:  6.716e-01  1.867e-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.069e+00  1.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.22
Ra Dec: 356.999 -51.114
Photon Index (Free Index): 1.25 +/- 0.63
Photon Flux (Free Index): 3.85e-09 +/- 4.82e-09
Energy Flux (Free Index): 2.75e-05 +/- 4.51e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/963510/cmap_HighResolution_689299201_689558401_4FGL_J2347.9-5106_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-03', comment='SUCCESS', photon_flux='1.49e-08', energy_flux2='2.75e-05', photon_flux_error='1.72e-08', dlogl='1.21e+00', energy_flux='4.38e-06', photon_flux2='3.85e-09', job_status='DONE', time_completed='2022-11-08 00:56:51.296945', photon_index_error2='0.63', photon_index2='1.25', ts='1.79', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='6.25e-08', energy_flux_error2='4.51e-05', EG='1.05', time_epoch_completed='1667897811.3', return_code='0', job_id='963510', GAL2='0.67', EG2='1.07', return_code2='0', energy_flux_error='5.08e-06', photon_flux_error2='4.82e-09', ts2='4.22', photon_index='2.49' WHERE bin_id='1736' AND source_name='4FGL J2347.9-5106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:56:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 963510: <4FGL_J2347.9-5106_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2347.9-5106_daily_bin1736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 00:40:29 2022
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:40:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:40:30 2022
Terminated at Tue Nov  8 00:56:51 2022
Results reported at Tue Nov  8 00:56:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2347.9-5106_daily_bin1736 356.999 -51.1139 689299201 689558401 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 :                                   759.53 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             277.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            982 sec.

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

