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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin519
RA = 357.356, Dec = 5.579
tmin = 373852801, tmax = 374112001
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='151859', job_status='RUN', time_executed='2021-09-30 06:46:47.167969', time_epoch_executed='1633009607.17' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/151859

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/151859/ft1_4FGL_J2349.4+0534_daily_bin519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/151859/ft2_4FGL_J2349.4+0534_daily_bin519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/151859/ft1_4FGL_J2349.4+0534_daily_bin519.fits outfile=/scratch/kocevski/151859/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin519.fits ra=357.356 dec=5.579 rad=12.0 tmin=373852801.0 tmax=374112001.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.46
user 4.20
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/151859/ft2_4FGL_J2349.4+0534_daily_bin519.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/151859/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin519.fits evtable="EVENTS" outfile="/scratch/kocevski/151859/ft1_filtered_4FGL_J2349.4+0534_daily_bin519.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.31
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/151859/ft1_filtered_4FGL_J2349.4+0534_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/151859/ft2_4FGL_J2349.4+0534_daily_bin519.fits sctable="SC_DATA" expcube=/scratch/kocevski/151859/ltcube_373852801_374112001_4FGL_J2349.4+0534_daily_bin519.fits outfile=/scratch/kocevski/151859/expmap_373852801_374112001_4FGL_J2349.4+0534_daily_bin519.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/151859/ltcube_373852801_374112001_4FGL_J2349.4+0534_daily_bin519.fits
.....................!
real 190.24
user 185.64
sys 4.10

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/151859/ft1_filtered_4FGL_J2349.4+0534_daily_bin519.fits scfile=/scratch/kocevski/151859/ft2_4FGL_J2349.4+0534_daily_bin519.fits outfile=/scratch/kocevski/151859/cmap_373852801_374112001_4FGL_J2349.4+0534_daily_bin519.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/151859/ft1_filtered_4FGL_J2349.4+0534_daily_bin519.fits scfile=/scratch/kocevski/151859/ft2_4FGL_J2349.4+0534_daily_bin519.fits outfile=/scratch/kocevski/151859/cmap_HighResolution_373852801_374112001_4FGL_J2349.4+0534_daily_bin519.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10573E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.3790       1.0000         .10000E-03   10000.    
     3 'norm      '    5.2866       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2299       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11246E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.3720       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .14628       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13313E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.716       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .49391E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.220       1.0000         .10000E-03   10000.    
    16 'norm      '    .10300E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    25.385       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2258       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98771       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89964       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=   6865.310     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2566 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.574        .48489E-07** at limit **
   2  norm          3.3806        2.6241        .24961E-07   -.68685E-04
   3  norm          5.2864        3.9976       -.15073E-07   -.18258E-04
   4  Prefactor     .10000E-03    11.570        .18950E-06** at limit **
   5  Prefactor     9.1878        44.004       -.92390E-06    .18887E-04
   6  Prefactor     .10000E-03    7.5776       -.51621E-07** at limit **
   7  Prefactor     .10000E-03    39.781       -.66887E-06** at limit **
   8  norm          4.3720        1.2239        .20325E-06    .32331E-03
   9  Prefactor     .10000E-03    6.1196       -.35638E-07** at limit **
  10  Prefactor     .10000E-03    14.893       -.38663E-09** at limit **
  11  norm          .16980        8.6942       -.17980E-05    .88178E-03
  12  Prefactor     .10005E-03    6.4059       -.30168E-06** at limit **
  13  Prefactor     24.400        189.72        .78939E-06   -.76843E-05
  14  Prefactor     .10011E-03    5.9375       -.23636E-05** at limit **
  15  Prefactor     10.211        20.587       -.26166E-06    .17926E-03
  16  norm          .10000E-03    17.584        .44590E-06** at limit **
  17  norm          25.367        18.880        .40057E-05    .15721E-03
  18  Prefactor     .10000E-03    1.2849       -.28921E-06** at limit **
  19  Prefactor     .10000E-03    43.669        .47140E-06** at limit **
  20  Prefactor     4.2283        16.397        .28048E-06    .17246E-04
  21  Prefactor     .10000E-03    6.1050        .79995E-07** at limit **
  22  Normalizat    .98772        .18309        .74117E-06    .48262E-03
  23  Prefactor     .89958        .12378       -.37950E-07    .58123E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.3806
  norm       = 5.28637
  Prefactor  = 0.0001
  Prefactor  = 9.18778
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.37197
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.169805
  Prefactor  = 0.000100051
  Prefactor  = 24.4001
  Prefactor  = 0.000100114
  Prefactor  = 10.2113
  norm       = 0.0001
  norm       = 25.3671
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.22834
  Prefactor  = 0.0001
  Normalizat = 0.987723
  Prefactor  = 0.899576
 **********
 **   18 **HESSE 
 **********

 FCN=   6865.310     FROM HESSE     STATUS=OK           368 CALLS     2934 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.3806        2.6220        .11061E-03   -1.5340    
   3  norm          5.2864        3.9953        .13915E-03   -1.5248    
   4  Prefactor     .10000E-03    11.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.1878        44.115        .13192E-03   -1.5102    
   6  Prefactor     .10000E-03    7.6021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    40.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.3720        1.2253        .45651E-04   -1.5290    
   9  Prefactor     .10000E-03    6.2013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .16980        94.271        .39160E-02   -1.5626    
  12  Prefactor     .10005E-03    20.674        .35572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.400        191.77        .40287E-03   -1.4720    
  14  Prefactor     .10011E-03    50.868        .36627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.211        20.591        .12534E-03   -1.5069    
  16  norm          .10000E-03    17.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          25.367        19.063        .79507E-04   -1.4700    
  18  Prefactor     .10000E-03    1.2963        .91721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    44.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.2283        16.374        .19602E-03   -1.5297    
  21  Prefactor     .10000E-03    6.1291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .98772        .20791        .27863E-03   -.93443    
  23  Prefactor     .89958        .14240        .20392E-03   -.96156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36148e-08
