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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin1747
RA = 357.356, Dec = 5.579
tmin = 692150401, tmax = 692409601
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='817414', job_status='RUN', time_executed='2022-12-11 01:55:45.146245', time_epoch_executed='1670752545.15' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/817414

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/817414/ft1_4FGL_J2349.4+0534_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/817414/ft1_4FGL_J2349.4+0534_daily_bin1747.fits outfile=/scratch/kocevski/817414/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1747.fits ra=357.356 dec=5.579 rad=12.0 tmin=692150401.0 tmax=692409601.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 4.00
user 3.78
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.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/817414/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/817414/ft1_filtered_4FGL_J2349.4+0534_daily_bin1747.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.16

Number of photons that the gtmktime cut: 591

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/817414/ft1_filtered_4FGL_J2349.4+0534_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/817414/ltcube_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.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/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.fits
.....................!
real 12.10
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/817414/ft1_filtered_4FGL_J2349.4+0534_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/817414/ltcube_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.fits outfile=/scratch/kocevski/817414/expmap_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.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/817414/ltcube_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.fits
.....................!
real 191.28
user 185.39
sys 5.41

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/817414/ft1_filtered_4FGL_J2349.4+0534_daily_bin1747.fits scfile=/scratch/kocevski/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.fits outfile=/scratch/kocevski/817414/cmap_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.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.356 yref=5.579 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/817414/ft1_filtered_4FGL_J2349.4+0534_daily_bin1747.fits scfile=/scratch/kocevski/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.fits outfile=/scratch/kocevski/817414/cmap_HighResolution_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.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.356 yref=5.579 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/817414/ft1_filtered_4FGL_J2349.4+0534_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/817414/Model_4FGL_J2349.4+0534_daily_bin1747.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/817414/ft1_filtered_4FGL_J2349.4+0534_daily_bin1747.fits.....................!
real 68.01
user 66.58
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/817414/ft1_filtered_4FGL_J2349.4+0534_daily_bin1747.fits', '/scratch/kocevski/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.fits', expMap='/scratch/kocevski/817414/expmap_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.fits', expCube='/scratch/kocevski/817414/ltcube_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/817414/Model_4FGL_J2349.4+0534_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/817414/ft1_filtered_4FGL_J2349.4+0534_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/817414/ft2_4FGL_J2349.4+0534_daily_bin1747.fits
Exposure map: /scratch/kocevski/817414/expmap_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.fits
Exposure cube: /scratch/kocevski/817414/ltcube_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/817414/Model_4FGL_J2349.4+0534_daily_bin1747.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) = 6456.21646529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7272       1.0000          .0000       .10000E+07
     2 'norm      '    .11876E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .14879E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59220E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14933E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48056E-06   1.0000          .0000       .10000E+07
     7 'norm      '    1.0810       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10857E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .45335E-03   1.0000          .0000       .10000E+07
    10 'norm      '    8.1800       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1467       1.0000          .0000       .10000E+07
    12 'Prefactor '    17.491       1.0000          .0000       .10000E+07
    13 'norm      '    40.334       1.0000          .0000       .10000E+07
    14 'norm      '    .96570E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.3795       1.0000          .0000       .10000E+07
    16 'Prefactor '    58.976       1.0000          .0000       .10000E+07
    17 'Prefactor '    48.843       1.0000          .0000       .10000E+07
    18 'Normalizat'    .68035       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3221       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6456.196     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1419 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7003        11.114       -.47297E-07    .19544E-01
   2  norm          .16653E-09    3.0680       -.97395E-07** at limit **
   3  norm           .0000        1.0976       -.31620E-07** at limit **
   4  Prefactor     .27756E-09    6.5365       -.16772E-06** at limit **
   5  Prefactor     .66613E-09    15.210        .24520E-06** at limit **
   6  Prefactor     .55511E-10    10.907       -.90443E-07** at limit **
   7  norm          1.0836        1.2205        .23763E-08    .23318E-05
   8  Prefactor      .0000        2.8381        .17451E-09** at limit **
   9  Prefactor     .91038E-08    24.756        .84339E-07** at limit **
  10  norm          8.1885        10.662        .58520E-07    .16623E-01
  11  Prefactor     5.1903        9.1172       -.22438E-06   -.15549E-01
  12  Prefactor     17.466        2.3650        .14555E-07   -.17033E-01
  13  norm          40.407        1.6713       -.73327E-08    .30192E-01
  14  norm          .23415E-04    63.217       -.10881E-06** at limit **
  15  Prefactor     6.3292        4.7298        .27247E-07    .19551E-02
  16  Prefactor     60.847        29.126        .22138E-07   -.24090    
  17  Prefactor     49.306        28.233        .15128E-07   -.20312    
  18  Normalizat    .67826        .24651       -.64734E-05   -.14044E-03
  19  Prefactor     1.3223        .17724        .33908E-05    .49177E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.70029
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 6.66134e-10
  Prefactor  = 5.55112e-11
  norm       = 1.08363
  Prefactor  = 0
  Prefactor  = 9.10383e-09
  norm       = 8.18853
  Prefactor  = 5.19028
  Prefactor  = 17.4658
  norm       = 40.4069
  norm       = 2.34153e-05
  Prefactor  = 6.3292
  Prefactor  = 60.8466
  Prefactor  = 49.3062
  Normalizat = 0.678258
  Prefactor  = 1.32231
 **********
 **   18 **HESSE 
 **********

 FCN=   6456.196     FROM HESSE     STATUS=OK           304 CALLS     1723 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7003        11.126        .32106E-03   -1.5646    
   2  norm          .16653E-09    2.9904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.0981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27756E-09    6.5344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .66613E-09    15.174        .17396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    10.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0836        1.2228        .11579E-03   -1.5687    
   8  Prefactor      .0000        2.8429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .91038E-08    24.719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1885        11.186        .35030E-03   -1.5651    
  11  Prefactor     5.1903        9.4275        .44291E-03   -1.5662    
  12  Prefactor     17.466        16.387        .23921E-03   -1.5624    
  13  norm          40.407        17.851        .15747E-03   -1.5581    
  14  norm          .23415E-04    71.380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.3292        4.7391        .39715E-03   -1.5658    
  16  Prefactor     60.847        45.393        .13022E-03   -1.5552    
  17  Prefactor     49.306        31.383        .14310E-03   -1.5568    
  18  Normalizat    .67826        .22695        .84154E-01   -1.0476    
  19  Prefactor     1.3223        .16022        .32235E-01   -.82646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79439e-06
