/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 206 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 = 6613
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1553.6+1257_daily_bin92
RA = 238.402, Dec = 12.9524
tmin = 263174401, tmax = 263433601
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='777414', job_status='RUN', time_executed='2021-09-12 17:09:46.462021', time_epoch_executed='1631491786.46' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='92'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/777414

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/777414/ft1_4FGL_J1553.6+1257_daily_bin92.fits


Retrieving the FT1 file...

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

Retrieving 42 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/777414/ft2_4FGL_J1553.6+1257_daily_bin92.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/777414/ft1_4FGL_J1553.6+1257_daily_bin92.fits outfile=/scratch/kocevski/777414/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin92.fits ra=238.402 dec=12.9524 rad=12.0 tmin=263174401.0 tmax=263433601.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 1.38
user 1.21
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/777414/ft2_4FGL_J1553.6+1257_daily_bin92.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/777414/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin92.fits evtable="EVENTS" outfile="/scratch/kocevski/777414/ft1_filtered_4FGL_J1553.6+1257_daily_bin92.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/777414/ft1_filtered_4FGL_J1553.6+1257_daily_bin92.fits" evtable="EVENTS" scfile=/scratch/kocevski/777414/ft2_4FGL_J1553.6+1257_daily_bin92.fits sctable="SC_DATA" outfile=/scratch/kocevski/777414/ltcube_263174401_263433601_4FGL_J1553.6+1257_daily_bin92.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/777414/ft2_4FGL_J1553.6+1257_daily_bin92.fits
.....................!
real 14.32
user 13.84
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/777414/ft1_filtered_4FGL_J1553.6+1257_daily_bin92.fits evtable="EVENTS" scfile=/scratch/kocevski/777414/ft2_4FGL_J1553.6+1257_daily_bin92.fits sctable="SC_DATA" expcube=/scratch/kocevski/777414/ltcube_263174401_263433601_4FGL_J1553.6+1257_daily_bin92.fits outfile=/scratch/kocevski/777414/expmap_263174401_263433601_4FGL_J1553.6+1257_daily_bin92.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/777414/ltcube_263174401_263433601_4FGL_J1553.6+1257_daily_bin92.fits
.....................!
real 192.81
user 185.98
sys 6.10

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/777414/ft1_filtered_4FGL_J1553.6+1257_daily_bin92.fits scfile=/scratch/kocevski/777414/ft2_4FGL_J1553.6+1257_daily_bin92.fits outfile=/scratch/kocevski/777414/cmap_263174401_263433601_4FGL_J1553.6+1257_daily_bin92.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/777414/ft1_filtered_4FGL_J1553.6+1257_daily_bin92.fits scfile=/scratch/kocevski/777414/ft2_4FGL_J1553.6+1257_daily_bin92.fits outfile=/scratch/kocevski/777414/cmap_HighResolution_263174401_263433601_4FGL_J1553.6+1257_daily_bin92.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.373       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    57.180       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.2849       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.266       1.0000         .10000E-03   10000.    
     9 'norm      '    4.9438       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    16.511       1.0000         .10000E-03   10000.    
    12 'norm      '    2.5931       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .26792E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7650       1.0000         .10000E-03   10000.    
    17 'Prefactor '    46.035       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12711E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1573       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1401       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0472       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=   9043.388     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2243 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.373        28.638       -.36282E-07    .32748E-05
   2  Prefactor     .10000E-03    24.761       -.26775E-05** at limit **
   3  Prefactor     57.170        41.417       -.72344E-05    .10286E-04
   4  Prefactor     .10000E-03    82.505        .17743E-05** at limit **
   5  Prefactor     .10000E-03    15.072        .45340E-06** at limit **
   6  norm          3.2849        2.1362        .13327E-06    .48320E-04
   7  Prefactor     .10000E-03    2.5879       -.62897E-07** at limit **
   8  Prefactor     36.256        35.422       -.62739E-05   -.85058E-05
   9  norm          4.9441        3.5349       -.17465E-06   -.11103E-04
  10  Prefactor     .10000E-03    44.643        .50104E-05** at limit **
  11  norm          16.512        8.1372       -.85058E-07    .78592E-05
  12  norm          2.5932        1.4510       -.29707E-07   -.10723E-04
  13  Prefactor     .10011E-03    3.7421        .83594E-06** at limit **
  14  norm          .10000E-03    5.1818       -.19804E-07** at limit **
  15  norm          .10000E-03    42.437       -.45348E-05** at limit **
  16  Prefactor     1.7634        12.452       -.10130E-05   -.19082E-03
  17  Prefactor     46.021        33.081       -.72721E-05    .15383E-04
  18  Prefactor     .10000E-03    16.320       -.94343E-06** at limit **
  19  Prefactor     1.1527        2.7676        .39934E-06   -.44086E-03
  20  Normalizat    1.1403        .23940        .36278E-05   -.10696E-03
  21  Prefactor     1.0471        .11061       -.33183E-07    .59925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.3729
  Prefactor  = 0.0001
  Prefactor  = 57.1697
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 3.28492
  Prefactor  = 0.0001
  Prefactor  = 36.2559
  norm       = 4.94414
  Prefactor  = 0.0001
  norm       = 16.5118
  norm       = 2.5932
  Prefactor  = 0.000100114
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.76343
  Prefactor  = 46.021
  Prefactor  = 0.000100001
  Prefactor  = 1.15273
  Normalizat = 1.14031
  Prefactor  = 1.04708
 **********
 **   18 **HESSE 
 **********

 FCN=   9043.388     FROM HESSE     STATUS=OK           319 CALLS     2562 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.373        28.641        .81139E-04   -1.4720    
   2  Prefactor     .10000E-03    24.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     57.170        41.739        .53052E-04   -1.4194    
   4  Prefactor     .10000E-03    83.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.2849        2.1354        .10815E-03   -1.5345    
   7  Prefactor     .10000E-03    2.6389        .14927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     36.256        35.439        .66549E-04   -1.4503    
   9  norm          4.9441        3.5334        .14580E-03   -1.5263    
  10  Prefactor     .10000E-03    44.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.512        8.1350        .98566E-04   -1.4895    
  12  norm          2.5932        1.4518        .83098E-04   -1.5386    
  13  Prefactor     .10011E-03    25.906        .35319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.1994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    42.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7634        14.719        .15766E-02   -1.5442    
  17  Prefactor     46.021        33.094        .59094E-04   -1.4350    
  18  Prefactor     .10000E-03    16.885        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.1527        10.907        .21447E-02   -1.5493    
  20  Normalizat    1.1403        .28395        .37206E-03   -.88468    
  21  Prefactor     1.0471        .13298        .18613E-03   -.91176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35536e-09
