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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1244
RA = 358.322, Dec = 31.5927
tmin = 561772801, tmax = 562032001
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='173624', job_status='RUN', time_executed='2021-09-30 07:57:50.687428', time_epoch_executed='1633013870.69' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1244'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/173624

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/173624/ft1_4FGL_J2353.2+3135_daily_bin1244.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/173624/ft2_4FGL_J2353.2+3135_daily_bin1244.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/173624/ft1_4FGL_J2353.2+3135_daily_bin1244.fits outfile=/scratch/kocevski/173624/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1244.fits ra=358.322 dec=31.5927 rad=12.0 tmin=561772801.0 tmax=562032001.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.09
user 3.81
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/173624/ft2_4FGL_J2353.2+3135_daily_bin1244.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/173624/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1244.fits evtable="EVENTS" outfile="/scratch/kocevski/173624/ft1_filtered_4FGL_J2353.2+3135_daily_bin1244.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.48
user 0.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/173624/ft1_filtered_4FGL_J2353.2+3135_daily_bin1244.fits evtable="EVENTS" scfile=/scratch/kocevski/173624/ft2_4FGL_J2353.2+3135_daily_bin1244.fits sctable="SC_DATA" expcube=/scratch/kocevski/173624/ltcube_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.fits outfile=/scratch/kocevski/173624/expmap_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.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/173624/ltcube_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.fits
.....................!
real 191.66
user 186.16
sys 5.19

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/173624/ft1_filtered_4FGL_J2353.2+3135_daily_bin1244.fits scfile=/scratch/kocevski/173624/ft2_4FGL_J2353.2+3135_daily_bin1244.fits outfile=/scratch/kocevski/173624/cmap_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/173624/ft1_filtered_4FGL_J2353.2+3135_daily_bin1244.fits scfile=/scratch/kocevski/173624/ft2_4FGL_J2353.2+3135_daily_bin1244.fits outfile=/scratch/kocevski/173624/cmap_HighResolution_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/173624/ft1_filtered_4FGL_J2353.2+3135_daily_bin1244.fits', '/scratch/kocevski/173624/ft2_4FGL_J2353.2+3135_daily_bin1244.fits', expMap='/scratch/kocevski/173624/expmap_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.fits', expCube='/scratch/kocevski/173624/ltcube_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/173624/Model_4FGL_J2353.2+3135_daily_bin1244.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/173624/ft1_filtered_4FGL_J2353.2+3135_daily_bin1244.fits
Spacecraft file(s): /scratch/kocevski/173624/ft2_4FGL_J2353.2+3135_daily_bin1244.fits
Exposure map: /scratch/kocevski/173624/expmap_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.fits
Exposure cube: /scratch/kocevski/173624/ltcube_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/173624/Model_4FGL_J2353.2+3135_daily_bin1244.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) = 4998.24393809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4469       1.0000         .10000E-03   10000.    
     2 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.438       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .31335E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .12077E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.277       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.175       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.074       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.337       1.0000         .10000E-03   10000.    
    16 'norm      '    7.2891       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    52.865       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.851       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3397       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .71972       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=   4998.221     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2378 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4468        3.0281        .23816E-06   -.56673E-03
   2  norm          .10000E-03    14.795        .42504E-06** at limit **
   3  Prefactor     .10000E-03    9.4521        .37925E-06** at limit **
   4  Prefactor     .10000E-03    6.2646        .36926E-07** at limit **
   5  Prefactor     .10000E-03    9.1321       -.59670E-06** at limit **
   6  Prefactor     11.437        23.751        .50217E-05   -.18086E-04
   7  Prefactor     .10000E-03    513.20       -.16083E-04** at limit **
   8  norm          .10000E-03    1.6167        .24428E-07** at limit **
   9  Prefactor     .10000E-03    25.327        .51970E-06** at limit **
  10  norm          .10001E-03    1.1309        .11870E-05** at limit **
  11  Prefactor     22.290        27.836       -.64081E-05   -.55558E-04
  12  Prefactor     30.234        39.625       -.20496E-04   -.86414E-04
  13  Prefactor     22.066        22.300        .78210E-05   -.40535E-04
  14  norm          .10000E-03    3.4381        .20983E-06** at limit **
  15  Prefactor     21.338        29.313       -.98957E-05   -.25023E-03
  16  norm          7.2870        7.0522        .81697E-06   -.21582E-02
  17  Prefactor     .10000E-03    10.348       -.30378E-06** at limit **
  18  Prefactor     52.962        64.489        .53580E-04   -.31133E-04
  19  Prefactor     .10000E-03    68.658       -.15684E-05** at limit **
  20  Prefactor     15.854        18.637       -.12365E-05   -.35216E-04
  21  Normalizat    1.3396        .25183       -.62373E-05   -.49837E-04
  22  Prefactor     .71970        .12923        .12056E-05   -.59762E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44675
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4372
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100007
  Prefactor  = 22.29
  Prefactor  = 30.2337
  Prefactor  = 22.0664
  norm       = 0.0001
  Prefactor  = 21.3379
  norm       = 7.28698
  Prefactor  = 0.0001
  Prefactor  = 52.9618
  Prefactor  = 0.0001
  Prefactor  = 15.8537
  Normalizat = 1.33962
  Prefactor  = 0.719696
 **********
 **   18 **HESSE 
 **********

 FCN=   4998.221     FROM HESSE     STATUS=OK           334 CALLS     2712 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4468        3.0293        .12729E-03   -1.5395    
   2  norm          .10000E-03    14.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.4643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.2910        .17273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.1811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.437        23.770        .11845E-03   -1.5031    
   7  Prefactor     .10000E-03    523.88        .19781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.6236        .87783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10001E-03    16.798        .14200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.290        27.868        .84865E-04   -1.4763    
  12  Prefactor     30.234        39.303        .72938E-04   -1.4608    
  13  Prefactor     22.066        22.296        .85253E-04   -1.4768    
  14  norm          .10000E-03    3.4453        .12789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.338        29.217        .86712E-04   -1.4784    
  16  norm          7.2870        7.0575        .74282E-03   -1.5168    
  17  Prefactor     .10000E-03    10.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     52.962        64.402        .55163E-04   -1.4251    
  19  Prefactor     .10000E-03    68.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.854        18.633        .10060E-03   -1.4911    
  21  Normalizat    1.3396        .29588        .28776E-03   -.82391    
  22  Prefactor     .71970        .15107        .20362E-03   -1.0276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55172e-09
