/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 29 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 = 7169
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2349.4+0534_daily_bin260
RA = 357.356, Dec = 5.579
tmin = 306720001, tmax = 306979201
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='149316', job_status='RUN', time_executed='2021-09-30 06:36:24.026869', time_epoch_executed='1633008984.03' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/149316

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/149316/ft1_4FGL_J2349.4+0534_daily_bin260.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/149316/ft2_4FGL_J2349.4+0534_daily_bin260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/149316/ft1_4FGL_J2349.4+0534_daily_bin260.fits outfile=/scratch/kocevski/149316/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin260.fits ra=357.356 dec=5.579 rad=12.0 tmin=306720001.0 tmax=306979201.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.95
user 4.73
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/149316/ft1_filtered_4FGL_J2349.4+0534_daily_bin260.fits" evtable="EVENTS" scfile=/scratch/kocevski/149316/ft2_4FGL_J2349.4+0534_daily_bin260.fits sctable="SC_DATA" outfile=/scratch/kocevski/149316/ltcube_306720001_306979201_4FGL_J2349.4+0534_daily_bin260.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/149316/ft2_4FGL_J2349.4+0534_daily_bin260.fits
.....................!
real 11.76
user 11.33
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/149316/ft1_filtered_4FGL_J2349.4+0534_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/149316/ft2_4FGL_J2349.4+0534_daily_bin260.fits sctable="SC_DATA" expcube=/scratch/kocevski/149316/ltcube_306720001_306979201_4FGL_J2349.4+0534_daily_bin260.fits outfile=/scratch/kocevski/149316/expmap_306720001_306979201_4FGL_J2349.4+0534_daily_bin260.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/149316/ltcube_306720001_306979201_4FGL_J2349.4+0534_daily_bin260.fits
.....................!
real 191.25
user 185.64
sys 5.25

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/149316/ft1_filtered_4FGL_J2349.4+0534_daily_bin260.fits scfile=/scratch/kocevski/149316/ft2_4FGL_J2349.4+0534_daily_bin260.fits outfile=/scratch/kocevski/149316/cmap_306720001_306979201_4FGL_J2349.4+0534_daily_bin260.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/149316/ft1_filtered_4FGL_J2349.4+0534_daily_bin260.fits scfile=/scratch/kocevski/149316/ft2_4FGL_J2349.4+0534_daily_bin260.fits outfile=/scratch/kocevski/149316/cmap_HighResolution_306720001_306979201_4FGL_J2349.4+0534_daily_bin260.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/149316/ft1_filtered_4FGL_J2349.4+0534_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/149316/ft2_4FGL_J2349.4+0534_daily_bin260.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/149316/Model_4FGL_J2349.4+0534_daily_bin260.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/149316/ft1_filtered_4FGL_J2349.4+0534_daily_bin260.fits.....................!
real 61.65
user 60.27
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10276E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.178       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.618       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.002       1.0000         .10000E-03   10000.    
    10 'Prefactor '    218.96       1.0000         .10000E-03   10000.    
    11 'norm      '    .14971E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.1903       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.1523       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.9876       1.0000         .10000E-03   10000.    
    19 'Prefactor '    51.809       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.425       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.624       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1682       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92293       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=   5539.498     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2582 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6817       -.11889E-06** at limit **
   2  norm          .10000E-03    .86917       -.11223E-06** at limit **
   3  norm          .10000E-03    2.2070       -.20866E-06** at limit **
   4  Prefactor     .10000E-03    16.577       -.11652E-05** at limit **
   5  Prefactor     38.144        38.419        .14979E-05    .95400E-05
   6  Prefactor     11.615        14.906       -.61615E-07   -.28085E-04
   7  Prefactor     .10000E-03    13.145        .74104E-06** at limit **
   8  norm          .10000E-03    .35401        .29650E-07** at limit **
   9  Prefactor     12.999        9.5778       -.43890E-06   -.12871E-03
  10  Prefactor     218.94        111.59        .64705E-06   -.12120E-04
  11  norm          .10000E-03    32.317       -.41669E-05** at limit **
  12  Prefactor     9.1817        8.0670       -.77078E-06   -.33312E-03
  13  Prefactor     .10000E-03    72.128        .13660E-05** at limit **
  14  Prefactor     .10000E-03    6.2905        .30118E-06** at limit **
  15  Prefactor     .10000E-03    48.177       -.39688E-05** at limit **
  16  norm          4.1519        12.936       -.79335E-06   -.69125E-05
  17  norm          .10000E-03    7.8849        .63408E-07** at limit **
  18  Prefactor     7.9874        4.5958        .53567E-07   -.26160E-04
  19  Prefactor     51.802        47.298        .11430E-06   -.56375E-05
  20  Prefactor     13.420        25.578       -.27411E-06   -.51105E-05
  21  Prefactor     23.620        17.800        .18040E-06   -.60899E-05
  22  Normalizat    1.1686        .24336       -.14964E-05   -.75825E-05
  23  Prefactor     .92265        .16211        .33719E-06   -.23264E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.1442
  Prefactor  = 11.6148
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.9987
  Prefactor  = 218.942
  norm       = 0.000100001
  Prefactor  = 9.18174
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.15187
  norm       = 0.0001
  Prefactor  = 7.98744
  Prefactor  = 51.8024
  Prefactor  = 13.4202
  Prefactor  = 23.6201
  Normalizat = 1.16862
  Prefactor  = 0.922649
 **********
 **   18 **HESSE 
 **********

 FCN=   5539.498     FROM HESSE     STATUS=OK           370 CALLS     2952 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .87317        .67668E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.2203        .10782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.144        38.506        .64866E-04   -1.4472    
   6  Prefactor     11.615        14.902        .11753E-03   -1.5026    
   7  Prefactor     .10000E-03    13.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .36050        .43234E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.999        9.5458        .11109E-03   -1.4987    
  10  Prefactor     218.94        111.57        .13667E-03   -1.2738    
  11  norm          .10000E-03    32.076        .35911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.1817        7.8244        .13220E-03   -1.5102    
  13  Prefactor     .10000E-03    72.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.3129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    47.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.1519        12.908        .19780E-03   -1.5300    
  17  norm          .10000E-03    7.8871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.9874        4.5942        .11687E-03   -1.5143    
  19  Prefactor     51.802        47.310        .55719E-04   -1.4267    
  20  Prefactor     13.420        25.590        .10932E-03   -1.4975    
  21  Prefactor     23.620        17.817        .82413E-04   -1.4736    
  22  Normalizat    1.1686        .27428        .28950E-03   -.87578    
  23  Prefactor     .92265        .18584        .22393E-03   -.95354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33631e-10
