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


Performing analysis on: 4FGL_J0348.5-2749_daily_bin1764
RA = 57.1417, Dec = -27.8303
tmin = 696556801, tmax = 696816001
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='434528', job_status='RUN', time_executed='2023-01-31 00:10:22.461049', time_epoch_executed='1675152622.46' WHERE source_name='4FGL J0348.5-2749' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434528

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434528/ft1_4FGL_J0348.5-2749_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434528/ft2_4FGL_J0348.5-2749_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434528/ft1_4FGL_J0348.5-2749_daily_bin1764.fits outfile=/scratch/kocevski/434528/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1764.fits ra=57.1417 dec=-27.8303 rad=12.0 tmin=696556801.0 tmax=696816001.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.73
user 3.44
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434528/ft2_4FGL_J0348.5-2749_daily_bin1764.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/434528/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/434528/ft1_filtered_4FGL_J0348.5-2749_daily_bin1764.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 569

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434528/ft1_filtered_4FGL_J0348.5-2749_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434528/ft2_4FGL_J0348.5-2749_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434528/ltcube_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.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/434528/ft2_4FGL_J0348.5-2749_daily_bin1764.fits
.....................!
real 15.28
user 14.90
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434528/ft1_filtered_4FGL_J0348.5-2749_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434528/ft2_4FGL_J0348.5-2749_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434528/ltcube_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.fits outfile=/scratch/kocevski/434528/expmap_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.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/434528/ltcube_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.fits
.....................!
real 192.99
user 186.99
sys 5.50

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/434528/ft1_filtered_4FGL_J0348.5-2749_daily_bin1764.fits scfile=/scratch/kocevski/434528/ft2_4FGL_J0348.5-2749_daily_bin1764.fits outfile=/scratch/kocevski/434528/cmap_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434528/ft1_filtered_4FGL_J0348.5-2749_daily_bin1764.fits scfile=/scratch/kocevski/434528/ft2_4FGL_J0348.5-2749_daily_bin1764.fits outfile=/scratch/kocevski/434528/cmap_HighResolution_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434528/ft1_filtered_4FGL_J0348.5-2749_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434528/ft2_4FGL_J0348.5-2749_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434528/Model_4FGL_J0348.5-2749_daily_bin1764.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/434528/ft1_filtered_4FGL_J0348.5-2749_daily_bin1764.fits.....................!
real 138.87
user 136.37
sys 1.96

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434528/ft1_filtered_4FGL_J0348.5-2749_daily_bin1764.fits', '/scratch/kocevski/434528/ft2_4FGL_J0348.5-2749_daily_bin1764.fits', expMap='/scratch/kocevski/434528/expmap_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.fits', expCube='/scratch/kocevski/434528/ltcube_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434528/Model_4FGL_J0348.5-2749_daily_bin1764.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/434528/ft1_filtered_4FGL_J0348.5-2749_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/434528/ft2_4FGL_J0348.5-2749_daily_bin1764.fits
Exposure map: /scratch/kocevski/434528/expmap_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.fits
Exposure cube: /scratch/kocevski/434528/ltcube_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434528/Model_4FGL_J0348.5-2749_daily_bin1764.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) = 6215.88242473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8706       1.0000          .0000       .10000E+07
     2 'Prefactor '    219.46       1.0000          .0000       .10000E+07
     3 'Prefactor '    .79350E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.6737       1.0000          .0000       .10000E+07
     5 'norm      '    .16879E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    40.562       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36057       1.0000          .0000       .10000E+07
     8 'Prefactor '    .73857E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .36717E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .26404E-03   1.0000          .0000       .10000E+07
    11 'norm      '    2.9737       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18954E-02   1.0000          .0000       .10000E+07
    13 'norm      '    2.0759       1.0000          .0000       .10000E+07
    14 'Prefactor '    .34655E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .25315E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.6240       1.0000          .0000       .10000E+07
    17 'norm      '    .29212E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .41860E-03   1.0000          .0000       .10000E+07
    19 'norm      '    3.0044       1.0000          .0000       .10000E+07
    20 'norm      '    15.006       1.0000          .0000       .10000E+07
    21 'Prefactor '    .19837E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .76795E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .77374       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0845       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=   6215.879     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     2030 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8708        3.0985       -.17608E-06    .57286E-03
   2  Prefactor     217.53        224.50        .14435E-06    .29720E-02
   3  Prefactor     .95146E-07    18.799        .36720E-06** at limit **
   4  Prefactor     8.7026        30.003       -.58336E-06    .15015E-01
   5  norm           .0000        4.0342       -.11855E-06** at limit **
   6  Prefactor     40.362        36.215        .28515E-07   -.56035E-02
   7  Prefactor     .36176        1.4812       -.99809E-07    .35134E-03
   8  Prefactor      .0000        8.0081        .24601E-06** at limit **
   9  Prefactor      .0000        2.4077       -.14595E-06** at limit **
  10  Prefactor     .16653E-09    10.069        .70803E-06** at limit **
  11  norm          2.9738        1.0628       -.97503E-07    .32569E-02
  12  Prefactor     .23148E-07    21.095       -.33529E-06** at limit **
  13  norm          2.0762        1.5145       -.33141E-07    .67053E-03
  14  Prefactor     .73350E-04    22.910        .34359E-06** at limit **
  15  Prefactor      .0000        8.3104        .13922E-06** at limit **
  16  Prefactor     1.6226        2.3079       -.93297E-07    .45035E-03
  17  norm           .0000        4.3751        .13576E-07** at limit **
  18  Prefactor     .72331E-07    16.147        .48340E-06** at limit **
  19  norm          3.0043        .50004       -.39545E-08    .15743E-02
  20  norm          15.004        8.1090       -.47952E-08    .14374E-03
  21  Prefactor      .0000        4.5435        .30827E-07** at limit **
  22  Prefactor     .61062E-09    10.776        .30109E-06** at limit **
  23  Normalizat    .77385        .19008       -.71763E-05    .39429E-04
  24  Prefactor     1.0847        .19869        .57247E-05    .24979E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.87081
  Prefactor  = 217.528
  Prefactor  = 9.51461e-08
  Prefactor  = 8.70261
  norm       = 0
  Prefactor  = 40.3616
  Prefactor  = 0.361761
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  norm       = 2.97384
  Prefactor  = 2.31482e-08
  norm       = 2.07619
  Prefactor  = 7.33502e-05
  Prefactor  = 0
  Prefactor  = 1.62265
  norm       = 0
  Prefactor  = 7.2331e-08
  norm       = 3.0043
  norm       = 15.0043
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  Normalizat = 0.773846
  Prefactor  = 1.08466
 **********
 **   18 **HESSE 
 **********

 FCN=   6215.879     FROM HESSE     STATUS=OK           439 CALLS     2469 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8708        3.1077        .59969E-03   -1.5674    
   2  Prefactor     217.53        225.57        .67510E-04   -1.5413    
   3  Prefactor     .95146E-07    19.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7026        31.164        .34011E-03   -1.5649    
   5  norm           .0000        3.9661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     40.362        36.319        .15703E-03   -1.5581    
   7  Prefactor     .36176        1.5746        .94205E-03   -1.5696    
   8  Prefactor      .0000        7.8589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.3948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16653E-09    10.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9738        1.0620        .58854E-04   -1.5673    
  12  Prefactor     .23148E-07    21.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0762        1.5435        .71657E-03   -1.5679    
  14  Prefactor     .73350E-04    213.41        .16214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        8.3090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.6226        2.3379        .82993E-03   -1.5682    
  17  norm           .0000        4.3727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .72331E-07    16.301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.0043        .49796        .48342E-03   -1.5673    
  20  norm          15.004        8.0921        .25829E-03   -1.5630    
  21  Prefactor      .0000        4.4974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .61062E-09    10.768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .77385        .16518        .43267E-01   -1.0105    
  24  Prefactor     1.0847        .17184        .55437E-01   -.89958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79802e-07
