/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 6 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 = 7439
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1553.6+1257_daily_bin212
RA = 238.402, Dec = 12.9524
tmin = 294278401, tmax = 294537601
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='777587', job_status='RUN', time_executed='2021-09-12 17:08:27.483675', time_epoch_executed='1631491707.48' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='212'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/777587

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/777587/ft1_4FGL_J1553.6+1257_daily_bin212.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/777587/ft2_4FGL_J1553.6+1257_daily_bin212.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/777587/ft1_4FGL_J1553.6+1257_daily_bin212.fits outfile=/scratch/kocevski/777587/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin212.fits ra=238.402 dec=12.9524 rad=12.0 tmin=294278401.0 tmax=294537601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.41
user 2.21
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/777587/ft2_4FGL_J1553.6+1257_daily_bin212.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/777587/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin212.fits evtable="EVENTS" outfile="/scratch/kocevski/777587/ft1_filtered_4FGL_J1553.6+1257_daily_bin212.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.52
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/777587/ft1_filtered_4FGL_J1553.6+1257_daily_bin212.fits" evtable="EVENTS" scfile=/scratch/kocevski/777587/ft2_4FGL_J1553.6+1257_daily_bin212.fits sctable="SC_DATA" outfile=/scratch/kocevski/777587/ltcube_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.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/777587/ft2_4FGL_J1553.6+1257_daily_bin212.fits
.....................!
real 15.44
user 15.06
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/777587/ft1_filtered_4FGL_J1553.6+1257_daily_bin212.fits evtable="EVENTS" scfile=/scratch/kocevski/777587/ft2_4FGL_J1553.6+1257_daily_bin212.fits sctable="SC_DATA" expcube=/scratch/kocevski/777587/ltcube_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.fits outfile=/scratch/kocevski/777587/expmap_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.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/777587/ltcube_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.fits
.....................!
real 194.58
user 188.02
sys 5.31

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/777587/ft1_filtered_4FGL_J1553.6+1257_daily_bin212.fits scfile=/scratch/kocevski/777587/ft2_4FGL_J1553.6+1257_daily_bin212.fits outfile=/scratch/kocevski/777587/cmap_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/777587/ft1_filtered_4FGL_J1553.6+1257_daily_bin212.fits scfile=/scratch/kocevski/777587/ft2_4FGL_J1553.6+1257_daily_bin212.fits outfile=/scratch/kocevski/777587/cmap_HighResolution_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/777587/ft1_filtered_4FGL_J1553.6+1257_daily_bin212.fits', '/scratch/kocevski/777587/ft2_4FGL_J1553.6+1257_daily_bin212.fits', expMap='/scratch/kocevski/777587/expmap_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.fits', expCube='/scratch/kocevski/777587/ltcube_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/777587/Model_4FGL_J1553.6+1257_daily_bin212.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/777587/ft1_filtered_4FGL_J1553.6+1257_daily_bin212.fits
Spacecraft file(s): /scratch/kocevski/777587/ft2_4FGL_J1553.6+1257_daily_bin212.fits
Exposure map: /scratch/kocevski/777587/expmap_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.fits
Exposure cube: /scratch/kocevski/777587/ltcube_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/777587/Model_4FGL_J1553.6+1257_daily_bin212.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) = 7900.96875359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1197       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.538       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.501       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.8622       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4055       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.829       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.794       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    11.533       1.0000         .10000E-03   10000.    
    12 'norm      '    6.9441       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11152E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.5205       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0671       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0437       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=   7900.952     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2186 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1368        37.584        .24537E-04    .12658E-04
   2  Prefactor     12.534        34.502       -.49979E-05   -.65193E-05
   3  Prefactor     11.477        29.910       -.17005E-04    .10171E-04
   4  Prefactor     8.8039        29.992       -.49957E-04   -.58363E-04
   5  Prefactor     .10000E-03    12.174        .80808E-06** at limit **
   6  norm          2.4029        3.0292        .73017E-06   -.49856E-03
   7  Prefactor     11.829        5.4301       -.12658E-08   -.11289E-03
   8  Prefactor     .10004E-03    88.309        .25933E-04** at limit **
   9  norm          11.794        5.0235        .46330E-07   -.58681E-04
  10  Prefactor     .10000E-03    21.081        .25862E-05** at limit **
  11  norm          11.535        10.001       -.15342E-06   -.64344E-04
  12  norm          6.9441        2.3793       -.15006E-07    .75605E-03
  13  Prefactor     .10018E-03    5.4150       -.16561E-05** at limit **
  14  norm          .10000E-03    5.7484       -.95921E-07** at limit **
  15  norm          .10000E-03    34.942       -.20662E-05** at limit **
  16  Prefactor     8.5211        8.9110       -.44654E-06    .28568E-04
  17  Prefactor     .10000E-03    13.416       -.15101E-05** at limit **
  18  Prefactor     .10000E-03    2.9569       -.41918E-07** at limit **
  19  Prefactor     .10000E-03    5.5141       -.40725E-07** at limit **
  20  Normalizat    1.0662        .24599        .74528E-05   -.75904E-04
  21  Prefactor     1.0441        .11575       -.81925E-06    .48782E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.13678
  Prefactor  = 12.5342
  Prefactor  = 11.4774
  Prefactor  = 8.80393
  Prefactor  = 0.0001
  norm       = 2.40288
  Prefactor  = 11.8293
  Prefactor  = 0.000100035
  norm       = 11.7942
  Prefactor  = 0.0001
  norm       = 11.5354
  norm       = 6.94408
  Prefactor  = 0.000100177
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 8.52113
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06625
  Prefactor  = 1.04408
 **********
 **   18 **HESSE 
 **********

 FCN=   7900.952     FROM HESSE     STATUS=OK           319 CALLS     2505 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1368        37.933        .13272E-03   -1.5103    
   2  Prefactor     12.534        34.511        .11313E-03   -1.5000    
   3  Prefactor     11.477        29.939        .11813E-03   -1.5030    
   4  Prefactor     8.8039        30.094        .13464E-03   -1.5114    
   5  Prefactor     .10000E-03    12.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4029        3.0062        .16451E-03   -1.5398    
   7  Prefactor     11.829        5.4274        .11647E-03   -1.5020    
   8  Prefactor     .10004E-03    91.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.794        5.0209        .11665E-03   -1.5021    
  10  Prefactor     .10000E-03    21.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.535        9.9906        .11796E-03   -1.5029    
  12  norm          6.9441        2.3789        .38310E-03   -1.5181    
  13  Prefactor     .10018E-03    37.730        .39708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.7733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    34.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.5211        8.9009        .13733E-03   -1.5124    
  17  Prefactor     .10000E-03    13.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.9609        .14927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.5510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0662        .29378        .36109E-03   -.90843    
  21  Prefactor     1.0441        .13969        .18065E-03   -.91274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98233e-09
