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


Performing analysis on: 4FGL_J2348.0-1630_daily_bin1720
RA = 357.016, Dec = -16.5161
tmin = 685152001, tmax = 685411201
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='850027', job_status='RUN', time_executed='2022-09-21 01:00:49.166072', time_epoch_executed='1663747249.17' WHERE source_name='4FGL J2348.0-1630' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850027

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850027/ft1_4FGL_J2348.0-1630_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850027/ft1_4FGL_J2348.0-1630_daily_bin1720.fits outfile=/scratch/kocevski/850027/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin1720.fits ra=357.016 dec=-16.5161 rad=12.0 tmin=685152001.0 tmax=685411201.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.86
user 3.50
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.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/850027/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin1720.fits evtable="EVENTS" outfile="/scratch/kocevski/850027/ft1_filtered_4FGL_J2348.0-1630_daily_bin1720.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 183

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850027/ft1_filtered_4FGL_J2348.0-1630_daily_bin1720.fits" evtable="EVENTS" scfile=/scratch/kocevski/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.fits sctable="SC_DATA" outfile=/scratch/kocevski/850027/ltcube_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.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/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.fits
.....................!
real 14.33
user 13.95
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850027/ft1_filtered_4FGL_J2348.0-1630_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/850027/ltcube_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.fits outfile=/scratch/kocevski/850027/expmap_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.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/850027/ltcube_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.fits
.....................!
real 191.93
user 185.62
sys 5.93

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
Added 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.0-1630 @ 357.016 -16.5161

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/850027/ft1_filtered_4FGL_J2348.0-1630_daily_bin1720.fits scfile=/scratch/kocevski/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.fits outfile=/scratch/kocevski/850027/cmap_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.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=357.016 yref=-16.5161 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850027/ft1_filtered_4FGL_J2348.0-1630_daily_bin1720.fits scfile=/scratch/kocevski/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.fits outfile=/scratch/kocevski/850027/cmap_HighResolution_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.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=357.016 yref=-16.5161 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.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/850027/ft1_filtered_4FGL_J2348.0-1630_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/850027/Model_4FGL_J2348.0-1630_daily_bin1720.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 GAL_V02
Working on...
/scratch/kocevski/850027/ft1_filtered_4FGL_J2348.0-1630_daily_bin1720.fits.....................!
real 24.98
user 23.69
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/850027/ft1_filtered_4FGL_J2348.0-1630_daily_bin1720.fits', '/scratch/kocevski/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.fits', expMap='/scratch/kocevski/850027/expmap_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.fits', expCube='/scratch/kocevski/850027/ltcube_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/850027/Model_4FGL_J2348.0-1630_daily_bin1720.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.0-1630'

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  6.070e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
490        alpha:  2.290e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
491         beta:  5.720e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
492           Eb:  8.260e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/850027/ft1_filtered_4FGL_J2348.0-1630_daily_bin1720.fits
Spacecraft file(s): /scratch/kocevski/850027/ft2_4FGL_J2348.0-1630_daily_bin1720.fits
Exposure map: /scratch/kocevski/850027/expmap_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.fits
Exposure cube: /scratch/kocevski/850027/ltcube_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/850027/Model_4FGL_J2348.0-1630_daily_bin1720.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) = 1977.43972284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.681       1.0000          .0000       .10000E+07
     2 'norm      '    .14976E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .20324E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .16382E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .13167E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .45779E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30648E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    27.469       1.0000          .0000       .10000E+07
     9 'norm      '    .48095E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .58663E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12878E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .71887E-07   1.0000          .0000       .10000E+07
    13 'norm      '    13.654       1.0000          .0000       .10000E+07
    14 'Prefactor '    .97500E-02   1.0000          .0000       .10000E+07
    15 'Normalizat'    .95039       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .83293       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1977.389     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1123 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.729        14.951        .30622E-07    .91758E-02
   2  norm          .55511E-10    25.604        .64121E-07** at limit **
   3  Prefactor     .11929E-06    10.378       -.28556E-07** at limit **
   4  norm          .13191E-05    15.343        .27316E-06** at limit **
   5  Prefactor     .48965E-05    27.710       -.12162E-06** at limit **
   6  Prefactor     .36628E-05    36.362        .13254E-07** at limit **
   7  Prefactor     .53646E-06    10.885       -.43891E-07** at limit **
   8  Prefactor     27.410        6.6867       -.29190E-07    .69621E-01
   9  norm          .24939E-05    9.0960        .23282E-06** at limit **
  10  norm          .41633E-08    10.317       -.26262E-06** at limit **
  11  Prefactor     .51931E-06    99.893        .10440E-05** at limit **
  12  norm           .0000        .56324       -.12400E-07** at limit **
  13  norm          13.613        8.6176       -.39592E-09    .22539E-02
  14  Prefactor     .11908E-05    10.159        .96629E-07** at limit **
  15  Normalizat    .95085        .32699        .30335E-05    .19978E-03
  16  Prefactor     .83268        .32608       -.66446E-06    .15444E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.7288
  norm       = 5.55112e-11
  Prefactor  = 1.19293e-07
  norm       = 1.31911e-06
  Prefactor  = 4.89647e-06
  Prefactor  = 3.66285e-06
  Prefactor  = 5.3646e-07
  Prefactor  = 27.4102
  norm       = 2.49395e-06
  norm       = 4.16334e-09
  Prefactor  = 5.19307e-07
  norm       = 0
  norm       = 13.6126
  Prefactor  = 1.19077e-06
  Normalizat = 0.950854
  Prefactor  = 0.832677
 **********
 **   18 **HESSE 
 **********

 FCN=   1977.389     FROM HESSE     STATUS=OK           223 CALLS     1346 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.729        14.981        .23145E-03   -1.5621    
   2  norm          .55511E-10    25.558        .17393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11929E-06    21.688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .13191E-05    17.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .48965E-05    35.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .36628E-05    41.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .53646E-06    22.144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.410        18.016        .19083E-03   -1.5603    
   9  norm          .24939E-05    14.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .41633E-08    10.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .51931E-06    99.906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .56133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.613        8.6297        .27081E-03   -1.5634    
  14  Prefactor     .11908E-05    13.831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .95085        .27216        .45542E-01   -.94696    
  16  Prefactor     .83268        .27170        .44144E-01   -.98535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63438e-07