Minuit parameter uncertainties:
  1  7.701e-06
  2  1.8564e-06
  3  4.30612e-06
  4  5.88706e-05
  5  38.5311
  6  14.9072
  7  1.10943e-05
  8  5.25162e-07
  9  9.54688
  10  111.681
  11  0.000340931
  12  7.82532
  13  7.85258e-05
  14  3.13728e-06
  15  0.000125313
  16  12.917
  17  2.02386e-07
  18  4.59436
  19  47.3448
  20  25.611
  21  17.8212
  22  0.274619
  23  0.185972
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.342e+01  2.561e+01  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.226e-01  1.860e-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.169e+00  2.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/149316/likelihoodResults_306720001_306979201_4FGL_J2349.4+0534_daily_bin260.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) = 5539.4832996
delta logL = 0.0151794204739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5539.47853185
delta logL = 0.0199471641008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.869       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6772       1.0000          .0000       10.000    
     3 'Normalizat'    1.1640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92462       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=   5539.479     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      233 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.869        610.97        .30382E-02    .26734E-03
   2  Index         2.6772        6.3292        .22958        .13930E-03
   3  Normalizat    1.1638        .55677E-01    .65557E-01    .84471E-05
   4  Prefactor     .92474        .38696E-01    .45318E-01    .70765E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8685
  Index      = 2.67719
  Normalizat = 1.16381
  Prefactor  = 0.924744
 **********
 **   18 **HESSE 
 **********

 FCN=   5539.479     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.869        28.211        .12153E-03   -1.5048    
   2  Index         2.6772        1.2037        .83194E-02   -.48314    
   3  Normalizat    1.1638        .26436        .29001E-03   -.87729    
   4  Prefactor     .92474        .18446        .22370E-03   -.95282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15755e-10
Minuit parameter uncertainties:
  1  28.2454
  2  1.21904
  3  0.264668
  4  0.184585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/149316': 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) = 5539.4785316
delta logL = 0.0199474194587

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.087e+01  2.825e+01  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.677e+00  1.219e+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.247e-01  1.846e-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.164e+00  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
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/149316/cmap_HighResolution_306720001_306979201_4FGL_J2349.4+0534_daily_bin260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2021-09-30 06:46:55.009615', job_id='149316', GAL2='0.92', fit_tolerance='1e-08', EG2='1.16', EG='1.17', time_epoch_completed='1633009615.01', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.99e-02', ts2='0.38', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='260' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 06:46:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 149316: <4FGL_J2349.4+0534_daily_bin260> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin260> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 06:35:42 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 06:35:44 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:35:44 2021
Terminated at Thu Sep 30 06:46:55 2021
Results reported at Thu Sep 30 06:46:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin260 357.356 5.579 306720001 306979201 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 :                                   622.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            673 sec.

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