Minuit parameter uncertainties:
  1  37.2741
  2  34.5661
  3  29.9784
  4  30.1463
  5  1.62403e-05
  6  3.00641
  7  5.4276
  8  0.00358376
  9  5.02111
  10  1.8305e-05
  11  9.99205
  12  2.37895
  13  0.00517529
  14  2.09039e-05
  15  3.43452e-06
  16  8.90229
  17  3.03892e-05
  18  7.39792e-06
  19  2.19449e-05
  20  0.294227
  21  0.139738
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.154e+01  9.992e+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:  1.044e+00  1.397e-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.066e+00  2.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.98
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 5.58e-08 +/- 4.84e-08
Energy Flux (Fixed Index): 1.96e-05 +/- 1.70e-05

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

Saving results to:
/scratch/kocevski/777587/likelihoodResults_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.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) = 7900.37121011
delta logL = 0.581061643172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7900.36158033
delta logL = 0.590691421572

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9153       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2980       1.0000          .0000       5.0000    
     3 'Normalizat'    .99153       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0700       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=   7900.362     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      246 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9108        69.797        .41277E-02    .40881E-03
   2  alpha         3.2985        4.1468        .38423        .66348E-04
   3  Normalizat    .99151        .80183E-01    .84190E-01    .21349E-04
   4  Prefactor     1.0701        .37188E-01    .38856E-01   -.54746E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.91084
  alpha      = 3.2985
  Normalizat = 0.991507
  Prefactor  = 1.07006
 **********
 **   18 **HESSE 
 **********

 FCN=   7900.362     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9108        14.190        .13427E-03   -1.5222    
   2  alpha         3.2985        1.6157        .14681E-01    .32510    
   3  Normalizat    .99151        .29189        .37271E-03   -.93315    
   4  Prefactor     1.0701        .14247        .17867E-03   -.90429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1921e-11
Minuit parameter uncertainties:
  1  14.1984
  2  1.77797
  3  0.29236
  4  0.142522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/777587': 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) = 7900.3615802
delta logL = 0.590691551132

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  5.911e+00  1.420e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  3.299e+00  1.778e+00  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:  1.070e+00  1.425e-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:  9.915e-01  2.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 238.402 12.952
Photon Index (Free Index): 3.30 +/- 1.78
Photon Flux (Free Index): 1.01e-07 +/- 7.00e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.48e-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/777587/cmap_HighResolution_294278401_294537601_4FGL_J1553.6+1257_daily_bin212.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.39e-05', comment='SUCCESS', photon_flux='5.58e-08', energy_flux2='1.88e-05', photon_flux_error='4.84e-08', dlogl='5.91e-01', energy_flux='1.96e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-09-12 17:19:39.870159', photon_index_error2='1.78', photon_index2='3.30', ts='1.98', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.54e-07', energy_flux_error2='1.48e-05', EG='1.07', time_epoch_completed='1631492379.87', return_code='0', job_id='777587', GAL2='1.07', EG2='0.99', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='7.00e-08', ts2='3.28', photon_index='2.30' WHERE bin_id='212' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:19:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 777587: <4FGL_J1553.6+1257_daily_bin212> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin212> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 17:05:31 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:08:12 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:08:12 2021
Terminated at Sun Sep 12 17:19:40 2021
Results reported at Sun Sep 12 17:19:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin212 238.402 12.9524 294278401 294537601 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 :                                   669.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             352.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            849 sec.

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

