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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1654
RA = 358.322, Dec = 31.5927
tmin = 668044801, tmax = 668304001
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='101697', job_status='RUN', time_executed='2022-03-07 01:26:46.887584', time_epoch_executed='1646645206.89' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1654'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101697

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101697/ft1_4FGL_J2353.2+3135_daily_bin1654.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101697/ft2_4FGL_J2353.2+3135_daily_bin1654.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101697/ft1_4FGL_J2353.2+3135_daily_bin1654.fits outfile=/scratch/kocevski/101697/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1654.fits ra=358.322 dec=31.5927 rad=12.0 tmin=668044801.0 tmax=668304001.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.69
user 3.47
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101697/ft2_4FGL_J2353.2+3135_daily_bin1654.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/101697/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1654.fits evtable="EVENTS" outfile="/scratch/kocevski/101697/ft1_filtered_4FGL_J2353.2+3135_daily_bin1654.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.50
user 0.33
sys 0.15
Number of photons that survived the gtmktime cut: 783

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101697/ft1_filtered_4FGL_J2353.2+3135_daily_bin1654.fits evtable="EVENTS" scfile=/scratch/kocevski/101697/ft2_4FGL_J2353.2+3135_daily_bin1654.fits sctable="SC_DATA" expcube=/scratch/kocevski/101697/ltcube_668044801_668304001_4FGL_J2353.2+3135_daily_bin1654.fits outfile=/scratch/kocevski/101697/expmap_668044801_668304001_4FGL_J2353.2+3135_daily_bin1654.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/101697/ltcube_668044801_668304001_4FGL_J2353.2+3135_daily_bin1654.fits
.....................!
real 192.07
user 187.10
sys 4.35

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/101697/ft1_filtered_4FGL_J2353.2+3135_daily_bin1654.fits scfile=/scratch/kocevski/101697/ft2_4FGL_J2353.2+3135_daily_bin1654.fits outfile=/scratch/kocevski/101697/cmap_668044801_668304001_4FGL_J2353.2+3135_daily_bin1654.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=358.322 yref=31.5927 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101697/ft1_filtered_4FGL_J2353.2+3135_daily_bin1654.fits scfile=/scratch/kocevski/101697/ft2_4FGL_J2353.2+3135_daily_bin1654.fits outfile=/scratch/kocevski/101697/cmap_HighResolution_668044801_668304001_4FGL_J2353.2+3135_daily_bin1654.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9604       1.0000         .10000E-03   10000.    
     2 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6938       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.169       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.5323       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.679       1.0000         .10000E-03   10000.    
    10 'norm      '    4.2821       1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.671       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10339E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.6248       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.719       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.786       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5906       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .68066       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=   8247.909     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2332 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9615        3.5157       -.49326E-06   -.13995E-03
   2  norm          .10000E-03    5.6485        .18319E-05** at limit **
   3  Prefactor     .10000E-03    1.6563       -.23635E-07** at limit **
   4  Prefactor     .10000E-03    3.8118        .23811E-05** at limit **
   5  Prefactor     1.6959        1.8125        .31852E-06   -.14340E-02
   6  Prefactor     19.178        41.728        .14898E-04    .50305E-05
   7  Prefactor     .10000E-03    12.227        .25749E-05** at limit **
   8  norm          7.5327        3.3327       -.11131E-05   -.92197E-04
   9  Prefactor     11.674        16.602       -.37739E-05   -.70509E-05
  10  norm          4.2818        1.4511        .86732E-08    .25564E-03
  11  Prefactor     43.671        24.932       -.35323E-06    .10586E-04
  12  Prefactor     .10000E-03    11.429       -.89300E-06** at limit **
  13  Prefactor     .10000E-03    8.3912       -.19808E-05** at limit **
  14  norm          .10000E-03    3.9469       -.28426E-05** at limit **
  15  Prefactor     .10000E-03    22.409       -.16986E-05** at limit **
  16  norm          .10000E-03    .69202       -.89051E-08** at limit **
  17  Prefactor     2.6245        19.761       -.74937E-06   -.11096E-04
  18  Prefactor     10.723        33.532        .88342E-05    .43619E-05
  19  Prefactor     17.789        25.225        .42049E-05    .20378E-05
  20  Prefactor     .10000E-03    2.9156       -.20542E-06** at limit **
  21  Normalizat    1.5903        .19324       -.16428E-05    .15961E-03
  22  Prefactor     .68076        .10113        .59394E-06   -.23157E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.96145
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.69588
  Prefactor  = 19.1779
  Prefactor  = 0.0001
  norm       = 7.53265
  Prefactor  = 11.6739
  norm       = 4.28177
  Prefactor  = 43.6705
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.62448
  Prefactor  = 10.723
  Prefactor  = 17.789
  Prefactor  = 0.0001
  Normalizat = 1.59029
  Prefactor  = 0.680758
 **********
 **   18 **HESSE 
 **********

 FCN=   8247.909     FROM HESSE     STATUS=OK           344 CALLS     2676 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9615        3.5366        .11636E-03   -1.5180    
   2  norm          .10000E-03    5.6609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.6602        .11413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8205        .17320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6959        6.5522        .16169E-02   -1.5448    
   6  Prefactor     19.178        41.746        .91479E-04   -1.4832    
   7  Prefactor     .10000E-03    12.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.5327        3.3384        .10657E-03   -1.5159    
   9  Prefactor     11.674        16.619        .11722E-03   -1.5024    
  10  norm          4.2818        1.4514        .61442E-04   -1.5294    
  11  Prefactor     43.671        24.959        .60666E-04   -1.4385    
  12  Prefactor     .10000E-03    11.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.4064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.0663        .35093E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.2147        .14699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.6245        19.831        .25172E-03   -1.5384    
  18  Prefactor     10.723        33.672        .12238E-03   -1.5053    
  19  Prefactor     17.789        25.213        .94968E-04   -1.4864    
  20  Prefactor     .10000E-03    2.9389        .15137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5903        .23183        .26865E-03   -.75272    
  22  Prefactor     .68076        .11853        .20815E-03   -1.0429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.50529e-09