Minuit parameter uncertainties:
  1  3.10771
  2  225.582
  3  0.00269107
  4  31.1646
  5  5.40953e-06
  6  36.3196
  7  1.50948
  8  2.01151e-06
  9  2.53821e-06
  10  8.00441e-05
  11  1.06197
  12  0.00139887
  13  1.54351
  14  0.250238
  15  8.3078e-06
  16  2.33788
  17  7.72484e-07
  18  0.00217192
  19  0.497961
  20  8.09215
  21  1.32809e-06
  22  0.000158504
  23  0.165286
  24  0.171927
Done.

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

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  2.974e+00  1.062e+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.085e+00  1.719e-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:  7.738e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.12
Ra Dec: 57.142 -27.830
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 3.79e-08
Energy Flux (Fixed Index): 5.00e-05 +/- 1.79e-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) = 6215.34143531
delta logL = 0.537661727863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6215.33571112
delta logL = 0.543385918922

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7452       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4584       1.0000          .0000       5.0000    
     3 'Normalizat'    .72775       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1149       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=   6215.336     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      236 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7452        13.154        .61419E-03    .25901E-01
   2  alpha         2.4584        3.7277        .21407        .31994E-04
   3  Normalizat    .72776        .13530        .63213E-01    .20776E-04
   4  Prefactor     1.1149        .11394        .54767E-01    .58067E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.74519
  alpha      = 2.45845
  Normalizat = 0.727765
  Prefactor  = 1.11485
 **********
 **   18 **HESSE 
 **********

 FCN=   6215.336     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7452        1.0397        .40784E-05   -1.5675    
   2  alpha         2.4584        .37151        .89321E-02   -.16621E-01
   3  Normalizat    .72776        .19356        .27965E-03   -1.0281    
   4  Prefactor     1.1149        .19895        .24215E-03   -.88993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74927e-10
