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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1411
RA = 358.322, Dec = 31.5927
tmin = 605059201, tmax = 605318401
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='174897', job_status='RUN', time_executed='2021-09-30 08:03:35.507200', time_epoch_executed='1633014215.51' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/174897

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/174897/ft1_4FGL_J2353.2+3135_daily_bin1411.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/174897/ft2_4FGL_J2353.2+3135_daily_bin1411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/174897/ft1_4FGL_J2353.2+3135_daily_bin1411.fits outfile=/scratch/kocevski/174897/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1411.fits ra=358.322 dec=31.5927 rad=12.0 tmin=605059201.0 tmax=605318401.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 5.42
user 5.17
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/174897/ft1_filtered_4FGL_J2353.2+3135_daily_bin1411.fits evtable="EVENTS" scfile=/scratch/kocevski/174897/ft2_4FGL_J2353.2+3135_daily_bin1411.fits sctable="SC_DATA" expcube=/scratch/kocevski/174897/ltcube_605059201_605318401_4FGL_J2353.2+3135_daily_bin1411.fits outfile=/scratch/kocevski/174897/expmap_605059201_605318401_4FGL_J2353.2+3135_daily_bin1411.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/174897/ltcube_605059201_605318401_4FGL_J2353.2+3135_daily_bin1411.fits
.....................!
real 189.60
user 184.97
sys 4.28

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/174897/ft1_filtered_4FGL_J2353.2+3135_daily_bin1411.fits scfile=/scratch/kocevski/174897/ft2_4FGL_J2353.2+3135_daily_bin1411.fits outfile=/scratch/kocevski/174897/cmap_605059201_605318401_4FGL_J2353.2+3135_daily_bin1411.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/174897/ft1_filtered_4FGL_J2353.2+3135_daily_bin1411.fits scfile=/scratch/kocevski/174897/ft2_4FGL_J2353.2+3135_daily_bin1411.fits outfile=/scratch/kocevski/174897/cmap_HighResolution_605059201_605318401_4FGL_J2353.2+3135_daily_bin1411.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.849       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.237       1.0000         .10000E-03   10000.    
     8 'norm      '    4.9414       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.721       1.0000         .10000E-03   10000.    
    10 'norm      '    3.7831       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.8621       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.2903       1.0000         .10000E-03   10000.    
    14 'norm      '    2.0521       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10444E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    32.700       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .69312       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2038       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=   7840.932     FROM MIGRAD    STATUS=CONVERGED     64 CALLS     1945 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .94925       -.61000E-06** at limit **
   2  norm          .10000E-03    3.2261       -.65987E-05** at limit **
   3  Prefactor     .10000E-03    3.2324        .22765E-05** at limit **
   4  Prefactor     20.848        1.0116       -.11184E-06    .41249E-03
   5  Prefactor     .10001E-03    3.1062        .63767E-05** at limit **
   6  Prefactor     .10006E-03    5.6507        .11607E-05** at limit **
   7  Prefactor     22.238        1.0004        .10024E-07   -.92395E-04
   8  norm          4.9413        2.5744       -.38621E-06   -.75409E-04
   9  Prefactor     13.721        1.0008        .16397E-07   -.59441E-04
  10  norm          3.7831        1.6101       -.14410E-07   -.25706E-03
  11  Prefactor     5.8638        1.1246        .72219E-06   -.97129E-03
  12  Prefactor     .10000E-03    3.4660       -.53629E-05** at limit **
  13  Prefactor     8.2952        1.9855        .20504E-05   -.38430E-02
  14  norm          2.0541        1.0352       -.40817E-08   -.34855E-04
  15  Prefactor     .10001E-03    9.5823       -.10051E-04** at limit **
  16  norm          .10000E-03    1.2722        .50597E-06** at limit **
  17  Prefactor     .10002E-03    2.8775       -.10155E-05** at limit **
  18  Prefactor     .10000E-03    3.1027       -.54158E-05** at limit **
  19  Prefactor     32.698        1.0813       -.24965E-06    .20282E-02
  20  Prefactor     .10000E-03    7.6499        .12764E-04** at limit **
  21  Normalizat    .69321        .20451        .27824E-06   -.19245E-03
  22  Prefactor     1.2038        .12123       -.14468E-06   -.52712E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.8482
  Prefactor  = 0.000100008
  Prefactor  = 0.00010006
  Prefactor  = 22.2376
  norm       = 4.94133
  Prefactor  = 13.7214
  norm       = 3.78314
  Prefactor  = 5.86376
  Prefactor  = 0.000100001
  Prefactor  = 8.2952
  norm       = 2.05411
  Prefactor  = 0.000100007
  norm       = 0.000100001
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 32.6982
  Prefactor  = 0.0001
  Normalizat = 0.693213
  Prefactor  = 1.20378
 **********
 **   18 **HESSE 
 **********

 FCN=   7840.932     FROM HESSE     STATUS=OK           386 CALLS     2331 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .94625        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.7951        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2111        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.848        13.772        .21930E-02   -1.4794    
   5  Prefactor     .10001E-03    4.3346        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10006E-03    13.123        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.238        21.268        .21235E-02   -1.4764    
   8  norm          4.9413        2.5780        .45232E-02   -1.5263    
   9  Prefactor     13.721        14.657        .27033E-02   -1.4967    
  10  norm          3.7831        1.6188        .51887E-02   -1.5319    
  11  Prefactor     5.8638        22.660        .41467E-02   -1.5224    
  12  Prefactor     .10000E-03    3.5870        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.2952        18.757        .34809E-02   -1.5132    
  14  norm          2.0541        4.3093        .72140E-02   -1.5421    
  15  Prefactor     .10001E-03    14.266        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.2542        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    5.0776        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.9768        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     32.698        45.447        .17518E-02   -1.4564    
  20  Prefactor     .10000E-03    9.1479        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .69321        .18853        .82829E-01   -1.0416    
  22  Prefactor     1.2038        .11003        .34541E-01   -.86215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02761e-07
