/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 63 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 = 7443
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1553.6+1257_daily_bin2
RA = 238.402, Dec = 12.9524
tmin = 239846401, tmax = 240105601
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='776211', job_status='RUN', time_executed='2021-09-12 17:03:06.431028', time_epoch_executed='1631491386.43' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='2'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776211

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776211/ft1_4FGL_J1553.6+1257_daily_bin2.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776211/ft2_4FGL_J1553.6+1257_daily_bin2.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776211/ft1_4FGL_J1553.6+1257_daily_bin2.fits outfile=/scratch/kocevski/776211/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin2.fits ra=238.402 dec=12.9524 rad=12.0 tmin=239846401.0 tmax=240105601.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 1.45
user 1.25
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776211/ft2_4FGL_J1553.6+1257_daily_bin2.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/776211/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin2.fits evtable="EVENTS" outfile="/scratch/kocevski/776211/ft1_filtered_4FGL_J1553.6+1257_daily_bin2.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776211/ft1_filtered_4FGL_J1553.6+1257_daily_bin2.fits" evtable="EVENTS" scfile=/scratch/kocevski/776211/ft2_4FGL_J1553.6+1257_daily_bin2.fits sctable="SC_DATA" outfile=/scratch/kocevski/776211/ltcube_239846401_240105601_4FGL_J1553.6+1257_daily_bin2.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/776211/ft2_4FGL_J1553.6+1257_daily_bin2.fits
.....................!
real 13.73
user 13.37
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776211/ft1_filtered_4FGL_J1553.6+1257_daily_bin2.fits evtable="EVENTS" scfile=/scratch/kocevski/776211/ft2_4FGL_J1553.6+1257_daily_bin2.fits sctable="SC_DATA" expcube=/scratch/kocevski/776211/ltcube_239846401_240105601_4FGL_J1553.6+1257_daily_bin2.fits outfile=/scratch/kocevski/776211/expmap_239846401_240105601_4FGL_J1553.6+1257_daily_bin2.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/776211/ltcube_239846401_240105601_4FGL_J1553.6+1257_daily_bin2.fits
.....................!
real 192.80
user 188.13
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 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/776211/ft1_filtered_4FGL_J1553.6+1257_daily_bin2.fits scfile=/scratch/kocevski/776211/ft2_4FGL_J1553.6+1257_daily_bin2.fits outfile=/scratch/kocevski/776211/cmap_239846401_240105601_4FGL_J1553.6+1257_daily_bin2.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776211/ft1_filtered_4FGL_J1553.6+1257_daily_bin2.fits scfile=/scratch/kocevski/776211/ft2_4FGL_J1553.6+1257_daily_bin2.fits outfile=/scratch/kocevski/776211/cmap_HighResolution_239846401_240105601_4FGL_J1553.6+1257_daily_bin2.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.656       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.5744       1.0000         .10000E-03   10000.    
    10 'Prefactor '    73.352       1.0000         .10000E-03   10000.    
    11 'norm      '    55.316       1.0000         .10000E-03   10000.    
    12 'norm      '    2.7206       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10456E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2996       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .93820E-01   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5106       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91470       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=   9758.153     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2186 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.654        42.733       -.15188E-05   -.67529E-05
   2  Prefactor     .10000E-03    13.440       -.17307E-05** at limit **
   3  Prefactor     .10000E-03    12.661        .49112E-05** at limit **
   4  Prefactor     .10000E-03    17.081        .47498E-05** at limit **
   5  Prefactor     .10000E-03    7.6056        .14458E-05** at limit **
   6  norm          .10000E-03    .90503       -.36978E-07** at limit **
   7  Prefactor     .10000E-03    .90159        .19293E-08** at limit **
   8  Prefactor     .10000E-03    8.3129       -.17654E-05** at limit **
   9  norm          2.5741        2.4273       -.10669E-07   -.22176E-03
  10  Prefactor     73.345        63.856       -.57488E-05   -.14974E-05
  11  norm          55.316        12.277        .10311E-06   -.65281E-06
  12  norm          2.7203        1.5426        .56506E-07    .58996E-04
  13  Prefactor     .10000E-03    2.4981        .52091E-07** at limit **
  14  norm          .10000E-03    6.7605       -.28195E-06** at limit **
  15  norm          .10000E-03    87.717        .71539E-05** at limit **
  16  Prefactor     .10000E-03    12.556        .12714E-05** at limit **
  17  Prefactor     .10000E-03    14.973       -.81457E-05** at limit **
  18  Prefactor     9.2970        8.6356       -.33557E-06   -.16096E-03
  19  Prefactor     .10995        4.3146        .10465E-05   -.87365E-03
  20  Normalizat    1.5104        .22442        .38636E-06   -.11322E-03
  21  Prefactor     .91479        .10614        .79521E-07   -.15114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.6544
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.57411
  Prefactor  = 73.3455
  norm       = 55.3161
  norm       = 2.72034
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.29699
  Prefactor  = 0.109953
  Normalizat = 1.51037
  Prefactor  = 0.914787
 **********
 **   18 **HESSE 
 **********

 FCN=   9758.153     FROM HESSE     STATUS=OK           317 CALLS     2503 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.654        42.843        .54757E-04   -1.4242    
   2  Prefactor     .10000E-03    13.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.6112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.5683        .18259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .90582        .91588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.3152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.5741        2.4239        .14514E-03   -1.5387    
  10  Prefactor     73.345        63.785        .46877E-04   -1.3993    
  11  norm          55.316        12.247        .53933E-04   -1.4219    
  12  norm          2.7203        1.5435        .89119E-04   -1.5378    
  13  Prefactor     .10000E-03    2.5038        .15248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.8186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    87.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.069        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.2970        8.6298        .13142E-03   -1.5098    
  19  Prefactor     .10995        6.2541        .68533E-01   -1.5642    
  20  Normalizat    1.5104        .26959        .34705E-03   -.77487    
  21  Prefactor     .91479        .12778        .20445E-03   -.95626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21326e-10
