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


Performing analysis on: 4FGL_J0347.7-3616_daily_bin1709
RA = 56.947, Dec = -36.2808
tmin = 682300801, tmax = 682560001
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='17374', job_status='RUN', time_executed='2022-09-16 11:01:29.936074', time_epoch_executed='1663351289.94' WHERE source_name='4FGL J0347.7-3616' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17374

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17374/ft1_4FGL_J0347.7-3616_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17374/ft2_4FGL_J0347.7-3616_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17374/ft1_4FGL_J0347.7-3616_daily_bin1709.fits outfile=/scratch/kocevski/17374/ft1_filteredMKT_4FGL_J0347.7-3616_daily_bin1709.fits ra=56.947 dec=-36.2808 rad=12.0 tmin=682300801.0 tmax=682560001.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.14
user 2.89
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17374/ft2_4FGL_J0347.7-3616_daily_bin1709.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/17374/ft1_filteredMKT_4FGL_J0347.7-3616_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/17374/ft1_filtered_4FGL_J0347.7-3616_daily_bin1709.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.46
user 0.31
sys 0.15

Number of photons that the gtmktime cut: 480

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17374/ft1_filtered_4FGL_J0347.7-3616_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/17374/ft2_4FGL_J0347.7-3616_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/17374/ltcube_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.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/17374/ft2_4FGL_J0347.7-3616_daily_bin1709.fits
.....................!
real 14.13
user 13.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17374/ft1_filtered_4FGL_J0347.7-3616_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/17374/ft2_4FGL_J0347.7-3616_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/17374/ltcube_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.fits outfile=/scratch/kocevski/17374/expmap_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.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/17374/ltcube_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.fits
.....................!
real 160.18
user 155.31
sys 4.53

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/17374/ft1_filtered_4FGL_J0347.7-3616_daily_bin1709.fits scfile=/scratch/kocevski/17374/ft2_4FGL_J0347.7-3616_daily_bin1709.fits outfile=/scratch/kocevski/17374/cmap_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17374/ft1_filtered_4FGL_J0347.7-3616_daily_bin1709.fits scfile=/scratch/kocevski/17374/ft2_4FGL_J0347.7-3616_daily_bin1709.fits outfile=/scratch/kocevski/17374/cmap_HighResolution_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.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.51
user 0.35
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17374/ft1_filtered_4FGL_J0347.7-3616_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/17374/ft2_4FGL_J0347.7-3616_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17374/Model_4FGL_J0347.7-3616_daily_bin1709.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/17374/ft1_filtered_4FGL_J0347.7-3616_daily_bin1709.fits....................!
real 94.81
user 93.50
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17374/ft1_filtered_4FGL_J0347.7-3616_daily_bin1709.fits', '/scratch/kocevski/17374/ft2_4FGL_J0347.7-3616_daily_bin1709.fits', expMap='/scratch/kocevski/17374/expmap_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.fits', expCube='/scratch/kocevski/17374/ltcube_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17374/Model_4FGL_J0347.7-3616_daily_bin1709.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/17374/ft1_filtered_4FGL_J0347.7-3616_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/17374/ft2_4FGL_J0347.7-3616_daily_bin1709.fits
Exposure map: /scratch/kocevski/17374/expmap_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.fits
Exposure cube: /scratch/kocevski/17374/ltcube_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17374/Model_4FGL_J0347.7-3616_daily_bin1709.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) = 5304.79924755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7949       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.4001       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15265E-01   1.0000          .0000       .10000E+07
     4 'norm      '    2.4474       1.0000          .0000       .10000E+07
     5 'norm      '    1.9371       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18303E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.0275       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7045       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.5175       1.0000          .0000       .10000E+07
    10 'norm      '    3.4767       1.0000          .0000       .10000E+07
    11 'Prefactor '    .60488E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .13621E-02   1.0000          .0000       .10000E+07
    13 'norm      '    2.0361       1.0000          .0000       .10000E+07
    14 'norm      '    .75026       1.0000          .0000       .10000E+07
    15 'Prefactor '    23.758       1.0000          .0000       .10000E+07
    16 'Prefactor '    .42953E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5450       1.0000          .0000       .10000E+07
    18 'norm      '    .98772       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2221       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87167       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=   5304.790     FROM MIGRAD    STATUS=CONVERGED    103 CALLS     1462 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7997        11.909       -.22617E-05   -.53169E-01
   2  Prefactor     8.1372        25.679       -.69285E-06   -.55154E-01
   3  Prefactor      .0000        11.795       -.74400E-06** at limit **
   4  norm          2.4470        2.7863        .22125E-06    .44087E-03
   5  norm          1.9359        1.0390        .13764E-06   -.10705E-02
   6  Prefactor     .55511E-10    31.264       -.43591E-06** at limit **
   7  Prefactor     4.8883        26.756       -.24292E-05    .54593E-01
   8  Prefactor     1.7029        3.6029        .72629E-06    .14065E-02
   9  Prefactor     1.4949        3.8383       -.13836E-05    .13003E-01
  10  norm          3.4758        1.2885       -.39993E-07   -.39473E-03
  11  Prefactor     .27756E-09    38.611       -.34316E-05** at limit **
  12  norm           .0000        7.2065        .11598E-05** at limit **
  13  norm          2.0363        .52992        .34799E-07   -.26074E-02
  14  norm          .75766        1.4361       -.72509E-06    .15462E-01
  15  Prefactor     23.829        5.3654        .85421E-07    .21843E-01
  16  Prefactor     .35527E-08    25.853        .14079E-05** at limit **
  17  Prefactor     4.2269        9.5365        .40886E-06   -.33176E-02
  18  norm          .99306        .53025       -.40475E-08   -.24489E-02
  19  Normalizat    1.2234        .23857        .17663E-04   -.34915E-04
  20  Prefactor     .87142        .25529       -.21822E-04   -.18064E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.79966
  Prefactor  = 8.13718
  Prefactor  = 0
  norm       = 2.44697
  norm       = 1.93591
  Prefactor  = 5.55112e-11
  Prefactor  = 4.88834
  Prefactor  = 1.7029
  Prefactor  = 1.49492
  norm       = 3.4758
  Prefactor  = 2.77556e-10
  norm       = 0
  norm       = 2.03634
  norm       = 0.757665
  Prefactor  = 23.8287
  Prefactor  = 3.55271e-09
  Prefactor  = 4.22685
  norm       = 0.993064
  Normalizat = 1.22339
  Prefactor  = 0.871417
 **********
 **   18 **HESSE 
 **********

 FCN=   5304.790     FROM HESSE     STATUS=OK           339 CALLS     1801 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7997        12.290        .33775E-03   -1.5649    
   2  Prefactor     8.1372        30.129        .34565E-03   -1.5651    
   3  Prefactor      .0000        11.793        .17371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.4470        2.8154        .65363E-03   -1.5677    
   5  norm          1.9359        1.0392        .74575E-04   -1.5680    
   6  Prefactor     .55511E-10    31.287        .17151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8883        107.45        .44823E-03   -1.5664    
   8  Prefactor     1.7029        3.6371        .80520E-03   -1.5682    
   9  Prefactor     1.4949        65.496        .86730E-03   -1.5684    
  10  norm          3.4758        1.3093        .54207E-03   -1.5671    
  11  Prefactor     .27756E-09    38.781        .15145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        7.2178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0363        .56961        .57105E-03   -1.5679    
  14  norm          .75766        25.768        .56718E-03   -1.5691    
  15  Prefactor     23.829        32.291        .20521E-03   -1.5610    
  16  Prefactor     .35527E-08    25.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.2269        9.6898        .47197E-03   -1.5667    
  18  norm          .99306        .53191        .43330E-03   -1.5688    
  19  Normalizat    1.2234        .20107        .54124E-01   -.85883    
  20  Prefactor     .87142        .21511        .69564E-01   -.97147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78819e-06
