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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1393
RA = 238.402, Dec = 12.9524
tmin = 600393601, tmax = 600652801
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='786046', job_status='RUN', time_executed='2021-09-12 17:37:00.410452', time_epoch_executed='1631493420.41' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1393'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/786046

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/786046/ft1_4FGL_J1553.6+1257_daily_bin1393.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/786046/ft1_4FGL_J1553.6+1257_daily_bin1393.fits outfile=/scratch/kocevski/786046/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1393.fits ra=238.402 dec=12.9524 rad=12.0 tmin=600393601.0 tmax=600652801.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.73
user 3.44
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.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/786046/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1393.fits evtable="EVENTS" outfile="/scratch/kocevski/786046/ft1_filtered_4FGL_J1553.6+1257_daily_bin1393.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/786046/ft1_filtered_4FGL_J1553.6+1257_daily_bin1393.fits" evtable="EVENTS" scfile=/scratch/kocevski/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.fits sctable="SC_DATA" outfile=/scratch/kocevski/786046/ltcube_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.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/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.fits
.....................!
real 14.46
user 13.88
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/786046/ft1_filtered_4FGL_J1553.6+1257_daily_bin1393.fits evtable="EVENTS" scfile=/scratch/kocevski/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.fits sctable="SC_DATA" expcube=/scratch/kocevski/786046/ltcube_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.fits outfile=/scratch/kocevski/786046/expmap_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.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/786046/ltcube_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.fits
.....................!
real 195.82
user 188.32
sys 5.23

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1553.6+1257 @ 238.402 12.9524

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/786046/ft1_filtered_4FGL_J1553.6+1257_daily_bin1393.fits scfile=/scratch/kocevski/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.fits outfile=/scratch/kocevski/786046/cmap_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.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=238.402 yref=12.9524 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/786046/ft1_filtered_4FGL_J1553.6+1257_daily_bin1393.fits scfile=/scratch/kocevski/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.fits outfile=/scratch/kocevski/786046/cmap_HighResolution_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.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=238.402 yref=12.9524 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/786046/ft1_filtered_4FGL_J1553.6+1257_daily_bin1393.fits evtable="EVENTS" scfile=/scratch/kocevski/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/786046/Model_4FGL_J1553.6+1257_daily_bin1393.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/786046/ft1_filtered_4FGL_J1553.6+1257_daily_bin1393.fits.....................!
real 74.84
user 72.91
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/786046/ft1_filtered_4FGL_J1553.6+1257_daily_bin1393.fits', '/scratch/kocevski/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.fits', expMap='/scratch/kocevski/786046/expmap_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.fits', expCube='/scratch/kocevski/786046/ltcube_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/786046/Model_4FGL_J1553.6+1257_daily_bin1393.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1553.6+1257'

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  5.777e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/786046/ft1_filtered_4FGL_J1553.6+1257_daily_bin1393.fits
Spacecraft file(s): /scratch/kocevski/786046/ft2_4FGL_J1553.6+1257_daily_bin1393.fits
Exposure map: /scratch/kocevski/786046/expmap_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.fits
Exposure cube: /scratch/kocevski/786046/ltcube_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/786046/Model_4FGL_J1553.6+1257_daily_bin1393.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) = 9864.42807283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20875E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    55.579       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4864       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13788E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.1613       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8019       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.1195       1.0000         .10000E-03   10000.    
     9 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    140.48       1.0000         .10000E-03   10000.    
    11 'norm      '    11.255       1.0000         .10000E-03   10000.    
    12 'norm      '    6.3568       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .67852E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.114       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.276       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19872       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5693       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5788       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .71307       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9864.414     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2239 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    115.90       -.43239E-05** at limit **
   2  Prefactor     55.579        40.026       -.10033E-05    .15730E-04
   3  Prefactor     3.4466        89.394       -.55055E-04   -.13307E-04
   4  Prefactor     .10000E-03    70.821        .11815E-04** at limit **
   5  Prefactor     .10000E-03    9.8469       -.39614E-07** at limit **
   6  norm          5.1614        2.5505        .40386E-06    .17986E-03
   7  Prefactor     2.8019        3.2241       -.78875E-06   -.74422E-03
   8  Prefactor     8.1121        23.123       -.70572E-06   -.25375E-04
   9  norm          .10000E-03    2.1023       -.13077E-06** at limit **
  10  Prefactor     140.48        69.355        .78346E-06    .30851E-04
  11  norm          11.254        8.8416       -.59760E-05   -.26943E-04
  12  norm          6.3569        2.0093        .22654E-06    .15847E-03
  13  Prefactor     .10047E-03    4.8913        .80232E-06** at limit **
  14  norm          10.115        13.538       -.14333E-05    .37986E-05
  15  norm          .10000E-03    27.895       -.60526E-06** at limit **
  16  Prefactor     18.279        13.711       -.84552E-06   -.43674E-04
  17  Prefactor     .10000E-03    41.873       -.65369E-05** at limit **
  18  Prefactor     .20441        3.9573        .47172E-06   -.39000E-04
  19  Prefactor     1.5684        9.6149       -.10276E-04   -.58344E-03
  20  Normalizat    1.5790        .21384        .57980E-05   -.85887E-04
  21  Prefactor     .71299        .93816E-01    .51289E-07    .56202E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 55.5789
  Prefactor  = 3.44663
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.1614
  Prefactor  = 2.80192
  Prefactor  = 8.11212
  norm       = 0.0001
  Prefactor  = 140.481
  norm       = 11.2536
  norm       = 6.3569
  Prefactor  = 0.000100466
  norm       = 10.1147
  norm       = 0.0001
  Prefactor  = 18.2785
  Prefactor  = 0.0001
  Prefactor  = 0.204407
  Prefactor  = 1.56845
  Normalizat = 1.579
  Prefactor  = 0.71299
 **********
 **   18 **HESSE 
 **********

 FCN=   9864.414     FROM HESSE     STATUS=OK           321 CALLS     2560 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    117.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     55.579        40.036        .53806E-04   -1.4216    
   3  Prefactor     3.4466        90.321        .21655E-03   -1.5337    
   4  Prefactor     .10000E-03    71.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.8668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.1614        2.5476        .10635E-03   -1.5254    
   7  Prefactor     2.8019        3.2277        .18397E-03   -1.5373    
   8  Prefactor     8.1121        23.116        .14070E-03   -1.5138    
   9  norm          .10000E-03    2.1957        .28105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     140.48        69.352        .33988E-04   -1.3332    
  11  norm          11.254        8.7953        .11942E-03   -1.5037    
  12  norm          6.3569        2.0086        .75596E-04   -1.5204    
  13  Prefactor     .10047E-03    39.372        .42149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.115        13.538        .12600E-03   -1.5072    
  15  norm          .10000E-03    27.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.279        13.706        .93687E-04   -1.4853    
  17  Prefactor     .10000E-03    42.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .20441        59.640        .36671E-02   -1.5618    
  19  Prefactor     1.5684        10.547        .33940E-03   -1.5457    
  20  Normalizat    1.5790        .25305        .30774E-03   -.75582    
  21  Prefactor     .71299        .11270        .20296E-03   -1.0302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.76239e-08
