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


Performing analysis on: 4FGL_J2347.9-5106_daily_bin1780
RA = 356.999, Dec = -51.1139
tmin = 700704001, tmax = 700963201
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='81694', job_status='RUN', time_executed='2023-03-20 02:01:30.914689', time_epoch_executed='1679302890.91' WHERE source_name='4FGL J2347.9-5106' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81694

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81694/ft1_4FGL_J2347.9-5106_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81694/ft2_4FGL_J2347.9-5106_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81694/ft1_4FGL_J2347.9-5106_daily_bin1780.fits outfile=/scratch/kocevski/81694/ft1_filteredMKT_4FGL_J2347.9-5106_daily_bin1780.fits ra=356.999 dec=-51.1139 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.13
user 3.88
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81694/ft1_filtered_4FGL_J2347.9-5106_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/81694/ft2_4FGL_J2347.9-5106_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/81694/ltcube_700704001_700963201_4FGL_J2347.9-5106_daily_bin1780.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/81694/ft2_4FGL_J2347.9-5106_daily_bin1780.fits
.....................!
real 12.13
user 11.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81694/ft1_filtered_4FGL_J2347.9-5106_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/81694/ft2_4FGL_J2347.9-5106_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/81694/ltcube_700704001_700963201_4FGL_J2347.9-5106_daily_bin1780.fits outfile=/scratch/kocevski/81694/expmap_700704001_700963201_4FGL_J2347.9-5106_daily_bin1780.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/81694/ltcube_700704001_700963201_4FGL_J2347.9-5106_daily_bin1780.fits
.....................!
real 191.67
user 185.74
sys 5.55

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/81694/ft1_filtered_4FGL_J2347.9-5106_daily_bin1780.fits scfile=/scratch/kocevski/81694/ft2_4FGL_J2347.9-5106_daily_bin1780.fits outfile=/scratch/kocevski/81694/cmap_700704001_700963201_4FGL_J2347.9-5106_daily_bin1780.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81694/ft1_filtered_4FGL_J2347.9-5106_daily_bin1780.fits scfile=/scratch/kocevski/81694/ft2_4FGL_J2347.9-5106_daily_bin1780.fits outfile=/scratch/kocevski/81694/cmap_HighResolution_700704001_700963201_4FGL_J2347.9-5106_daily_bin1780.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.84
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/81694/ft1_filtered_4FGL_J2347.9-5106_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/81694/ft2_4FGL_J2347.9-5106_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/81694/Model_4FGL_J2347.9-5106_daily_bin1780.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/81694/ft1_filtered_4FGL_J2347.9-5106_daily_bin1780.fits.....................!
real 46.02
user 44.52
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    94.710       1.0000          .0000       .10000E+07
     2 'Prefactor '    34.212       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13878E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.8848       1.0000          .0000       .10000E+07
     5 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.308       1.0000          .0000       .10000E+07
     7 'Prefactor '    13.566       1.0000          .0000       .10000E+07
     8 'norm      '    .11274E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11534E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    57.087       1.0000          .0000       .10000E+07
    11 'norm      '    2.6407       1.0000          .0000       .10000E+07
    12 'Prefactor '    .73941E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.8678       1.0000          .0000       .10000E+07
    14 'Prefactor '    .15377E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .50682E-07   1.0000          .0000       .10000E+07
    16 'norm      '    8.2145       1.0000          .0000       .10000E+07
    17 'norm      '    .10381E-07   1.0000          .0000       .10000E+07
    18 'norm      '    .46074E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .40620E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .53852E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    17.363       1.0000          .0000       .10000E+07
    23 'norm      '    .17764E-08   1.0000          .0000       .10000E+07
    24 'norm      '    .49960E-08   1.0000          .0000       .10000E+07
    25 'Prefactor '    14.877       1.0000          .0000       .10000E+07
    26 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
    27 'Prefactor '    .10980E-06   1.0000          .0000       .10000E+07
    28 'norm      '    .43981E-06   1.0000          .0000       .10000E+07
    29 'Prefactor '    .89317E-07   1.0000          .0000       .10000E+07
    30 'Prefactor '    3.6606       1.0000          .0000       .10000E+07
    31 'Normalizat'    1.3034       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .70435       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=   6249.749     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     3753 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     94.733        1.3156       -.24296E-07    .31704E-01
   2  Prefactor     34.214        1.1108       -.18040E-07    .46151E-02
   3  Prefactor     .11102E-06    4.8306       -.56832E-06** at limit **
   4  Prefactor     2.8854        4.5480        .84846E-07   -.10439E-02
   5  Prefactor     .11102E-09    3.1402        .34544E-06** at limit **
   6  Prefactor     10.310        4.8785       -.34504E-06   -.19041E-01
   7  Prefactor     13.569        6.8333       -.11724E-06   -.39866E-01
   8  norm          .17730E-06    4.6970        .11112E-05** at limit **
   9  Prefactor     .12269E-05    11.163        .67018E-06** at limit **
  10  Prefactor     57.127        3.0399       -.10407E-06    .81540E-01
  11  norm          2.6417        6.5789       -.56929E-06   -.26763E-02
  12  Prefactor     .92204E-07    4.0532       -.15505E-06** at limit **
  13  Prefactor     2.8724        1.3087        .15508E-06   -.20588E-02
  14  Prefactor     .45075E-07    4.2735       -.39557E-06** at limit **
  15  Prefactor     .94369E-09    5.4398       -.47541E-06** at limit **
  16  norm          8.2137        6.6633       -.65185E-06   -.57586E-01
  17  norm          .55511E-10    1.6355       -.24414E-07** at limit **
  18  norm           .0000        1.3333        .29163E-06** at limit **
  19  Prefactor     .77383E-07    2.4583        .58659E-06** at limit **
  20  Prefactor     .69944E-08    21.402        .56626E-06** at limit **
  21  norm          .11102E-09    1.8958       -.93077E-07** at limit **
  22  Prefactor     17.399        4.2703        .35459E-07    .50144E-02
  23  norm           .0000        .21037        .57721E-07** at limit **
  24  norm           .0000        1.4791        .10914E-06** at limit **
  25  Prefactor     14.880        1.4134        .65613E-07    .77188E-02
  26  Prefactor      .0000        .89042        .23581E-06** at limit **
  27  Prefactor     .39579E-07    4.5949        .67411E-06** at limit **
  28  norm          .37376E-06    23.315        .14689E-05** at limit **
  29  Prefactor     .10852E-06    4.0982       -.21147E-06** at limit **
  30  Prefactor     3.6615        4.1273        .14939E-06   -.14229E-05
  31  Normalizat    1.3029        .21028       -.23925E-05    .90397E-05
  32  Prefactor     .70479        .21711        .28187E-05    .40881E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 94.733
  Prefactor  = 34.2142
  Prefactor  = 1.11022e-07
  Prefactor  = 2.88544
  Prefactor  = 1.11022e-10
  Prefactor  = 10.3101
  Prefactor  = 13.5687
  norm       = 1.77303e-07
  Prefactor  = 1.22691e-06
  Prefactor  = 57.1268
  norm       = 2.64167
  Prefactor  = 9.2204e-08
  Prefactor  = 2.87239
  Prefactor  = 4.50751e-08
  Prefactor  = 9.4369e-10
  norm       = 8.2137
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 7.73825e-08
  Prefactor  = 6.99441e-09
  norm       = 1.11022e-10
  Prefactor  = 17.3994
  norm       = 0
  norm       = 0
  Prefactor  = 14.8799
  Prefactor  = 0
  Prefactor  = 3.95795e-08
  norm       = 3.73757e-07
  Prefactor  = 1.08524e-07
  Prefactor  = 3.66146
  Normalizat = 1.30294
  Prefactor  = 0.704786
 **********
 **   18 **HESSE 
 **********

 FCN=   6249.749     FROM HESSE     STATUS=OK           721 CALLS     4474 TOTAL
                     EDM=   .86E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     94.733        72.444        .10276E-03   -1.5513    
   2  Prefactor     34.214        28.902        .17099E-03   -1.5591    
   3  Prefactor     .11102E-06    12.077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.8854        4.5643        .59811E-03   -1.5674    
   5  Prefactor     .11102E-09    3.1454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.310        8.9017        .31183E-03   -1.5644    
   7  Prefactor     13.569        8.1646        .27168E-03   -1.5634    
   8  norm          .17730E-06    10.677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .12269E-05    4.7983        .48772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     57.127        59.928        .13236E-03   -1.5557    
  11  norm          2.6417        8.3418        .62717E-03   -1.5675    
  12  Prefactor     .92204E-07    5.3035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.8724        31.829        .60000E-03   -1.5674    
  14  Prefactor     .45075E-07    11.909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .94369E-09    7.7467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.2137        7.7162        .34956E-03   -1.5651    
  17  norm          .55511E-10    1.6376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.3358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .77383E-07    11.266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .69944E-08    21.690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .11102E-09    1.9012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.399        14.889        .24009E-03   -1.5625    
  23  norm           .0000        .20993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        1.4837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     14.880        12.379        .25941E-03   -1.5631    
  26  Prefactor      .0000        .88892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .39579E-07    8.3379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .37376E-06    32.917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10852E-06    5.4010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.6615        4.3052        .52771E-03   -1.5670    
  31  Normalizat    1.3029        .17922        .48537E-01   -.83479    
  32  Prefactor     .70479        .18010        .67312E-01   -1.0334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63976e-07
