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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1010
RA = 238.402, Dec = 12.9524
tmin = 501120001, tmax = 501379201
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='783438', job_status='RUN', time_executed='2021-09-12 17:30:50.350131', time_epoch_executed='1631493050.35' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1010'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/783438

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/783438/ft1_4FGL_J1553.6+1257_daily_bin1010.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/783438/ft2_4FGL_J1553.6+1257_daily_bin1010.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/783438/ft1_4FGL_J1553.6+1257_daily_bin1010.fits outfile=/scratch/kocevski/783438/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1010.fits ra=238.402 dec=12.9524 rad=12.0 tmin=501120001.0 tmax=501379201.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.50
user 3.27
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/783438/ft1_filtered_4FGL_J1553.6+1257_daily_bin1010.fits" evtable="EVENTS" scfile=/scratch/kocevski/783438/ft2_4FGL_J1553.6+1257_daily_bin1010.fits sctable="SC_DATA" outfile=/scratch/kocevski/783438/ltcube_501120001_501379201_4FGL_J1553.6+1257_daily_bin1010.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/783438/ft2_4FGL_J1553.6+1257_daily_bin1010.fits
.....................!
real 14.06
user 13.67
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/783438/ft1_filtered_4FGL_J1553.6+1257_daily_bin1010.fits evtable="EVENTS" scfile=/scratch/kocevski/783438/ft2_4FGL_J1553.6+1257_daily_bin1010.fits sctable="SC_DATA" expcube=/scratch/kocevski/783438/ltcube_501120001_501379201_4FGL_J1553.6+1257_daily_bin1010.fits outfile=/scratch/kocevski/783438/expmap_501120001_501379201_4FGL_J1553.6+1257_daily_bin1010.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/783438/ltcube_501120001_501379201_4FGL_J1553.6+1257_daily_bin1010.fits
.....................!
real 190.95
user 185.56
sys 4.90

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/783438/ft1_filtered_4FGL_J1553.6+1257_daily_bin1010.fits scfile=/scratch/kocevski/783438/ft2_4FGL_J1553.6+1257_daily_bin1010.fits outfile=/scratch/kocevski/783438/cmap_501120001_501379201_4FGL_J1553.6+1257_daily_bin1010.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/783438/ft1_filtered_4FGL_J1553.6+1257_daily_bin1010.fits scfile=/scratch/kocevski/783438/ft2_4FGL_J1553.6+1257_daily_bin1010.fits outfile=/scratch/kocevski/783438/cmap_HighResolution_501120001_501379201_4FGL_J1553.6+1257_daily_bin1010.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81846E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.870       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3403       1.0000         .10000E-03   10000.    
     6 'norm      '    1.1422       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.223       1.0000         .10000E-03   10000.    
    11 'norm      '    3.8849       1.0000         .10000E-03   10000.    
    12 'norm      '    6.1600       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10671E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    13.420       1.0000         .10000E-03   10000.    
    15 'norm      '    .10294E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.320       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1161       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1477       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92745       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=   7126.855     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2269 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    260.09       -.63126E-04** at limit **
   2  Prefactor     39.927        47.717        .32117E-04   -.26367E-04
   3  Prefactor     .10000E-03    8.7389       -.66460E-06** at limit **
   4  Prefactor     .10000E-03    9.6893        .12781E-05** at limit **
   5  Prefactor     1.2271        78.875        .12344E-03   -.16505E-03
   6  norm          1.1423        1.1609        .84875E-07    .62929E-04
   7  Prefactor     .10000E-03    1.4082       -.17796E-06** at limit **
   8  Prefactor     .10000E-03    8.7539       -.41652E-07** at limit **
   9  norm          .10000E-03    1.5144       -.11415E-05** at limit **
  10  Prefactor     47.233        44.985        .45945E-05   -.23804E-04
  11  norm          3.8857        4.5130        .69124E-07   -.41625E-04
  12  norm          6.1599        2.3084        .87066E-08   -.11237E-03
  13  Prefactor     .10000E-03    12.192       -.83428E-06** at limit **
  14  norm          13.422        11.863        .41660E-05   -.58949E-04
  15  norm          .10000E-03    56.511       -.38152E-04** at limit **
  16  Prefactor     18.320        13.034        .27970E-05   -.53094E-04
  17  Prefactor     .10000E-03    18.726        .12333E-05** at limit **
  18  Prefactor     4.1165        8.1396        .19175E-06   -.22155E-03
  19  Prefactor     .10000E-03    7.5769        .26565E-06** at limit **
  20  Normalizat    1.1469        .22493       -.18039E-05   -.17582E-03
  21  Prefactor     .92793        .11107       -.28187E-05   -.49675E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100057
  Prefactor  = 39.9272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.22708
  norm       = 1.14232
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 47.2333
  norm       = 3.88574
  norm       = 6.15986
  Prefactor  = 0.0001
  norm       = 13.4224
  norm       = 0.0001
  Prefactor  = 18.3195
  Prefactor  = 0.0001
  Prefactor  = 4.11645
  Prefactor  = 0.0001
  Normalizat = 1.14689
  Prefactor  = 0.927926
 **********
 **   18 **HESSE 
 **********

 FCN=   7126.855     FROM HESSE     STATUS=OK           315 CALLS     2584 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    271.03        .36875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.927        47.820        .63480E-04   -1.4443    
   3  Prefactor     .10000E-03    8.7452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.7013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2271        77.037        .37863E-03   -1.5486    
   6  norm          1.1423        1.1611        .43465E-04   -1.5494    
   7  Prefactor     .10000E-03    1.4288        .97821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.7582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.3407        .20208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.233        44.989        .58349E-04   -1.4332    
  11  norm          3.8857        4.5098        .18720E-03   -1.5314    
  12  norm          6.1599        2.3079        .75804E-04   -1.5212    
  13  Prefactor     .10000E-03    12.723        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.422        11.863        .10934E-03   -1.4975    
  15  norm          .10000E-03    56.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.320        13.054        .93575E-04   -1.4852    
  17  Prefactor     .10000E-03    18.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.1165        8.1347        .19870E-03   -1.5302    
  19  Prefactor     .10000E-03    7.6658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1469        .27293        .33024E-03   -.88260    
  21  Prefactor     .92793        .13496        .17887E-03   -.95172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28895e-09
