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


Performing analysis on: 4FGL_J0347.7-3616_daily_bin1710
RA = 56.947, Dec = -36.2808
tmin = 682560001, tmax = 682819201
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='17375', job_status='RUN', time_executed='2022-09-16 11:03:12.299225', time_epoch_executed='1663351392.3' WHERE source_name='4FGL J0347.7-3616' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17375

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17375/ft1_4FGL_J0347.7-3616_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17375/ft1_4FGL_J0347.7-3616_daily_bin1710.fits outfile=/scratch/kocevski/17375/ft1_filteredMKT_4FGL_J0347.7-3616_daily_bin1710.fits ra=56.947 dec=-36.2808 rad=12.0 tmin=682560001.0 tmax=682819201.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.69
user 3.43
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.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/17375/ft1_filteredMKT_4FGL_J0347.7-3616_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/17375/ft1_filtered_4FGL_J0347.7-3616_daily_bin1710.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 440

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17375/ft1_filtered_4FGL_J0347.7-3616_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/17375/ltcube_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.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/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.fits
.....................!
real 14.88
user 14.34
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17375/ft1_filtered_4FGL_J0347.7-3616_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/17375/ltcube_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.fits outfile=/scratch/kocevski/17375/expmap_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.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/17375/ltcube_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.fits
.....................!
real 194.26
user 186.79
sys 5.27

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 178 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0347.7-3616 @ 56.947 -36.2808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17375/ft1_filtered_4FGL_J0347.7-3616_daily_bin1710.fits scfile=/scratch/kocevski/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.fits outfile=/scratch/kocevski/17375/cmap_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.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=56.947 yref=-36.2808 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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17375/ft1_filtered_4FGL_J0347.7-3616_daily_bin1710.fits scfile=/scratch/kocevski/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.fits outfile=/scratch/kocevski/17375/cmap_HighResolution_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.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=56.947 yref=-36.2808 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.60
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17375/ft1_filtered_4FGL_J0347.7-3616_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17375/Model_4FGL_J0347.7-3616_daily_bin1710.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/17375/ft1_filtered_4FGL_J0347.7-3616_daily_bin1710.fits....................!
real 105.80
user 103.59
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17375/ft1_filtered_4FGL_J0347.7-3616_daily_bin1710.fits', '/scratch/kocevski/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.fits', expMap='/scratch/kocevski/17375/expmap_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.fits', expCube='/scratch/kocevski/17375/ltcube_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17375/Model_4FGL_J0347.7-3616_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0347.7-3616'

4FGL J0347.7-3616
   Spectrum: PowerLaw
268    Prefactor:  1.940e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.094e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17375/ft1_filtered_4FGL_J0347.7-3616_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/17375/ft2_4FGL_J0347.7-3616_daily_bin1710.fits
Exposure map: /scratch/kocevski/17375/expmap_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.fits
Exposure cube: /scratch/kocevski/17375/ltcube_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17375/Model_4FGL_J0347.7-3616_daily_bin1710.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) = 4856.9723979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.285       1.0000          .0000       .10000E+07
     2 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .20285E-02   1.0000          .0000       .10000E+07
     4 'norm      '    6.0481       1.0000          .0000       .10000E+07
     5 'norm      '    .54956E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    68.271       1.0000          .0000       .10000E+07
     7 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48461E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.431       1.0000          .0000       .10000E+07
    10 'norm      '    2.7057       1.0000          .0000       .10000E+07
    11 'Prefactor '    19.734       1.0000          .0000       .10000E+07
    12 'norm      '    1.4248       1.0000          .0000       .10000E+07
    13 'norm      '    .33718       1.0000          .0000       .10000E+07
    14 'norm      '    5.5751       1.0000          .0000       .10000E+07
    15 'Prefactor '    44.780       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.994       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13486E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .19429E-08   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1377       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .67261       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4856.637     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1598 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.659        30.655       -.10907E-06    .11194E-02
   2  Prefactor     .15099E-07    12.239        .28735E-06** at limit **
   3  Prefactor     .23887E-05    7.0994        .15615E-07** at limit **
   4  norm          6.0810        3.6457       -.20722E-07    .19437E-03
   5  norm           .0000        .46622       -.47322E-07** at limit **
   6  Prefactor     73.218        57.126        .11669E-06   -.99346E-01
   7  Prefactor     .19411E-05    8.8991        .87538E-07** at limit **
   8  Prefactor      .0000        2.2028       -.43580E-07** at limit **
   9  Prefactor     12.119        13.107        .77967E-08   -.55350E-03
  10  norm          2.7043        1.0542        .22468E-07   -.34856E-03
  11  Prefactor     23.336        41.265        .16575E-06    .77467E-01
  12  norm          1.5140        19.756       -.21563E-05   -.78399E-03
  13  norm          .33737        .24822        .32958E-09   -.15218E-03
  14  norm          5.5811        6.0247       -.87770E-09   -.29776E-04
  15  Prefactor     44.389        39.856       -.52634E-07    .31247E-01
  16  Prefactor     16.075        12.146       -.42138E-07   -.61305E-04
  17  Prefactor     .11841E-06    14.535       -.82396E-07** at limit **
  18  norm           .0000        .18580        .29394E-07** at limit **
  19  Normalizat    1.1381        .21799        .16016E-05    .43699E-05
  20  Prefactor     .67138        .23122       -.25541E-06   -.22739E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.6586
  Prefactor  = 1.5099e-08
  Prefactor  = 2.3887e-06
  norm       = 6.08096
  norm       = 0
  Prefactor  = 73.2184
  Prefactor  = 1.94111e-06
  Prefactor  = 0
  Prefactor  = 12.1189
  norm       = 2.7043
  Prefactor  = 23.3364
  norm       = 1.51397
  norm       = 0.337369
  norm       = 5.58112
  Prefactor  = 44.3893
  Prefactor  = 16.0745
  Prefactor  = 1.18405e-07
  norm       = 0
  Normalizat = 1.13807
  Prefactor  = 0.671381
 **********
 **   18 **HESSE 
 **********

 FCN=   4856.637     FROM HESSE     STATUS=OK           331 CALLS     1929 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.659        30.528        .12571E-03   -1.5551    
   2  Prefactor     .15099E-07    12.284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .23887E-05    15.156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.0810        3.6543        .40803E-03   -1.5659    
   5  norm           .0000        .46476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     73.218        68.886        .12103E-03   -1.5537    
   7  Prefactor     .19411E-05    15.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.2015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.119        13.113        .28386E-03   -1.5638    
  10  norm          2.7043        1.0556        .61899E-04   -1.5675    
  11  Prefactor     23.336        66.935        .22518E-03   -1.5611    
  12  norm          1.5140        19.656        .90539E-03   -1.5683    
  13  norm          .33737        .25203        .64144E-03   -1.5696    
  14  norm          5.5811        6.0221        .42525E-03   -1.5661    
  15  Prefactor     44.389        40.812        .14945E-03   -1.5575    
  16  Prefactor     16.075        12.161        .25017E-03   -1.5628    
  17  Prefactor     .11841E-06    14.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .18417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1381        .18726        .36638E-01   -.88539    
  20  Prefactor     .67138        .20043        .67639E-01   -1.0466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51505e-06
