/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 1 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 = 7388
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2349.4+0534_daily_bin8
RA = 357.356, Dec = 5.579
tmin = 241401601, tmax = 241660801
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='147887', job_status='RUN', time_executed='2021-09-30 06:31:07.318001', time_epoch_executed='1633008667.32' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='8'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147887

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147887/ft1_4FGL_J2349.4+0534_daily_bin8.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147887/ft2_4FGL_J2349.4+0534_daily_bin8.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147887/ft1_4FGL_J2349.4+0534_daily_bin8.fits outfile=/scratch/kocevski/147887/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin8.fits ra=357.356 dec=5.579 rad=12.0 tmin=241401601.0 tmax=241660801.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 1.48
user 1.28
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/147887/ft2_4FGL_J2349.4+0534_daily_bin8.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/147887/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin8.fits evtable="EVENTS" outfile="/scratch/kocevski/147887/ft1_filtered_4FGL_J2349.4+0534_daily_bin8.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.51
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147887/ft1_filtered_4FGL_J2349.4+0534_daily_bin8.fits" evtable="EVENTS" scfile=/scratch/kocevski/147887/ft2_4FGL_J2349.4+0534_daily_bin8.fits sctable="SC_DATA" outfile=/scratch/kocevski/147887/ltcube_241401601_241660801_4FGL_J2349.4+0534_daily_bin8.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/147887/ft2_4FGL_J2349.4+0534_daily_bin8.fits
.....................!
real 15.65
user 15.02
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147887/ft1_filtered_4FGL_J2349.4+0534_daily_bin8.fits evtable="EVENTS" scfile=/scratch/kocevski/147887/ft2_4FGL_J2349.4+0534_daily_bin8.fits sctable="SC_DATA" expcube=/scratch/kocevski/147887/ltcube_241401601_241660801_4FGL_J2349.4+0534_daily_bin8.fits outfile=/scratch/kocevski/147887/expmap_241401601_241660801_4FGL_J2349.4+0534_daily_bin8.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/147887/ltcube_241401601_241660801_4FGL_J2349.4+0534_daily_bin8.fits
.....................!
real 190.20
user 184.77
sys 5.09

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/147887/ft1_filtered_4FGL_J2349.4+0534_daily_bin8.fits scfile=/scratch/kocevski/147887/ft2_4FGL_J2349.4+0534_daily_bin8.fits outfile=/scratch/kocevski/147887/cmap_241401601_241660801_4FGL_J2349.4+0534_daily_bin8.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/147887/ft1_filtered_4FGL_J2349.4+0534_daily_bin8.fits scfile=/scratch/kocevski/147887/ft2_4FGL_J2349.4+0534_daily_bin8.fits outfile=/scratch/kocevski/147887/cmap_HighResolution_241401601_241660801_4FGL_J2349.4+0534_daily_bin8.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6114       1.0000         .10000E-03   10000.    
     2 'norm      '    3.1911       1.0000         .10000E-03   10000.    
     3 'norm      '    2.9145       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.415       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5201       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8257       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.832       1.0000         .10000E-03   10000.    
    11 'norm      '    21.134       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13597       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    65.927       1.0000         .10000E-03   10000.    
    16 'norm      '    .95752       1.0000         .10000E-03   10000.    
    17 'norm      '    15.571       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .97297       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .81907       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=   7862.073     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2588 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6130        35.338       -.17234E-04    .77732E-06
   2  norm          3.1881        2.8647        .12153E-05    .14923E-03
   3  norm          2.9138        3.5211       -.76904E-07   -.67657E-04
   4  Prefactor     .10000E-03    4.1949        .53080E-07** at limit **
   5  Prefactor     17.316        33.486       -.43077E-05   -.18075E-04
   6  Prefactor     .10000E-03    6.8980        .48601E-06** at limit **
   7  Prefactor     1.5167        17.331       -.14594E-06    .15562E-03
   8  norm          1.8257        .85833        .27702E-08    .63356E-03
   9  Prefactor     .10000E-03    3.3268        .60821E-06** at limit **
  10  Prefactor     15.833        23.234       -.55666E-07    .20652E-04
  11  norm          21.121        9.8560        .35377E-07   -.64745E-04
  12  Prefactor     .16129        81.202       -.39709E-04    .44576E-04
  13  Prefactor     .10000E-03    48.756       -.62403E-06** at limit **
  14  Prefactor     .10000E-03    14.901        .79022E-06** at limit **
  15  Prefactor     65.923        27.540       -.51715E-06   -.61218E-04
  16  norm          .96009        7.3292        .12399E-05    .28004E-03
  17  norm          15.575        16.137       -.24208E-06   -.14912E-04
  18  Prefactor     .10000E-03    1.5245        .68841E-07** at limit **
  19  Prefactor     .10000E-03    10.881        .35626E-06** at limit **
  20  Prefactor     .10000E-03    9.5382        .46602E-06** at limit **
  21  Prefactor     .10000E-03    9.9605       -.40679E-06** at limit **
  22  Normalizat    .97316        .17307       -.38914E-06   -.12316E-03
  23  Prefactor     .81895        .11533        .70144E-06    .56303E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.61304
  norm       = 3.18806
  norm       = 2.91383
  Prefactor  = 0.0001
  Prefactor  = 17.3162
  Prefactor  = 0.000100001
  Prefactor  = 1.51674
  norm       = 1.82571
  Prefactor  = 0.0001
  Prefactor  = 15.8329
  norm       = 21.1214
  Prefactor  = 0.161294
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 65.9233
  norm       = 0.960093
  norm       = 15.5748
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.973164
  Prefactor  = 0.818946
 **********
 **   18 **HESSE 
 **********

 FCN=   7862.073     FROM HESSE     STATUS=OK           374 CALLS     2962 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6130        36.538        .16683E-02   -1.5454    
   2  norm          3.1881        2.9041        .11434E-03   -1.5351    
   3  norm          2.9138        3.5113        .17581E-03   -1.5367    
   4  Prefactor     .10000E-03    4.2229        .17732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.316        33.514        .95975E-04   -1.4875    
   6  Prefactor     .10000E-03    6.9959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5167        17.437        .34656E-03   -1.5462    
   8  norm          1.8257        .85552        .54189E-04   -1.5438    
   9  Prefactor     .10000E-03    3.3508        .15814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.833        23.231        .10066E-03   -1.4912    
  11  norm          21.121        10.746        .87127E-04   -1.4788    
  12  Prefactor     .16129        97.328        .37515E-02   -1.5628    
  13  Prefactor     .10000E-03    48.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.196        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     65.923        27.542        .49429E-04   -1.4082    
  16  norm          .96009        22.414        .46158E-02   -1.5512    
  17  norm          15.575        16.012        .10150E-03   -1.4918    
  18  Prefactor     .10000E-03    1.5402        .10674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.5720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .97316        .20148        .27438E-03   -.93935    
  23  Prefactor     .81895        .13420        .20629E-03   -.99034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19852e-09