Minuit parameter uncertainties:
  1  42.868
  2  5.5547e-07
  3  3.17652e-06
  4  1.03927e-05
  5  4.4809e-07
  6  8.17143e-07
  7  3.4212e-08
  8  1.55377e-06
  9  2.42396
  10  63.8442
  11  12.2478
  12  1.54355
  13  5.55408e-07
  14  2.04102e-06
  15  9.38143e-06
  16  2.93336e-05
  17  1.24203e-06
  18  8.63091
  19  1.65793
  20  0.269844
  21  0.127826
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  5.532e+01  1.225e+01  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:  9.148e-01  1.278e-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.510e+00  2.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 71.13
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 2.68e-07 +/- 5.93e-08
Energy Flux (Fixed Index): 9.39e-05 +/- 2.08e-05

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) = 9756.13862245
delta logL = 2.01443289313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9755.99702297
delta logL = 2.15603237373

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    62.695       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8752       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5791       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89447       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=   9755.997     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      210 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          62.695        15.126        .12670E-02   -.18058E-02
   2  alpha         1.8752        .20207        .17536        .51553E-04
   3  Normalizat    1.5791        .22317        .77088E-01    .64809E-04
   4  Prefactor     .89447        .10547        .44935E-01   -.17307E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 62.6945
  alpha      = 1.87522
  Normalizat = 1.57914
  Prefactor  = 0.894474
 **********
 **   18 **HESSE 
 **********

 FCN=   9755.997     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          62.695        14.299        .50679E-04   -1.4123    
   2  alpha         1.8752        .19683        .75198E-02   -.25259    
   3  Normalizat    1.5791        .26800        .34114E-03   -.75578    
   4  Prefactor     .89447        .12664        .20653E-03   -.96334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11501e-09
Minuit parameter uncertainties:
  1  14.3001
  2  0.197047
  3  0.268242
  4  0.126685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776211': 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) = 9755.99702297
delta logL = 2.15603237392

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  6.269e+01  1.430e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.875e+00  1.970e-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:  8.945e-01  1.267e-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.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 74.97
Ra Dec: 238.402 12.952
Photon Index (Free Index): 1.88 +/- 0.20
Photon Flux (Free Index): 2.06e-07 +/- 5.65e-08
Energy Flux (Free Index): 1.32e-04 +/- 3.99e-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/776211/cmap_HighResolution_239846401_240105601_4FGL_J1553.6+1257_daily_bin2.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.68e-07', energy_flux2='1.32e-04', photon_flux_error='5.93e-08', dlogl='2.16e+00', energy_flux='9.39e-05', photon_flux2='2.06e-07', job_status='DONE', time_completed='2021-09-12 17:14:17.655930', photon_index_error2='0.20', photon_index2='1.88', ts='71.13', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='3.99e-05', EG='1.51', time_epoch_completed='1631492057.66', return_code='0', job_id='776211', GAL2='0.89', EG2='1.58', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='5.65e-08', ts2='74.97', photon_index='2.30' WHERE bin_id='2' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:14:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 776211: <4FGL_J1553.6+1257_daily_bin2> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin2> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sun Sep 12 17:00:34 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:01:51 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:01:51 2021
Terminated at Sun Sep 12 17:14:18 2021
Results reported at Sun Sep 12 17:14:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin2 238.402 12.9524 239846401 240105601 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 :                                   670.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            824 sec.

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

