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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin1671
RA = 357.356, Dec = 5.579
tmin = 672451201, tmax = 672710401
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='43896', job_status='RUN', time_executed='2022-04-27 01:08:08.441145', time_epoch_executed='1651046888.44' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43896

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43896/ft1_4FGL_J2349.4+0534_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43896/ft2_4FGL_J2349.4+0534_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43896/ft1_4FGL_J2349.4+0534_daily_bin1671.fits outfile=/scratch/kocevski/43896/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1671.fits ra=357.356 dec=5.579 rad=12.0 tmin=672451201.0 tmax=672710401.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 2.96
user 2.74
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43896/ft1_filtered_4FGL_J2349.4+0534_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43896/ft2_4FGL_J2349.4+0534_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/43896/ltcube_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.fits outfile=/scratch/kocevski/43896/expmap_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.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/43896/ltcube_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.fits
.....................!
real 191.84
user 186.05
sys 5.22

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/43896/ft1_filtered_4FGL_J2349.4+0534_daily_bin1671.fits scfile=/scratch/kocevski/43896/ft2_4FGL_J2349.4+0534_daily_bin1671.fits outfile=/scratch/kocevski/43896/cmap_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.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/43896/ft1_filtered_4FGL_J2349.4+0534_daily_bin1671.fits scfile=/scratch/kocevski/43896/ft2_4FGL_J2349.4+0534_daily_bin1671.fits outfile=/scratch/kocevski/43896/cmap_HighResolution_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.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/43896/ft1_filtered_4FGL_J2349.4+0534_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43896/ft2_4FGL_J2349.4+0534_daily_bin1671.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/43896/Model_4FGL_J2349.4+0534_daily_bin1671.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/43896/ft1_filtered_4FGL_J2349.4+0534_daily_bin1671.fits.....................!
real 83.94
user 82.57
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/43896/ft1_filtered_4FGL_J2349.4+0534_daily_bin1671.fits', '/scratch/kocevski/43896/ft2_4FGL_J2349.4+0534_daily_bin1671.fits', expMap='/scratch/kocevski/43896/expmap_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.fits', expCube='/scratch/kocevski/43896/ltcube_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/43896/Model_4FGL_J2349.4+0534_daily_bin1671.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/43896/ft1_filtered_4FGL_J2349.4+0534_daily_bin1671.fits
Spacecraft file(s): /scratch/kocevski/43896/ft2_4FGL_J2349.4+0534_daily_bin1671.fits
Exposure map: /scratch/kocevski/43896/expmap_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.fits
Exposure cube: /scratch/kocevski/43896/ltcube_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/43896/Model_4FGL_J2349.4+0534_daily_bin1671.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) = 7958.59528019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.0023       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.9243       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2001       1.0000         .10000E-03   10000.    
     8 'norm      '    .24414       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.6656       1.0000         .10000E-03   10000.    
    11 'norm      '    11.311       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0895       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.337       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12910E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.852       1.0000         .10000E-03   10000.    
    17 'norm      '    .21893E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10494E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    33.621       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.5759       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5064       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .67365       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=   7958.498     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2227 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4212       -.51525E-08** at limit **
   2  norm          .10000E-03    1.5395       -.94858E-08** at limit **
   3  norm          6.0026        4.3095        .13283E-06    .10950E-04
   4  Prefactor     .10000E-03    21.403        .24111E-06** at limit **
   5  Prefactor     3.9251        20.374        .78380E-07   -.24665E-04
   6  Prefactor     .10000E-03    14.933        .51872E-05** at limit **
   7  Prefactor     4.2000        7.0133        .20712E-05   -.10850E-02
   8  norm          .24481        .50616        .19754E-06    .25332E-03
   9  Prefactor     .10000E-03    3.3479       -.12380E-06** at limit **
  10  Prefactor     4.6622        42.316       -.22386E-05   -.45735E-04
  11  norm          11.306        8.8281       -.12900E-06   -.15793E-03
  12  Prefactor     2.0884        6.8758        .36139E-06   -.30546E-03
  13  Prefactor     .10000E-03    65.317       -.15280E-05** at limit **
  14  Prefactor     13.332        8.7528       -.21809E-06    .52187E-04
  15  Prefactor     .10000E-03    31.923        .44436E-05** at limit **
  16  norm          12.851        11.844       -.15527E-07   -.16608E-04
  17  norm          .10000E-03    23.567       -.34877E-05** at limit **
  18  Prefactor     .10000E-03    2.4549       -.59957E-07** at limit **
  19  Prefactor     33.616        29.460       -.14200E-05   -.15405E-03
  20  Prefactor     .10000E-03    14.415       -.30684E-05** at limit **
  21  Prefactor     7.5757        9.0880        .49644E-06   -.40358E-03
  22  Normalizat    1.5065        .17926       -.38154E-07   -.11672E-03
  23  Prefactor     .67356        .11850       -.13614E-06   -.10502E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.00264
  Prefactor  = 0.0001
  Prefactor  = 3.92512
  Prefactor  = 0.000100004
  Prefactor  = 4.20003
  norm       = 0.244815
  Prefactor  = 0.0001
  Prefactor  = 4.66216
  norm       = 11.3062
  Prefactor  = 2.08835
  Prefactor  = 0.0001
  Prefactor  = 13.3324
  Prefactor  = 0.000100003
  norm       = 12.8511
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 33.6163
  Prefactor  = 0.000100001
  Prefactor  = 7.57572
  Normalizat = 1.50646
  Prefactor  = 0.673562
 **********
 **   18 **HESSE 
 **********

 FCN=   7958.498     FROM HESSE     STATUS=OK           370 CALLS     2597 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.4648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.5960        .21587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.0026        4.3104        .15162E-03   -1.5218    
   4  Prefactor     .10000E-03    21.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9251        20.394        .20365E-03   -1.5312    
   6  Prefactor     .10000E-03    15.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.2000        8.7396        .98320E-03   -1.5298    
   8  norm          .24481        .44352        .88546E-03   -1.5609    
   9  Prefactor     .10000E-03    3.3576        .15932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6622        42.484        .18632E-03   -1.5276    
  11  norm          11.306        8.6277        .11912E-03   -1.5035    
  12  Prefactor     2.0884        6.8104        .28560E-03   -1.5419    
  13  Prefactor     .10000E-03    65.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.332        8.6387        .10968E-03   -1.4978    
  15  Prefactor     .10000E-03    33.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.851        11.844        .11174E-03   -1.4991    
  17  norm          .10000E-03    23.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.5206        .27183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     33.616        29.675        .69109E-04   -1.4548    
  20  Prefactor     .10000E-03    14.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.5757        9.2544        .72850E-03   -1.5157    
  22  Normalizat    1.5065        .20747        .25064E-03   -.77597    
  23  Prefactor     .67356        .13660        .24045E-03   -1.0457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0965e-09
