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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin286
RA = 358.322, Dec = 31.5927
tmin = 313459201, tmax = 313718401
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='170216', job_status='RUN', time_executed='2021-09-30 07:45:23.209249', time_epoch_executed='1633013123.21' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='286'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170216

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170216/ft1_4FGL_J2353.2+3135_daily_bin286.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170216/ft2_4FGL_J2353.2+3135_daily_bin286.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170216/ft1_4FGL_J2353.2+3135_daily_bin286.fits outfile=/scratch/kocevski/170216/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin286.fits ra=358.322 dec=31.5927 rad=12.0 tmin=313459201.0 tmax=313718401.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.33
user 3.10
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170216/ft2_4FGL_J2353.2+3135_daily_bin286.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/170216/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin286.fits evtable="EVENTS" outfile="/scratch/kocevski/170216/ft1_filtered_4FGL_J2353.2+3135_daily_bin286.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.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170216/ft1_filtered_4FGL_J2353.2+3135_daily_bin286.fits" evtable="EVENTS" scfile=/scratch/kocevski/170216/ft2_4FGL_J2353.2+3135_daily_bin286.fits sctable="SC_DATA" outfile=/scratch/kocevski/170216/ltcube_313459201_313718401_4FGL_J2353.2+3135_daily_bin286.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/170216/ft2_4FGL_J2353.2+3135_daily_bin286.fits
.....................!
real 12.18
user 11.78
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170216/ft1_filtered_4FGL_J2353.2+3135_daily_bin286.fits evtable="EVENTS" scfile=/scratch/kocevski/170216/ft2_4FGL_J2353.2+3135_daily_bin286.fits sctable="SC_DATA" expcube=/scratch/kocevski/170216/ltcube_313459201_313718401_4FGL_J2353.2+3135_daily_bin286.fits outfile=/scratch/kocevski/170216/expmap_313459201_313718401_4FGL_J2353.2+3135_daily_bin286.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/170216/ltcube_313459201_313718401_4FGL_J2353.2+3135_daily_bin286.fits
.....................!
real 191.64
user 185.10
sys 6.21

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/170216/ft1_filtered_4FGL_J2353.2+3135_daily_bin286.fits scfile=/scratch/kocevski/170216/ft2_4FGL_J2353.2+3135_daily_bin286.fits outfile=/scratch/kocevski/170216/cmap_313459201_313718401_4FGL_J2353.2+3135_daily_bin286.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170216/ft1_filtered_4FGL_J2353.2+3135_daily_bin286.fits scfile=/scratch/kocevski/170216/ft2_4FGL_J2353.2+3135_daily_bin286.fits outfile=/scratch/kocevski/170216/cmap_HighResolution_313459201_313718401_4FGL_J2353.2+3135_daily_bin286.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.9832       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.2667       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.4353       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    63.589       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .44235E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    17.572       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10943E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    17.446       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10613E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1172       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0578       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=   10363.77     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2363 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7801       -.91458E-08** at limit **
   2  norm          2.9824        9.7747        .74832E-06   -.47729E-04
   3  Prefactor     5.2645        7.7598        .22594E-05    .24744E-03
   4  Prefactor     4.4366        9.4105       -.59647E-06   -.15967E-03
   5  Prefactor     .10000E-03    2.3286        .92781E-07** at limit **
   6  Prefactor     63.594        46.350        .34568E-05   -.21762E-05
   7  Prefactor     .10003E-03    8.8964       -.10437E-05** at limit **
   8  norm          .10000E-03    .58522       -.51250E-07** at limit **
   9  Prefactor     .10000E-03    56.444       -.73850E-05** at limit **
  10  norm          17.571        2.5743       -.91136E-07    .26048E-03
  11  Prefactor     .10000E-03    19.049        .45359E-05** at limit **
  12  Prefactor     .10000E-03    34.757       -.52951E-05** at limit **
  13  Prefactor     .10000E-03    16.821        .30404E-05** at limit **
  14  norm          17.448        6.4375        .96243E-06   -.28901E-04
  15  Prefactor     .10000E-03    10.840       -.29130E-06** at limit **
  16  norm          .10000E-03    .76519        .96685E-08** at limit **
  17  Prefactor     .10000E-03    15.687       -.18544E-05** at limit **
  18  Prefactor     .10000E-03    40.980        .67410E-05** at limit **
  19  Prefactor     .10000E-03    39.653        .38897E-05** at limit **
  20  Prefactor     .10003E-03    3.6560       -.15369E-05** at limit **
  21  Normalizat    1.1171        .18408       -.48262E-06    .21771E-03
  22  Prefactor     1.0578        .10124       -.17984E-06    .43718E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.98243
  Prefactor  = 5.26451
  Prefactor  = 4.4366
  Prefactor  = 0.0001
  Prefactor  = 63.5936
  Prefactor  = 0.000100028
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 17.5713
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.4477
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  Normalizat = 1.11708
  Prefactor  = 1.05784
 **********
 **   18 **HESSE 
 **********

 FCN=   10363.77     FROM HESSE     STATUS=OK           338 CALLS     2701 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8300        .26494E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9824        9.6105        .23505E-03   -1.5363    
   3  Prefactor     5.2645        7.4484        .17514E-03   -1.5249    
   4  Prefactor     4.4366        9.4368        .19121E-03   -1.5287    
   5  Prefactor     .10000E-03    2.3381        .15168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     63.594        46.335        .50323E-04   -1.4111    
   7  Prefactor     .10003E-03    35.961        .58636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .58878        .76047E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    56.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.571        2.5733        .59578E-04   -1.4869    
  11  Prefactor     .10000E-03    19.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    35.810        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          17.448        6.4132        .95890E-04   -1.4872    
  15  Prefactor     .10000E-03    10.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .77194        .86947E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.226        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    41.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    39.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10003E-03    21.099        .34546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1171        .21078        .34563E-03   -.89205    
  22  Prefactor     1.0578        .11641        .19445E-03   -.90826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14401e-09
