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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1269
RA = 238.402, Dec = 12.9524
tmin = 568252801, tmax = 568512001
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='785853', job_status='RUN', time_executed='2021-09-12 17:35:35.728851', time_epoch_executed='1631493335.73' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785853

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785853/ft1_4FGL_J1553.6+1257_daily_bin1269.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785853/ft2_4FGL_J1553.6+1257_daily_bin1269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785853/ft1_4FGL_J1553.6+1257_daily_bin1269.fits outfile=/scratch/kocevski/785853/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1269.fits ra=238.402 dec=12.9524 rad=12.0 tmin=568252801.0 tmax=568512001.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.70
user 3.43
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785853/ft1_filtered_4FGL_J1553.6+1257_daily_bin1269.fits" evtable="EVENTS" scfile=/scratch/kocevski/785853/ft2_4FGL_J1553.6+1257_daily_bin1269.fits sctable="SC_DATA" outfile=/scratch/kocevski/785853/ltcube_568252801_568512001_4FGL_J1553.6+1257_daily_bin1269.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/785853/ft2_4FGL_J1553.6+1257_daily_bin1269.fits
.....................!
real 13.11
user 12.72
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785853/ft1_filtered_4FGL_J1553.6+1257_daily_bin1269.fits evtable="EVENTS" scfile=/scratch/kocevski/785853/ft2_4FGL_J1553.6+1257_daily_bin1269.fits sctable="SC_DATA" expcube=/scratch/kocevski/785853/ltcube_568252801_568512001_4FGL_J1553.6+1257_daily_bin1269.fits outfile=/scratch/kocevski/785853/expmap_568252801_568512001_4FGL_J1553.6+1257_daily_bin1269.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/785853/ltcube_568252801_568512001_4FGL_J1553.6+1257_daily_bin1269.fits
.....................!
real 191.68
user 185.23
sys 6.11

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/785853/ft1_filtered_4FGL_J1553.6+1257_daily_bin1269.fits scfile=/scratch/kocevski/785853/ft2_4FGL_J1553.6+1257_daily_bin1269.fits outfile=/scratch/kocevski/785853/cmap_568252801_568512001_4FGL_J1553.6+1257_daily_bin1269.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785853/ft1_filtered_4FGL_J1553.6+1257_daily_bin1269.fits scfile=/scratch/kocevski/785853/ft2_4FGL_J1553.6+1257_daily_bin1269.fits outfile=/scratch/kocevski/785853/cmap_HighResolution_568252801_568512001_4FGL_J1553.6+1257_daily_bin1269.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2802       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10925E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.869       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1308       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10317E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    17.947       1.0000         .10000E-03   10000.    
    12 'norm      '    9.6867       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5255       1.0000         .10000E-03   10000.    
    14 'norm      '    26.403       1.0000         .10000E-03   10000.    
    15 'norm      '    59.040       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0988       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .94930E-01   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.7676       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .62718       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=   6394.449     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2209 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.263       -.93808E-06** at limit **
   2  Prefactor     .10000E-03    36.146        .50504E-07** at limit **
   3  Prefactor     3.0900        155.64       -.13925E-04    .38125E-05
   4  Prefactor     .10000E-03    123.08       -.46122E-05** at limit **
   5  Prefactor     .10000E-03    14.238       -.17250E-06** at limit **
   6  norm          .10000E-03    1.7871        .65395E-07** at limit **
   7  Prefactor     10.867        11.017       -.58954E-06    .37979E-05
   8  Prefactor     .10000E-03    12.334        .43251E-07** at limit **
   9  norm          1.1287        9.7574        .36964E-05    .14146E-04
  10  Prefactor     .10000E-03    191.04        .42891E-05** at limit **
  11  norm          17.943        12.992       -.10782E-06    .16769E-04
  12  norm          9.6865        3.1069        .16948E-06    .22944E-04
  13  Prefactor     6.5228        7.5219       -.72876E-07   -.21854E-04
  14  norm          26.393        21.549       -.18886E-06   -.20793E-05
  15  norm          58.639        144.65       -.18709E-04   -.38086E-05
  16  Prefactor     .10000E-03    13.066        .26958E-05** at limit **
  17  Prefactor     .10000E-03    12.894        .73821E-06** at limit **
  18  Prefactor     4.0896        13.863       -.41367E-05   -.53376E-04
  19  Prefactor     .14050        106.09        .22301E-04   -.73444E-05
  20  Normalizat    1.7691        .26924        .23632E-06    .65486E-04
  21  Prefactor     .62649        .12316        .51994E-06   -.71667E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.09003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.867
  Prefactor  = 0.0001
  norm       = 1.12866
  Prefactor  = 0.0001
  norm       = 17.9431
  norm       = 9.68652
  Prefactor  = 6.52278
  norm       = 26.3931
  norm       = 58.6385
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.08959
  Prefactor  = 0.140497
  Normalizat = 1.76914
  Prefactor  = 0.626492
 **********
 **   18 **HESSE 
 **********

 FCN=   6394.449     FROM HESSE     STATUS=OK           325 CALLS     2534 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    36.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0900        160.02        .22357E-03   -1.5356    
   4  Prefactor     .10000E-03    124.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.8359        .20855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.867        11.052        .12152E-03   -1.5049    
   8  Prefactor     .10000E-03    12.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1287        9.8134        .21965E-02   -1.5495    
  10  Prefactor     .10000E-03    191.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          17.943        12.993        .94542E-04   -1.4861    
  12  norm          9.6865        3.1092        .75218E-04   -1.5085    
  13  Prefactor     6.5228        7.5284        .15710E-03   -1.5197    
  14  norm          26.393        21.564        .77962E-04   -1.4680    
  15  norm          58.639        144.87        .26107E-03   -1.4175    
  16  Prefactor     .10000E-03    13.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.0896        13.798        .19913E-03   -1.5303    
  19  Prefactor     .14050        8.6392        .73963E-01   -1.5633    
  20  Normalizat    1.7691        .32868        .29726E-03   -.70472    
  21  Prefactor     .62649        .14901        .21428E-03   -1.0648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95168e-10