Minuit parameter uncertainties:
  1  11.1258
  2  4.45188e-05
  3  8.9386e-06
  4  8.33497e-05
  5  0.000201041
  6  4.39124e-05
  7  1.22281
  8  1.01243e-05
  9  0.000949465
  10  11.1858
  11  9.42753
  12  16.3869
  13  17.8512
  14  0.0817662
  15  4.73909
  16  45.3935
  17  31.3828
  18  0.227266
  19  0.160284
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  4.931e+01  3.138e+01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.322e+00  1.603e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.783e-01  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.33
Ra Dec: 357.356 5.579
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 9.84e-08 +/- 6.26e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 1.89e-05

TS (Fixed Index): 3.33
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 2.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.68e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/817414/likelihoodResults_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6456.19155901
delta logL = 0.0043446114596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6456.18780397
delta logL = 0.00809965054304

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.012       1.0000          .0000       .10000E+07
     2 'Index     '    2.5282       1.0000          .0000       10.000    
     3 'Normalizat'    .67453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3241       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+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=   6456.188     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      259 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.006        41.945        .58974E-05    .55395E-02
   2  Index         2.5284        .52058        .51871E-02    .30786E-03
   3  Normalizat    .67410        .24349        .37375E-03   -.39857E-03
   4  Prefactor     1.3244        .17772        .20105E-03   -.81582E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.0062
  Index      = 2.52841
  Normalizat = 0.674096
  Prefactor  = 1.32444
 **********
 **   18 **HESSE 
 **********

 FCN=   6456.188     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.006        39.616        .11795E-05   -1.5572    
   2  Index         2.5284        .49136        .20749E-03   -.51705    
   3  Normalizat    .67410        .24339        .14950E-04   -1.0492    
   4  Prefactor     1.3244        .17762        .40210E-04   -.82583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43325e-09
Minuit parameter uncertainties:
  1  39.6161
  2  0.49241
  3  0.243779
  4  0.177702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/817414': 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) = 6456.1878022
delta logL = 0.00810142009777

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  4.601e+01  3.962e+01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.528e+00  4.924e-01  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.324e+00  1.777e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  6.741e-01  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.35
Ra Dec: 357.356 5.579
Photon Index (Free Index): 2.53 +/- 0.49
Photon Flux (Free Index): 1.02e-07 +/- 6.74e-08
Energy Flux (Free Index): 2.86e-05 +/- 1.98e-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/817414/cmap_HighResolution_692150401_692409601_4FGL_J2349.4+0534_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.68e-02', comment='SUCCESS', photon_flux='9.84e-08', energy_flux2='2.86e-05', photon_flux_error='6.26e-08', dlogl='8.10e-03', energy_flux='2.97e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2022-12-11 02:04:48.323402', photon_index_error2='0.49', photon_index2='2.53', ts='3.33', fit_tolerance='1e-08', GAL='1.32', photon_index_error='0.00', photon_flux_upper_limit='2.17e-07', energy_flux_error2='1.98e-05', EG='0.68', time_epoch_completed='1670753088.32', return_code='0', job_id='817414', GAL2='1.32', EG2='0.67', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='6.74e-08', ts2='3.35', photon_index='2.47' WHERE bin_id='1747' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:04:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 817414: <4FGL_J2349.4+0534_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1747> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Dec 11 01:55:15 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:55:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:55:16 2022
Terminated at Sun Dec 11 02:04:49 2022
Results reported at Sun Dec 11 02:04:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1747 357.356 5.579 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2349.4+0534 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   545.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   572 sec.
    Turnaround time :                            574 sec.

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

