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 61 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin1695
RA = 357.356, Dec = 5.579
tmin = 678672001, tmax = 678931201
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='731371', job_status='RUN', time_executed='2022-07-08 00:36:42.800495', time_epoch_executed='1657265802.8' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731371

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731371/ft1_4FGL_J2349.4+0534_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731371/ft2_4FGL_J2349.4+0534_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731371/ft1_4FGL_J2349.4+0534_daily_bin1695.fits outfile=/scratch/kocevski/731371/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1695.fits ra=357.356 dec=5.579 rad=12.0 tmin=678672001.0 tmax=678931201.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.63
user 3.40
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731371/ft1_filtered_4FGL_J2349.4+0534_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731371/ft2_4FGL_J2349.4+0534_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731371/ltcube_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.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/731371/ft2_4FGL_J2349.4+0534_daily_bin1695.fits
.....................!
real 12.00
user 11.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731371/ft1_filtered_4FGL_J2349.4+0534_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731371/ft2_4FGL_J2349.4+0534_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731371/ltcube_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.fits outfile=/scratch/kocevski/731371/expmap_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.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/731371/ltcube_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.fits
.....................!
real 191.29
user 185.34
sys 5.58

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/731371/ft1_filtered_4FGL_J2349.4+0534_daily_bin1695.fits scfile=/scratch/kocevski/731371/ft2_4FGL_J2349.4+0534_daily_bin1695.fits outfile=/scratch/kocevski/731371/cmap_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731371/ft1_filtered_4FGL_J2349.4+0534_daily_bin1695.fits scfile=/scratch/kocevski/731371/ft2_4FGL_J2349.4+0534_daily_bin1695.fits outfile=/scratch/kocevski/731371/cmap_HighResolution_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.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/731371/ft1_filtered_4FGL_J2349.4+0534_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731371/ft2_4FGL_J2349.4+0534_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731371/Model_4FGL_J2349.4+0534_daily_bin1695.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/731371/ft1_filtered_4FGL_J2349.4+0534_daily_bin1695.fits.....................!
real 70.04
user 68.59
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/731371/ft1_filtered_4FGL_J2349.4+0534_daily_bin1695.fits', '/scratch/kocevski/731371/ft2_4FGL_J2349.4+0534_daily_bin1695.fits', expMap='/scratch/kocevski/731371/expmap_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.fits', expCube='/scratch/kocevski/731371/ltcube_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/731371/Model_4FGL_J2349.4+0534_daily_bin1695.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  1.000e-04  1.000e+04 ( 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/731371/ft1_filtered_4FGL_J2349.4+0534_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/731371/ft2_4FGL_J2349.4+0534_daily_bin1695.fits
Exposure map: /scratch/kocevski/731371/expmap_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.fits
Exposure cube: /scratch/kocevski/731371/ltcube_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/731371/Model_4FGL_J2349.4+0534_daily_bin1695.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) = 6517.95901174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.030       1.0000         .10000E-03   10000.    
     2 'norm      '    .10588E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4605       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4685       1.0000         .10000E-03   10000.    
     5 'Prefactor '    57.764       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.8088       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .29177E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11632       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2553       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.604       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11355E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.886       1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.474       1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.261       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94190       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97808       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.

 FCN=   6517.942     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2676 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.025        23.463       -.28149E-06    .59730E-03
   2  norm          .10000E-03    1.9604       -.28959E-05** at limit **
   3  norm          2.4604        3.2463       -.50446E-06    .39370E-04
   4  Prefactor     1.4673        14.346        .17553E-04    .40263E-03
   5  Prefactor     57.747        44.847        .23307E-05    .28342E-04
   6  Prefactor     7.8095        8.3491       -.80478E-07   -.42562E-04
   7  Prefactor     .10000E-03    22.702        .15984E-04** at limit **
   8  norm          .11643        .47013       -.24470E-07   -.11217E-02
   9  Prefactor     .10000E-03    12.077        .46377E-08** at limit **
  10  Prefactor     .10000E-03    17.106        .14881E-05** at limit **
  11  norm          .10000E-03    2.5021        .25070E-06** at limit **
  12  Prefactor     5.2563        4.9609       -.26248E-06   -.95119E-04
  13  Prefactor     .10000E-03    65.214        .85589E-06** at limit **
  14  Prefactor     .10000E-03    11.818        .24789E-06** at limit **
  15  Prefactor     23.612        22.788       -.97581E-06   -.20183E-03
  16  norm          .10000E-03    6.2923       -.10015E-07** at limit **
  17  norm          .10000E-03    11.035       -.92721E-06** at limit **
  18  Prefactor     .10017E-03    5.6036        .87926E-05** at limit **
  19  Prefactor     21.890        27.595        .47507E-07    .15020E-04
  20  Prefactor     23.472        21.121        .15865E-06    .72797E-05
  21  Prefactor     18.264        17.427        .27458E-06    .94753E-04
  22  Normalizat    .94174        .19502       -.31690E-07    .39702E-03
  23  Prefactor     .97807        .13000        .15492E-06    .52629E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.0247
  norm       = 0.0001
  norm       = 2.46042
  Prefactor  = 1.46728
  Prefactor  = 57.7466
  Prefactor  = 7.80949
  Prefactor  = 0.000100004
  norm       = 0.11643
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.25632
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.6116
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100172
  Prefactor  = 21.8903
  Prefactor  = 23.472
  Prefactor  = 18.2639
  Normalizat = 0.941745
  Prefactor  = 0.978071
 **********
 **   18 **HESSE 
 **********

 FCN=   6517.942     FROM HESSE     STATUS=OK           370 CALLS     3046 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.025        21.501        .68694E-04   -1.4541    
   2  norm          .10000E-03    8.4972        .18439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4604        3.2392        .16082E-03   -1.5394    
   4  Prefactor     1.4673        20.604        .17736E-02   -1.5466    
   5  Prefactor     57.747        44.761        .52784E-04   -1.4187    
   6  Prefactor     7.8095        8.3488        .14349E-03   -1.5149    
   7  Prefactor     .10000E-03    63.447        .56338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11643        .76301        .10665E-02   -1.5640    
   9  Prefactor     .10000E-03    12.540        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.5122        .12471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2563        4.9588        .16763E-03   -1.5249    
  13  Prefactor     .10000E-03    65.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.612        22.838        .82449E-04   -1.4736    
  16  norm          .10000E-03    6.3116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    11.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10017E-03    19.479        .23090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.890        27.588        .85618E-04   -1.4772    
  20  Prefactor     23.472        21.114        .82676E-04   -1.4739    
  21  Prefactor     18.264        17.421        .93726E-04   -1.4853    
  22  Normalizat    .94174        .22053        .29520E-03   -.95008    
  23  Prefactor     .97807        .15002        .20550E-03   -.93464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0867e-08
