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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1542
RA = 238.402, Dec = 12.9524
tmin = 639014401, tmax = 639273601
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='788892', job_status='RUN', time_executed='2021-09-12 17:49:08.531873', time_epoch_executed='1631494148.53' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1542'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788892

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788892/ft1_4FGL_J1553.6+1257_daily_bin1542.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788892/ft2_4FGL_J1553.6+1257_daily_bin1542.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788892/ft1_4FGL_J1553.6+1257_daily_bin1542.fits outfile=/scratch/kocevski/788892/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1542.fits ra=238.402 dec=12.9524 rad=12.0 tmin=639014401.0 tmax=639273601.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 5.34
user 5.06
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/788892/ft2_4FGL_J1553.6+1257_daily_bin1542.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/788892/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1542.fits evtable="EVENTS" outfile="/scratch/kocevski/788892/ft1_filtered_4FGL_J1553.6+1257_daily_bin1542.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/788892/ft1_filtered_4FGL_J1553.6+1257_daily_bin1542.fits" evtable="EVENTS" scfile=/scratch/kocevski/788892/ft2_4FGL_J1553.6+1257_daily_bin1542.fits sctable="SC_DATA" outfile=/scratch/kocevski/788892/ltcube_639014401_639273601_4FGL_J1553.6+1257_daily_bin1542.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/788892/ft2_4FGL_J1553.6+1257_daily_bin1542.fits
.....................!
real 14.17
user 13.75
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788892/ft1_filtered_4FGL_J1553.6+1257_daily_bin1542.fits evtable="EVENTS" scfile=/scratch/kocevski/788892/ft2_4FGL_J1553.6+1257_daily_bin1542.fits sctable="SC_DATA" expcube=/scratch/kocevski/788892/ltcube_639014401_639273601_4FGL_J1553.6+1257_daily_bin1542.fits outfile=/scratch/kocevski/788892/expmap_639014401_639273601_4FGL_J1553.6+1257_daily_bin1542.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/788892/ltcube_639014401_639273601_4FGL_J1553.6+1257_daily_bin1542.fits
.....................!
real 192.10
user 187.03
sys 4.64

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/788892/ft1_filtered_4FGL_J1553.6+1257_daily_bin1542.fits scfile=/scratch/kocevski/788892/ft2_4FGL_J1553.6+1257_daily_bin1542.fits outfile=/scratch/kocevski/788892/cmap_639014401_639273601_4FGL_J1553.6+1257_daily_bin1542.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/788892/ft1_filtered_4FGL_J1553.6+1257_daily_bin1542.fits scfile=/scratch/kocevski/788892/ft2_4FGL_J1553.6+1257_daily_bin1542.fits outfile=/scratch/kocevski/788892/cmap_HighResolution_639014401_639273601_4FGL_J1553.6+1257_daily_bin1542.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=238.402 yref=12.9524 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    52.401       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27377E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4872       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    16.207       1.0000         .10000E-03   10000.    
    10 'Prefactor '    87.191       1.0000         .10000E-03   10000.    
    11 'norm      '    11.368       1.0000         .10000E-03   10000.    
    12 'norm      '    10.209       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2726       1.0000         .10000E-03   10000.    
    14 'norm      '    12.531       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1355       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.867       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.722       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6991       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .91675       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95654       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=   8161.824     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2204 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    69.560       -.12198E-04** at limit **
   2  Prefactor     .10000E-03    11.704        .71442E-05** at limit **
   3  Prefactor     52.399        30.112       -.84052E-06   -.48837E-04
   4  Prefactor     .10000E-03    12.657       -.21530E-05** at limit **
   5  Prefactor     .10113E-03    13.203        .41713E-05** at limit **
   6  norm          1.4871        1.9976       -.10727E-07   -.33910E-04
   7  Prefactor     .10000E-03    1.6365        .27191E-08** at limit **
   8  Prefactor     .10000E-03    11.486       -.50703E-05** at limit **
   9  norm          16.206        5.4830        .16111E-06   -.47922E-03
  10  Prefactor     87.186        72.746       -.43975E-05   -.11536E-03
  11  norm          11.369        9.7275        .54331E-06    .59675E-04
  12  norm          10.209        2.6044        .58616E-08   -.35065E-04
  13  Prefactor     2.2728        4.7108        .48829E-06   -.81602E-03
  14  norm          12.531        12.702        .55414E-07   -.15445E-03
  15  norm          .10000E-03    38.362       -.47449E-06** at limit **
  16  Prefactor     6.1359        10.188        .19714E-06   -.36731E-03
  17  Prefactor     11.867        18.896       -.70923E-07   -.43170E-04
  18  Prefactor     13.723        9.4440        .33522E-06    .73967E-04
  19  Prefactor     6.6992        6.4779        .10539E-05    .20333E-03
  20  Normalizat    .91679        .22130        .38234E-06   -.95384E-04
  21  Prefactor     .95650        .10677       -.28148E-06   -.15340E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 0.000100002
  Prefactor  = 52.3995
  Prefactor  = 0.0001
  Prefactor  = 0.000101134
  norm       = 1.48714
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 16.2065
  Prefactor  = 87.1858
  norm       = 11.3687
  norm       = 10.2094
  Prefactor  = 2.27285
  norm       = 12.5307
  norm       = 0.0001
  Prefactor  = 6.13592
  Prefactor  = 11.8674
  Prefactor  = 13.7228
  Prefactor  = 6.69924
  Normalizat = 0.916786
  Prefactor  = 0.956496
 **********
 **   18 **HESSE 
 **********

 FCN=   8161.824     FROM HESSE     STATUS=OK           319 CALLS     2523 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    69.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     52.399        30.277        .55405E-04   -1.4259    
   4  Prefactor     .10000E-03    12.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10113E-03    71.323        .57278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4871        1.9718        .14168E-03   -1.5464    
   7  Prefactor     .10000E-03    1.6549        .11283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.206        5.4542        .99486E-04   -1.4903    
  10  Prefactor     87.186        72.967        .43026E-04   -1.3838    
  11  norm          11.369        9.7186        .11882E-03   -1.5033    
  12  norm          10.209        2.6051        .70235E-04   -1.5069    
  13  Prefactor     2.2728        13.014        .13620E-02   -1.5406    
  14  norm          12.531        12.804        .56580E-03   -1.5000    
  15  norm          .10000E-03    38.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.1359        10.372        .81039E-03   -1.5213    
  17  Prefactor     11.867        18.932        .58144E-03   -1.5019    
  18  Prefactor     13.723        9.4458        .10813E-03   -1.4967    
  19  Prefactor     6.6992        6.4778        .15503E-03   -1.5190    
  20  Normalizat    .91679        .26783        .36822E-03   -.95873    
  21  Prefactor     .95650        .12840        .17812E-03   -.94194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.922e-08
