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 48 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_J0348.5-2749_daily_bin1709
RA = 57.1417, Dec = -27.8303
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='17390', job_status='RUN', time_executed='2022-09-16 11:01:56.647557', time_epoch_executed='1663351316.65' WHERE source_name='4FGL J0348.5-2749' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17390

Creating custom pfile directory:
/scratch/kocevski/17390/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/17390/ft1_4FGL_J0348.5-2749_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/17390/ft2_4FGL_J0348.5-2749_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17390/ft1_4FGL_J0348.5-2749_daily_bin1709.fits outfile=/scratch/kocevski/17390/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1709.fits ra=57.1417 dec=-27.8303 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.88
user 3.53
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17390/ft2_4FGL_J0348.5-2749_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17390/ft2_4FGL_J0348.5-2749_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/17390/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/17390/ft1_filtered_4FGL_J0348.5-2749_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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 482

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17390/ft1_filtered_4FGL_J0348.5-2749_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/17390/ft2_4FGL_J0348.5-2749_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/17390/ltcube_682300801_682560001_4FGL_J0348.5-2749_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/17390/ft2_4FGL_J0348.5-2749_daily_bin1709.fits
.....................!
real 13.67
user 13.22
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17390/ft1_filtered_4FGL_J0348.5-2749_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/17390/ft2_4FGL_J0348.5-2749_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/17390/ltcube_682300801_682560001_4FGL_J0348.5-2749_daily_bin1709.fits outfile=/scratch/kocevski/17390/expmap_682300801_682560001_4FGL_J0348.5-2749_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/17390/ltcube_682300801_682560001_4FGL_J0348.5-2749_daily_bin1709.fits
.....................!
real 190.90
user 185.76
sys 4.80

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 160 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 J0348.5-2749 @ 57.1417 -27.8303

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17390/ft1_filtered_4FGL_J0348.5-2749_daily_bin1709.fits scfile=/scratch/kocevski/17390/ft2_4FGL_J0348.5-2749_daily_bin1709.fits outfile=/scratch/kocevski/17390/cmap_682300801_682560001_4FGL_J0348.5-2749_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=57.1417 yref=-27.8303 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17390/ft1_filtered_4FGL_J0348.5-2749_daily_bin1709.fits scfile=/scratch/kocevski/17390/ft2_4FGL_J0348.5-2749_daily_bin1709.fits outfile=/scratch/kocevski/17390/cmap_HighResolution_682300801_682560001_4FGL_J0348.5-2749_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=57.1417 yref=-27.8303 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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17390/ft1_filtered_4FGL_J0348.5-2749_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/17390/ft2_4FGL_J0348.5-2749_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17390/Model_4FGL_J0348.5-2749_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/17390/ft1_filtered_4FGL_J0348.5-2749_daily_bin1709.fits.....................!
real 120.12
user 118.58
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17390/ft1_filtered_4FGL_J0348.5-2749_daily_bin1709.fits', '/scratch/kocevski/17390/ft2_4FGL_J0348.5-2749_daily_bin1709.fits', expMap='/scratch/kocevski/17390/expmap_682300801_682560001_4FGL_J0348.5-2749_daily_bin1709.fits', expCube='/scratch/kocevski/17390/ltcube_682300801_682560001_4FGL_J0348.5-2749_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17390/Model_4FGL_J0348.5-2749_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0348.5-2749'

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  1.231e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
248        alpha:  2.088e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
249         beta:  6.312e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
250           Eb:  6.046e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17390/ft1_filtered_4FGL_J0348.5-2749_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/17390/ft2_4FGL_J0348.5-2749_daily_bin1709.fits
Exposure map: /scratch/kocevski/17390/expmap_682300801_682560001_4FGL_J0348.5-2749_daily_bin1709.fits
Exposure cube: /scratch/kocevski/17390/ltcube_682300801_682560001_4FGL_J0348.5-2749_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17390/Model_4FGL_J0348.5-2749_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) = 5361.58987358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44302E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .23942E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    31.056       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20829E-02   1.0000          .0000       .10000E+07
     5 'norm      '    2.9876       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.4722       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.3709       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.1908       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2316       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.7803       1.0000          .0000       .10000E+07
    11 'norm      '    3.6398       1.0000          .0000       .10000E+07
    12 'Prefactor '    .43297E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .61562E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15833E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.211       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.7457       1.0000          .0000       .10000E+07
    17 'norm      '    .45547E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.3230       1.0000          .0000       .10000E+07
    19 'norm      '    2.0942       1.0000          .0000       .10000E+07
    20 'norm      '    .14983E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.0366       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23800       1.0000          .0000       .10000E+07
    23 'Normalizat'    .84024       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2030       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5361.540     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1974 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.6621       -.34093E-06** at limit **
   2  Prefactor     .12068E-05    53.369        .41746E-06** at limit **
   3  Prefactor     31.171        5.5854       -.12664E-06    .16787E-01
   4  Prefactor     .40135E-07    12.887       -.15455E-06** at limit **
   5  norm          2.9865        3.1851       -.17345E-07    .93758E-04
   6  Prefactor     6.2392        9.4913       -.47557E-06    .76757E-01
   7  Prefactor     2.3699        2.1232        .82005E-07    .10677E-02
   8  Prefactor     2.1992        4.1586       -.21159E-06   -.35943E-03
   9  Prefactor     3.2207        4.5109       -.38766E-06    .16345E-03
  10  Prefactor     6.8560        1.0789       -.14581E-07    .37564E-02
  11  norm          3.6401        1.3263       -.89632E-07   -.53398E-05
  12  Prefactor     .12838E-05    12.641       -.10338E-05** at limit **
  13  norm           .0000        2.0845       -.91758E-08** at limit **
  14  Prefactor      .0000        42.300       -.69574E-06** at limit **
  15  Prefactor     54.873        7.7968        .72541E-07   -.91903E-01
  16  Prefactor     1.7422        3.4442        .29132E-07    .36847E-03
  17  norm          .33307E-08    7.5791        .37420E-06** at limit **
  18  Prefactor     5.4350        8.4018       -.46466E-06    .24936E-02
  19  norm          2.0941        .53263        .10752E-06    .12377E-01
  20  norm          .16067E-05    14.434        .27496E-06** at limit **
  21  Prefactor     4.0118        4.8812       -.68614E-07    .40039E-03
  22  Prefactor     .10019        1.8473       -.11688E-06** at limit **
  23  Normalizat    .83996        .23852        .10624E-04    .12990E-04
  24  Prefactor     1.2028        .23525       -.10294E-04   -.32228E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.20676e-06
  Prefactor  = 31.1715
  Prefactor  = 4.01346e-08
  norm       = 2.98652
  Prefactor  = 6.23918
  Prefactor  = 2.3699
  Prefactor  = 2.19923
  Prefactor  = 3.2207
  Prefactor  = 6.85597
  norm       = 3.64007
  Prefactor  = 1.28381e-06
  norm       = 0
  Prefactor  = 0
  Prefactor  = 54.8733
  Prefactor  = 1.74218
  norm       = 3.33067e-09
  Prefactor  = 5.43499
  norm       = 2.09411
  norm       = 1.60666e-06
  Prefactor  = 4.01179
  Prefactor  = 0.100185
  Normalizat = 0.839963
  Prefactor  = 1.20282
 **********
 **   18 **HESSE 
 **********

 FCN=   5361.540     FROM HESSE     STATUS=OK           457 CALLS     2431 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12068E-05    54.959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.171        22.660        .17947E-03   -1.5596    
   4  Prefactor     .40135E-07    12.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.9865        3.2285        .58707E-03   -1.5673    
   6  Prefactor     6.2392        94.275        .39426E-03   -1.5658    
   7  Prefactor     2.3699        2.1347        .66515E-03   -1.5677    
   8  Prefactor     2.1992        4.2399        .69504E-03   -1.5678    
   9  Prefactor     3.2207        4.5953        .56324E-03   -1.5672    
  10  Prefactor     6.8560        21.268        .38510E-03   -1.5656    
  11  norm          3.6401        1.3488        .52927E-03   -1.5670    
  12  Prefactor     .12838E-05    14.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        2.0401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        42.234        .17328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     54.873        37.099        .13583E-03   -1.5560    
  16  Prefactor     1.7422        3.5198        .79347E-03   -1.5682    
  17  norm          .33307E-08    7.5550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.4350        22.901        .43538E-03   -1.5661    
  19  norm          2.0941        .54630        .57251E-03   -1.5679    
  20  norm          .16067E-05    16.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.0118        4.9106        .50165E-03   -1.5668    
  22  Prefactor     .10019        14.182        .11135E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .83996        .20591        .65873E-01   -.98603    
  24  Prefactor     1.2028        .20141        .57887E-01   -.86245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64362e-06
