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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1479
RA = 358.322, Dec = 31.5927
tmin = 622684801, tmax = 622944001
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='178433', job_status='RUN', time_executed='2021-09-30 08:14:06.543732', time_epoch_executed='1633014846.54' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1479'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/178433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/178433/ft1_4FGL_J2353.2+3135_daily_bin1479.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/178433/ft2_4FGL_J2353.2+3135_daily_bin1479.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/178433/ft1_4FGL_J2353.2+3135_daily_bin1479.fits outfile=/scratch/kocevski/178433/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1479.fits ra=358.322 dec=31.5927 rad=12.0 tmin=622684801.0 tmax=622944001.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.28
user 4.93
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/178433/ft1_filtered_4FGL_J2353.2+3135_daily_bin1479.fits evtable="EVENTS" scfile=/scratch/kocevski/178433/ft2_4FGL_J2353.2+3135_daily_bin1479.fits sctable="SC_DATA" expcube=/scratch/kocevski/178433/ltcube_622684801_622944001_4FGL_J2353.2+3135_daily_bin1479.fits outfile=/scratch/kocevski/178433/expmap_622684801_622944001_4FGL_J2353.2+3135_daily_bin1479.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/178433/ltcube_622684801_622944001_4FGL_J2353.2+3135_daily_bin1479.fits
.....................!
real 189.63
user 185.16
sys 4.04

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/178433/ft1_filtered_4FGL_J2353.2+3135_daily_bin1479.fits scfile=/scratch/kocevski/178433/ft2_4FGL_J2353.2+3135_daily_bin1479.fits outfile=/scratch/kocevski/178433/cmap_622684801_622944001_4FGL_J2353.2+3135_daily_bin1479.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9736       1.0000         .10000E-03   10000.    
     2 'norm      '    .10109E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3357       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15360E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.320       1.0000         .10000E-03   10000.    
     8 'norm      '    1.1559       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10909E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.3447       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9552       1.0000         .10000E-03   10000.    
    14 'norm      '    6.3890       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .16929E-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 '    33.428       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0006       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0536       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=   7291.785     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2092 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9730        3.7455        .44956E-06   -.23581E-03
   2  norm          .10000E-03    11.570        .77072E-06** at limit **
   3  Prefactor     .10000E-03    5.3609        .13525E-07** at limit **
   4  Prefactor     9.3434        17.028       -.20418E-06   -.57955E-05
   5  Prefactor     .52784E-01    3.8464        .26461E-06   -.15628E-03
   6  Prefactor     .10000E-03    26.123       -.85161E-06** at limit **
   7  Prefactor     33.316        23.631        .42629E-06    .82745E-04
   8  norm          1.1555        2.1747        .30477E-06   -.23222E-03
   9  Prefactor     .10000E-03    14.298        .29107E-05** at limit **
  10  norm          .10000E-03    .70169        .23014E-07** at limit **
  11  Prefactor     .10000E-03    8.7687       -.73536E-07** at limit **
  12  Prefactor     8.3450        11.633        .19460E-05   -.37385E-03
  13  Prefactor     5.9571        13.526        .22201E-05   -.22196E-03
  14  norm          6.3918        4.9509       -.22472E-06   -.16393E-03
  15  Prefactor     .10000E-03    12.962       -.31465E-05** at limit **
  16  norm          .10000E-03    1.0654       -.97245E-07** at limit **
  17  Prefactor     .10000E-03    4.4423        .12484E-08** at limit **
  18  Prefactor     .10000E-03    47.835        .11944E-05** at limit **
  19  Prefactor     33.427        31.944        .40237E-06    .35065E-04
  20  Prefactor     .10000E-03    2.0792        .22944E-07** at limit **
  21  Normalizat    1.0005        .19524       -.67201E-06   -.14947E-04
  22  Prefactor     1.0535        .10825       -.68421E-07   -.34076E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97303
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.34344
  Prefactor  = 0.0527835
  Prefactor  = 0.0001
  Prefactor  = 33.3164
  norm       = 1.15552
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.34502
  Prefactor  = 5.95711
  norm       = 6.3918
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 33.4266
  Prefactor  = 0.0001
  Normalizat = 1.00052
  Prefactor  = 1.05354
 **********
 **   18 **HESSE 
 **********

 FCN=   7291.785     FROM HESSE     STATUS=OK           348 CALLS     2440 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9730        3.7060        .19474E-03   -1.5427    
   2  norm          .10000E-03    11.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.4633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3434        16.766        .13116E-03   -1.5097    
   5  Prefactor     .52784E-01    4.1606        .53695E-01   -1.5662    
   6  Prefactor     .10000E-03    26.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.316        23.660        .69419E-04   -1.4553    
   8  norm          1.1555        2.1499        .16833E-03   -1.5493    
   9  Prefactor     .10000E-03    15.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.3310        .13654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.7855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.3450        12.105        .69389E-03   -1.5130    
  13  Prefactor     5.9571        13.901        .82274E-03   -1.5220    
  14  norm          6.3918        4.9408        .15879E-03   -1.5202    
  15  Prefactor     .10000E-03    14.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.8429        .17013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.4433        .17578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    48.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     33.427        31.935        .69308E-04   -1.4551    
  20  Prefactor     .10000E-03    2.0861        .12022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0005        .22445        .31606E-03   -.93013    
  22  Prefactor     1.0535        .12500        .17434E-03   -.90966    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08504e-09