Minuit parameter uncertainties:
  1  5.3917e-05
  2  7.62e-05
  3  7.3687e-05
  4  13.7744
  5  0.000376186
  6  0.00177271
  7  21.2753
  8  2.57805
  9  14.6607
  10  1.61878
  11  22.6931
  12  0.000140471
  13  18.7707
  14  4.30994
  15  0.000609535
  16  5.41319e-05
  17  0.000646082
  18  8.49118e-05
  19  45.4954
  20  4.91431e-06
  21  0.188708
  22  0.110054
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.000e-04  8.491e-05  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.204e+00  1.101e-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:  6.932e-01  1.887e-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: 4.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/174897/likelihoodResults_605059201_605318401_4FGL_J2353.2+3135_daily_bin1411.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) = 7840.93271566
delta logL = -0.00067876214689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7840.932037
delta logL = -1.02088961285e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7840.932     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      254 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.943        .18142E-01** at limit **
   2  Index         1.8823        5.9110        .50000       -.60899E-06
   3  Normalizat    .69321        .10961E-01    .36681E-03   -.87154E-04
   4  Prefactor     1.2038        .64933E-02    .16795E-03   -.18752E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.88234
  Normalizat = 0.693213
  Prefactor  = 1.20378
 **********
 **   18 **HESSE 
 **********

 FCN=   7840.932     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      281 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    336.71        .27006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8823        7.9558        .50000       -.67325    
   3  Normalizat    .69321        .29257E-01    .14672E-04   -1.0416    
   4  Prefactor     1.2038        .17332E-01    .33589E-04   -.86215    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.2919e-08
Minuit parameter uncertainties:
  1  4.60874e-05
  2  1149.41
  3  0.0292578
  4  0.0173323
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/174897': 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) = 7840.93203486
delta logL = 2.03736271942e-06

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.000e-04  4.609e-05  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  1.882e+00  1.149e+03  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.204e+00  1.733e-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:  6.932e-01  2.926e-02  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/174897/cmap_HighResolution_605059201_605318401_4FGL_J2353.2+3135_daily_bin1411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.58e-08', time_completed='2021-09-30 08:15:12.062732', job_id='174897', GAL2='1.20', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1633014912.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='2.04e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1411' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 08:15:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 174897: <4FGL_J2353.2+3135_daily_bin1411> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1411> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 08:00:28 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 08:00:30 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:30 2021
Terminated at Thu Sep 30 08:15:12 2021
Results reported at Thu Sep 30 08:15:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1411 358.322 31.5927 605059201 605318401 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 :                                   676.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             280.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            884 sec.

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

