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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1106
RA = 238.402, Dec = 12.9524
tmin = 526003201, tmax = 526262401
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='784426', job_status='RUN', time_executed='2021-09-12 17:33:49.339470', time_epoch_executed='1631493229.34' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784426

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784426/ft1_4FGL_J1553.6+1257_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784426/ft2_4FGL_J1553.6+1257_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784426/ft1_4FGL_J1553.6+1257_daily_bin1106.fits outfile=/scratch/kocevski/784426/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1106.fits ra=238.402 dec=12.9524 rad=12.0 tmin=526003201.0 tmax=526262401.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.81
user 3.56
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784426/ft2_4FGL_J1553.6+1257_daily_bin1106.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/784426/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/784426/ft1_filtered_4FGL_J1553.6+1257_daily_bin1106.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/784426/ft1_filtered_4FGL_J1553.6+1257_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/784426/ft2_4FGL_J1553.6+1257_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/784426/ltcube_526003201_526262401_4FGL_J1553.6+1257_daily_bin1106.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/784426/ft2_4FGL_J1553.6+1257_daily_bin1106.fits
.....................!
real 13.68
user 13.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784426/ft1_filtered_4FGL_J1553.6+1257_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/784426/ft2_4FGL_J1553.6+1257_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/784426/ltcube_526003201_526262401_4FGL_J1553.6+1257_daily_bin1106.fits outfile=/scratch/kocevski/784426/expmap_526003201_526262401_4FGL_J1553.6+1257_daily_bin1106.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/784426/ltcube_526003201_526262401_4FGL_J1553.6+1257_daily_bin1106.fits
.....................!
real 191.80
user 186.22
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/784426/ft1_filtered_4FGL_J1553.6+1257_daily_bin1106.fits scfile=/scratch/kocevski/784426/ft2_4FGL_J1553.6+1257_daily_bin1106.fits outfile=/scratch/kocevski/784426/cmap_526003201_526262401_4FGL_J1553.6+1257_daily_bin1106.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784426/ft1_filtered_4FGL_J1553.6+1257_daily_bin1106.fits scfile=/scratch/kocevski/784426/ft2_4FGL_J1553.6+1257_daily_bin1106.fits outfile=/scratch/kocevski/784426/cmap_HighResolution_526003201_526262401_4FGL_J1553.6+1257_daily_bin1106.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.42
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    110.26       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12772E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.466       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13326E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10475E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.406       1.0000         .10000E-03   10000.    
    11 'norm      '    28.653       1.0000         .10000E-03   10000.    
    12 'norm      '    4.0735       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .18250E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.9203       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10457E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.5591       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.5437       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0967       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97924       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=   8865.788     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2223 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     110.31        66.468       -.29130E-05   -.93505E-05
   2  Prefactor     .10000E-03    11.390       -.53251E-06** at limit **
   3  Prefactor     .10000E-03    51.981       -.53512E-06** at limit **
   4  Prefactor     35.483        33.900       -.13679E-05   -.44501E-05
   5  Prefactor     .10000E-03    7.1238       -.34658E-07** at limit **
   6  norm          .10000E-03    1.9445        .40999E-07** at limit **
   7  Prefactor     .84200E-01    1.6484        .23925E-06   -.37220E-03
   8  Prefactor     .10000E-03    17.045       -.20786E-06** at limit **
   9  norm          .10000E-03    1.0029       -.59910E-07** at limit **
  10  Prefactor     25.353        48.865        .53962E-05    .59481E-05
  11  norm          28.657        11.629       -.57938E-07   -.12265E-04
  12  norm          4.0734        1.6388       -.38615E-07   -.38851E-04
  13  Prefactor     .10000E-03    11.466        .48757E-06** at limit **
  14  norm          .10000E-03    30.020        .78602E-06** at limit **
  15  norm          .10000E-03    43.325       -.14231E-05** at limit **
  16  Prefactor     5.9324        12.297       -.13441E-06   -.18239E-05
  17  Prefactor     .10000E-03    36.452        .15102E-06** at limit **
  18  Prefactor     2.5616        9.1090        .25617E-05    .11995E-04
  19  Prefactor     7.5452        10.151        .21468E-06    .89527E-05
  20  Normalizat    1.0957        .22932       -.52714E-06   -.26194E-04
  21  Prefactor     .97941        .10513        .32679E-06   -.46104E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 110.314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.4834
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0842005
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.3528
  norm       = 28.6566
  norm       = 4.07342
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.93238
  Prefactor  = 0.0001
  Prefactor  = 2.5616
  Prefactor  = 7.54522
  Normalizat = 1.09575
  Prefactor  = 0.979413
 **********
 **   18 **HESSE 
 **********

 FCN=   8865.788     FROM HESSE     STATUS=OK           317 CALLS     2540 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     110.31        66.714        .19153E-03   -1.3603    
   2  Prefactor     .10000E-03    11.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    52.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     35.483        34.004        .67293E-04   -1.4516    
   5  Prefactor     .10000E-03    7.1271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.0070        .25597E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .84200E-01    31.474        .22857E-02   -1.5650    
   8  Prefactor     .10000E-03    17.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.0119        .92072E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.353        48.918        .79475E-04   -1.4701    
  11  norm          28.657        11.630        .74845E-04   -1.4637    
  12  norm          4.0734        1.6400        .73988E-04   -1.5304    
  13  Prefactor     .10000E-03    11.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    30.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    43.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.9324        12.297        .16504E-03   -1.5221    
  17  Prefactor     .10000E-03    36.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.5616        9.1692        .12760E-02   -1.5388    
  19  Prefactor     7.5452        10.122        .73007E-03   -1.5159    
  20  Normalizat    1.0957        .27483        .36844E-03   -.89889    
  21  Prefactor     .97941        .12813        .18247E-03   -.93419    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23259e-09
