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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin430
RA = 358.322, Dec = 31.5927
tmin = 350784001, tmax = 351043201
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='170427', job_status='RUN', time_executed='2021-09-30 07:45:48.569180', time_epoch_executed='1633013148.57' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170427

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170427/ft1_4FGL_J2353.2+3135_daily_bin430.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170427/ft2_4FGL_J2353.2+3135_daily_bin430.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170427/ft1_4FGL_J2353.2+3135_daily_bin430.fits outfile=/scratch/kocevski/170427/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin430.fits ra=358.322 dec=31.5927 rad=12.0 tmin=350784001.0 tmax=351043201.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 2.60
user 2.40
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170427/ft2_4FGL_J2353.2+3135_daily_bin430.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/170427/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin430.fits evtable="EVENTS" outfile="/scratch/kocevski/170427/ft1_filtered_4FGL_J2353.2+3135_daily_bin430.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.43
user 0.25
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170427/ft1_filtered_4FGL_J2353.2+3135_daily_bin430.fits evtable="EVENTS" scfile=/scratch/kocevski/170427/ft2_4FGL_J2353.2+3135_daily_bin430.fits sctable="SC_DATA" expcube=/scratch/kocevski/170427/ltcube_350784001_351043201_4FGL_J2353.2+3135_daily_bin430.fits outfile=/scratch/kocevski/170427/expmap_350784001_351043201_4FGL_J2353.2+3135_daily_bin430.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/170427/ltcube_350784001_351043201_4FGL_J2353.2+3135_daily_bin430.fits
.....................!
real 145.62
user 141.14
sys 4.24

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/170427/ft1_filtered_4FGL_J2353.2+3135_daily_bin430.fits scfile=/scratch/kocevski/170427/ft2_4FGL_J2353.2+3135_daily_bin430.fits outfile=/scratch/kocevski/170427/cmap_350784001_351043201_4FGL_J2353.2+3135_daily_bin430.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.45
user 0.27
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170427/ft1_filtered_4FGL_J2353.2+3135_daily_bin430.fits scfile=/scratch/kocevski/170427/ft2_4FGL_J2353.2+3135_daily_bin430.fits outfile=/scratch/kocevski/170427/cmap_HighResolution_350784001_351043201_4FGL_J2353.2+3135_daily_bin430.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.45
user 0.29
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.5212       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7140       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4109       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4709       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2928       1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.195       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.9446       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8506       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79838       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1512       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=   7842.511     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2047 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2233        .48954E-07** at limit **
   2  norm          .10001E-03    45.023       -.36663E-05** at limit **
   3  Prefactor     7.5207        9.7323        .77730E-06    .14364E-03
   4  Prefactor     2.7113        10.267        .62318E-05   -.88673E-04
   5  Prefactor     1.4100        7.5644       -.35883E-06   -.54499E-04
   6  Prefactor     .10000E-03    89.973        .19808E-05** at limit **
   7  Prefactor     .10000E-03    50.226       -.19490E-05** at limit **
   8  norm          1.4710        1.8924        .76333E-07    .74088E-04
   9  Prefactor     .10000E-03    10.248        .11781E-07** at limit **
  10  norm          .10000E-03    .53902        .26141E-07** at limit **
  11  Prefactor     .10000E-03    31.619       -.60148E-07** at limit **
  12  Prefactor     .10000E-03    5.4115        .39081E-09** at limit **
  13  Prefactor     .10000E-03    20.417       -.11763E-06** at limit **
  14  norm          .10000E-03    3.9062        .41945E-07** at limit **
  15  Prefactor     .10000E-03    7.4409        .38707E-08** at limit **
  16  norm          1.2928        1.7315        .39319E-07   -.24587E-04
  17  Prefactor     25.194        18.829       -.34899E-07   -.13366E-05
  18  Prefactor     9.9334        36.291        .27506E-05    .37188E-04
  19  Prefactor     .10000E-03    36.188        .11251E-05** at limit **
  20  Prefactor     6.8477        9.5484        .66779E-06    .92220E-04
  21  Normalizat    .79840        .20883       -.88290E-06    .12808E-03
  22  Prefactor     1.1512        .11228        .32247E-07    .23625E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100008
  Prefactor  = 7.52067
  Prefactor  = 2.71135
  Prefactor  = 1.40999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.47097
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.29283
  Prefactor  = 25.1939
  Prefactor  = 9.93339
  Prefactor  = 0.0001
  Prefactor  = 6.84773
  Normalizat = 0.798404
  Prefactor  = 1.15124
 **********
 **   18 **HESSE 
 **********

 FCN=   7842.511     FROM HESSE     STATUS=OK           338 CALLS     2385 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2423        .95621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10001E-03    47.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.5207        9.6952        .14623E-03   -1.5159    
   4  Prefactor     2.7113        10.291        .12361E-02   -1.5379    
   5  Prefactor     1.4100        7.5977        .36472E-03   -1.5470    
   6  Prefactor     .10000E-03    90.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    50.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4710        1.8746        .13435E-03   -1.5465    
   9  Prefactor     .10000E-03    10.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .55916        .12689E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    31.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.4271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.0347        .34169E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.4621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2928        1.7044        .13104E-03   -1.5481    
  17  Prefactor     25.194        18.844        .79807E-04   -1.4704    
  18  Prefactor     9.9334        36.367        .12707E-03   -1.5078    
  19  Prefactor     .10000E-03    35.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8477        9.4777        .15329E-03   -1.5185    
  21  Normalizat    .79840        .23768        .36905E-03   -1.0013    
  22  Prefactor     1.1512        .12904        .17131E-03   -.87845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86017e-10
