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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin191
RA = 238.402, Dec = 12.9524
tmin = 288835201, tmax = 289094401
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='777558', job_status='RUN', time_executed='2021-09-12 17:08:11.048614', time_epoch_executed='1631491691.05' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='191'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/777558

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/777558/ft1_4FGL_J1553.6+1257_daily_bin191.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/777558/ft2_4FGL_J1553.6+1257_daily_bin191.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/777558/ft1_4FGL_J1553.6+1257_daily_bin191.fits outfile=/scratch/kocevski/777558/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin191.fits ra=238.402 dec=12.9524 rad=12.0 tmin=288835201.0 tmax=289094401.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 3.72
user 3.49
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/777558/ft1_filtered_4FGL_J1553.6+1257_daily_bin191.fits" evtable="EVENTS" scfile=/scratch/kocevski/777558/ft2_4FGL_J1553.6+1257_daily_bin191.fits sctable="SC_DATA" outfile=/scratch/kocevski/777558/ltcube_288835201_289094401_4FGL_J1553.6+1257_daily_bin191.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/777558/ft2_4FGL_J1553.6+1257_daily_bin191.fits
.....................!
real 12.65
user 12.24
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/777558/ft1_filtered_4FGL_J1553.6+1257_daily_bin191.fits evtable="EVENTS" scfile=/scratch/kocevski/777558/ft2_4FGL_J1553.6+1257_daily_bin191.fits sctable="SC_DATA" expcube=/scratch/kocevski/777558/ltcube_288835201_289094401_4FGL_J1553.6+1257_daily_bin191.fits outfile=/scratch/kocevski/777558/expmap_288835201_289094401_4FGL_J1553.6+1257_daily_bin191.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/777558/ltcube_288835201_289094401_4FGL_J1553.6+1257_daily_bin191.fits
.....................!
real 192.67
user 187.89
sys 4.25

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/777558/ft1_filtered_4FGL_J1553.6+1257_daily_bin191.fits scfile=/scratch/kocevski/777558/ft2_4FGL_J1553.6+1257_daily_bin191.fits outfile=/scratch/kocevski/777558/cmap_288835201_289094401_4FGL_J1553.6+1257_daily_bin191.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/777558/ft1_filtered_4FGL_J1553.6+1257_daily_bin191.fits scfile=/scratch/kocevski/777558/ft2_4FGL_J1553.6+1257_daily_bin191.fits outfile=/scratch/kocevski/777558/cmap_HighResolution_288835201_289094401_4FGL_J1553.6+1257_daily_bin191.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.857       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.128       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.876       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23934E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4226       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8712       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.847       1.0000         .10000E-03   10000.    
     9 'norm      '    7.2775       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .95698E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.0189       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.414       1.0000         .10000E-03   10000.    
    14 'norm      '    31.211       1.0000         .10000E-03   10000.    
    15 'norm      '    .14638E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11153E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.399       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2107       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .78220       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0979       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=   7982.439     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2240 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.881        63.909        .18339E-05    .12908E-03
   2  Prefactor     10.292        44.359       -.17691E-05   -.54971E-04
   3  Prefactor     23.911        36.031       -.11621E-05   -.11937E-03
   4  Prefactor     .10000E-03    71.428        .36072E-06** at limit **
   5  Prefactor     .10000E-03    18.275       -.17318E-06** at limit **
   6  norm          2.4228        2.4658        .91570E-07   -.31761E-04
   7  Prefactor     1.8712        3.4463        .22952E-06   -.91569E-04
   8  Prefactor     20.851        35.864        .67614E-06    .29925E-04
   9  norm          7.2775        4.3699        .95298E-06   -.49642E-03
  10  Prefactor     .10002E-03    399.51       -.92954E-05** at limit **
  11  norm          .10000E-03    5.4135       -.58777E-08** at limit **
  12  norm          4.0181        1.7414       -.10129E-07    .70340E-04
  13  Prefactor     20.409        12.318        .61779E-06    .31403E-03
  14  norm          31.219        17.301        .50367E-07    .73453E-05
  15  norm          .10000E-03    48.109       -.16515E-06** at limit **
  16  Prefactor     .10000E-03    10.165        .11586E-06** at limit **
  17  Prefactor     .10000E-03    24.366        .78259E-07** at limit **
  18  Prefactor     10.397        9.3717        .13927E-06    .13023E-03
  19  Prefactor     1.2108        6.0322        .24228E-05   -.13523E-03
  20  Normalizat    .78202        .25483       -.66775E-06   -.13401E-04
  21  Prefactor     1.0979        .11943       -.25248E-06    .16729E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.8808
  Prefactor  = 10.292
  Prefactor  = 23.9109
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.42277
  Prefactor  = 1.87117
  Prefactor  = 20.8507
  norm       = 7.2775
  Prefactor  = 0.000100023
  norm       = 0.0001
  norm       = 4.01815
  Prefactor  = 20.409
  norm       = 31.2195
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.3966
  Prefactor  = 1.21078
  Normalizat = 0.782025
  Prefactor  = 1.09786
 **********
 **   18 **HESSE 
 **********

 FCN=   7982.439     FROM HESSE     STATUS=OK           315 CALLS     2555 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.881        65.007        .44128E-04   -1.3885    
   2  Prefactor     10.292        45.170        .12591E-03   -1.5066    
   3  Prefactor     23.911        36.641        .81977E-04   -1.4730    
   4  Prefactor     .10000E-03    72.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4228        2.4532        .13556E-03   -1.5397    
   7  Prefactor     1.8712        3.4169        .21539E-03   -1.5434    
   8  Prefactor     20.851        35.814        .87725E-04   -1.4794    
   9  norm          7.2775        4.4140        .69996E-03   -1.5168    
  10  Prefactor     .10002E-03    418.82        .36311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.4517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.0181        1.7420        .75421E-04   -1.5307    
  13  Prefactor     20.409        12.457        .88648E-04   -1.4804    
  14  norm          31.219        17.297        .71721E-04   -1.4590    
  15  norm          .10000E-03    48.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.397        9.3903        .12425E-03   -1.5063    
  19  Prefactor     1.2108        6.1054        .41119E-03   -1.5488    
  20  Normalizat    .78202        .29178        .42259E-03   -1.0074    
  21  Prefactor     1.0979        .13832        .17519E-03   -.89535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94463e-10
