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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1248
RA = 238.402, Dec = 12.9524
tmin = 562809601, tmax = 563068801
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='785821', job_status='RUN', time_executed='2021-09-12 17:35:31.231494', time_epoch_executed='1631493331.23' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1248'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785821/ft1_4FGL_J1553.6+1257_daily_bin1248.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785821/ft2_4FGL_J1553.6+1257_daily_bin1248.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785821/ft1_4FGL_J1553.6+1257_daily_bin1248.fits outfile=/scratch/kocevski/785821/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1248.fits ra=238.402 dec=12.9524 rad=12.0 tmin=562809601.0 tmax=563068801.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.44
user 3.22
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785821/ft1_filtered_4FGL_J1553.6+1257_daily_bin1248.fits evtable="EVENTS" scfile=/scratch/kocevski/785821/ft2_4FGL_J1553.6+1257_daily_bin1248.fits sctable="SC_DATA" expcube=/scratch/kocevski/785821/ltcube_562809601_563068801_4FGL_J1553.6+1257_daily_bin1248.fits outfile=/scratch/kocevski/785821/expmap_562809601_563068801_4FGL_J1553.6+1257_daily_bin1248.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/785821/ltcube_562809601_563068801_4FGL_J1553.6+1257_daily_bin1248.fits
.....................!
real 195.03
user 188.85
sys 5.59

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/785821/ft1_filtered_4FGL_J1553.6+1257_daily_bin1248.fits scfile=/scratch/kocevski/785821/ft2_4FGL_J1553.6+1257_daily_bin1248.fits outfile=/scratch/kocevski/785821/cmap_562809601_563068801_4FGL_J1553.6+1257_daily_bin1248.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785821/ft1_filtered_4FGL_J1553.6+1257_daily_bin1248.fits scfile=/scratch/kocevski/785821/ft2_4FGL_J1553.6+1257_daily_bin1248.fits outfile=/scratch/kocevski/785821/cmap_HighResolution_562809601_563068801_4FGL_J1553.6+1257_daily_bin1248.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.58
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    45.539       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .19400E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.8593       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10530E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    58.238       1.0000         .10000E-03   10000.    
    11 'norm      '    .27055E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    2.3197       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    13.736       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    51.387       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.419       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.8260       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5268       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88634       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=   7520.077     FROM MIGRAD    STATUS=CONVERGED    792 CALLS     2633 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.217        .18142E-02** at limit **
   2  Prefactor     45.523        114.28        .59413E-04   -.27172E-05
   3  Prefactor     .10000E-03    14.786        .18142E-02** at limit **
   4  Prefactor     .10000E-03    251.83        .36479E-03** at limit **
   5  Prefactor     .10000E-03    47.921        .18142E-02** at limit **
   6  norm          .10000E-03    2.6358        .27004E-03** at limit **
   7  Prefactor     3.8591        7.3432        .20541E-03    .51914E-04
   8  Prefactor     .10000E-03    98.261        .18142E-02** at limit **
   9  norm          .10000E-03    1.9456        .11797E-02** at limit **
  10  Prefactor     58.236        55.041        .52571E-04   -.34601E-05
  11  norm          .10000E-03    10.256        .63151E-01** at limit **
  12  norm          2.3202        1.5278        .82915E-04   -.68145E-04
  13  Prefactor     .10000E-03    8.4726        .18142E-02** at limit **
  14  norm          13.734        17.039        .10807E-03   -.47338E-05
  15  norm          .10000E-03    118.57        .18142E-02** at limit **
  16  Prefactor     .10000E-03    4.3060        .17532E-02** at limit **
  17  Prefactor     51.370        48.528        .55947E-04   -.56898E-05
  18  Prefactor     13.417        16.617        .10934E-03    .28073E-05
  19  Prefactor     3.8249        8.4285        .20634E-03    .36585E-04
  20  Normalizat    1.5269        .30184        .33323E-03   -.78298E-04
  21  Prefactor     .88635        .14365        .19825E-03   -.15059E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 45.5226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.85909
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 58.2358
  norm       = 0.0001
  norm       = 2.3202
  Prefactor  = 0.0001
  norm       = 13.7337
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.3698
  Prefactor  = 13.4167
  Prefactor  = 3.82488
  Normalizat = 1.52692
  Prefactor  = 0.886347
 **********
 **   18 **HESSE 
 **********

 FCN=   7520.077     FROM HESSE     STATUS=OK           305 CALLS     2938 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.219        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     45.523        114.28        .11883E-04   -1.4358    
   3  Prefactor     .10000E-03    14.787        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    251.83        .72957E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    47.926        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.6359        .54009E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8591        7.3429        .82166E-05   -1.5315    
   8  Prefactor     .10000E-03    98.298        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.9457        .23595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     58.236        55.040        .10514E-04   -1.4180    
  11  norm          .10000E-03    8.6292        .70690E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3202        1.5263        .33166E-05   -1.5403    
  13  Prefactor     .10000E-03    8.4758        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.734        17.039        .43229E-05   -1.4967    
  15  norm          .10000E-03    118.57        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3068        .35064E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     51.370        48.524        .22379E-05   -1.4273    
  18  Prefactor     13.417        16.615        .43737E-05   -1.4975    
  19  Prefactor     3.8249        8.4270        .82535E-05   -1.5317    
  20  Normalizat    1.5269        .30225        .13329E-04   -.77025    
  21  Prefactor     .88635        .14381        .79301E-05   -.96620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93851e-11