Minuit parameter uncertainties:
  1  72.4443
  2  28.9025
  3  0.00231618
  4  4.56434
  5  3.6227e-05
  6  8.90171
  7  8.16458
  8  0.00275172
  9  0.00485269
  10  59.9291
  11  8.34179
  12  0.00139847
  13  19.1234
  14  0.00146546
  15  0.000170616
  16  7.71624
  17  1.45163e-05
  18  9.00329e-06
  19  0.0018673
  20  0.00077922
  21  3.17361e-05
  22  14.8895
  23  3.31763e-07
  24  1.02192e-05
  25  12.3789
  26  2.09605e-06
  27  0.00114925
  28  0.00701532
  29  0.00153108
  30  4.30522
  31  0.179307
  32  0.18025
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.048e-01  1.802e-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.303e+00  1.793e-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: 4.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/81694/likelihoodResults_700704001_700963201_4FGL_J2347.9-5106_daily_bin1780.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) = 6249.74905325
delta logL = -0.00012220264216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6249.74893174
delta logL = -6.88625732437e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12357E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1925       1.0000          .0000       10.000    
     3 'Normalizat'    1.3029       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70490       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6249.749     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      240 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .86260        .42118E-03** at limit **
   2  Index         2.5375        1.4844        .66314E-05     .0000    
   3  Normalizat    1.3029        1.0788       -.28560E-04    .11692E-03
   4  Prefactor     .70478        1.0546        .46528E-04   -.13273E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.53754
  Normalizat = 1.30294
  Prefactor  = 0.704782
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6249.749     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .86260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .72655        1.9587        .66314E-05   -.51495    
   3  Normalizat    1.3029        1.0788       -.28560E-04   -.83479    
   4  Prefactor     .70478        1.0546        .46528E-04   -1.0334    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.9403e-10
Minuit parameter uncertainties:
  1  3.03619e-06
  2  1.51486
  3  1.09831
  4  1.08693
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81694': 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): 101
logL (Free Index) = 6249.74893105
delta logL = -1.5916157281e-10

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
591    Prefactor:  7.048e-01  1.087e+00  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.303e+00  1.098e+00  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/81694/cmap_HighResolution_700704001_700963201_4FGL_J2347.9-5106_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.40e-03', job_status='DONE', photon_flux_upper_limit='4.38e-08', time_completed='2023-03-20 02:15:36.104713', job_id='81694', GAL2='0.70', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1679303736.1', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='-1.59e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1780' AND source_name='4FGL J2347.9-5106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 02:15:36 PDT 2023


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

Job <4FGL_J2347.9-5106_daily_bin1780> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Mar 20 02:00:15 2023
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 02:00:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 02:00:16 2023
Terminated at Mon Mar 20 02:15:37 2023
Results reported at Mon Mar 20 02:15:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2347.9-5106_daily_bin1780 356.999 -51.1139 700704001 700963201 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 :                                   846.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            922 sec.

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