Minuit parameter uncertainties:
  1  0.000344578
  2  40.0552
  3  35.3466
  4  0.00012317
  5  1.4207e-05
  6  2.54767
  7  3.22794
  8  23.1416
  9  1.38312e-05
  10  69.3924
  11  8.79627
  12  2.0086
  13  0.00856934
  14  13.5421
  15  5.10427e-06
  16  13.7088
  17  6.99777e-05
  18  6.98839
  19  8.13632
  20  0.253251
  21  0.112738
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.125e+01  8.796e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  7.130e-01  1.127e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.579e+00  2.533e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.43
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 5.45e-08 +/- 4.26e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.49e-05

TS (Fixed Index): 2.43
Ra Dec: 238.402 12.952
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.89e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/786046/likelihoodResults_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.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) = 9864.39097806
delta logL = 0.0225738695535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9864.38916585
delta logL = 0.0243860881674

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.822       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4367       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5709       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71538       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9864.389     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      214 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.819        212.16        .30447E-02    .13994E-03
   2  alpha         2.4367        3.3828        .41168        .32420E-04
   3  Normalizat    1.5710        .93284E-01    .69697E-01    .57020E-04
   4  Prefactor     .71538        .40176E-01    .42606E-01    .94949E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.8185
  alpha      = 2.43674
  Normalizat = 1.57101
  Prefactor  = 0.715375
 **********
 **   18 **HESSE 
 **********

 FCN=   9864.389     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.819        8.8326        .12179E-03   -1.5050    
   2  alpha         2.4367        .65019        .18268E-01   -.25306E-01
   3  Normalizat    1.5710        .23738        .30834E-03   -.75802    
   4  Prefactor     .71538        .10960        .20265E-03   -1.0293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25645e-09
Minuit parameter uncertainties:
  1  8.83364
  2  0.657762
  3  0.237554
  4  0.109637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/786046': 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) = 9864.38916555
delta logL = 0.024386387071

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.082e+01  8.834e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.437e+00  6.578e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  7.154e-01  1.096e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.571e+00  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.50
Ra Dec: 238.402 12.952
Photon Index (Free Index): 2.44 +/- 0.66
Photon Flux (Free Index): 6.11e-08 +/- 5.23e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.44e-05

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/786046/cmap_HighResolution_600393601_600652801_4FGL_J1553.6+1257_daily_bin1393.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.89e-05', comment='SUCCESS', photon_flux='5.45e-08', energy_flux2='1.86e-05', photon_flux_error='4.26e-08', dlogl='2.44e-02', energy_flux='1.91e-05', photon_flux2='6.11e-08', job_status='DONE', time_completed='2021-09-12 17:49:57.677871', photon_index_error2='0.66', photon_index2='2.44', ts='2.43', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.44e-05', EG='1.58', time_epoch_completed='1631494197.68', return_code='0', job_id='786046', GAL2='0.72', EG2='1.57', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='5.23e-08', ts2='2.50', photon_index='2.30' WHERE bin_id='1393' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:49:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 786046: <4FGL_J1553.6+1257_daily_bin1393> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1393> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 17:35:34 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:36:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 17:36:45 2021
Terminated at Sun Sep 12 17:49:58 2021
Results reported at Sun Sep 12 17:49:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1393 238.402 12.9524 600393601 600652801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1553.6+1257 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   756.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            864 sec.

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

