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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1552
RA = 238.402, Dec = 12.9524
tmin = 641606401, tmax = 641865601
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='787349', job_status='RUN', time_executed='2021-09-12 17:42:47.828987', time_epoch_executed='1631493767.83' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1552'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/787349

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/787349/ft1_4FGL_J1553.6+1257_daily_bin1552.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/787349/ft2_4FGL_J1553.6+1257_daily_bin1552.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/787349/ft1_4FGL_J1553.6+1257_daily_bin1552.fits outfile=/scratch/kocevski/787349/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1552.fits ra=238.402 dec=12.9524 rad=12.0 tmin=641606401.0 tmax=641865601.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 2.61
user 2.40
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/787349/ft2_4FGL_J1553.6+1257_daily_bin1552.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/787349/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1552.fits evtable="EVENTS" outfile="/scratch/kocevski/787349/ft1_filtered_4FGL_J1553.6+1257_daily_bin1552.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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/787349/ft1_filtered_4FGL_J1553.6+1257_daily_bin1552.fits" evtable="EVENTS" scfile=/scratch/kocevski/787349/ft2_4FGL_J1553.6+1257_daily_bin1552.fits sctable="SC_DATA" outfile=/scratch/kocevski/787349/ltcube_641606401_641865601_4FGL_J1553.6+1257_daily_bin1552.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/787349/ft2_4FGL_J1553.6+1257_daily_bin1552.fits
.....................!
real 14.88
user 14.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/787349/ft1_filtered_4FGL_J1553.6+1257_daily_bin1552.fits evtable="EVENTS" scfile=/scratch/kocevski/787349/ft2_4FGL_J1553.6+1257_daily_bin1552.fits sctable="SC_DATA" expcube=/scratch/kocevski/787349/ltcube_641606401_641865601_4FGL_J1553.6+1257_daily_bin1552.fits outfile=/scratch/kocevski/787349/expmap_641606401_641865601_4FGL_J1553.6+1257_daily_bin1552.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/787349/ltcube_641606401_641865601_4FGL_J1553.6+1257_daily_bin1552.fits
.....................!
real 191.41
user 186.24
sys 4.52

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/787349/ft1_filtered_4FGL_J1553.6+1257_daily_bin1552.fits scfile=/scratch/kocevski/787349/ft2_4FGL_J1553.6+1257_daily_bin1552.fits outfile=/scratch/kocevski/787349/cmap_641606401_641865601_4FGL_J1553.6+1257_daily_bin1552.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.38
sys 0.15

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

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35646       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    54.341       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.3666       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.548       1.0000         .10000E-03   10000.    
     9 'norm      '    5.7986       1.0000         .10000E-03   10000.    
    10 'Prefactor '    73.359       1.0000         .10000E-03   10000.    
    11 'norm      '    .83711E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.9837       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10607E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11548E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .81949E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .96563       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1033       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=   9417.513     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2348 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14813E-02    53.316       -.64903E-05** at limit **
   2  Prefactor     .10000E-03    41.358       -.13361E-04** at limit **
   3  Prefactor     54.339        37.852        .33684E-04    .75855E-04
   4  Prefactor     .10000E-03    12.782       -.14632E-06** at limit **
   5  Prefactor     .10000E-03    9.7056        .46261E-09** at limit **
   6  norm          7.3658        3.0469       -.24746E-06   -.34336E-03
   7  Prefactor     .10000E-03    2.1767        .24351E-07** at limit **
   8  Prefactor     21.538        24.506        .93683E-05   -.43511E-04
   9  norm          5.7980        4.4126       -.43601E-06   -.34736E-03
  10  Prefactor     73.312        67.519        .41921E-04   -.26890E-04
  11  norm          .10009E-03    5.2065        .39578E-06** at limit **
  12  norm          7.9833        2.5451       -.46887E-06   -.37000E-03
  13  Prefactor     .10000E-03    2.9639        .15211E-06** at limit **
  14  norm          .10000E-03    46.988        .41752E-06** at limit **
  15  norm          .10000E-03    42.424        .13053E-04** at limit **
  16  Prefactor     .10002E-03    4.5769        .25067E-05** at limit **
  17  Prefactor     .10000E-03    10.319        .11514E-06** at limit **
  18  Prefactor     .10008E-03    7.8247        .23999E-05** at limit **
  19  Prefactor     .10000E-03    15.746        .16006E-06** at limit **
  20  Normalizat    .96633        .23713       -.15417E-04   -.14185E-03
  21  Prefactor     1.1032        .10854        .16433E-05   -.14830E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00148126
  Prefactor  = 0.0001
  Prefactor  = 54.3391
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.36584
  Prefactor  = 0.0001
  Prefactor  = 21.5385
  norm       = 5.79803
  Prefactor  = 73.3121
  norm       = 0.000100086
  norm       = 7.98326
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100024
  Prefactor  = 0.0001
  Prefactor  = 0.000100078
  Prefactor  = 0.0001
  Normalizat = 0.96633
  Prefactor  = 1.10319
 **********
 **   18 **HESSE 
 **********

 FCN=   9417.513     FROM HESSE     STATUS=OK           331 CALLS     2679 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14813E-02    44.806        .16876       -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    41.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     54.339        38.007        .54413E-04   -1.4232    
   4  Prefactor     .10000E-03    12.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.7077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.3658        3.0158        .10388E-03   -1.5165    
   7  Prefactor     .10000E-03    2.1935        .13980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.538        24.499        .86286E-04   -1.4779    
   9  norm          5.7980        4.4104        .16679E-03   -1.5226    
  10  Prefactor     73.312        67.445        .23438E-03   -1.3993    
  11  norm          .10009E-03    44.760        .40164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.9833        2.4640        .81211E-04   -1.5143    
  13  Prefactor     .10000E-03    2.9772        .16314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    48.627        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    42.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    32.088        .39173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10008E-03    11.270        .74457E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.095        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .96633        .27184        .39036E-03   -.94167    
  21  Prefactor     1.1032        .12875        .17866E-03   -.89365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27292e-09
