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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1305
RA = 358.322, Dec = 31.5927
tmin = 577584001, tmax = 577843201
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='174748', job_status='RUN', time_executed='2021-09-30 08:02:51.919804', time_epoch_executed='1633014171.92' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1305'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/174748

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/174748/ft1_4FGL_J2353.2+3135_daily_bin1305.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/174748/ft2_4FGL_J2353.2+3135_daily_bin1305.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/174748/ft1_4FGL_J2353.2+3135_daily_bin1305.fits outfile=/scratch/kocevski/174748/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1305.fits ra=358.322 dec=31.5927 rad=12.0 tmin=577584001.0 tmax=577843201.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.80
user 2.59
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/174748/ft1_filtered_4FGL_J2353.2+3135_daily_bin1305.fits" evtable="EVENTS" scfile=/scratch/kocevski/174748/ft2_4FGL_J2353.2+3135_daily_bin1305.fits sctable="SC_DATA" outfile=/scratch/kocevski/174748/ltcube_577584001_577843201_4FGL_J2353.2+3135_daily_bin1305.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/174748/ft2_4FGL_J2353.2+3135_daily_bin1305.fits
.....................!
real 12.42
user 12.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/174748/ft1_filtered_4FGL_J2353.2+3135_daily_bin1305.fits evtable="EVENTS" scfile=/scratch/kocevski/174748/ft2_4FGL_J2353.2+3135_daily_bin1305.fits sctable="SC_DATA" expcube=/scratch/kocevski/174748/ltcube_577584001_577843201_4FGL_J2353.2+3135_daily_bin1305.fits outfile=/scratch/kocevski/174748/expmap_577584001_577843201_4FGL_J2353.2+3135_daily_bin1305.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/174748/ltcube_577584001_577843201_4FGL_J2353.2+3135_daily_bin1305.fits
.....................!
real 190.39
user 185.69
sys 4.39

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/174748/ft1_filtered_4FGL_J2353.2+3135_daily_bin1305.fits scfile=/scratch/kocevski/174748/ft2_4FGL_J2353.2+3135_daily_bin1305.fits outfile=/scratch/kocevski/174748/cmap_577584001_577843201_4FGL_J2353.2+3135_daily_bin1305.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/174748/ft1_filtered_4FGL_J2353.2+3135_daily_bin1305.fits scfile=/scratch/kocevski/174748/ft2_4FGL_J2353.2+3135_daily_bin1305.fits outfile=/scratch/kocevski/174748/cmap_HighResolution_577584001_577843201_4FGL_J2353.2+3135_daily_bin1305.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10357E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.4295       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .17094E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    121.72       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.255       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11159E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.722       1.0000         .10000E-03   10000.    
    16 'norm      '    8.0301       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.686       1.0000         .10000E-03   10000.    
    19 'Prefactor '    64.569       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.3275       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97707       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80973       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=   1959.630     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2692 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    7.3994       -.72954E-06** at limit **
   2  norm          .10000E-03    17.831       -.80750E-05** at limit **
   3  Prefactor     .10000E-03    7.9341       -.18297E-06** at limit **
   4  Prefactor     .10000E-03    22.374        .15069E-04** at limit **
   5  Prefactor     9.4368        29.489        .27470E-04    .81121E-04
   6  Prefactor     .10000E-03    155.15        .26830E-05** at limit **
   7  Prefactor     121.96        296.65        .21801E-03    .74333E-06
   8  norm          .10000E-03    23.034        .89861E-05** at limit **
   9  Prefactor     12.238        23.253        .27737E-05   -.87443E-05
  10  norm          .10000E-03    .65228       -.19785E-06** at limit **
  11  Prefactor     .10000E-03    63.027        .21789E-05** at limit **
  12  Prefactor     .10000E-03    12.623       -.13559E-05** at limit **
  13  Prefactor     .10000E-03    14.119        .11143E-05** at limit **
  14  norm          .10000E-03    3.1070       -.21893E-06** at limit **
  15  Prefactor     32.753        32.396        .97497E-05    .12656E-03
  16  norm          8.0296        4.2518       -.26800E-06    .40848E-04
  17  Prefactor     .10000E-03    24.990       -.19002E-04** at limit **
  18  Prefactor     31.545        112.72       -.22422E-03    .30892E-04
  19  Prefactor     64.468        144.89       -.11644E-03   -.33981E-04
  20  Prefactor     5.3264        24.755        .39863E-04    .11724E-03
  21  Normalizat    .97565        .40744        .24966E-04   -.18645E-03
  22  Prefactor     .81039        .18600       -.28045E-05    .35215E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100015
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.43678
  Prefactor  = 0.0001
  Prefactor  = 121.962
  norm       = 0.0001
  Prefactor  = 12.2376
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 32.753
  norm       = 8.02956
  Prefactor  = 0.000100001
  Prefactor  = 31.5448
  Prefactor  = 64.4676
  Prefactor  = 5.32636
  Normalizat = 0.975651
  Prefactor  = 0.810394
 **********
 **   18 **HESSE 
 **********

 FCN=   1959.630     FROM HESSE     STATUS=OK           334 CALLS     3026 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    14.066        .23241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    17.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.9360        .12179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.4368        29.512        .13051E-03   -1.5093    
   6  Prefactor     .10000E-03    155.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     121.96        296.56        .18240E-03   -1.3495    
   8  norm          .10000E-03    23.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.238        23.295        .11443E-03   -1.5008    
  10  norm          .10000E-03    .66325        .34885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    63.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.715        .15360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.122        .16248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.1089        .76164E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.753        32.858        .70049E-04   -1.4563    
  16  norm          8.0296        4.2537        .64407E-04   -1.5141    
  17  Prefactor     .10000E-03    24.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     31.545        113.32        .71181E-04   -1.4584    
  19  Prefactor     64.468        143.63        .24971E-03   -1.4100    
  20  Prefactor     5.3264        24.150        .17412E-03   -1.5246    
  21  Normalizat    .97565        .48616        .31705E-03   -.93851    
  22  Prefactor     .81039        .22335        .17170E-03   -.99346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55555e-09