Minuit parameter uncertainties:
  1  1.03972
  2  0.372895
  3  0.193744
  4  0.199086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434528': 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) = 6215.33571108
delta logL = 0.543385963789

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  2.745e+00  1.040e+00  0.000e+00  1.000e+06 ( 1.000e-11)
248        alpha:  2.458e+00  3.729e-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.115e+00  1.991e-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:  7.278e-01  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.27
Ra Dec: 57.142 -27.830
Photon Index (Free Index): 2.46 +/- 0.37
Photon Flux (Free Index): 1.41e-07 +/- 5.60e-08
Energy Flux (Free Index): 4.18e-05 +/- 1.49e-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/434528/cmap_HighResolution_696556801_696816001_4FGL_J0348.5-2749_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='4.18e-05', photon_flux_error='3.79e-08', dlogl='5.43e-01', energy_flux='5.00e-05', photon_flux2='1.41e-07', job_status='DONE', time_completed='2023-01-31 00:21:03.362757', photon_index_error2='0.37', photon_index2='2.46', ts='22.12', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.49e-05', EG='0.77', time_epoch_completed='1675153263.36', return_code='0', job_id='434528', GAL2='1.11', EG2='0.73', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='5.60e-08', ts2='23.27', photon_index='2.09' WHERE bin_id='1764' AND source_name='4FGL J0348.5-2749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:21:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 434528: <4FGL_J0348.5-2749_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0348.5-2749_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:05:03 2023
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:09:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:09:18 2023
Terminated at Tue Jan 31 00:21:04 2023
Results reported at Tue Jan 31 00:21:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0348.5-2749_daily_bin1764 57.1417 -27.8303 696556801 696816001 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 :                                   638.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   705 sec.
    Turnaround time :                            961 sec.

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