Minuit parameter uncertainties:
  1  1.37013e-06
  2  9.63102e-07
  3  4.31059
  4  7.99617e-06
  5  17.9035
  6  0.000493115
  7  8.74224
  8  0.443527
  9  6.02578e-06
  10  28.1736
  11  8.62863
  12  6.81296
  13  0.000328421
  14  8.63952
  15  0.000641156
  16  11.8458
  17  0.000354788
  18  4.2945e-06
  19  29.6884
  20  0.000296593
  21  9.25611
  22  0.207591
  23  0.13667
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.000e-04  2.966e-04  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:  6.736e-01  1.367e-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:  1.506e+00  2.076e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 7.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/43896/likelihoodResults_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.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): 102
logL (Free Index) = 7958.49845883
delta logL = -0.000323485404806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7958.4981354
delta logL = -5.50262484467e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4746       1.0000          .0000       10.000    
     3 'Normalizat'    1.5064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67360       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.

 FCN=   7958.498     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      209 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    944.98        .90712E-02** at limit **
   2  Index         2.4825        5.4044        .50000       -.49498E-05
   3  Normalizat    1.5065        .40587E-01    .56682E-01    .10990E-04
   4  Prefactor     .67356        .27365E-01    .42049E-01    .32778E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.48254
  Normalizat = 1.50646
  Prefactor  = 0.673562
 **********
 **   18 **HESSE 
 **********

 FCN=   7958.498     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      242 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2079.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4825        5.5218        .50000       -.52764    
   3  Normalizat    1.5065        .73036E-01    .25064E-03   -.77597    
   4  Prefactor     .67356        .49249E-01    .24045E-03   -1.0457    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.07833e-09
Minuit parameter uncertainties:
  1  0.000166116
  2  53.2998
  3  0.0730413
  4  0.0492522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43896': 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): 102
logL (Free Index) = 7958.49813533
delta logL = 1.77187757799e-08

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.000e-04  1.661e-04  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.483e+00  5.330e+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:  6.736e-01  4.925e-02  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:  1.506e+00  7.304e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/43896/cmap_HighResolution_672451201_672710401_4FGL_J2349.4+0534_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.86e-03', job_status='DONE', photon_flux_upper_limit='7.55e-08', time_completed='2022-04-27 01:20:13.714640', job_id='43896', GAL2='0.67', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1651047613.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1671' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:20:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 43896: <4FGL_J2349.4+0534_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1671> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr 27 01:05:43 2022
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:06:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:06:14 2022
Terminated at Wed Apr 27 01:20:14 2022
Results reported at Wed Apr 27 01:20:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1671 357.356 5.579 672451201 672710401 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 :                                   727.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            871 sec.

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