Minuit parameter uncertainties:
  1  65.063
  2  43.1771
  3  36.6755
  4  4.95867e-05
  5  2.54415e-05
  6  2.45333
  7  3.41726
  8  35.8513
  9  4.41422
  10  0.00621979
  11  3.73819e-06
  12  1.74206
  13  12.4588
  14  17.2995
  15  5.14669e-05
  16  3.69335e-06
  17  8.20387e-06
  18  9.39167
  19  5.43841
  20  0.292369
  21  0.138362
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  3.738e-06  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.098e+00  1.384e-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:  7.820e-01  2.924e-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: 8.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/777558/likelihoodResults_288835201_289094401_4FGL_J1553.6+1257_daily_bin191.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) = 7982.44006016
delta logL = -0.000874106377523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7982.43918628
delta logL = -2.31185367738e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10247E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3170       1.0000          .0000       5.0000    
     3 'Normalizat'    .78188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0979       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=   7982.439     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      239 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.2586        .60351E-01** at limit **
   2  alpha         2.7437        3.3184        .82583E-01    .16520E-08
   3  Normalizat    .78202        .87677E-02    .42259E-03   -.34505E-03
   4  Prefactor     1.0979        .42717E-02    .17519E-03   -.84892E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.74375
  Normalizat = 0.782024
  Prefactor  = 1.09786
 **********
 **   18 **HESSE 
 **********

 FCN=   7982.439     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.7865        .33007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7437        2.8351        .33033E-02    .97653E-01
   3  Normalizat    .78202        .27868        .16903E-04   -1.0074    
   4  Prefactor     1.0979        .13599        .35039E-04   -.89535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10194e-10
Minuit parameter uncertainties:
  1  4.27809e-05
  2  227.855
  3  0.279192
  4  0.13603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/777558': 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) = 7982.43918434
delta logL = 1.71175906871e-06

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  4.278e-05  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.744e+00  2.279e+02  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.098e+00  1.360e-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:  7.820e-01  2.792e-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/777558/cmap_HighResolution_288835201_289094401_4FGL_J1553.6+1257_daily_bin191.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-05', job_status='DONE', photon_flux_upper_limit='8.50e-08', time_completed='2021-09-12 17:19:10.545336', job_id='777558', GAL2='1.10', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1631492350.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.71e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='191' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:19:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 777558: <4FGL_J1553.6+1257_daily_bin191> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin191> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 17:05:29 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:08:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 17:08:00 2021
Terminated at Sun Sep 12 17:19:11 2021
Results reported at Sun Sep 12 17:19:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin191 238.402 12.9524 288835201 289094401 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 :                                   654.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             354.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            822 sec.

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