Minuit parameter uncertainties:
  1  0.497923
  2  5.46423e-05
  3  38.0237
  4  7.01139e-05
  5  1.57356e-06
  6  3.01588
  7  4.6468e-06
  8  24.5102
  9  4.41066
  10  67.5153
  11  0.00392264
  12  2.464
  13  2.24501e-05
  14  0.000468424
  15  7.54839e-06
  16  0.00177083
  17  3.03605e-05
  18  0.00187754
  19  0.000102942
  20  0.272225
  21  0.128789
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.103e+00  1.288e-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.663e-01  2.722e-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.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/787349/likelihoodResults_641606401_641865601_4FGL_J1553.6+1257_daily_bin1552.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) = 9417.51271948
delta logL = -0.000105243261714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9417.40636621
delta logL = 0.106248028202

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2941       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5934       1.0000          .0000       5.0000    
     3 'Normalizat'    .92987       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1122       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=   9417.406     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      299 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2935        280.50        .22372E-03   -.80371E-03
   2  alpha         3.5934        4.2571        .44471E-01   -.17190E-04
   3  Normalizat    .92986        .21532        .39697E-03   -.41938E-03
   4  Prefactor     1.1123        .10877        .17794E-03   -.80816E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29345
  alpha      = 3.59344
  Normalizat = 0.929856
  Prefactor  = 1.11225
 **********
 **   18 **HESSE 
 **********

 FCN=   9417.406     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2935        5.3437        .89489E-05   -1.5481    
   2  alpha         3.5934        3.8041        .17788E-02    .45268    
   3  Normalizat    .92986        .26926        .15879E-04   -.95419    
   4  Prefactor     1.1123        .12773        .35587E-04   -.89076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09567e-10
Minuit parameter uncertainties:
  1  5.25867
  2  2.48111
  3  0.26965
  4  0.127768
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/787349': 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) = 9417.40636619
delta logL = 0.106248050719

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.293e+00  5.259e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  3.593e+00  2.481e+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:  1.112e+00  1.278e-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.299e-01  2.696e-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/787349/cmap_HighResolution_641606401_641865601_4FGL_J1553.6+1257_daily_bin1552.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.76e-05', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-09-12 17:55:13.246597', job_id='787349', GAL2='1.11', fit_tolerance='1e-08', EG2='0.93', EG='0.97', time_epoch_completed='1631494513.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.06e-01', ts2='0.25', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1552' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:55:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 787349: <4FGL_J1553.6+1257_daily_bin1552> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1552> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 17:40:13 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:40:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 17:40:18 2021
Terminated at Sun Sep 12 17:55:14 2021
Results reported at Sun Sep 12 17:55:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1552 238.402 12.9524 641606401 641865601 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 :                                   738.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            901 sec.

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

