/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 173 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 = 5262
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2353.2+3135_daily_bin73
RA = 358.322, Dec = 31.5927
tmin = 258249601, tmax = 258508801
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='168937', job_status='RUN', time_executed='2021-09-30 07:43:42.039450', time_epoch_executed='1633013022.04' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/168937

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/168937/ft1_4FGL_J2353.2+3135_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/168937/ft2_4FGL_J2353.2+3135_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/168937/ft1_4FGL_J2353.2+3135_daily_bin73.fits outfile=/scratch/kocevski/168937/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin73.fits ra=358.322 dec=31.5927 rad=12.0 tmin=258249601.0 tmax=258508801.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 1.17
user 0.99
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/168937/ft1_filtered_4FGL_J2353.2+3135_daily_bin73.fits" evtable="EVENTS" scfile=/scratch/kocevski/168937/ft2_4FGL_J2353.2+3135_daily_bin73.fits sctable="SC_DATA" outfile=/scratch/kocevski/168937/ltcube_258249601_258508801_4FGL_J2353.2+3135_daily_bin73.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/168937/ft2_4FGL_J2353.2+3135_daily_bin73.fits
.....................!
real 9.45
user 9.11
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/168937/ft1_filtered_4FGL_J2353.2+3135_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/168937/ft2_4FGL_J2353.2+3135_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/168937/ltcube_258249601_258508801_4FGL_J2353.2+3135_daily_bin73.fits outfile=/scratch/kocevski/168937/expmap_258249601_258508801_4FGL_J2353.2+3135_daily_bin73.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/168937/ltcube_258249601_258508801_4FGL_J2353.2+3135_daily_bin73.fits
.....................!
real 190.16
user 184.80
sys 4.99

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/168937/ft1_filtered_4FGL_J2353.2+3135_daily_bin73.fits scfile=/scratch/kocevski/168937/ft2_4FGL_J2353.2+3135_daily_bin73.fits outfile=/scratch/kocevski/168937/cmap_258249601_258508801_4FGL_J2353.2+3135_daily_bin73.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.52
user 0.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/168937/ft1_filtered_4FGL_J2353.2+3135_daily_bin73.fits scfile=/scratch/kocevski/168937/ft2_4FGL_J2353.2+3135_daily_bin73.fits outfile=/scratch/kocevski/168937/cmap_HighResolution_258249601_258508801_4FGL_J2353.2+3135_daily_bin73.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10857E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .14382E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10364E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0372       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .87793       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.845       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2671       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.0453       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .86576E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    130.25       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9717       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98877       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0329       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8012.538     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     2083 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.8977        .71926E-09** at limit **
   2  norm          .10000E-03    36.458        .13055E-04** at limit **
   3  Prefactor     .10000E-03    3.7157       -.50644E-07** at limit **
   4  Prefactor     .10000E-03    6.0555       -.13682E-05** at limit **
   5  Prefactor     .10000E-03    3.5765       -.46708E-07** at limit **
   6  Prefactor     .10000E-03    25.952        .42002E-05** at limit **
   7  Prefactor     .10000E-03    31.992       -.15533E-04** at limit **
   8  norm          2.0374        1.9701       -.33706E-06    .59637E-04
   9  Prefactor     .10000E-03    10.621        .32051E-10** at limit **
  10  norm          .87822        1.3042       -.39645E-06    .48207E-04
  11  Prefactor     14.835        20.032       -.48009E-04    .58048E-03
  12  Prefactor     .10000E-03    7.2774       -.31517E-07** at limit **
  13  Prefactor     .10000E-03    6.0642        .15534E-05** at limit **
  14  norm          1.2673        2.0497       -.51842E-07   -.41337E-04
  15  Prefactor     .10000E-03    3.9815       -.96007E-07** at limit **
  16  norm          1.0453        2.3046       -.56559E-06    .14894E-04
  17  Prefactor     .10000E-03    4.8725        .22725E-07** at limit **
  18  Prefactor     .10019E-03    331.90        .22334E-03** at limit **
  19  Prefactor     129.91        89.833       -.52461E-04    .73993E-03
  20  Prefactor     3.9847        12.835        .24093E-04    .91824E-03
  21  Normalizat    .98877        .21906        .36651E-05    .27991E-03
  22  Prefactor     1.0328        .12404        .30097E-05    .48668E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.03741
  Prefactor  = 0.0001
  norm       = 0.878217
  Prefactor  = 14.8349
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.26729
  Prefactor  = 0.0001
  norm       = 1.04534
  Prefactor  = 0.0001
  Prefactor  = 0.000100185
  Prefactor  = 129.913
  Prefactor  = 3.98466
  Normalizat = 0.98877
  Prefactor  = 1.0328
 **********
 **   18 **HESSE 
 **********

 FCN=   8012.538     FROM HESSE     STATUS=OK           396 CALLS     2479 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3882        .56480E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    36.075        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.6966        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.0303        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.5387        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    25.888        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    31.801        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0374        1.9739        .72442E-02   -1.5422    
   9  Prefactor     .10000E-03    10.609        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .87822        1.3371        .12727E-01   -1.5521    
  11  Prefactor     14.835        20.059        .25988E-02   -1.4937    
  12  Prefactor     .10000E-03    7.2372        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.0603        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2673        2.0970        .98900E-02   -1.5483    
  15  Prefactor     .10000E-03    3.9751        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0453        2.3496        .12176E-01   -1.5503    
  17  Prefactor     .10000E-03    4.8694        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10019E-03    29.916        .13799       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     129.91        92.703        .88200E-03   -1.3423    
  20  Prefactor     3.9847        13.278        .50598E-02   -1.5309    
  21  Normalizat    .98877        .19128        .72834E-01   -.93408    
  22  Prefactor     1.0328        .10572        .41037E-01   -.91644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49318e-09
