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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin1707
RA = 357.356, Dec = 5.579
tmin = 681782401, tmax = 682041601
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='551648', job_status='RUN', time_executed='2022-08-13 00:37:24.312686', time_epoch_executed='1660376244.31' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551648

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551648/ft1_4FGL_J2349.4+0534_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551648/ft2_4FGL_J2349.4+0534_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551648/ft1_4FGL_J2349.4+0534_daily_bin1707.fits outfile=/scratch/kocevski/551648/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1707.fits ra=357.356 dec=5.579 rad=12.0 tmin=681782401.0 tmax=682041601.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 5.47
user 5.17
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551648/ft2_4FGL_J2349.4+0534_daily_bin1707.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/551648/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/551648/ft1_filtered_4FGL_J2349.4+0534_daily_bin1707.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.54
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 458

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551648/ft1_filtered_4FGL_J2349.4+0534_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/551648/ft2_4FGL_J2349.4+0534_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/551648/ltcube_681782401_682041601_4FGL_J2349.4+0534_daily_bin1707.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/551648/ft2_4FGL_J2349.4+0534_daily_bin1707.fits
.....................!
real 11.72
user 11.34
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551648/ft1_filtered_4FGL_J2349.4+0534_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551648/ft2_4FGL_J2349.4+0534_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/551648/ltcube_681782401_682041601_4FGL_J2349.4+0534_daily_bin1707.fits outfile=/scratch/kocevski/551648/expmap_681782401_682041601_4FGL_J2349.4+0534_daily_bin1707.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/551648/ltcube_681782401_682041601_4FGL_J2349.4+0534_daily_bin1707.fits
.....................!
real 192.03
user 186.75
sys 4.94

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/551648/ft1_filtered_4FGL_J2349.4+0534_daily_bin1707.fits scfile=/scratch/kocevski/551648/ft2_4FGL_J2349.4+0534_daily_bin1707.fits outfile=/scratch/kocevski/551648/cmap_681782401_682041601_4FGL_J2349.4+0534_daily_bin1707.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551648/ft1_filtered_4FGL_J2349.4+0534_daily_bin1707.fits scfile=/scratch/kocevski/551648/ft2_4FGL_J2349.4+0534_daily_bin1707.fits outfile=/scratch/kocevski/551648/cmap_HighResolution_681782401_682041601_4FGL_J2349.4+0534_daily_bin1707.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.788       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.7681       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11101E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1885       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .23057E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .96764       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.1898       1.0000         .10000E-03   10000.    
    11 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.614       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11602E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .63851       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.950       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    31.482       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11061E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.173       1.0000         .10000E-03   10000.    
    21 'Prefactor '    55.503       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91032       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87931       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=   5204.364     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2584 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.769        20.951       -.45572E-06   -.13859E-03
   2  norm          .10000E-03    1.2805        .14383E-06** at limit **
   3  norm          2.7678        4.7086        .25905E-06    .41306E-03
   4  Prefactor     .10000E-03    5.4712        .16240E-06** at limit **
   5  Prefactor     .10000E-03    13.200        .79508E-07** at limit **
   6  Prefactor     3.1875        7.1347        .69547E-06    .27950E-03
   7  Prefactor     .10000E-03    77.004        .26752E-05** at limit **
   8  norm          .96714        1.0528       -.46715E-06   -.18640E-03
   9  Prefactor     .10000E-03    4.9946        .88792E-07** at limit **
  10  Prefactor     5.1821        85.528       -.15358E-05    .13679E-04
  11  norm          .10000E-03    10.749        .28972E-06** at limit **
  12  Prefactor     10.616        7.9855        .12545E-06   -.31066E-04
  13  Prefactor     .10004E-03    249.20       -.19145E-04** at limit **
  14  Prefactor     .75086        99.727        .47679E-04    .86443E-05
  15  Prefactor     16.950        33.283        .50246E-06   -.12746E-04
  16  norm          .10000E-03    3.6868        .86243E-08** at limit **
  17  norm          31.259        37.772       -.13757E-04    .15540E-03
  18  Prefactor     .10000E-03    2.3781        .43386E-06** at limit **
  19  Prefactor     .10000E-03    31.134        .17130E-06** at limit **
  20  Prefactor     15.160        25.212       -.85076E-06   -.57269E-04
  21  Prefactor     55.519        25.623        .62006E-06    .12105E-03
  22  Normalizat    .90995        .22336       -.33823E-05   -.18875E-03
  23  Prefactor     .87952        .14548        .83217E-06   -.14207E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.7686
  norm       = 0.0001
  norm       = 2.76783
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.18753
  Prefactor  = 0.0001
  norm       = 0.967144
  Prefactor  = 0.0001
  Prefactor  = 5.1821
  norm       = 0.0001
  Prefactor  = 10.6164
  Prefactor  = 0.000100037
  Prefactor  = 0.750864
  Prefactor  = 16.9498
  norm       = 0.0001
  norm       = 31.2586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.1601
  Prefactor  = 55.5193
  Normalizat = 0.909953
  Prefactor  = 0.879523
 **********
 **   18 **HESSE 
 **********

 FCN=   5204.364     FROM HESSE     STATUS=OK           368 CALLS     2952 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.769        20.965        .59908E-04   -1.4369    
   2  norm          .10000E-03    1.2928        .79646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.7678        4.6957        .19443E-03   -1.5375    
   4  Prefactor     .10000E-03    5.4845        .16477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1875        7.1278        .22693E-03   -1.5351    
   7  Prefactor     .10000E-03    80.543        .40194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .96714        1.0237        .74105E-03   -1.5511    
   9  Prefactor     .10000E-03    5.0057        .15741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.1821        85.642        .17646E-03   -1.5253    
  11  norm          .10000E-03    10.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.616        7.9804        .12298E-03   -1.5056    
  13  Prefactor     .10004E-03    245.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .75086        145.97        .44248E-02   -1.5535    
  15  Prefactor     16.950        33.233        .97281E-04   -1.4884    
  16  norm          .10000E-03    3.6875        .13529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          31.259        45.620        .71412E-04   -1.4589    
  18  Prefactor     .10000E-03    2.4090        .10856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    31.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.160        25.186        .10282E-03   -1.4929    
  21  Prefactor     55.519        25.662        .53843E-04   -1.4216    
  22  Normalizat    .90995        .26405        .29757E-03   -.96111    
  23  Prefactor     .87952        .17206        .20508E-03   -.96860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.29557e-10
