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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin974
RA = 238.402, Dec = 12.9524
tmin = 491788801, tmax = 492048001
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='783387', job_status='RUN', time_executed='2021-09-12 17:28:32.811314', time_epoch_executed='1631492912.81' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='974'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/783387

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/783387/ft1_4FGL_J1553.6+1257_daily_bin974.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/783387/ft2_4FGL_J1553.6+1257_daily_bin974.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/783387/ft1_4FGL_J1553.6+1257_daily_bin974.fits outfile=/scratch/kocevski/783387/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin974.fits ra=238.402 dec=12.9524 rad=12.0 tmin=491788801.0 tmax=492048001.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 4.24
user 3.98
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/783387/ft1_filtered_4FGL_J1553.6+1257_daily_bin974.fits evtable="EVENTS" scfile=/scratch/kocevski/783387/ft2_4FGL_J1553.6+1257_daily_bin974.fits sctable="SC_DATA" expcube=/scratch/kocevski/783387/ltcube_491788801_492048001_4FGL_J1553.6+1257_daily_bin974.fits outfile=/scratch/kocevski/783387/expmap_491788801_492048001_4FGL_J1553.6+1257_daily_bin974.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/783387/ltcube_491788801_492048001_4FGL_J1553.6+1257_daily_bin974.fits
.....................!
real 191.57
user 186.79
sys 4.35

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/783387/ft1_filtered_4FGL_J1553.6+1257_daily_bin974.fits scfile=/scratch/kocevski/783387/ft2_4FGL_J1553.6+1257_daily_bin974.fits outfile=/scratch/kocevski/783387/cmap_491788801_492048001_4FGL_J1553.6+1257_daily_bin974.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/783387/ft1_filtered_4FGL_J1553.6+1257_daily_bin974.fits scfile=/scratch/kocevski/783387/ft2_4FGL_J1553.6+1257_daily_bin974.fits outfile=/scratch/kocevski/783387/cmap_HighResolution_491788801_492048001_4FGL_J1553.6+1257_daily_bin974.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    89.059       1.0000         .10000E-03   10000.    
     4 'Prefactor '    78.166       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.7449       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.2885       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .40158E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.2912       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    45.856       1.0000         .10000E-03   10000.    
    15 'norm      '    .11735E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1958       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1576       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=   1106.285     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     2126 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    55.804       -.39056E-04** at limit **
   2  Prefactor     .10000E-03    84.017        .79543E-04** at limit **
   3  Prefactor     89.089        122.67        .27606E-04   -.31555E-04
   4  Prefactor     78.218        147.87        .54555E-04   -.32114E-04
   5  Prefactor     .10000E-03    45.164        .43112E-04** at limit **
   6  norm          .10000E-03    6.7298       -.13198E-06** at limit **
   7  Prefactor     7.7402        16.966        .17471E-05   -.58575E-04
   8  Prefactor     .10000E-03    67.407       -.17770E-04** at limit **
   9  norm          8.2877        19.329        .26696E-05   -.58875E-04
  10  Prefactor     .10000E-03    237.36       -.50876E-04** at limit **
  11  norm          .10003E-03    166.43        .34743E-04** at limit **
  12  norm          3.2917        6.9834       -.18577E-05   -.31790E-03
  13  Prefactor     .10000E-03    14.134       -.25064E-06** at limit **
  14  norm          45.906        71.330        .48895E-04   -.65774E-04
  15  norm          .10000E-03    274.16       -.17341E-03** at limit **
  16  Prefactor     .10000E-03    15.113        .63994E-06** at limit **
  17  Prefactor     .10000E-03    191.02        .99925E-04** at limit **
  18  Prefactor     .10000E-03    57.000       -.40821E-04** at limit **
  19  Prefactor     .10000E-03    27.013       -.27014E-05** at limit **
  20  Normalizat    1.1946        .78368       -.47039E-04    .10318E-04
  21  Prefactor     1.1582        .35506        .38963E-05   -.29238E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 89.089
  Prefactor  = 78.2184
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.74019
  Prefactor  = 0.0001
  norm       = 8.28774
  Prefactor  = 0.0001
  norm       = 0.000100025
  norm       = 3.29169
  Prefactor  = 0.0001
  norm       = 45.9058
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19462
  Prefactor  = 1.1582
 **********
 **   18 **HESSE 
 **********

 FCN=   1106.285     FROM HESSE     STATUS=OK           307 CALLS     2433 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    55.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    84.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     89.089        123.52        .21288E-03   -1.3817    
   4  Prefactor     78.218        148.74        .22711E-03   -1.3937    
   5  Prefactor     .10000E-03    45.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.7595        .84273E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.7402        16.969        .14409E-03   -1.5151    
   8  Prefactor     .10000E-03    67.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.2877        19.287        .13925E-03   -1.5132    
  10  Prefactor     .10000E-03    237.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10003E-03    169.64        .42524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.2917        6.9599        .12323E-03   -1.5345    
  13  Prefactor     .10000E-03    14.138        .12217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          45.906        71.249        .59209E-04   -1.4352    
  15  norm          .10000E-03    274.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.118        .12633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    191.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    57.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    27.021        .16893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1946        .91499        .40710E-03   -.86769    
  21  Prefactor     1.1582        .41844        .19578E-03   -.87628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12276e-09