Minuit parameter uncertainties:
  1  1.16235e-06
  2  0.0162877
  3  22.66
  4  0.0014391
  5  3.22847
  6  48.5064
  7  2.13467
  8  4.23994
  9  4.59534
  10  21.2685
  11  1.34883
  12  0.00851473
  13  1.44838e-05
  14  1.60647e-05
  15  37.0996
  16  3.51976
  17  0.000318392
  18  22.3132
  19  0.546298
  20  0.0103414
  21  4.91061
  22  2.384
  23  0.2061
  24  0.20154
Done.

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

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  3.640e+00  1.349e+00  0.000e+00  1.000e+06 ( 1.000e-11)
248        alpha:  2.088e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
249         beta:  6.312e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
250           Eb:  6.046e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.203e+00  2.015e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  8.400e-01  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.79
Ra Dec: 57.142 -27.830
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 1.30e-07 +/- 4.81e-08
Energy Flux (Fixed Index): 6.13e-05 +/- 2.27e-05

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) = 5361.42523162
delta logL = 0.114397565969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5361.41176269
delta logL = 0.127866490123

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5151       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2472       1.0000          .0000       5.0000    
     3 'Normalizat'    .82261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2141       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5361.412     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      208 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5151        3.2774        .53897E-03    .11432E-02
   2  alpha         2.2472        .76477        .19419        .26178E-04
   3  Normalizat    .82261        .19743        .66479E-01   -.11873E-04
   4  Prefactor     1.2141        .20377        .57657E-01    .44399E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.51511
  alpha      = 2.24722
  Normalizat = 0.822609
  Prefactor  = 1.2141
 **********
 **   18 **HESSE 
 **********

 FCN=   5361.412     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5151        1.3140        .46308E-05   -1.5670    
   2  alpha         2.2472        .32204        .82662E-02   -.10128    
   3  Normalizat    .82261        .22995        .29410E-03   -.99235    
   4  Prefactor     1.2141        .23525        .25495E-03   -.85899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15349e-11
