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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1057
RA = 358.322, Dec = 31.5927
tmin = 513302401, tmax = 513561601
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='173349', job_status='RUN', time_executed='2021-09-30 07:57:30.964456', time_epoch_executed='1633013850.96' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1057'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/173349

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/173349/ft1_4FGL_J2353.2+3135_daily_bin1057.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/173349/ft1_4FGL_J2353.2+3135_daily_bin1057.fits outfile=/scratch/kocevski/173349/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1057.fits ra=358.322 dec=31.5927 rad=12.0 tmin=513302401.0 tmax=513561601.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.41
user 5.16
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.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/173349/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1057.fits evtable="EVENTS" outfile="/scratch/kocevski/173349/ft1_filtered_4FGL_J2353.2+3135_daily_bin1057.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/173349/ft1_filtered_4FGL_J2353.2+3135_daily_bin1057.fits" evtable="EVENTS" scfile=/scratch/kocevski/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.fits sctable="SC_DATA" outfile=/scratch/kocevski/173349/ltcube_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.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/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.fits
.....................!
real 12.19
user 11.82
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/173349/ft1_filtered_4FGL_J2353.2+3135_daily_bin1057.fits evtable="EVENTS" scfile=/scratch/kocevski/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.fits sctable="SC_DATA" expcube=/scratch/kocevski/173349/ltcube_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.fits outfile=/scratch/kocevski/173349/expmap_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.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/173349/ltcube_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.fits
.....................!
real 190.15
user 185.14
sys 4.53

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2353.2+3135 @ 358.322 31.5927

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/173349/ft1_filtered_4FGL_J2353.2+3135_daily_bin1057.fits scfile=/scratch/kocevski/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.fits outfile=/scratch/kocevski/173349/cmap_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.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=358.322 yref=31.5927 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/173349/ft1_filtered_4FGL_J2353.2+3135_daily_bin1057.fits scfile=/scratch/kocevski/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.fits outfile=/scratch/kocevski/173349/cmap_HighResolution_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.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=358.322 yref=31.5927 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/173349/ft1_filtered_4FGL_J2353.2+3135_daily_bin1057.fits evtable="EVENTS" scfile=/scratch/kocevski/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/173349/Model_4FGL_J2353.2+3135_daily_bin1057.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/173349/ft1_filtered_4FGL_J2353.2+3135_daily_bin1057.fits.....................!
real 69.60
user 68.17
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/173349/ft1_filtered_4FGL_J2353.2+3135_daily_bin1057.fits', '/scratch/kocevski/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.fits', expMap='/scratch/kocevski/173349/expmap_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.fits', expCube='/scratch/kocevski/173349/ltcube_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/173349/Model_4FGL_J2353.2+3135_daily_bin1057.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2353.2+3135'

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  7.403e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.631e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/173349/ft1_filtered_4FGL_J2353.2+3135_daily_bin1057.fits
Spacecraft file(s): /scratch/kocevski/173349/ft2_4FGL_J2353.2+3135_daily_bin1057.fits
Exposure map: /scratch/kocevski/173349/expmap_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.fits
Exposure cube: /scratch/kocevski/173349/ltcube_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/173349/Model_4FGL_J2353.2+3135_daily_bin1057.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) = 6674.50064495

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7349       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.415       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.137       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1612       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .69201       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5064       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.977       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2057       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.0464       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.089       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15180E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68378       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2560       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6674.497     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2342 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7346        4.4073       -.33371E-06   -.23123E-03
   2  norm          .10000E-03    9.8731       -.95615E-06** at limit **
   3  Prefactor     .10000E-03    4.7836        .43554E-07** at limit **
   4  Prefactor     25.415        14.602       -.15607E-06    .14627E-05
   5  Prefactor     .10000E-03    4.1308        .12078E-06** at limit **
   6  Prefactor     .10000E-03    13.869       -.59924E-06** at limit **
   7  Prefactor     18.125        29.134       -.14688E-04   -.48418E-05
   8  norm          3.1610        2.7313       -.59292E-07   -.13769E-03
   9  Prefactor     .10000E-03    11.855       -.63113E-06** at limit **
  10  norm          .69208        1.2491       -.50979E-06   -.14991E-02
  11  Prefactor     3.5068        18.539       -.16726E-05   -.75419E-04
  12  Prefactor     14.977        15.247       -.47604E-06   -.15306E-05
  13  Prefactor     .10000E-03    10.306        .97706E-06** at limit **
  14  norm          .10000E-03    1.2764        .70789E-07** at limit **
  15  Prefactor     .10000E-03    3.5917        .18379E-06** at limit **
  16  norm          1.2056        2.0505       -.23700E-06   -.54822E-03
  17  Prefactor     9.0453        15.164       -.11566E-05   -.42996E-03
  18  Prefactor     17.082        27.519       -.84370E-05   -.31854E-05
  19  Prefactor     .10000E-03    48.947       -.18746E-06** at limit **
  20  Prefactor     .10000E-03    4.0682        .63673E-07** at limit **
  21  Normalizat    .68385        .21797        .29228E-05    .49216E-05
  22  Prefactor     1.2560        .12457        .46171E-06    .62582E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.7346
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.4146
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1255
  norm       = 3.16101
  Prefactor  = 0.0001
  norm       = 0.692075
  Prefactor  = 3.50679
  Prefactor  = 14.9773
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.20561
  Prefactor  = 9.04535
  Prefactor  = 17.0824
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.683846
  Prefactor  = 1.25597
 **********
 **   18 **HESSE 
 **********

 FCN=   6674.497     FROM HESSE     STATUS=OK           346 CALLS     2688 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7346        4.4137        .12041E-03   -1.5152    
   2  norm          .10000E-03    9.9100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.8266        .17443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.415        14.602        .79461E-04   -1.4699    
   5  Prefactor     .10000E-03    4.2187        .16208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.125        28.851        .94045E-04   -1.4856    
   8  norm          3.1610        2.7309        .12146E-03   -1.5352    
   9  Prefactor     .10000E-03    11.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69208        1.2311        .11926E-03   -1.5542    
  11  Prefactor     3.5068        18.605        .21591E-03   -1.5333    
  12  Prefactor     14.977        15.177        .10350E-03   -1.4934    
  13  Prefactor     .10000E-03    10.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.2799        .90135E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.5971        .15121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2056        2.0037        .14695E-03   -1.5488    
  17  Prefactor     9.0453        15.331        .66628E-03   -1.5106    
  18  Prefactor     17.082        27.417        .96885E-04   -1.4881    
  19  Prefactor     .10000E-03    49.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.344        .31871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .68385        .23934        .38065E-03   -1.0453    
  22  Prefactor     1.2560        .13824        .16930E-03   -.84626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23078e-09