Minuit parameter uncertainties:
  1  4.18435e-05
  2  7.57097e-05
  3  123.879
  4  149.456
  5  2.13237e-05
  6  3.57439e-05
  7  16.9798
  8  0.000265977
  9  19.3015
  10  0.000150116
  11  0.00414008
  12  6.9616
  13  2.11886e-05
  14  71.382
  15  2.69303e-05
  16  2.85492e-05
  17  0.000348692
  18  0.000136071
  19  2.39649e-05
  20  0.927691
  21  0.419642
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  4.140e-03  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.158e+00  4.196e-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.195e+00  9.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 238.402 12.952
Photon Flux Upper Limit: 5.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.84e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/783387/likelihoodResults_491788801_492048001_4FGL_J1553.6+1257_daily_bin974.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) = 1106.28503612
delta logL = -2.79644136754e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1106.28500825
delta logL = -9.18273599382e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2766       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1947       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1582       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1105.511     FROM MIGRAD    STATUS=CONVERGED    136 CALLS      313 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2481        1.3613        .36863E-04    .38473E-04
   2  alpha         5.0000        4.9173        .39065E-01** at limit **
   3  Normalizat    .83198        .88149        .47599E-03   -.32841E-05
   4  Prefactor     1.2673        .41771        .18790E-03    .70609E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.2481
  alpha      = 5
  Normalizat = 0.831978
  Prefactor  = 1.2673
 **********
 **   18 **HESSE 
 **********

 FCN=   1105.511     FROM HESSE     STATUS=OK            23 CALLS      336 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2481        1.3333        .14745E-05   -1.5485    
   2  alpha         5.0000        4.9184        .15626E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .83198        .88201        .19039E-04   -.98893    
   4  Prefactor     1.2673        .41796        .37581E-04   -.84285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04895e-10
Minuit parameter uncertainties:
  1  1.33331
  2  4.58982e-05
  3  0.897933
  4  0.419065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/783387': 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) = 1105.51065063
delta logL = 0.774357529542

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.248e+00  1.333e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  5.000e+00  4.590e-05  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.267e+00  4.191e-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:  8.320e-01  8.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.71
Ra Dec: 238.402 12.952
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 2.87e-07 +/- 3.05e-07
Energy Flux (Free Index): 3.91e-05 +/- 4.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/783387/cmap_HighResolution_491788801_492048001_4FGL_J1553.6+1257_daily_bin974.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.84e-04', comment='SUCCESS', energy_flux2='3.91e-05', dlogl='7.74e-01', photon_flux2='2.87e-07', job_status='DONE', time_completed='2021-09-12 17:34:46.767416', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='5.24e-07', energy_flux_error2='4.17e-05', EG='1.19', time_epoch_completed='1631493286.77', return_code='0', job_id='783387', GAL2='1.27', EG2='0.83', return_code2='0', photon_flux_error2='3.05e-07', ts2='1.71', photon_index='2.30' WHERE bin_id='974' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:34:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 783387: <4FGL_J1553.6+1257_daily_bin974> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin974> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 17:25:36 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:28:18 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:28:18 2021
Terminated at Sun Sep 12 17:34:47 2021
Results reported at Sun Sep 12 17:34:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin974 238.402 12.9524 491788801 492048001 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 :                                   370.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   389 sec.
    Turnaround time :                            551 sec.

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