Minuit parameter uncertainties:
  1  3.11247e-06
  2  9.61546
  3  7.44971
  4  9.43994
  5  1.00939e-06
  6  46.3618
  7  0.00199505
  8  3.48071e-07
  9  0.000126829
  10  2.5733
  11  6.30045e-06
  12  0.000236513
  13  1.05678e-05
  14  6.4134
  15  4.7773e-05
  16  1.2061e-06
  17  3.21967e-05
  18  5.38641e-06
  19  5.80546e-06
  20  0.00148928
  21  0.210939
  22  0.116442
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.000e-04  5.386e-06  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.058e+00  1.164e-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.117e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 8.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/170216/likelihoodResults_313459201_313718401_4FGL_J2353.2+3135_daily_bin286.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): 102
logL (Free Index) = 10363.7703284
delta logL = -0.000115478471344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10363.7601319
delta logL = 0.0100810706663

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11352       1.0000         .10000E-03   10000.    
     2 'Index     '    5.0698       1.0000          .0000       10.000    
     3 'Normalizat'    1.1073       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0610       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=   10363.76     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      303 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11341        1.2410        .32199E-01    .22243E-02
   2  Index         5.0697        .98101        .50000       -.33760E-04
   3  Normalizat    1.1074        .93839E-02    .78397E-01    .28258E-04
   4  Prefactor     1.0610        .51771E-02    .39304E-01   -.25618E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.113413
  Index      = 5.06969
  Normalizat = 1.10735
  Prefactor  = 1.061
 **********
 **   18 **HESSE 
 **********

 FCN=   10363.76     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      338 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11341        233.95        .11545E-02   -1.5641    
   2  Index         5.0697        5.2158        .10234E-01    .13938E-01
   3  Normalizat    1.1074        .11764        .34702E-03   -.89516    
   4  Prefactor     1.0610        .60157E-01    .19420E-03   -.90723    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.67578e-07
Minuit parameter uncertainties:
  1  10.3381
  2  46.8269
  3  0.117671
  4  0.0601612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170216': 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): 102
logL (Free Index) = 10363.7601318
delta logL = 0.0100811145276

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.134e-01  1.034e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  5.070e+00  4.683e+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.061e+00  6.016e-02  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.107e+00  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/170216/cmap_HighResolution_313459201_313718401_4FGL_J2353.2+3135_daily_bin286.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2021-09-30 07:59:17.112050', job_id='170216', GAL2='1.06', fit_tolerance='1e-08', EG2='1.11', EG='1.12', time_epoch_completed='1633013957.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.01e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='286' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:59:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 170216: <4FGL_J2353.2+3135_daily_bin286> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin286 358.322 31.5927 313459201 313718401 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 :                                   831.39 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             382.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            844 sec.

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