Minuit parameter uncertainties:
  1  4.41391
  2  2.21841e-06
  3  1.20559e-06
  4  14.604
  5  6.39543e-06
  6  7.51631e-06
  7  28.8731
  8  2.73099
  9  9.7904e-07
  10  1.23118
  11  16.1626
  12  15.1811
  13  8.28966e-06
  14  8.19061e-07
  15  1.51793e-06
  16  2.0038
  17  15.3381
  18  27.4373
  19  3.17436e-05
  20  0.000132966
  21  0.239701
  22  0.138283
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.708e+01  2.744e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.631e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.256e+00  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  6.838e-01  2.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/173349/likelihoodResults_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.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) = 6673.97097539
delta logL = 0.526481380572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6673.94289774
delta logL = 0.554559032663

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.499       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6167       1.0000          .0000       10.000    
     3 'Normalizat'    .70309       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2482       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+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=   6673.943     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      246 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.492        34.880        .40465E-03   -.21422E-03
   2  Index         1.6165        .77239        .11006E-01    .64517E-04
   3  Normalizat    .70310        .23116        .37564E-03    .30743E-03
   4  Prefactor     1.2482        .13632        .16967E-03    .48148E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.4915
  Index      = 1.61646
  Normalizat = 0.703098
  Prefactor  = 1.24819
 **********
 **   18 **HESSE 
 **********

 FCN=   6673.943     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.492        35.945        .80930E-04   -1.4718    
   2  Index         1.6165        .79597        .44024E-03   -.74328    
   3  Normalizat    .70310        .23129        .15026E-04   -1.0377    
   4  Prefactor     1.2482        .13639        .33933E-04   -.84861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45439e-10
Minuit parameter uncertainties:
  1  35.977
  2  0.802308
  3  0.231611
  4  0.136425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/173349': 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) = 6673.94289766
delta logL = 0.554559114456

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  2.449e+01  3.598e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  1.616e+00  8.023e-01  0.000e+00  1.000e+01 (-1.000e+00)
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.248e+00  1.364e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  7.031e-01  2.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 358.322 31.593
Photon Index (Free Index): 1.62 +/- 0.80
Photon Flux (Free Index): 1.01e-08 +/- 1.73e-08
Energy Flux (Free Index): 2.16e-05 +/- 4.04e-05

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/173349/cmap_HighResolution_513302401_513561601_4FGL_J2353.2+3135_daily_bin1057.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.11e-03', comment='SUCCESS', energy_flux2='2.16e-05', dlogl='5.55e-01', photon_flux2='1.01e-08', job_status='DONE', time_completed='2021-09-30 08:08:40.684062', photon_index_error2='0.80', photon_index2='1.62', ts='0.51', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='4.04e-05', EG='0.68', time_epoch_completed='1633014520.68', return_code='0', job_id='173349', GAL2='1.25', EG2='0.70', return_code2='0', photon_flux_error2='1.73e-08', ts2='1.62', photon_index='2.63' WHERE bin_id='1057' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 08:08:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 173349: <4FGL_J2353.2+3135_daily_bin1057> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1057> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 07:55:18 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:55:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 07:55:20 2021
Terminated at Thu Sep 30 08:08:41 2021
Results reported at Thu Sep 30 08:08:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1057 358.322 31.5927 513302401 513561601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2353.2+3135 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   646.22 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            803 sec.

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