Minuit parameter uncertainties:
  1  0.00120164
  2  0.000304988
  3  30.2863
  4  9.05833e-05
  5  0.0180056
  6  1.97185
  7  1.60735e-06
  8  0.000213161
  9  5.4544
  10  73.0421
  11  9.71994
  12  2.60509
  13  10.8807
  14  12.8065
  15  3.64347e-05
  16  10.3746
  17  18.9413
  18  9.44678
  19  6.47844
  20  0.268216
  21  0.128446
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.137e+01  9.720e+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:  9.565e-01  1.284e-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.168e-01  2.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.02
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 5.50e-08 +/- 4.70e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 1.65e-05

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

Saving results to:
/scratch/kocevski/788892/likelihoodResults_639014401_639273601_4FGL_J1553.6+1257_daily_bin1542.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) = 8160.49985268
delta logL = 1.32384949005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8160.48818771
delta logL = 1.33551445441

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3333       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6934       1.0000          .0000       5.0000    
     3 'Normalizat'    .80750       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99242       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=   8160.488     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      249 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3208        38.250        .48377E-02    .17634E-02
   2  alpha         3.6952        4.2928        .32263        .52414E-04
   3  Normalizat    .80758        .80724E-01    .87923E-01    .14479E-03
   4  Prefactor     .99236        .38435E-01    .46172E-01    .31255E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.32083
  alpha      = 3.69522
  Normalizat = 0.807577
  Prefactor  = 0.992358
 **********
 **   18 **HESSE 
 **********

 FCN=   8160.488     FROM HESSE     STATUS=OK            31 CALLS      280 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3208        24.957        .95163E-04   -1.5292    
   2  alpha         3.6952        4.1587        .13595E-01    .49848    
   3  Normalizat    .80758        .27944        .38940E-03   -.99788    
   4  Prefactor     .99236        .13700        .17511E-03   -.92985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22628e-08
Minuit parameter uncertainties:
  1  20.7816
  2  3.32085
  3  0.279936
  4  0.137051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788892': 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) = 8160.48818568
delta logL = 1.33551648246

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  4.321e+00  2.078e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  3.695e+00  3.321e+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:  9.924e-01  1.371e-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.076e-01  2.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 238.402 12.952
Photon Index (Free Index): 3.70 +/- 3.32
Photon Flux (Free Index): 1.31e-07 +/- 7.33e-08
Energy Flux (Free Index): 2.17e-05 +/- 1.87e-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/788892/cmap_HighResolution_639014401_639273601_4FGL_J1553.6+1257_daily_bin1542.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.23e-05', comment='SUCCESS', photon_flux='5.50e-08', energy_flux2='2.17e-05', photon_flux_error='4.70e-08', dlogl='1.34e+00', energy_flux='1.93e-05', photon_flux2='1.31e-07', job_status='DONE', time_completed='2021-09-12 18:00:47.510191', photon_index_error2='3.32', photon_index2='3.70', ts='2.02', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='1.87e-05', EG='0.92', time_epoch_completed='1631494847.51', return_code='0', job_id='788892', GAL2='0.99', EG2='0.81', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='7.33e-08', ts2='4.98', photon_index='2.30' WHERE bin_id='1542' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 18:00:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 788892: <4FGL_J1553.6+1257_daily_bin1542> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1542 238.402 12.9524 639014401 639273601 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 :                                   694.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            935 sec.

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

