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 208 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_J0348.5-2749_daily_bin1710
RA = 57.1417, Dec = -27.8303
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='17391', job_status='RUN', time_executed='2022-09-16 11:04:36.759188', time_epoch_executed='1663351476.76' WHERE source_name='4FGL J0348.5-2749' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17391

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


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17391/ft1_4FGL_J0348.5-2749_daily_bin1710.fits outfile=/scratch/kocevski/17391/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1710.fits ra=57.1417 dec=-27.8303 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.64
user 3.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17391/ft2_4FGL_J0348.5-2749_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/17391/ft1_filteredMKT_4FGL_J0348.5-2749_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/17391/ft1_filtered_4FGL_J0348.5-2749_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.34
sys 0.15

Number of photons that the gtmktime cut: 435

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17391/ft1_filtered_4FGL_J0348.5-2749_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/17391/ft2_4FGL_J0348.5-2749_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/17391/ltcube_682560001_682819201_4FGL_J0348.5-2749_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/17391/ft2_4FGL_J0348.5-2749_daily_bin1710.fits
.....................!
real 14.45
user 14.04
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17391/ft1_filtered_4FGL_J0348.5-2749_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/17391/ft2_4FGL_J0348.5-2749_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/17391/ltcube_682560001_682819201_4FGL_J0348.5-2749_daily_bin1710.fits outfile=/scratch/kocevski/17391/expmap_682560001_682819201_4FGL_J0348.5-2749_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/17391/ltcube_682560001_682819201_4FGL_J0348.5-2749_daily_bin1710.fits
.....................!
real 190.45
user 185.43
sys 4.64

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/17391/ft1_filtered_4FGL_J0348.5-2749_daily_bin1710.fits scfile=/scratch/kocevski/17391/ft2_4FGL_J0348.5-2749_daily_bin1710.fits outfile=/scratch/kocevski/17391/cmap_682560001_682819201_4FGL_J0348.5-2749_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=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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17391/ft1_filtered_4FGL_J0348.5-2749_daily_bin1710.fits scfile=/scratch/kocevski/17391/ft2_4FGL_J0348.5-2749_daily_bin1710.fits outfile=/scratch/kocevski/17391/cmap_HighResolution_682560001_682819201_4FGL_J0348.5-2749_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=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.55
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5069       1.0000          .0000       .10000E+07
     2 'Prefactor '    217.56       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.702       1.0000          .0000       .10000E+07
     4 'Prefactor '    .46568E-03   1.0000          .0000       .10000E+07
     5 'norm      '    6.9489       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13792E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32530E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11281E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.0984       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.780       1.0000          .0000       .10000E+07
    11 'norm      '    2.7103       1.0000          .0000       .10000E+07
    12 'Prefactor '    35.109       1.0000          .0000       .10000E+07
    13 'norm      '    .15765E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    28.480       1.0000          .0000       .10000E+07
    15 'Prefactor '    .76222       1.0000          .0000       .10000E+07
    16 'Prefactor '    .91218       1.0000          .0000       .10000E+07
    17 'norm      '    .91562E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    32.238       1.0000          .0000       .10000E+07
    19 'norm      '    .30812       1.0000          .0000       .10000E+07
    20 'norm      '    6.5649       1.0000          .0000       .10000E+07
    21 'Prefactor '    .79323E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    14.688       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .62884       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=   4844.572     FROM MIGRAD    STATUS=CONVERGED    216 CALLS     2048 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5131        3.2522        .26467E-08   -.14005E-04
   2  Prefactor     227.26        196.49        .88363E-07   -.31741E-04
   3  Prefactor     18.064        22.451       -.52406E-07   -.54355E-04
   4  Prefactor      .0000        15.942       -.89834E-07** at limit **
   5  norm          6.9523        3.9576       -.35178E-08   -.52144E-04
   6  Prefactor      .0000        15.843       -.58842E-07** at limit **
   7  Prefactor      .0000        .71891       -.27274E-08** at limit **
   8  Prefactor      .0000        2.1459       -.46164E-07** at limit **
   9  Prefactor     4.1227        4.1256        .63835E-08    .12617E-04
  10  Prefactor     12.014        12.958       -.41555E-07    .65773E-05
  11  norm          2.7114        1.0571       -.76678E-08   -.69539E-03
  12  Prefactor     35.374        47.478       -.14634E-08   -.12187E-03
  13  norm           .0000        .64645       -.20477E-07** at limit **
  14  Prefactor     25.780        67.699       -.27404E-06    .15973E-04
  15  Prefactor     1.7747        279.49       -.14987E-05    .55305E-05
  16  Prefactor     .86360        2.7494        .40255E-08   -.32608E-05
  17  norm          .55511E-10    87.800        .66028E-06** at limit **
  18  Prefactor     32.633        25.894        .53981E-07    .25291E-04
  19  norm          .30845        .23419        .23972E-08    .59866E-03
  20  norm          6.5867        6.6716        .50904E-07    .24061E-03
  21  Prefactor      .0000        1.4711       -.75373E-08** at limit **
  22  Prefactor     14.303        14.777        .29603E-07    .37347E-04
  23  Normalizat    1.1197        .21145        .59799E-06   -.26000E-05
  24  Prefactor     .62878        .20348       -.70046E-06   -.39000E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.51315
  Prefactor  = 227.263
  Prefactor  = 18.0638
  Prefactor  = 0
  norm       = 6.95231
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.12273
  Prefactor  = 12.0145
  norm       = 2.71138
  Prefactor  = 35.3743
  norm       = 0
  Prefactor  = 25.7805
  Prefactor  = 1.77467
  Prefactor  = 0.863597
  norm       = 5.55112e-11
  Prefactor  = 32.6332
  norm       = 0.308454
  norm       = 6.58667
  Prefactor  = 0
  Prefactor  = 14.3028
  Normalizat = 1.11971
  Prefactor  = 0.62878
 **********
 **   18 **HESSE 
 **********

 FCN=   4844.572     FROM HESSE     STATUS=OK           457 CALLS     2505 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5131        3.2855        .87134E-03   -1.5683    
   2  Prefactor     227.26        196.78        .67804E-04   -1.5406    
   3  Prefactor     18.064        22.500        .23132E-03   -1.5623    
   4  Prefactor      .0000        15.943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.9523        3.9584        .38035E-03   -1.5655    
   6  Prefactor      .0000        15.836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .71822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.1473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1227        4.1335        .49774E-03   -1.5667    
  10  Prefactor     12.014        12.959        .29162E-03   -1.5639    
  11  norm          2.7114        1.0585        .61843E-04   -1.5675    
  12  Prefactor     35.374        50.128        .16879E-03   -1.5589    
  13  norm           .0000        .64342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.780        67.881        .18741E-03   -1.5606    
  15  Prefactor     1.7747        316.24        .55795E-03   -1.5681    
  16  Prefactor     .86360        2.7664        .44922E-03   -1.5689    
  17  norm          .55511E-10    11.399        .73616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     32.633        26.274        .17615E-03   -1.5594    
  19  norm          .30845        .23819        .63585E-03   -1.5697    
  20  norm          6.5867        6.6857        .39143E-03   -1.5657    
  21  Prefactor      .0000        1.4672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.303        14.772        .26108E-03   -1.5632    
  23  Normalizat    1.1197        .18580        .37240E-01   -.89122    
  24  Prefactor     .62878        .18027        .64254E-01   -1.0639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31487e-07