Minuit parameter uncertainties:
  1  12.2904
  2  30.1295
  3  5.65801e-06
  4  2.81538
  5  1.03919
  6  6.61638e-05
  7  45.8375
  8  3.63713
  9  19.7903
  10  1.30933
  11  0.000203683
  12  1.23741e-05
  13  0.569609
  14  8.83712
  15  32.2915
  16  0.000604113
  17  9.68981
  18  0.531908
  19  0.201194
  20  0.215314
Done.

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

Extracting fit parameters...

4FGL J0347.7-3616
   Spectrum: PowerLaw
268    Prefactor:  1.495e+00  1.979e+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:  8.714e-01  2.153e-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.223e+00  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/17374/likelihoodResults_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.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) = 5304.76391243
delta logL = 0.0264759213615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5304.75818707
delta logL = 0.0322012832539

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6407       1.0000          .0000       .10000E+07
     2 'Index     '    2.8768       1.0000          .0000       10.000    
     3 'Normalizat'    1.2144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87547       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5304.758     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      254 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6392        19.647        .25086E-04    .10428E-02
   2  Index         2.8804        1.9462        .13130E-01    .52888E-04
   3  Normalizat    1.2141        .23332        .24001E-03   -.63714E-03
   4  Prefactor     .87593        .25499        .30697E-03   -.36424E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63925
  Index      = 2.88037
  Normalizat = 1.21408
  Prefactor  = 0.875931
 **********
 **   18 **HESSE 
 **********

 FCN=   5304.758     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6392        14.315        .10035E-05   -1.5675    
   2  Index         2.8804        1.6771        .52520E-03   -.43777    
   3  Normalizat    1.2141        .23366        .48003E-04   -.86169    
   4  Prefactor     .87593        .25524        .61393E-04   -.96987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43343e-10
Minuit parameter uncertainties:
  1  12.2931
  2  1.71804
  3  0.233857
  4  0.255588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17374': 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) = 5304.75818236
delta logL = 0.0322059966675

Extracting fit parameters...

4FGL J0347.7-3616
   Spectrum: PowerLaw
268    Prefactor:  2.639e+00  1.229e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.880e+00  1.718e+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:  8.759e-01  2.556e-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.214e+00  2.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 56.947 -36.281

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/17374/cmap_HighResolution_682300801_682560001_4FGL_J0347.7-3616_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.42e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2022-09-16 11:09:58.370381', job_id='17374', GAL2='0.88', fit_tolerance='1e-08', EG2='1.21', EG='1.22', time_epoch_completed='1663351798.37', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.22e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1709' AND source_name='4FGL J0347.7-3616' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:09:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 17374: <4FGL_J0347.7-3616_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0347.7-3616_daily_bin1709> 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) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:00:54 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:54 2022
Terminated at Fri Sep 16 11:09:59 2022
Results reported at Fri Sep 16 11:09:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0347.7-3616_daily_bin1709 56.947 -36.2808 682300801 682560001 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 :                                   510.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   544 sec.
    Turnaround time :                            570 sec.

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