Minuit parameter uncertainties:
  1  3.1933e-05
  2  2.62214
  3  3.99549
  4  3.19248e-05
  5  40.3133
  6  7.23694e-06
  7  7.22439e-06
  8  1.22532
  9  2.33271e-05
  10  2.00448e-05
  11  8.01225
  12  0.00204475
  13  137.422
  14  0.0048183
  15  20.6056
  16  2.29438e-05
  17  19.0671
  18  5.12095e-06
  19  0.000105189
  20  16.3915
  21  1.09115e-05
  22  0.208081
  23  0.142455
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  4.228e+00  1.639e+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.996e-01  1.425e-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.877e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/151859/likelihoodResults_373852801_374112001_4FGL_J2349.4+0534_daily_bin519.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) = 6865.20967733
delta logL = 0.100595524656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6864.99535188
delta logL = 0.314920981378

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10680E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    7.3878       1.0000          .0000       10.000    
     3 'Normalizat'    .94308       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92183       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=   6864.995     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      303 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10325E-02    .18222E-01    .10359E-02** at limit **
   2  Index         7.4041        2.5731        .15847        .16610E-03
   3  Normalizat    .94282        .28380E-01    .45450E-01    .26067E-05
   4  Prefactor     .92192        .20014E-01    .45283E-01    .43105E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00103253
  Index      = 7.40407
  Normalizat = 0.942817
  Prefactor  = 0.921921
 **********
 **   18 **HESSE 
 **********

 FCN=   6864.995     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      338 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10325E-02    .96358E-01    .36612E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.4041        8.6686        .85067E-02    .50158    
   3  Normalizat    .94282        .13481        .28453E-03   -.94972    
   4  Prefactor     .92192        .93440E-01    .20172E-03   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.54785e-10
Minuit parameter uncertainties:
  1  0.0189586
  2  8.36776
  3  0.134861
  4  0.0934558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/151859': 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) = 6864.99534618
delta logL = 0.3149266809

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.033e-03  1.896e-02  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  7.404e+00  8.368e+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:  9.219e-01  9.346e-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:  9.428e-01  1.349e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/151859/cmap_HighResolution_373852801_374112001_4FGL_J2349.4+0534_daily_bin519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.27e-03', job_status='DONE', photon_flux_upper_limit='9.37e-08', time_completed='2021-09-30 06:58:18.925063', job_id='151859', GAL2='0.92', fit_tolerance='1e-08', EG2='0.94', EG='0.99', time_epoch_completed='1633010298.93', return_code2='102', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='3.15e-01', ts2='0.75', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='519' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 06:58:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 151859: <4FGL_J2349.4+0534_daily_bin519> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin519> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 06:45:14 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 06:45:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 06:45:15 2021
Terminated at Thu Sep 30 06:58:19 2021
Results reported at Thu Sep 30 06:58:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin519 357.356 5.579 373852801 374112001 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 :                                   686.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             306.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            785 sec.

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