Minuit parameter uncertainties:
  1  0.00791378
  2  47.8658
  3  1.81494e-05
  4  2.17478e-05
  5  19.4709
  6  1.16114
  7  1.40912e-05
  8  1.10284e-05
  9  0.000203096
  10  45.0215
  11  4.51018
  12  2.30798
  13  8.67153e-05
  14  11.8648
  15  2.8464e-05
  16  13.0561
  17  5.05984e-05
  18  8.13691
  19  4.22513e-05
  20  0.273264
  21  0.135007
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  9.279e-01  1.350e-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.147e+00  2.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.86
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 1.88e-08 +/- 2.18e-08
Energy Flux (Fixed Index): 6.60e-06 +/- 7.66e-06

TS (Fixed Index): 1.86
Ra Dec: 238.402 12.952
Photon Flux Upper Limit: 8.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.02e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/783438/likelihoodResults_501120001_501379201_4FGL_J1553.6+1257_daily_bin1010.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) = 7126.45110029
delta logL = 0.404084861032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7126.44099797
delta logL = 0.414187183086

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3556       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4077       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1602       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92390       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=   7126.441     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3575        3.6687        .55231E-02   -.15912E-03
   2  alpha         1.4079        .60054        .47735       -.41038E-04
   3  Normalizat    1.1601        .22175        .74249E-01    .26561E-04
   4  Prefactor     .92393        .10985        .45309E-01    .43369E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.35749
  alpha      = 1.40794
  Normalizat = 1.16015
  Prefactor  = 0.923934
 **********
 **   18 **HESSE 
 **********

 FCN=   7126.441     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3575        4.2235        .16501E-03   -1.5341    
   2  alpha         1.4079        .81730        .22269E-01   -.45206    
   3  Normalizat    1.1601        .26893        .32860E-03   -.87843    
   4  Prefactor     .92393        .13345        .17920E-03   -.95310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45021e-11
Minuit parameter uncertainties:
  1  4.22384
  2  0.836454
  3  0.269245
  4  0.133499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/783438': 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) = 7126.44099784
delta logL = 0.414187309854

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  3.357e+00  4.224e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.408e+00  8.365e-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.239e-01  1.335e-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.160e+00  2.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.69
Ra Dec: 238.402 12.952
Photon Index (Free Index): 1.41 +/- 0.84
Photon Flux (Free Index): 8.77e-09 +/- 1.17e-08
Energy Flux (Free Index): 1.55e-05 +/- 2.68e-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/783438/cmap_HighResolution_501120001_501379201_4FGL_J1553.6+1257_daily_bin1010.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.02e-05', comment='SUCCESS', photon_flux='1.88e-08', energy_flux2='1.55e-05', photon_flux_error='2.18e-08', dlogl='4.14e-01', energy_flux='6.60e-06', photon_flux2='8.77e-09', job_status='DONE', time_completed='2021-09-12 17:41:33.311141', photon_index_error2='0.84', photon_index2='1.41', ts='1.86', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='8.62e-08', energy_flux_error2='2.68e-05', EG='1.15', time_epoch_completed='1631493693.31', return_code='0', job_id='783438', GAL2='0.92', EG2='1.16', return_code2='0', energy_flux_error='7.66e-06', photon_flux_error2='1.17e-08', ts2='2.69', photon_index='2.30' WHERE bin_id='1010' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:41:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 783438: <4FGL_J1553.6+1257_daily_bin1010> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1010> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 17:25:39 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:28:39 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:28:39 2021
Terminated at Sun Sep 12 17:41:33 2021
Results reported at Sun Sep 12 17:41:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1010 238.402 12.9524 501120001 501379201 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.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            954 sec.

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