Minuit parameter uncertainties:
  1  8.33002e-06
  2  114.84
  3  5.83991e-06
  4  5.42179e-05
  5  2.19717e-05
  6  1.07639e-05
  7  7.34464
  8  0.000564821
  9  1.49661e-06
  10  55.0886
  11  5.27824e-05
  12  1.52635
  13  1.14732e-05
  14  17.0455
  15  0.000384915
  16  3.14234e-06
  17  48.561
  18  16.6203
  19  8.4296
  20  0.302605
  21  0.143873
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  5.278e-05  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:  8.863e-01  1.439e-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.527e+00  3.026e-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: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.87e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785821/likelihoodResults_562809601_563068801_4FGL_J1553.6+1257_daily_bin1248.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7520.07683258
delta logL = -1.1962737517e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7520.07180373
delta logL = 0.00501689126213

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69276       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6753       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5277       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88514       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7520.072     FROM MIGRAD    STATUS=FAILED       108 CALLS      380 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68296        17.755        .40402E-02    .26067E-02
   2  alpha         1.6761        3.3284        .81128E-01   -.81434E-05
   3  Normalizat    1.5279        .29985        .33314E-03    .17063E-05
   4  Prefactor     .88506        .14216        .19837E-03    .23497E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7520.072     FROM SIMPLEX   STATUS=UNCHANGED     81 CALLS      461 TOTAL
                     EDM=   .91E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68296        17.755        .27946E-03   -1.5543    
   2  alpha         1.6761        3.3284        .47686E-02   -.33582    
   3  Normalizat    1.5279        .29985        .27303E-03   -.76998    
   4  Prefactor     .88506        .14216        .14327E-03   -.96665    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7520.072     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      493 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68296        19.220        .80804E-03    .42068E-05
   2  alpha         1.6761        3.3135        .32451E-02   -.10860E-06
   3  Normalizat    1.5279        .30012        .13326E-04    .17063E-05
   4  Prefactor     .88506        .14221        .79348E-05    .22924E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.682956
  alpha      = 1.67614
  Normalizat = 1.52788
  Prefactor  = 0.885058
 **********
 **   18 **HESSE 
 **********

 FCN=   7520.072     FROM HESSE     STATUS=OK            25 CALLS      518 TOTAL
                     EDM=   .27E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68296        19.033        .32322E-04   -1.5543    
   2  alpha         1.6761        3.3151        .12980E-03   -.33582    
   3  Normalizat    1.5279        .30019        .26651E-05   -.76998    
   4  Prefactor     .88506        .14222        .15870E-05   -.96665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6738e-14
Minuit parameter uncertainties:
  1  7.21272
  2  3.36785
  3  0.300538
  4  0.142281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785821': 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) = 7520.07180231
delta logL = 0.00501831227393

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  6.830e-01  7.213e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.676e+00  3.368e+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:  8.851e-01  1.423e-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.528e+00  3.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 238.402 12.952

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/785821/cmap_HighResolution_562809601_563068801_4FGL_J1553.6+1257_daily_bin1248.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-05', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-12 17:48:26.290008', job_id='785821', GAL2='0.89', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1631494106.29', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.02e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1248' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:48:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 785821: <4FGL_J1553.6+1257_daily_bin1248> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1248> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 17:35:16 2021
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:35:19 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:35:19 2021
Terminated at Sun Sep 12 17:48:27 2021
Results reported at Sun Sep 12 17:48:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1248 238.402 12.9524 562809601 563068801 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 :                                   690.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            791 sec.

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