Minuit parameter uncertainties:
  1  0.000918614
  2  2.15134e-05
  3  5.02173e-05
  4  5.71958e-05
  5  29.5578
  6  0.000168216
  7  300.29
  8  8.33686e-05
  9  23.3126
  10  1.60275e-05
  11  0.00101787
  12  0.000119243
  13  7.30835e-05
  14  3.69125e-05
  15  32.8761
  16  4.25385
  17  0.000371912
  18  114.106
  19  144.409
  20  22.6984
  21  0.488386
  22  0.223601
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  3.154e+01  1.141e+02  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:  8.104e-01  2.236e-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.757e-01  4.884e-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: 3.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.68e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/174748/likelihoodResults_577584001_577843201_4FGL_J2353.2+3135_daily_bin1305.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) = 1959.27995797
delta logL = 0.349908695039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1959.27719619
delta logL = 0.352670477049

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0155       1.0000         .10000E-03   10000.    
     2 'Index     '    5.0522       1.0000          .0000       10.000    
     3 'Normalizat'    .85809       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85182       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=   1959.277     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      325 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0685        72.842        .72889E-02   -.12248E-03
   2  Index         5.0363        7.2378        .12413       -.32647E-04
   3  Normalizat    .85797        .11517        .75791E-01    .16495E-03
   4  Prefactor     .85188        .57641E-01    .44388E-01    .36132E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.06848
  Index      = 5.0363
  Normalizat = 0.857968
  Prefactor  = 0.851875
 **********
 **   18 **HESSE 
 **********

 FCN=   1959.277     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      354 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0685        142.66        .72340E-04   -1.5420    
   2  Index         5.0363        7.4433        .46548E-02    .72601E-02
   3  Normalizat    .85797        .41084        .33545E-03   -.97953    
   4  Prefactor     .85188        .19760        .16780E-03   -.97844    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.17223e-09
Minuit parameter uncertainties:
  1  34.441
  2  9.11638
  3  0.412344
  4  0.197762
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/174748': 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) = 1959.27718179
delta logL = 0.352684873275

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  2.068e+00  3.444e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  5.036e+00  9.116e+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:  8.519e-01  1.978e-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:  8.580e-01  4.123e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/174748/cmap_HighResolution_577584001_577843201_4FGL_J2353.2+3135_daily_bin1305.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-02', job_status='DONE', photon_flux_upper_limit='3.42e-07', time_completed='2021-09-30 08:10:14.817519', job_id='174748', GAL2='0.85', fit_tolerance='1e-08', EG2='0.86', EG='0.98', time_epoch_completed='1633014614.82', return_code2='102', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.53e-01', ts2='0.91', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1305' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 08:10:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 174748: <4FGL_J2353.2+3135_daily_bin1305> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1305> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 08:00:15 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 08:00:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 08:00:18 2021
Terminated at Thu Sep 30 08:10:16 2021
Results reported at Thu Sep 30 08:10:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1305 358.322 31.5927 577584001 577843201 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 :                                   412.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   597 sec.
    Turnaround time :                            601 sec.

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

