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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1568
RA = 238.402, Dec = 12.9524
tmin = 645753601, tmax = 646012801
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='787375', job_status='RUN', time_executed='2021-09-12 17:40:51.841393', time_epoch_executed='1631493651.84' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/787375

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/787375/ft1_4FGL_J1553.6+1257_daily_bin1568.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/787375/ft2_4FGL_J1553.6+1257_daily_bin1568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/787375/ft1_4FGL_J1553.6+1257_daily_bin1568.fits outfile=/scratch/kocevski/787375/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1568.fits ra=238.402 dec=12.9524 rad=12.0 tmin=645753601.0 tmax=646012801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.29
user 2.11
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/787375/ft1_filtered_4FGL_J1553.6+1257_daily_bin1568.fits" evtable="EVENTS" scfile=/scratch/kocevski/787375/ft2_4FGL_J1553.6+1257_daily_bin1568.fits sctable="SC_DATA" outfile=/scratch/kocevski/787375/ltcube_645753601_646012801_4FGL_J1553.6+1257_daily_bin1568.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/787375/ft2_4FGL_J1553.6+1257_daily_bin1568.fits
.....................!
real 14.63
user 14.22
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/787375/ft1_filtered_4FGL_J1553.6+1257_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/787375/ft2_4FGL_J1553.6+1257_daily_bin1568.fits sctable="SC_DATA" expcube=/scratch/kocevski/787375/ltcube_645753601_646012801_4FGL_J1553.6+1257_daily_bin1568.fits outfile=/scratch/kocevski/787375/expmap_645753601_646012801_4FGL_J1553.6+1257_daily_bin1568.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/787375/ltcube_645753601_646012801_4FGL_J1553.6+1257_daily_bin1568.fits
.....................!
real 191.64
user 186.32
sys 4.87

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/787375/ft1_filtered_4FGL_J1553.6+1257_daily_bin1568.fits scfile=/scratch/kocevski/787375/ft2_4FGL_J1553.6+1257_daily_bin1568.fits outfile=/scratch/kocevski/787375/cmap_645753601_646012801_4FGL_J1553.6+1257_daily_bin1568.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/787375/ft1_filtered_4FGL_J1553.6+1257_daily_bin1568.fits scfile=/scratch/kocevski/787375/ft2_4FGL_J1553.6+1257_daily_bin1568.fits outfile=/scratch/kocevski/787375/cmap_HighResolution_645753601_646012801_4FGL_J1553.6+1257_daily_bin1568.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/787375/ft1_filtered_4FGL_J1553.6+1257_daily_bin1568.fits evtable="EVENTS" scfile=/scratch/kocevski/787375/ft2_4FGL_J1553.6+1257_daily_bin1568.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/787375/Model_4FGL_J1553.6+1257_daily_bin1568.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/787375/ft1_filtered_4FGL_J1553.6+1257_daily_bin1568.fits.....................!
real 60.25
user 58.79
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4267       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.3518       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15523E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .66024       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.7949       1.0000         .10000E-03   10000.    
    11 'norm      '    4.3287       1.0000         .10000E-03   10000.    
    12 'norm      '    5.4491       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9221       1.0000         .10000E-03   10000.    
    14 'norm      '    28.376       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    44.576       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1329       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88969       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=   7658.013     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2175 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.692        .14585E-05** at limit **
   2  Prefactor     .10000E-03    19.626        .70426E-07** at limit **
   3  Prefactor     .10000E-03    40.049        .14103E-05** at limit **
   4  Prefactor     2.3893        76.695        .44974E-05   -.38062E-05
   5  Prefactor     .10000E-03    16.690       -.98147E-07** at limit **
   6  norm          3.3507        2.7629        .35540E-07   -.41671E-04
   7  Prefactor     .10000E-03    4.0694        .59413E-07** at limit **
   8  Prefactor     .10000E-03    78.482        .41887E-05** at limit **
   9  norm          .66119        9.5701        .23523E-05   -.18929E-04
  10  Prefactor     9.7931        101.30        .53008E-06    .48245E-05
  11  norm          4.3274        11.815       -.80248E-06   -.26991E-04
  12  norm          5.4493        2.1766        .37011E-07    .51057E-04
  13  Prefactor     4.9215        12.108       -.62551E-06   -.10024E-04
  14  norm          28.377        20.281        .18708E-06    .27468E-04
  15  norm          .10000E-03    46.099       -.39846E-05** at limit **
  16  Prefactor     .10000E-03    4.5629       -.36457E-07** at limit **
  17  Prefactor     44.592        43.652       -.18662E-05   -.91933E-06
  18  Prefactor     .10000E-03    9.6369       -.76249E-06** at limit **
  19  Prefactor     .10000E-03    6.2565       -.25025E-06** at limit **
  20  Normalizat    1.1329        .23166        .23165E-06    .79642E-04
  21  Prefactor     .88965        .10993        .41461E-06   -.55921E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.38932
  Prefactor  = 0.0001
  norm       = 3.35073
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.661195
  Prefactor  = 9.7931
  norm       = 4.3274
  norm       = 5.44931
  Prefactor  = 4.92147
  norm       = 28.3769
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.5916
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1329
  Prefactor  = 0.889647
 **********
 **   18 **HESSE 
 **********

 FCN=   7658.013     FROM HESSE     STATUS=OK           319 CALLS     2494 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    19.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    40.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.3893        76.866        .26272E-03   -1.5399    
   5  Prefactor     .10000E-03    16.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3507        2.7457        .12300E-03   -1.5342    
   7  Prefactor     .10000E-03    4.1214        .17220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    78.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .66119        9.6476        .27190E-02   -1.5545    
  10  Prefactor     9.7931        100.96        .12804E-03   -1.5082    
  11  norm          4.3274        11.800        .19361E-03   -1.5292    
  12  norm          5.4493        2.1741        .75938E-04   -1.5241    
  13  Prefactor     4.9215        12.170        .18129E-03   -1.5264    
  14  norm          28.377        20.293        .75209E-04   -1.4642    
  15  norm          .10000E-03    46.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.5783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     44.592        43.610        .60049E-04   -1.4371    
  18  Prefactor     .10000E-03    9.6939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.2893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1329        .27641        .33958E-03   -.88702    
  21  Prefactor     .88965        .12979        .18150E-03   -.96504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03288e-08