Minuit parameter uncertainties:
  1  14.9809
  2  7.32552e-05
  3  0.00321717
  4  0.00961384
  5  0.0262321
  6  0.0247882
  7  0.00689322
  8  18.0161
  9  0.0118779
  10  0.000411243
  11  0.0144061
  12  1.87652e-06
  13  8.62974
  14  0.00811654
  15  0.272559
  16  0.272138
Done.

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

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  1.361e+01  8.630e+00  0.000e+00  1.000e+06 ( 1.000e-12)
490        alpha:  2.290e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
491         beta:  5.720e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
492           Eb:  8.260e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  8.327e-01  2.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  9.509e-01  2.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.27
Ra Dec: 357.016 -16.516
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 1.16e-07 +/- 7.37e-08
Energy Flux (Fixed Index): 4.34e-05 +/- 2.75e-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) = 1976.13355024
delta logL = 1.25558553425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1976.13058011
delta logL = 1.25855565931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0216       1.0000          .0000       .10000E+07
     2 'alpha     '    3.3351       1.0000          .0000       5.0000    
     3 'Normalizat'    .81884       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92359       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+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=   1976.131     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      273 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0223        6.0867        .45389E-05   -.72098E-02
   2  alpha         3.3352        .74785        .52624E-03   -.55996E-04
   3  Normalizat    .81891        .33951        .23294E-03    .74307E-05
   4  Prefactor     .92350        .33583        .22336E-03    .38276E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.02225
  alpha      = 3.3352
  Normalizat = 0.818914
  Prefactor  = 0.923498
 **********
 **   18 **HESSE 
 **********

 FCN=   1976.131     FROM HESSE     STATUS=OK            23 CALLS      296 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0223        5.9738        .18156E-06   -1.5663    
   2  alpha         3.3352        .73443        .21050E-04    .34063    
   3  Normalizat    .81891        .33990        .93174E-05   -.99371    
   4  Prefactor     .92350        .33619        .89344E-05   -.95325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06221e-11
Minuit parameter uncertainties:
  1  5.97382
  2  0.746869
  3  0.340788
  4  0.336949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850027': 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) = 1976.13057991
delta logL = 1.25855586577

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  5.022e+00  5.974e+00  0.000e+00  1.000e+06 ( 1.000e-12)
490        alpha:  3.335e+00  7.469e-01  0.000e+00  5.000e+00 ( 1.000e+00)
491         beta:  5.720e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
492           Eb:  8.260e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  9.235e-01  3.369e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.189e-01  3.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.10
Ra Dec: 357.016 -16.516
Photon Index (Free Index): 3.34 +/- 0.75
Photon Flux (Free Index): 2.08e-07 +/- 1.08e-07
Energy Flux (Free Index): 3.76e-05 +/- 1.90e-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/850027/cmap_HighResolution_685152001_685411201_4FGL_J2348.0-1630_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.16e-07', energy_flux2='3.76e-05', photon_flux_error='7.37e-08', dlogl='1.26e+00', energy_flux='4.34e-05', photon_flux2='2.08e-07', job_status='DONE', time_completed='2022-09-21 01:06:58.417400', photon_index_error2='0.75', photon_index2='3.34', ts='4.27', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.90e-05', EG='0.95', time_epoch_completed='1663747618.42', return_code='0', job_id='850027', GAL2='0.92', EG2='0.82', return_code2='0', energy_flux_error='2.75e-05', photon_flux_error2='1.08e-07', ts2='7.10', photon_index='2.29' WHERE bin_id='1720' AND source_name='4FGL J2348.0-1630' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:06:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 850027: <4FGL_J2348.0-1630_daily_bin1720> in cluster <slac> Done

Job <4FGL_J2348.0-1630_daily_bin1720> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Sep 21 00:55:26 2022
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:58:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:58:06 2022
Terminated at Wed Sep 21 01:06:59 2022
Results reported at Wed Sep 21 01:06:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.0-1630_daily_bin1720 357.016 -16.5161 685152001 685411201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2348.0-1630 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   372.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             242.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   532 sec.
    Turnaround time :                            693 sec.

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