Minuit parameter uncertainties:
  1  3.28552
  2  196.788
  3  22.4998
  4  9.49584e-06
  5  3.95839
  6  9.64052e-06
  7  2.74274e-07
  8  1.93842e-06
  9  4.13348
  10  12.9591
  11  1.05845
  12  50.1288
  13  4.56644e-07
  14  67.8827
  15  47.3828
  16  2.7664
  17  4.45404e-05
  18  26.274
  19  0.238187
  20  6.68569
  21  9.49399e-09
  22  14.7723
  23  0.18591
  24  0.18044
Done.

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

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  2.711e+00  1.058e+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:  6.288e-01  1.804e-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:  1.120e+00  1.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 26.94
Ra Dec: 57.142 -27.830
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 9.68e-08 +/- 3.78e-08
Energy Flux (Fixed Index): 4.56e-05 +/- 1.78e-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) = 4843.83117356
delta logL = 0.740523235328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4843.79446845
delta logL = 0.777228342372

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3548       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6516       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1582       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60796       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=   4843.794     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3545        .98817        .66766E-03   -.67585E-03
   2  alpha         1.6515        .28787        .19139       -.29651E-04
   3  Normalizat    1.1582        .17883        .36010E-01    .30274E-05
   4  Prefactor     .60795        .17669        .65266E-01    .19966E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.35454
  alpha      = 1.65155
  Normalizat = 1.15818
  Prefactor  = 0.607946
 **********
 **   18 **HESSE 
 **********

 FCN=   4843.794     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3545        1.1133        .42551E-05   -1.5677    
   2  alpha         1.6515        .33701        .81277E-02   -.34626    
   3  Normalizat    1.1582        .20167        .21780E-03   -.87905    
   4  Prefactor     .60795        .19845        .28880E-03   -1.0725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91357e-10
Minuit parameter uncertainties:
  1  1.1133
  2  0.338173
  3  0.20181
  4  0.198681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17391': 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) = 4843.79446843
delta logL = 0.777228369283

Extracting fit parameters...

4FGL J0348.5-2749
   Spectrum: LogParabola
247         norm:  2.355e+00  1.113e+00  0.000e+00  1.000e+06 ( 1.000e-11)
248        alpha:  1.652e+00  3.382e-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:  6.079e-01  1.987e-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:  1.158e+00  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 28.46
Ra Dec: 57.142 -27.830
Photon Index (Free Index): 1.65 +/- 0.34
Photon Flux (Free Index): 6.26e-08 +/- 3.50e-08
Energy Flux (Free Index): 7.32e-05 +/- 4.62e-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/17391/cmap_HighResolution_682560001_682819201_4FGL_J0348.5-2749_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.68e-08', energy_flux2='7.32e-05', photon_flux_error='3.78e-08', dlogl='7.77e-01', energy_flux='4.56e-05', photon_flux2='6.26e-08', job_status='DONE', time_completed='2022-09-16 11:13:53.264581', photon_index_error2='0.34', photon_index2='1.65', ts='26.94', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', energy_flux_error2='4.62e-05', EG='1.12', time_epoch_completed='1663352033.26', return_code='0', job_id='17391', GAL2='0.61', EG2='1.16', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='3.50e-08', ts2='28.46', photon_index='2.09' WHERE bin_id='1710' AND source_name='4FGL J0348.5-2749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 11:13:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 17391: <4FGL_J0348.5-2749_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0348.5-2749_daily_bin1710> 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) <bullet0281>, 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:13:54 2022
Results reported at Fri Sep 16 11:13:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0348.5-2749_daily_bin1710 57.1417 -27.8303 682560001 682819201 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 :                                   558.51 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             277.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            803 sec.

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

