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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin109
RA = 238.402, Dec = 12.9524
tmin = 267580801, tmax = 267840001
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='777439', job_status='RUN', time_executed='2021-09-12 17:06:40.208042', time_epoch_executed='1631491600.21' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/777439

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/777439/ft1_4FGL_J1553.6+1257_daily_bin109.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/777439/ft2_4FGL_J1553.6+1257_daily_bin109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/777439/ft1_4FGL_J1553.6+1257_daily_bin109.fits outfile=/scratch/kocevski/777439/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin109.fits ra=238.402 dec=12.9524 rad=12.0 tmin=267580801.0 tmax=267840001.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.24
user 1.00
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/777439/ft1_filtered_4FGL_J1553.6+1257_daily_bin109.fits" evtable="EVENTS" scfile=/scratch/kocevski/777439/ft2_4FGL_J1553.6+1257_daily_bin109.fits sctable="SC_DATA" outfile=/scratch/kocevski/777439/ltcube_267580801_267840001_4FGL_J1553.6+1257_daily_bin109.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/777439/ft2_4FGL_J1553.6+1257_daily_bin109.fits
.....................!
real 12.50
user 12.15
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/777439/ft1_filtered_4FGL_J1553.6+1257_daily_bin109.fits evtable="EVENTS" scfile=/scratch/kocevski/777439/ft2_4FGL_J1553.6+1257_daily_bin109.fits sctable="SC_DATA" expcube=/scratch/kocevski/777439/ltcube_267580801_267840001_4FGL_J1553.6+1257_daily_bin109.fits outfile=/scratch/kocevski/777439/expmap_267580801_267840001_4FGL_J1553.6+1257_daily_bin109.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/777439/ltcube_267580801_267840001_4FGL_J1553.6+1257_daily_bin109.fits
.....................!
real 155.32
user 151.20
sys 3.78

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/777439/ft1_filtered_4FGL_J1553.6+1257_daily_bin109.fits scfile=/scratch/kocevski/777439/ft2_4FGL_J1553.6+1257_daily_bin109.fits outfile=/scratch/kocevski/777439/cmap_267580801_267840001_4FGL_J1553.6+1257_daily_bin109.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.47
user 0.34
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/777439/ft1_filtered_4FGL_J1553.6+1257_daily_bin109.fits scfile=/scratch/kocevski/777439/ft2_4FGL_J1553.6+1257_daily_bin109.fits outfile=/scratch/kocevski/777439/cmap_HighResolution_267580801_267840001_4FGL_J1553.6+1257_daily_bin109.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.48
user 0.33
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    98.416       1.0000         .10000E-03   10000.    
     2 'Prefactor '    57.961       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3702       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10452E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.901       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.3345       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.532       1.0000         .10000E-03   10000.    
    12 'norm      '    3.9841       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5471       1.0000         .10000E-03   10000.    
    14 'norm      '    19.217       1.0000         .10000E-03   10000.    
    15 'norm      '    .10341E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.255       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.863       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8306       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .59419       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1720       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=   8062.172     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     2221 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     98.389        52.472       -.19448E-04    .47963E-03
   2  Prefactor     57.955        46.332       -.51203E-05    .88617E-04
   3  Prefactor     2.3743        88.111        .61030E-05   -.37698E-04
   4  Prefactor     .10000E-03    16.741       -.12840E-05** at limit **
   5  Prefactor     .10000E-03    19.433       -.47572E-05** at limit **
   6  norm          .10000E-03    1.6419       -.29363E-06** at limit **
   7  Prefactor     13.900        5.4331       -.11037E-05    .26223E-03
   8  Prefactor     .10000E-03    30.390        .11175E-05** at limit **
   9  norm          1.3343        3.3517       -.68775E-06   -.12172E-02
  10  Prefactor     .10000E-03    17.733        .37042E-05** at limit **
  11  norm          13.533        10.788       -.83241E-07   -.36440E-04
  12  norm          3.9839        2.0945       -.11588E-06   -.16334E-03
  13  Prefactor     2.5466        7.3825       -.21994E-05   -.27998E-03
  14  norm          19.216        15.339       -.13133E-06   -.37410E-04
  15  norm          .10000E-03    89.216       -.95754E-06** at limit **
  16  Prefactor     17.252        15.321       -.87316E-07   -.59062E-04
  17  Prefactor     13.858        18.236        .48807E-06   -.52249E-05
  18  Prefactor     .10000E-03    7.1032        .61480E-06** at limit **
  19  Prefactor     1.8285        6.8385       -.87138E-05   -.37387E-03
  20  Normalizat    .59425        .27071        .49662E-05    .68890E-04
  21  Prefactor     1.1720        .12566        .34604E-06    .16779E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 98.3892
  Prefactor  = 57.9554
  Prefactor  = 2.37428
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.9003
  Prefactor  = 0.0001
  norm       = 1.33428
  Prefactor  = 0.0001
  norm       = 13.5333
  norm       = 3.98393
  Prefactor  = 2.5466
  norm       = 19.2157
  norm       = 0.0001
  Prefactor  = 17.252
  Prefactor  = 13.8577
  Prefactor  = 0.0001
  Prefactor  = 1.82848
  Normalizat = 0.594246
  Prefactor  = 1.17196
 **********
 **   18 **HESSE 
 **********

 FCN=   8062.172     FROM HESSE     STATUS=OK           319 CALLS     2540 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     98.389        51.729        .20260E-03   -1.3721    
   2  Prefactor     57.955        46.301        .52695E-04   -1.4184    
   3  Prefactor     2.3743        87.045        .26614E-03   -1.5400    
   4  Prefactor     .10000E-03    16.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.0322        .22036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.900        5.4094        .10743E-03   -1.4962    
   8  Prefactor     .10000E-03    30.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3343        3.3568        .25018E-03   -1.5477    
  10  Prefactor     .10000E-03    17.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.533        10.654        .10889E-03   -1.4972    
  12  norm          3.9839        2.0929        .89108E-04   -1.5309    
  13  Prefactor     2.5466        7.3856        .25586E-03   -1.5389    
  14  norm          19.216        15.303        .91365E-04   -1.4831    
  15  norm          .10000E-03    89.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.252        15.264        .96418E-04   -1.4877    
  17  Prefactor     13.858        18.216        .10758E-03   -1.4963    
  18  Prefactor     .10000E-03    7.1805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8285        7.0203        .30846E-03   -1.5438    
  20  Normalizat    .59425        .29014        .46282E-03   -1.0823    
  21  Prefactor     1.1720        .13857        .16862E-03   -.87198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77733e-09