Minuit parameter uncertainties:
  1  3.53669
  2  3.39405e-06
  3  9.32434e-07
  4  3.59596e-06
  5  6.55502
  6  41.8093
  7  1.34217e-05
  8  3.33848
  9  16.6251
  10  1.45142
  11  24.9652
  12  2.58951e-05
  13  2.20887e-06
  14  2.57434e-05
  15  8.87976e-05
  16  5.92451e-06
  17  14.4349
  18  33.7322
  19  25.2283
  20  1.10403e-05
  21  0.231984
  22  0.118577
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.072e+01  3.373e+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:  6.808e-01  1.186e-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.590e+00  2.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/101697/likelihoodResults_668044801_668304001_4FGL_J2353.2+3135_daily_bin1654.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) = 8247.1514264
delta logL = 0.757953125309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8246.85547021
delta logL = 1.05390931466

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14543E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    7.4678       1.0000          .0000       10.000    
     3 'Normalizat'    1.4957       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71638       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=   8246.855     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      315 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14508E-01    .13758        .17786E-02    .98181E-02
   2  Index         7.4701        2.4327        .17700        .15428E-03
   3  Normalizat    1.4954        .43504E-01    .62264E-01    .44355E-05
   4  Prefactor     .71650        .23300E-01    .42619E-01    .13748E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0145076
  Index      = 7.47006
  Normalizat = 1.49541
  Prefactor  = 0.716498
 **********
 **   18 **HESSE 
 **********

 FCN=   8246.855     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      350 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14508E-01    .40335        .80929E-04   -1.5684    
   2  Index         7.4701        7.9669        .64785E-02    .51670    
   3  Normalizat    1.4954        .16719        .27538E-03   -.77907    
   4  Prefactor     .71650        .87806E-01    .20343E-03   -1.0288    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.19888e-07
Minuit parameter uncertainties:
  1  0.152466
  2  5.5732
  3  0.167251
  4  0.0878229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101697': 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) = 8246.85546667
delta logL = 1.0539128505

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.451e-02  1.525e-01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  7.470e+00  5.573e+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:  7.165e-01  8.782e-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.495e+00  1.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.40
Ra Dec: 358.322 31.593
Photon Index (Free Index): 7.47 +/- 5.57
Photon Flux (Free Index): 7.52e-08 +/- 5.34e-08
Energy Flux (Free Index): 8.85e-06 +/- 6.74e-06

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/101697/cmap_HighResolution_668044801_668304001_4FGL_J2353.2+3135_daily_bin1654.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.38e-03', comment='SUCCESS', energy_flux2='8.85e-06', dlogl='1.05e+00', photon_flux2='7.52e-08', job_status='DONE', time_completed='2022-03-07 01:39:05.162338', photon_index_error2='5.57', photon_index2='7.47', ts='0.11', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='6.74e-06', EG='1.59', time_epoch_completed='1646645945.16', return_code='0', job_id='101697', GAL2='0.72', EG2='1.50', return_code2='102', photon_flux_error2='5.34e-08', ts2='2.40', photon_index='2.63' WHERE bin_id='1654' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar  7 01:39:05 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 101697: <4FGL_J2353.2+3135_daily_bin1654> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1654> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Mon Mar  7 01:25:35 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar  7 01:26:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar  7 01:26:34 2022
Terminated at Mon Mar  7 01:39:05 2022
Results reported at Mon Mar  7 01:39:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1654 358.322 31.5927 668044801 668304001 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 :                                   739.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             341.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            810 sec.

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