Minuit parameter uncertainties:
  1  30.5276
  2  0.000861364
  3  0.0120336
  4  3.6543
  5  7.20084e-07
  6  68.8868
  7  0.0109658
  8  3.81592e-06
  9  13.1129
  10  1.05564
  11  66.9374
  12  10.9102
  13  0.252032
  14  6.02211
  15  40.8118
  16  12.1614
  17  0.00264884
  18  2.60612e-08
  19  0.187368
  20  0.200649
Done.

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

Extracting fit parameters...

4FGL J0347.7-3616
   Spectrum: PowerLaw
268    Prefactor:  1.212e+01  1.311e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.094e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  6.714e-01  2.006e-01  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  1.138e+00  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.64
Ra Dec: 56.947 -36.281
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 2.67e-08 +/- 2.89e-08
Energy Flux (Fixed Index): 8.82e-06 +/- 9.54e-06

TS (Fixed Index): 1.64
Ra Dec: 56.947 -36.281
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/17375/likelihoodResults_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.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) = 4856.12009896
delta logL = 0.516725315363

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4856.09003323
delta logL = 0.546791040592

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8535       1.0000          .0000       .10000E+07
     2 'Index     '    3.5340       1.0000          .0000       10.000    
     3 'Normalizat'    1.0837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4856.090     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      313 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8610        58.486        .51383E-03    .26060E-02
   2  Index         3.5313        3.1521        .13088        .11181E-03
   3  Normalizat    1.0836        .62399E-01    .38708E-01    .48814E-05
   4  Prefactor     .71062        .62697E-01    .65906E-01    .15271E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.86096
  Index      = 3.5313
  Normalizat = 1.08363
  Prefactor  = 0.71062
 **********
 **   18 **HESSE 
 **********

 FCN=   4856.090     FROM HESSE     STATUS=OK            33 CALLS      346 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8610        13.724        .97931E-05   -1.5669    
   2  Index         3.5313        1.9584        .45991E-02   -.29814    
   3  Normalizat    1.0836        .22160        .21781E-03   -.90279    
   4  Prefactor     .71062        .23776        .29159E-03   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94342e-11
Minuit parameter uncertainties:
  1  13.7237
  2  2.01783
  3  0.221788
  4  0.238096
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17375': 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) = 4856.09002049
delta logL = 0.546803789143

Extracting fit parameters...

4FGL J0347.7-3616
   Spectrum: PowerLaw
268    Prefactor:  3.861e+00  1.372e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.531e+00  2.018e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.094e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  7.106e-01  2.381e-01  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  1.084e+00  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.81
Ra Dec: 56.947 -36.281
Photon Index (Free Index): 3.53 +/- 2.02
Photon Flux (Free Index): 7.13e-08 +/- 6.72e-08
Energy Flux (Free Index): 1.18e-05 +/- 8.98e-06

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/17375/cmap_HighResolution_682560001_682819201_4FGL_J0347.7-3616_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', comment='SUCCESS', photon_flux='2.67e-08', energy_flux2='1.18e-05', photon_flux_error='2.89e-08', dlogl='5.47e-01', energy_flux='8.82e-06', photon_flux2='7.13e-08', job_status='DONE', time_completed='2022-09-16 11:12:54.945812', photon_index_error2='2.02', photon_index2='3.53', ts='1.64', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='8.98e-06', EG='1.14', time_epoch_completed='1663351974.95', return_code='0', job_id='17375', GAL2='0.71', EG2='1.08', return_code2='0', energy_flux_error='9.54e-06', photon_flux_error2='6.72e-08', ts2='2.81', photon_index='2.39' WHERE bin_id='1710' AND source_name='4FGL J0347.7-3616' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:12:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 17375: <4FGL_J0347.7-3616_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0347.7-3616_daily_bin1710> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 11:00:29 2022
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:00:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 11:00:55 2022
Terminated at Fri Sep 16 11:12:55 2022
Results reported at Fri Sep 16 11:12:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0347.7-3616_daily_bin1710 56.947 -36.2808 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0347.7-3616 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   580.29 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             334.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            746 sec.

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