Minuit parameter uncertainties:
  1  3.70647
  2  9.60977e-05
  3  3.3115e-06
  4  16.7746
  5  0.936435
  6  0.000178199
  7  23.6671
  8  2.15002
  9  0.00046442
  10  8.03955e-06
  11  7.73373e-06
  12  12.1082
  13  13.9083
  14  4.94108
  15  0.000440669
  16  8.87106e-06
  17  2.88217e-07
  18  0.000344654
  19  31.9516
  20  3.26444e-08
  21  0.224663
  22  0.125038
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.000e-04  3.447e-04  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.054e+00  1.250e-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.001e+00  2.247e-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.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/178433/likelihoodResults_622684801_622944001_4FGL_J2353.2+3135_daily_bin1479.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) = 7291.78496582
delta logL = -9.85849101198e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7291.78486733
delta logL = -9.35442585615e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5677       1.0000          .0000       10.000    
     3 'Normalizat'    1.0005       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0535       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=   7291.785     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      242 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8264.2        .90712E-02** at limit **
   2  Index         2.5957        6.1472        .50000       -.56959E-05
   3  Normalizat    1.0005        .10707        .71439E-01    .12604E-05
   4  Prefactor     1.0535        .59909E-01    .39707E-01   -.39684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.59571
  Normalizat = 1.00052
  Prefactor  = 1.05354
 **********
 **   18 **HESSE 
 **********

 FCN=   7291.785     FROM HESSE     STATUS=OK            31 CALLS      273 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    60.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5957        6.2879        .50000       -.50163    
   3  Normalizat    1.0005        .21618        .31606E-03   -.93013    
   4  Prefactor     1.0535        .12293        .17434E-03   -.90966    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30953e-11
Minuit parameter uncertainties:
  1  1.54033e-05
  2  5.07823
  3  0.216365
  4  0.122967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/178433': 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): 0
logL (Free Index) = 7291.78486728
delta logL = -4.56539055449e-08

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.000e-04  1.540e-05  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.596e+00  5.078e+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:  1.054e+00  1.230e-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.001e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 358.322 31.593

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/178433/cmap_HighResolution_622684801_622944001_4FGL_J2353.2+3135_daily_bin1479.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', job_status='DONE', photon_flux_upper_limit='9.68e-08', time_completed='2021-09-30 08:25:02.591315', job_id='178433', GAL2='1.05', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1633015502.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-4.57e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1479' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 08:25:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 176065: <4FGL_J2353.2+3135_daily_bin1479> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1479 358.322 31.5927 622684801 622944001 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 :                                   661.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             257.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 178433: <4FGL_J2353.2+3135_daily_bin1479> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1479> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 08:11:29 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 08:11:31 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:11:31 2021
Terminated at Thu Sep 30 08:25:03 2021
Results reported at Thu Sep 30 08:25:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1479 358.322 31.5927 622684801 622944001 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 :                                   657.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            814 sec.

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