Minuit parameter uncertainties:
  1  66.7598
  2  3.89925e-06
  3  8.89344e-05
  4  34.0224
  5  3.16587e-06
  6  2.27143e-06
  7  3.25563
  8  1.50536e-05
  9  1.89274e-06
  10  48.9959
  11  11.6307
  12  1.64006
  13  3.60321e-06
  14  0.000103833
  15  1.66292e-05
  16  12.3026
  17  3.17016e-05
  18  9.17421
  19  10.1238
  20  0.275193
  21  0.128169
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  2.866e+01  1.163e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  9.794e-01  1.282e-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.096e+00  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.47
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 1.39e-07 +/- 5.63e-08
Energy Flux (Fixed Index): 4.87e-05 +/- 1.98e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8865.57523045
delta logL = 0.213241978183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8865.57417412
delta logL = 0.214298308569

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.452       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5758       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0492       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99310       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=   8865.574     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      261 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.441        146.62        .19473E-02    .64941E-03
   2  alpha         2.5753        3.7876        .29109        .49996E-04
   3  Normalizat    1.0488        .16836        .84795E-01   -.46546E-04
   4  Prefactor     .99332        .55522E-01    .46181E-01   -.56838E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 26.4412
  alpha      = 2.57532
  Normalizat = 1.04876
  Prefactor  = 0.993315
 **********
 **   18 **HESSE 
 **********

 FCN=   8865.574     FROM HESSE     STATUS=OK            31 CALLS      292 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.441        11.946        .38945E-03   -1.4679    
   2  alpha         2.5753        .44444        .11323E-01    .30134E-01
   3  Normalizat    1.0488        .27600        .37545E-03   -.91414    
   4  Prefactor     .99332        .12689        .18131E-03   -.92953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81196e-09
Minuit parameter uncertainties:
  1  11.9468
  2  0.446817
  3  0.276378
  4  0.126926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784426': 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) = 8865.57416991
delta logL = 0.214302518976

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  2.644e+01  1.195e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.575e+00  4.468e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  9.933e-01  1.269e-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.049e+00  2.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.03
Ra Dec: 238.402 12.952
Photon Index (Free Index): 2.58 +/- 0.45
Photon Flux (Free Index): 1.75e-07 +/- 8.40e-08
Energy Flux (Free Index): 4.75e-05 +/- 1.83e-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/784426/cmap_HighResolution_526003201_526262401_4FGL_J1553.6+1257_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.39e-07', energy_flux2='4.75e-05', photon_flux_error='5.63e-08', dlogl='2.14e-01', energy_flux='4.87e-05', photon_flux2='1.75e-07', job_status='DONE', time_completed='2021-09-12 17:46:44.643674', photon_index_error2='0.45', photon_index2='2.58', ts='11.47', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.83e-05', EG='1.10', time_epoch_completed='1631494004.64', return_code='0', job_id='784426', GAL2='0.99', EG2='1.05', return_code2='0', energy_flux_error='1.98e-05', photon_flux_error2='8.40e-08', ts2='12.03', photon_index='2.30' WHERE bin_id='1106' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:46:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 784426: <4FGL_J1553.6+1257_daily_bin1106> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1106> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 17:30:23 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:31:02 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:31:02 2021
Terminated at Sun Sep 12 17:46:45 2021
Results reported at Sun Sep 12 17:46:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1106 238.402 12.9524 526003201 526262401 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 :                                   637.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            982 sec.

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