Minuit parameter uncertainties:
  1  7.66539e-06
  2  2.16786e-06
  3  2.97078e-05
  4  27.1416
  5  9.83089e-06
  6  2.74576
  7  6.31611e-06
  8  0.000230798
  9  5.0519
  10  63.0255
  11  11.8066
  12  2.17416
  13  12.1762
  14  20.2984
  15  0.000156848
  16  3.95724e-06
  17  43.6412
  18  6.25582e-06
  19  3.06267e-06
  20  0.276765
  21  0.129836
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  4.327e+00  1.181e+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:  8.896e-01  1.298e-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.133e+00  2.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/787375/likelihoodResults_645753601_646012801_4FGL_J1553.6+1257_daily_bin1568.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) = 7656.585257
delta logL = 1.42772810517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7656.43296915
delta logL = 1.58001595302

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66201       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9998       1.0000          .0000       5.0000    
     3 'Normalizat'    .97200       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94113       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=   7656.433     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      356 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66223        10.079        .91540E-02   -.54232E-03
   2  alpha         5.0000        4.9983        .46273    ** at limit **
   3  Normalizat    .97134        .11217        .81921E-01   -.58449E-04
   4  Prefactor     .94144        .53146E-01    .45527E-01   -.70338E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.662229
  alpha      = 5
  Normalizat = 0.971335
  Prefactor  = 0.941444
 **********
 **   18 **HESSE 
 **********

 FCN=   7656.433     FROM HESSE     STATUS=OK            33 CALLS      389 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66223        .51665        .41463E-04   -1.5545    
   2  alpha         5.0000        1.0050        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .97134        .28202        .36264E-03   -.93997    
   4  Prefactor     .94144        .13147        .17682E-03   -.94708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22052e-10
Minuit parameter uncertainties:
  1  0.516655
  2  9.28133e-05
  3  0.282449
  4  0.131518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/787375': 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) = 7656.43296246
delta logL = 1.58002264293

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  6.622e-01  5.167e-01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  5.000e+00  9.281e-05  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.414e-01  1.315e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  9.713e-01  2.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 238.402 12.952
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.53e-07 +/- 1.18e-07
Energy Flux (Free Index): 2.08e-05 +/- 1.61e-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/787375/cmap_HighResolution_645753601_646012801_4FGL_J1553.6+1257_daily_bin1568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-05', comment='SUCCESS', energy_flux2='2.08e-05', dlogl='1.58e+00', photon_flux2='1.53e-07', job_status='DONE', time_completed='2021-09-12 17:51:32.690735', photon_index_error2='0.00', photon_index2='5.00', ts='0.18', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.61e-05', EG='1.13', time_epoch_completed='1631494292.69', return_code='0', job_id='787375', GAL2='0.94', EG2='0.97', return_code2='0', photon_flux_error2='1.18e-07', ts2='3.75', photon_index='2.30' WHERE bin_id='1568' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:51:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 787375: <4FGL_J1553.6+1257_daily_bin1568> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1568 238.402 12.9524 645753601 646012801 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 :                                 1256 MB
    Average Memory :                             354.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            677 sec.

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