Minuit parameter uncertainties:
  1  1.25578e-06
  2  0.00123867
  3  9.69724
  4  10.2974
  5  6.5471
  6  0.000206683
  7  0.000111539
  8  1.87466
  9  2.53812e-06
  10  1.07012e-06
  11  4.18686e-05
  12  7.00508e-07
  13  1.12306e-05
  14  4.5471e-06
  15  4.80674e-09
  16  1.70445
  17  18.8481
  18  36.4483
  19  0.000133419
  20  9.47977
  21  0.237985
  22  0.12907
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  9.933e+00  3.645e+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.151e+00  1.291e-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.984e-01  2.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/170427/likelihoodResults_350784001_351043201_4FGL_J2353.2+3135_daily_bin430.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) = 7842.48230685
delta logL = 0.0284712491894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7842.47683608
delta logL = 0.0339420204191

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7982       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1826       1.0000          .0000       10.000    
     3 'Normalizat'    .78934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1544       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.

 FCN=   7842.477     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      241 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8605        337.23        .38471E-02   -.39793E-04
   2  Index         3.1754        2.3470        .39923       -.72978E-05
   3  Normalizat    .78964        .28696E-01    .83771E-01    .96312E-04
   4  Prefactor     1.1543        .15790E-01    .35810E-01   -.78915E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.86051
  Index      = 3.17539
  Normalizat = 0.789637
  Prefactor  = 1.15431
 **********
 **   18 **HESSE 
 **********

 FCN=   7842.477     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8605        55.871        .15389E-03   -1.5184    
   2  Index         3.1754        2.9361        .84471E-02   -.37355    
   3  Normalizat    .78964        .23690        .37096E-03   -1.0045    
   4  Prefactor     1.1543        .12853        .17111E-03   -.87749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74744e-10
Minuit parameter uncertainties:
  1  39.206
  2  3.17701
  3  0.23721
  4  0.128562
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170427': 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) = 7842.47683062
delta logL = 0.0339474770844

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  6.861e+00  3.921e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  3.175e+00  3.177e+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:  1.154e+00  1.286e-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.896e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 358.322 31.593

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/170427/cmap_HighResolution_350784001_351043201_4FGL_J2353.2+3135_daily_bin430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.97e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-09-30 07:54:04.528039', job_id='170427', GAL2='1.15', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1633013644.53', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='3.39e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='430' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:54:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 170427: <4FGL_J2353.2+3135_daily_bin430> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin430> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep 30 07:45:29 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:45:31 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:45:31 2021
Terminated at Thu Sep 30 07:54:05 2021
Results reported at Thu Sep 30 07:54:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin430 358.322 31.5927 350784001 351043201 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 :                                   490.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   513 sec.
    Turnaround time :                            516 sec.

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

