aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 12 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 = 7483
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1683
RA = 358.322, Dec = 31.5927
tmin = 675561601, tmax = 675820801
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='53057', job_status='RUN', time_executed='2022-06-02 01:38:56.870857', time_epoch_executed='1654159136.87' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53057

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53057/ft1_4FGL_J2353.2+3135_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53057/ft2_4FGL_J2353.2+3135_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53057/ft1_4FGL_J2353.2+3135_daily_bin1683.fits outfile=/scratch/kocevski/53057/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1683.fits ra=358.322 dec=31.5927 rad=12.0 tmin=675561601.0 tmax=675820801.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 3.24
user 2.64
sys 0.19

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

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

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

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

Number of photons that the gtmktime cut: 863

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53057/ft1_filtered_4FGL_J2353.2+3135_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/53057/ft2_4FGL_J2353.2+3135_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/53057/ltcube_675561601_675820801_4FGL_J2353.2+3135_daily_bin1683.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/53057/ft2_4FGL_J2353.2+3135_daily_bin1683.fits
.....................!
real 13.76
user 11.27
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53057/ft1_filtered_4FGL_J2353.2+3135_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/53057/ft2_4FGL_J2353.2+3135_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/53057/ltcube_675561601_675820801_4FGL_J2353.2+3135_daily_bin1683.fits outfile=/scratch/kocevski/53057/expmap_675561601_675820801_4FGL_J2353.2+3135_daily_bin1683.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/53057/ltcube_675561601_675820801_4FGL_J2353.2+3135_daily_bin1683.fits
.....................!
real 178.79
user 152.08
sys 4.41

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/53057/ft1_filtered_4FGL_J2353.2+3135_daily_bin1683.fits scfile=/scratch/kocevski/53057/ft2_4FGL_J2353.2+3135_daily_bin1683.fits outfile=/scratch/kocevski/53057/cmap_675561601_675820801_4FGL_J2353.2+3135_daily_bin1683.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.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53057/ft1_filtered_4FGL_J2353.2+3135_daily_bin1683.fits scfile=/scratch/kocevski/53057/ft2_4FGL_J2353.2+3135_daily_bin1683.fits outfile=/scratch/kocevski/53057/cmap_HighResolution_675561601_675820801_4FGL_J2353.2+3135_daily_bin1683.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.49
user 0.32
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.935       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.974       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.671       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.088       1.0000         .10000E-03   10000.    
     8 'norm      '    4.6459       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.9774       1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.671       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.3652       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.4457       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3755       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    47.198       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2068       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90664       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=   9453.915     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2363 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4690       -.10159E-06** at limit **
   2  norm          .10000E-03    7.2032       -.78447E-05** at limit **
   3  Prefactor     10.935        7.0687       -.72875E-06   -.63977E-04
   4  Prefactor     11.975        11.123        .38554E-06   -.12797E-04
   5  Prefactor     14.674        8.1498       -.80380E-06   -.17761E-03
   6  Prefactor     .10000E-03    20.011       -.15722E-05** at limit **
   7  Prefactor     36.092        26.009        .14857E-05    .56590E-04
   8  norm          4.6460        2.4491        .20239E-07   -.65979E-04
   9  Prefactor     .10000E-03    5.7693       -.61899E-06** at limit **
  10  norm          1.9774        1.2130       -.68802E-07   -.60066E-03
  11  Prefactor     30.669        19.597        .11980E-06    .19470E-04
  12  Prefactor     3.3636        12.740       -.67099E-06   -.14305E-03
  13  Prefactor     .10000E-03    68.550       -.70092E-05** at limit **
  14  norm          2.4443        5.2657        .22634E-05   -.72835E-03
  15  Prefactor     .10000E-03    8.3696        .25016E-05** at limit **
  16  norm          2.3757        2.4246       -.18252E-06   -.79826E-03
  17  Prefactor     .10000E-03    6.8288        .71300E-05** at limit **
  18  Prefactor     47.203        34.139        .34544E-05    .77206E-04
  19  Prefactor     .10000E-03    43.153        .19000E-05** at limit **
  20  Prefactor     .10000E-03    3.2271        .14908E-06** at limit **
  21  Normalizat    1.2066        .18814       -.35803E-06    .20643E-04
  22  Prefactor     .90673        .99439E-01   -.46955E-07    .37689E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 10.935
  Prefactor  = 11.9752
  Prefactor  = 14.6735
  Prefactor  = 0.0001
  Prefactor  = 36.0921
  norm       = 4.64604
  Prefactor  = 0.0001
  norm       = 1.97744
  Prefactor  = 30.6686
  Prefactor  = 3.36355
  Prefactor  = 0.000100001
  norm       = 2.44434
  Prefactor  = 0.0001
  norm       = 2.37565
  Prefactor  = 0.000100001
  Prefactor  = 47.203
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.20656
  Prefactor  = 0.906733
 **********
 **   18 **HESSE 
 **********

 FCN=   9453.915     FROM HESSE     STATUS=OK           344 CALLS     2707 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5329        .22980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.2435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.935        7.0713        .12116E-03   -1.5046    
   4  Prefactor     11.975        11.115        .11576E-03   -1.5016    
   5  Prefactor     14.674        8.2019        .10457E-03   -1.4942    
   6  Prefactor     .10000E-03    20.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     36.092        26.027        .66712E-04   -1.4506    
   8  norm          4.6460        2.4484        .10726E-03   -1.5277    
   9  Prefactor     .10000E-03    5.7709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9774        1.2064        .80370E-04   -1.5427    
  11  Prefactor     30.669        19.602        .72347E-04   -1.4600    
  12  Prefactor     3.3636        12.702        .22059E-03   -1.5341    
  13  Prefactor     .10000E-03    70.395        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.4443        5.0713        .26159E-03   -1.5395    
  15  Prefactor     .10000E-03    8.3691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3757        2.4157        .14514E-03   -1.5400    
  17  Prefactor     .10000E-03    6.8662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     47.203        34.160        .58365E-04   -1.4333    
  19  Prefactor     .10000E-03    43.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.2475        .17051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2066        .22127        .31569E-03   -.86400    
  22  Prefactor     .90673        .11713        .19183E-03   -.95906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03953e-09