Minuit parameter uncertainties:
  1  1.28111e-06
  2  2.96117e-06
  3  44.5992
  4  0.000143457
  5  2.45486e-06
  6  2.40847e-06
  7  11.0545
  8  1.0889e-06
  9  6.6573
  10  0.000126957
  11  12.995
  12  3.10928
  13  7.5295
  14  21.5701
  15  145.757
  16  4.99278e-05
  17  1.57594e-05
  18  13.8092
  19  2.20298
  20  0.329094
  21  0.149102
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.794e+01  1.299e+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:  6.265e-01  1.491e-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.769e+00  3.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.97
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 8.69e-08 +/- 6.29e-08
Energy Flux (Fixed Index): 3.05e-05 +/- 2.21e-05

TS (Fixed Index): 2.97
Ra Dec: 238.402 12.952
Photon Flux Upper Limit: 2.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785853/likelihoodResults_568252801_568512001_4FGL_J1553.6+1257_daily_bin1269.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) = 6394.36372542
delta logL = 0.0855420392081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6394.35893931
delta logL = 0.0903281538049

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.937       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0487       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61972       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=   6394.359     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      245 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.937        13.410        .92039E-04    .17873E-03
   2  alpha         2.0486        .56281        .14688E-01    .35428E-04
   3  Normalizat    1.7895        .31558        .29598E-03   -.19167E-04
   4  Prefactor     .61973        .14395        .21534E-03   -.31835E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.9365
  alpha      = 2.0486
  Normalizat = 1.7895
  Prefactor  = 0.619727
 **********
 **   18 **HESSE 
 **********

 FCN=   6394.359     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.937        13.420        .36816E-05   -1.4837    
   2  alpha         2.0486        .56307        .58750E-03   -.18155    
   3  Normalizat    1.7895        .31591        .11839E-04   -.69938    
   4  Prefactor     .61973        .14408        .86135E-05   -1.0676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07463e-10
Minuit parameter uncertainties:
  1  13.4222
  2  0.568116
  3  0.316271
  4  0.144165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785853': 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) = 6394.3589393
delta logL = 0.0903281622877

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.894e+01  1.342e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.049e+00  5.681e-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:  6.197e-01  1.442e-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.790e+00  3.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.19
Ra Dec: 238.402 12.952
Photon Index (Free Index): 2.05 +/- 0.57
Photon Flux (Free Index): 7.18e-08 +/- 6.39e-08
Energy Flux (Free Index): 3.46e-05 +/- 2.67e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/785853/cmap_HighResolution_568252801_568512001_4FGL_J1553.6+1257_daily_bin1269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-05', comment='SUCCESS', photon_flux='8.69e-08', energy_flux2='3.46e-05', photon_flux_error='6.29e-08', dlogl='9.03e-02', energy_flux='3.05e-05', photon_flux2='7.18e-08', job_status='DONE', time_completed='2021-09-12 17:45:29.990195', photon_index_error2='0.57', photon_index2='2.05', ts='2.97', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', photon_flux_upper_limit='2.11e-07', energy_flux_error2='2.67e-05', EG='1.77', time_epoch_completed='1631493929.99', return_code='0', job_id='785853', GAL2='0.62', EG2='1.79', return_code2='0', energy_flux_error='2.21e-05', photon_flux_error2='6.39e-08', ts2='3.19', photon_index='2.30' WHERE bin_id='1269' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:45:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 785853: <4FGL_J1553.6+1257_daily_bin1269> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1269> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 17:35:18 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:35:27 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:35:27 2021
Terminated at Sun Sep 12 17:45:30 2021
Results reported at Sun Sep 12 17:45:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1269 238.402 12.9524 568252801 568512001 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 :                                   589.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             359.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            612 sec.

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