Minuit parameter uncertainties:
  1  15.3643
  2  2.90428
  3  3.51159
  4  2.09195e-05
  5  33.5503
  6  0.000127458
  7  10.2889
  8  0.855529
  9  6.77656e-05
  10  23.2443
  11  10.7465
  12  7.93478
  13  5.33679e-05
  14  0.000275829
  15  27.5475
  16  9.28135
  17  16.0161
  18  1.93728e-07
  19  1.43695e-05
  20  6.31731e-05
  21  1.57031e-05
  22  0.20164
  23  0.134251
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.000e-04  6.317e-05  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.189e-01  1.343e-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.732e-01  2.016e-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: 6.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/147887/likelihoodResults_241401601_241660801_4FGL_J2349.4+0534_daily_bin8.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) = 7862.07326581
delta logL = -0.00049791766105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7862.07276792
delta logL = -2.66636561719e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4681       1.0000          .0000       10.000    
     3 'Normalizat'    .97316       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81896       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=   7862.073     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.833        .90712E-02** at limit **
   2  Index         2.4694        5.8303        .50000       -.12559E-05
   3  Normalizat    .97317        .50366E-02    .45830E-01    .50549E-04
   4  Prefactor     .81894        .35215E-02    .43963E-01    .49050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.46944
  Normalizat = 0.97317
  Prefactor  = 0.818942
 **********
 **   18 **HESSE 
 **********

 FCN=   7862.073     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      234 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    194.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4694        7.8804        .50000       -.53067    
   3  Normalizat    .97317        .19248E-01    .27437E-03   -.93935    
   4  Prefactor     .81894        .13459E-01    .20629E-03   -.99034    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.03254e-08
Minuit parameter uncertainties:
  1  1.19257e-05
  2  908.431
  3  0.019248
  4  0.0134587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147887': 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) = 7862.07276789
delta logL = 1.42608769238e-09

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.000e-04  1.193e-05  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.469e+00  9.084e+02  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.189e-01  1.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.732e-01  1.925e-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/147887/cmap_HighResolution_241401601_241660801_4FGL_J2349.4+0534_daily_bin8.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.00e-03', job_status='DONE', photon_flux_upper_limit='6.44e-08', time_completed='2021-09-30 06:43:16.135385', job_id='147887', GAL2='0.82', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1633009396.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.43e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='8' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 06:43:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 147887: <4FGL_J2349.4+0534_daily_bin8> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin8> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 06:30:58 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 06:30:59 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:30:59 2021
Terminated at Thu Sep 30 06:43:16 2021
Results reported at Thu Sep 30 06:43:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin8 357.356 5.579 241401601 241660801 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 :                                   724.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             348.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            738 sec.

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