Minuit parameter uncertainties:
  1  3.02947
  2  3.68655e-07
  3  1.86398e-05
  4  1.29269e-05
  5  0.000130583
  6  23.7892
  7  0.00200827
  8  2.85102e-06
  9  8.72413e-05
  10  0.000700366
  11  27.8838
  12  39.3369
  13  22.3048
  14  3.88567e-05
  15  29.2364
  16  7.05832
  17  4.12138e-05
  18  64.4867
  19  2.62844e-05
  20  18.6397
  21  0.296261
  22  0.151155
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  5.296e+01  6.449e+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:  7.197e-01  1.512e-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:  1.340e+00  2.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.83
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 2.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.74e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/173624/likelihoodResults_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.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) = 4997.88577695
delta logL = 0.335497010428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4997.8803824
delta logL = 0.340891566616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.957       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4585       1.0000          .0000       10.000    
     3 'Normalizat'    1.2896       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73719       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=   4997.880     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      300 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.912        75.681        .77159E-04   -.43168E-03
   2  Index         3.4608        1.7344        .65216E-02   -.18122E-03
   3  Normalizat    1.2894        .28769        .29232E-03    .17170E-03
   4  Prefactor     .73717        .15106        .20137E-03    .34039E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.9118
  Index      = 3.46083
  Normalizat = 1.28937
  Prefactor  = 0.737174
 **********
 **   18 **HESSE 
 **********

 FCN=   4997.880     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.912        51.989        .15432E-04   -1.4670    
   2  Index         3.4608        1.2016        .26086E-03   -.31292    
   3  Normalizat    1.2894        .28720        .58463E-04   -.83884    
   4  Prefactor     .73717        .15012        .40275E-04   -1.0209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31447e-10
Minuit parameter uncertainties:
  1  52.0764
  2  1.21475
  3  0.28756
  4  0.150202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/173624': 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) = 4997.88037835
delta logL = 0.340895609702

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  2.691e+01  5.208e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  3.461e+00  1.215e+00  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:  7.372e-01  1.502e-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:  1.289e+00  2.876e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.57
Ra Dec: 358.322 31.593
Photon Index (Free Index): 3.46 +/- 1.21
Photon Flux (Free Index): 1.15e-07 +/- 1.08e-07
Energy Flux (Free Index): 1.93e-05 +/- 1.77e-05

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/173624/cmap_HighResolution_561772801_562032001_4FGL_J2353.2+3135_daily_bin1244.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.74e-02', comment='SUCCESS', energy_flux2='1.93e-05', dlogl='3.41e-01', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-09-30 08:07:22.334489', photon_index_error2='1.21', photon_index2='3.46', ts='0.83', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='2.22e-07', energy_flux_error2='1.77e-05', EG='1.34', time_epoch_completed='1633014442.33', return_code='0', job_id='173624', GAL2='0.74', EG2='1.29', return_code2='0', photon_flux_error2='1.08e-07', ts2='1.57', photon_index='2.63' WHERE bin_id='1244' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 08:07:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 173624: <4FGL_J2353.2+3135_daily_bin1244> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1244> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 07:55:43 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:55:46 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:46 2021
Terminated at Thu Sep 30 08:07:23 2021
Results reported at Thu Sep 30 08:07:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1244 358.322 31.5927 561772801 562032001 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 :                                   551.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            700 sec.

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