Minuit parameter uncertainties:
  1  28.6572
  2  1.95307e-05
  3  41.7605
  4  0.000900777
  5  1.6755e-05
  6  2.13549
  7  1.20924e-05
  8  35.4594
  9  3.53356
  10  5.26083e-05
  11  8.13558
  12  1.45182
  13  0.00343499
  14  5.58996e-06
  15  6.46473e-06
  16  10.1925
  17  33.1074
  18  0.000206862
  19  7.09308
  20  0.284337
  21  0.133024
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.651e+01  8.136e+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:  1.047e+00  1.330e-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.140e+00  2.843e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.03
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 7.99e-08 +/- 3.94e-08
Energy Flux (Fixed Index): 2.80e-05 +/- 1.38e-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) = 9041.09608596
delta logL = 2.29158134572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9041.08960469
delta logL = 2.29806262145

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.557       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4462       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1844       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0338       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=   9041.090     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      207 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.578        7.9303        .24608E-02   -.59043E-05
   2  alpha         1.4467        .28896        .29305       -.50286E-04
   3  Normalizat    1.1844        .22497        .82659E-01    .22586E-04
   4  Prefactor     1.0338        .10888        .40970E-01    .19688E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 16.5781
  alpha      = 1.44669
  Normalizat = 1.18439
  Prefactor  = 1.03377
 **********
 **   18 **HESSE 
 **********

 FCN=   9041.090     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.578        9.0940        .98432E-04   -1.4893    
   2  alpha         1.4467        .36300        .11822E-01   -.43491    
   3  Normalizat    1.1844        .26779        .36596E-03   -.87087    
   4  Prefactor     1.0338        .12992        .18709E-03   -.91612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05079e-09
Minuit parameter uncertainties:
  1  9.09481
  2  0.364568
  3  0.268097
  4  0.129955
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/777414': 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) = 9041.08960194
delta logL = 2.29806536802

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.658e+01  9.095e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.447e+00  3.646e-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:  1.034e+00  1.300e-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.184e+00  2.681e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.57
Ra Dec: 238.402 12.952
Photon Index (Free Index): 1.45 +/- 0.36
Photon Flux (Free Index): 4.37e-08 +/- 2.59e-08
Energy Flux (Free Index): 7.02e-05 +/- 5.08e-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/777414/cmap_HighResolution_263174401_263433601_4FGL_J1553.6+1257_daily_bin92.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.99e-08', energy_flux2='7.02e-05', photon_flux_error='3.94e-08', dlogl='2.30e+00', energy_flux='2.80e-05', photon_flux2='4.37e-08', job_status='DONE', time_completed='2021-09-12 17:20:28.958816', photon_index_error2='0.36', photon_index2='1.45', ts='11.03', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='5.08e-05', EG='1.14', time_epoch_completed='1631492428.96', return_code='0', job_id='777414', GAL2='1.03', EG2='1.18', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='2.59e-08', ts2='15.57', photon_index='2.30' WHERE bin_id='92' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:20:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 777414: <4FGL_J1553.6+1257_daily_bin92> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin92> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 17:05:19 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:06:11 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:06:11 2021
Terminated at Sun Sep 12 17:20:29 2021
Results reported at Sun Sep 12 17:20:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin92 238.402 12.9524 263174401 263433601 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 :                                   641.52 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            910 sec.

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