Minuit parameter uncertainties:
  1  7.70309e-07
  2  0.000565834
  3  1.49253e-06
  4  7.16793e-06
  5  2.06559e-07
  6  9.05507e-06
  7  0.000124088
  8  1.97393
  9  1.91093e-06
  10  1.33713
  11  20.0677
  12  5.83258e-06
  13  1.91669e-06
  14  2.09711
  15  3.10365e-06
  16  2.34982
  17  3.11254e-06
  18  0.0047114
  19  92.8066
  20  13.2878
  21  0.19141
  22  0.105745
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.002e-04  4.711e-03  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.033e+00  1.057e-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:  9.888e-01  1.914e-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: 9.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/168937/likelihoodResults_258249601_258508801_4FGL_J2353.2+3135_daily_bin73.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) = 8012.53760499
delta logL = -1.42347817018e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8012.53760499
delta logL = -1.42342050822e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96361E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6309       1.0000          .0000       10.000    
     3 'Normalizat'    .98875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0328       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=   8012.538     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      256 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10036E-03    .45375        .12110    ** at limit **
   2  Index         2.7696        8.6148        .50000       -.36207E-05
   3  Normalizat    .98877        .62677E-03    .72834E-01   -.85330E-03
   4  Prefactor     1.0328        .35114E-03    .41043E-01   -.17634E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100358
  Index      = 2.76955
  Normalizat = 0.988768
  Prefactor  = 1.0328
 **********
 **   18 **HESSE 
 **********

 FCN=   8012.538     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      295 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10036E-03    .44718        .12189       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7696        8.6152        .50000       -.46239    
   3  Normalizat    .98877        .62425E-03    .32226E-03   -.93408    
   4  Prefactor     1.0328        .35027E-03    .17619E-03   -.91644    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43186e-09
Minuit parameter uncertainties:
  1  0.00080002
  2  47.1151
  3  0.000624249
  4  0.000350269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/168937': 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) = 8012.53759064
delta logL = 1.13352143671e-07

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.004e-04  8.000e-04  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.770e+00  4.712e+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.033e+00  3.503e-04  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:  9.888e-01  6.242e-04  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/168937/cmap_HighResolution_258249601_258508801_4FGL_J2353.2+3135_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.77e-03', job_status='DONE', photon_flux_upper_limit='9.91e-08', time_completed='2021-09-30 07:54:50.514853', job_id='168937', GAL2='1.03', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1633013690.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.13e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='73' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:54:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 168937: <4FGL_J2353.2+3135_daily_bin73> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin73> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 07:40:38 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:40:39 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:40:39 2021
Terminated at Thu Sep 30 07:54:51 2021
Results reported at Thu Sep 30 07:54:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin73 358.322 31.5927 258249601 258508801 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 :                                   669.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             343.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            853 sec.

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