Minuit parameter uncertainties:
  1  9.72004e-07
  2  0.000125939
  3  7.07186
  4  11.1167
  5  8.20253
  6  4.43689e-05
  7  26.0351
  8  2.44849
  9  9.47221e-06
  10  1.20644
  11  19.6057
  12  12.7124
  13  0.000386672
  14  5.07215
  15  9.71138e-06
  16  2.41584
  17  0.000121127
  18  34.1739
  19  0.000131779
  20  1.00615e-05
  21  0.221445
  22  0.117161
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  4.720e+01  3.417e+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:  9.067e-01  1.172e-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.207e+00  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.20
Ra Dec: 358.322 31.593
Photon Index (Fixed Index): 2.63 +/- 0.00
Photon Flux (Fixed Index): 5.72e-08 +/- 4.14e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.06e-05

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

Saving results to:
/scratch/kocevski/53057/likelihoodResults_675561601_675820801_4FGL_J2353.2+3135_daily_bin1683.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) = 9453.65461034
delta logL = 0.260620744004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9453.65394047
delta logL = 0.261290617056

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    62.190       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2161       1.0000          .0000       10.000    
     3 'Normalizat'    1.2250       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89974       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=   9453.654     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      276 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     62.178        45.170        .50883E-04    .41737E-04
   2  Index         2.2162        .53888        .89627E-02   -.50814E-05
   3  Normalizat    1.2250        .21358        .31359E-03   -.19867E-04
   4  Prefactor     .89974        .11407        .19245E-03    .91210E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 62.1776
  Index      = 2.21618
  Normalizat = 1.22496
  Prefactor  = 0.899743
 **********
 **   18 **HESSE 
 **********

 FCN=   9453.654     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62.178        44.831        .10177E-04   -1.4129    
   2  Index         2.2162        .53466        .35851E-03   -.59048    
   3  Normalizat    1.2250        .21373        .12544E-04   -.85835    
   4  Prefactor     .89974        .11416        .76980E-05   -.96150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05056e-11
Minuit parameter uncertainties:
  1  44.8553
  2  0.536144
  3  0.21388
  4  0.114187
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53057': 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) = 9453.65394043
delta logL = 0.261290655357

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  6.218e+01  4.486e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.216e+00  5.361e-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:  8.997e-01  1.142e-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.225e+00  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.71
Ra Dec: 358.322 31.593
Photon Index (Free Index): 2.22 +/- 0.54
Photon Flux (Free Index): 4.39e-08 +/- 3.80e-08
Energy Flux (Free Index): 1.91e-05 +/- 1.62e-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/53057/cmap_HighResolution_675561601_675820801_4FGL_J2353.2+3135_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', photon_flux='5.72e-08', energy_flux2='1.91e-05', photon_flux_error='4.14e-08', dlogl='2.61e-01', energy_flux='1.46e-05', photon_flux2='4.39e-08', job_status='DONE', time_completed='2022-06-02 01:51:15.292186', photon_index_error2='0.54', photon_index2='2.22', ts='3.20', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='1.62e-05', EG='1.21', time_epoch_completed='1654159875.29', return_code='0', job_id='53057', GAL2='0.90', EG2='1.22', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='3.80e-08', ts2='3.71', photon_index='2.63' WHERE bin_id='1683' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:51:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 53057: <4FGL_J2353.2+3135_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1683> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun  2 01:35:37 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:38:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:38:33 2022
Terminated at Thu Jun  2 01:51:17 2022
Results reported at Thu Jun  2 01:51:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1683 358.322 31.5927 675561601 675820801 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 :                                   647.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            940 sec.

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