Minuit parameter uncertainties:
  1  1.31402
  2  0.322945
  3  0.230224
  4  0.235451
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17390': 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) = 5361.41176269
delta logL = 0.127866490814

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  3.515e+00  1.314e+00  0.000e+00  1.000e+06 ( 1.000e-11)
248        alpha:  2.247e+00  3.229e-01  0.000e+00  5.000e+00 ( 1.000e+00)
249         beta:  6.312e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
250           Eb:  6.046e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.214e+00  2.355e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  8.226e-01  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.97
Ra Dec: 57.142 -27.830
Photon Index (Free Index): 2.25 +/- 0.32
Photon Flux (Free Index): 1.45e-07 +/- 5.88e-08
Energy Flux (Free Index): 5.44e-05 +/- 2.28e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/17390/cmap_HighResolution_682300801_682560001_4FGL_J0348.5-2749_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.30e-07', energy_flux2='5.44e-05', photon_flux_error='4.81e-08', dlogl='1.28e-01', energy_flux='6.13e-05', photon_flux2='1.45e-07', job_status='DONE', time_completed='2022-09-16 11:11:33.681197', photon_index_error2='0.32', photon_index2='2.25', ts='19.79', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='0.84', time_epoch_completed='1663351893.68', return_code='0', job_id='17390', GAL2='1.21', EG2='0.82', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='5.88e-08', ts2='19.97', photon_index='2.09' WHERE bin_id='1709' AND source_name='4FGL J0348.5-2749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:11:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 17390: <4FGL_J0348.5-2749_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0348.5-2749_daily_bin1709> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 11:00:31 2022
Job was executed on host(s) <bullet0024>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 11:01:00 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:01:00 2022
Terminated at Fri Sep 16 11:11:34 2022
Results reported at Fri Sep 16 11:11:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0348.5-2749_daily_bin1709 57.1417 -27.8303 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0348.5-2749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   579.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            663 sec.

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