Minuit parameter uncertainties:
  1  51.7525
  2  46.3297
  3  28.7967
  4  1.78584e-05
  5  0.000173661
  6  4.69615e-05
  7  5.40963
  8  0.000113737
  9  3.35724
  10  0.000120577
  11  10.656
  12  2.09294
  13  7.38828
  14  15.3059
  15  3.06373e-05
  16  15.2679
  17  18.2232
  18  6.0379e-05
  19  7.02348
  20  0.290883
  21  0.138615
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.353e+01  1.066e+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:  1.172e+00  1.386e-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:  5.942e-01  2.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.34
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 6.55e-08 +/- 5.16e-08
Energy Flux (Fixed Index): 2.30e-05 +/- 1.81e-05

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

Saving results to:
/scratch/kocevski/777439/likelihoodResults_267580801_267840001_4FGL_J1553.6+1257_daily_bin109.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) = 8062.15695474
delta logL = 0.0153011818802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8062.15392488
delta logL = 0.018331043947

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.775       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4025       1.0000          .0000       5.0000    
     3 'Normalizat'    .58771       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1743       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=   8062.154     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.770        250.32        .28018E-02    .25181E-03
   2  alpha         2.4028        3.5536        .39237        .79770E-04
   3  Normalizat    .58777        .91589E-01    .10496        .86124E-04
   4  Prefactor     1.1743        .48441E-01    .35268E-01   -.18562E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.7699
  alpha      = 2.4028
  Normalizat = 0.587771
  Prefactor  = 1.17432
 **********
 **   18 **HESSE 
 **********

 FCN=   8062.154     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.770        11.128        .11207E-03   -1.4993    
   2  alpha         2.4028        .57550        .14671E-01   -.38891E-01
   3  Normalizat    .58777        .27105        .46523E-03   -1.0851    
   4  Prefactor     1.1743        .13513        .16847E-03   -.87125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09564e-10
Minuit parameter uncertainties:
  1  11.13
  2  0.580716
  3  0.271659
  4  0.135168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/777439': 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) = 8062.15392464
delta logL = 0.0183312840918

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.277e+01  1.113e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.403e+00  5.807e-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.174e+00  1.352e-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:  5.878e-01  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.40
Ra Dec: 238.402 12.952
Photon Index (Free Index): 2.40 +/- 0.58
Photon Flux (Free Index): 6.94e-08 +/- 5.47e-08
Energy Flux (Free Index): 2.18e-05 +/- 1.81e-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/777439/cmap_HighResolution_267580801_267840001_4FGL_J1553.6+1257_daily_bin109.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-05', comment='SUCCESS', photon_flux='6.55e-08', energy_flux2='2.18e-05', photon_flux_error='5.16e-08', dlogl='1.83e-02', energy_flux='2.30e-05', photon_flux2='6.94e-08', job_status='DONE', time_completed='2021-09-12 17:15:45.559296', photon_index_error2='0.58', photon_index2='2.40', ts='2.34', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='1.66e-07', energy_flux_error2='1.81e-05', EG='0.59', time_epoch_completed='1631492145.56', return_code='0', job_id='777439', GAL2='1.17', EG2='0.59', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='5.47e-08', ts2='2.40', photon_index='2.30' WHERE bin_id='109' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:15:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 777439: <4FGL_J1553.6+1257_daily_bin109> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin109 238.402 12.9524 267580801 267840001 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 :                                   543.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             385.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   560 sec.
    Turnaround time :                            625 sec.

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