Minuit parameter uncertainties:
  1  21.5062
  2  9.54666e-07
  3  3.23942
  4  11.001
  5  44.7874
  6  8.35009
  7  0.000957131
  8  0.595865
  9  0.000250784
  10  0.00016601
  11  3.26625e-05
  12  4.95915
  13  0.000191792
  14  6.28066e-05
  15  22.8461
  16  6.83975e-06
  17  6.98467e-05
  18  0.00365924
  19  27.6041
  20  21.1205
  21  17.4255
  22  0.220744
  23  0.150087
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  2.347e+01  2.112e+01  1.000e-04  1.000e+04 ( 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:  9.781e-01  1.501e-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:  9.417e-01  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.72
Ra Dec: 357.356 5.579
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 4.69e-08 +/- 4.21e-08
Energy Flux (Fixed Index): 1.41e-05 +/- 1.27e-05

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

Saving results to:
/scratch/kocevski/731371/likelihoodResults_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.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) = 6517.92830948
delta logL = 0.0141302690636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6517.9217988
delta logL = 0.0206409489792

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.360       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3103       1.0000          .0000       10.000    
     3 'Normalizat'    .94803       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97559       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=   6517.922     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      249 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.361        27.193        .78026E-04   -.97039E-04
   2  Index         2.3103        .77333        .95652E-02   -.14063E-04
   3  Normalizat    .94803        .21119        .29434E-03   -.24642E-04
   4  Prefactor     .97559        .14914        .20573E-03   -.33709E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.3607
  Index      = 2.31029
  Normalizat = 0.948028
  Prefactor  = 0.975587
 **********
 **   18 **HESSE 
 **********

 FCN=   6517.922     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.361        26.324        .31210E-05   -1.4681    
   2  Index         2.3103        .74817        .38261E-03   -.56799    
   3  Normalizat    .94803        .21110        .11774E-04   -.94792    
   4  Prefactor     .97559        .14916        .82291E-05   -.93548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63477e-11
Minuit parameter uncertainties:
  1  26.3352
  2  0.752159
  3  0.211285
  4  0.149226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731371': 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) = 6517.9217988
delta logL = 0.020640950841

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  2.636e+01  2.634e+01  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.310e+00  7.522e-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:  9.756e-01  1.492e-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:  9.480e-01  2.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.76
Ra Dec: 357.356 5.579
Photon Index (Free Index): 2.31 +/- 0.75
Photon Flux (Free Index): 4.11e-08 +/- 4.77e-08
Energy Flux (Free Index): 1.53e-05 +/- 1.53e-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/731371/cmap_HighResolution_678672001_678931201_4FGL_J2349.4+0534_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='4.69e-08', energy_flux2='1.53e-05', photon_flux_error='4.21e-08', dlogl='2.06e-02', energy_flux='1.41e-05', photon_flux2='4.11e-08', job_status='DONE', time_completed='2022-07-08 00:48:01.246800', photon_index_error2='0.75', photon_index2='2.31', ts='1.72', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='1.53e-05', EG='0.94', time_epoch_completed='1657266481.25', return_code='0', job_id='731371', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='4.77e-08', ts2='1.76', photon_index='2.47' WHERE bin_id='1695' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:48:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 731371: <4FGL_J2349.4+0534_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:31 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:33 2022
Terminated at Fri Jul  8 00:48:02 2022
Results reported at Fri Jul  8 00:48:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1695 357.356 5.579 678672001 678931201 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 :                                   680.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            751 sec.

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