Minuit parameter uncertainties:
  1  20.9687
  2  1.99518e-05
  3  4.69631
  4  3.28882e-05
  5  7.64469e-06
  6  7.12968
  7  6.65495e-05
  8  1.02372
  9  1.37233e-05
  10  42.2043
  11  8.82735e-05
  12  7.98121
  13  0.00606942
  14  20.9892
  15  33.2688
  16  2.06345e-06
  17  45.6711
  18  1.10727e-05
  19  8.41336e-05
  20  25.2032
  21  25.667
  22  0.264428
  23  0.172163
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.516e+01  2.520e+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:  8.795e-01  1.722e-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.100e-01  2.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/551648/likelihoodResults_681782401_682041601_4FGL_J2349.4+0534_daily_bin1707.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) = 5204.26639835
delta logL = 0.0978293009593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5204.26397734
delta logL = 0.100250314418

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7796       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9668       1.0000          .0000       10.000    
     3 'Normalizat'    .89271       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88628       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=   5204.264     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      299 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7707        27.423        .12814E-03   -.18578E-03
   2  Index         2.9674        1.5146        .85137E-02   -.19103E-04
   3  Normalizat    .89304        .25337        .30009E-03   -.15154E-05
   4  Prefactor     .88626        .17103        .20436E-03   -.14760E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.7707
  Index      = 2.96744
  Normalizat = 0.893041
  Prefactor  = 0.886259
 **********
 **   18 **HESSE 
 **********

 FCN=   5204.264     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7707        21.640        .51256E-05   -1.5083    
   2  Index         2.9674        1.2017        .34055E-03   -.41863    
   3  Normalizat    .89304        .25291        .12003E-04   -.96705    
   4  Prefactor     .88626        .17050        .40873E-04   -.96623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41152e-10
Minuit parameter uncertainties:
  1  21.6576
  2  1.21601
  3  0.253247
  4  0.1706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551648': 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) = 5204.26397398
delta logL = 0.100253670762

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  9.771e+00  2.166e+01  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.967e+00  1.216e+00  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:  8.863e-01  1.706e-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:  8.930e-01  2.532e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.47
Ra Dec: 357.356 5.579

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/551648/cmap_HighResolution_681782401_682041601_4FGL_J2349.4+0534_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.47e-07', time_completed='2022-08-13 00:47:16.320000', job_id='551648', GAL2='0.89', fit_tolerance='1e-08', EG2='0.89', EG='0.91', time_epoch_completed='1660376836.32', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.00e-01', ts2='0.67', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1707' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:47:16 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 551648: <4FGL_J2349.4+0534_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1707> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 13 00:35:32 2022
Job was executed on host(s) <bullet0138>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:35:33 2022
Terminated at Sat Aug 13 00:47:17 2022
Results reported at Sat Aug 13 00:47:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1707 357.356 5.579 681782401 682041601 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 :                                   594.50 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            705 sec.

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

