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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1067
RA = 238.402, Dec = 12.9524
tmin = 515894401, tmax = 516153601
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='784367', job_status='RUN', time_executed='2021-09-12 17:32:52.631250', time_epoch_executed='1631493172.63' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1067'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784367

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784367/ft1_4FGL_J1553.6+1257_daily_bin1067.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784367/ft2_4FGL_J1553.6+1257_daily_bin1067.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784367/ft1_4FGL_J1553.6+1257_daily_bin1067.fits outfile=/scratch/kocevski/784367/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1067.fits ra=238.402 dec=12.9524 rad=12.0 tmin=515894401.0 tmax=516153601.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.82
user 3.58
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784367/ft2_4FGL_J1553.6+1257_daily_bin1067.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/784367/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1067.fits evtable="EVENTS" outfile="/scratch/kocevski/784367/ft1_filtered_4FGL_J1553.6+1257_daily_bin1067.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784367/ft1_filtered_4FGL_J1553.6+1257_daily_bin1067.fits" evtable="EVENTS" scfile=/scratch/kocevski/784367/ft2_4FGL_J1553.6+1257_daily_bin1067.fits sctable="SC_DATA" outfile=/scratch/kocevski/784367/ltcube_515894401_516153601_4FGL_J1553.6+1257_daily_bin1067.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/784367/ft2_4FGL_J1553.6+1257_daily_bin1067.fits
.....................!
real 15.03
user 14.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784367/ft1_filtered_4FGL_J1553.6+1257_daily_bin1067.fits evtable="EVENTS" scfile=/scratch/kocevski/784367/ft2_4FGL_J1553.6+1257_daily_bin1067.fits sctable="SC_DATA" expcube=/scratch/kocevski/784367/ltcube_515894401_516153601_4FGL_J1553.6+1257_daily_bin1067.fits outfile=/scratch/kocevski/784367/expmap_515894401_516153601_4FGL_J1553.6+1257_daily_bin1067.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/784367/ltcube_515894401_516153601_4FGL_J1553.6+1257_daily_bin1067.fits
.....................!
real 192.62
user 187.30
sys 4.88

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/784367/ft1_filtered_4FGL_J1553.6+1257_daily_bin1067.fits scfile=/scratch/kocevski/784367/ft2_4FGL_J1553.6+1257_daily_bin1067.fits outfile=/scratch/kocevski/784367/cmap_515894401_516153601_4FGL_J1553.6+1257_daily_bin1067.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784367/ft1_filtered_4FGL_J1553.6+1257_daily_bin1067.fits scfile=/scratch/kocevski/784367/ft2_4FGL_J1553.6+1257_daily_bin1067.fits outfile=/scratch/kocevski/784367/cmap_HighResolution_515894401_516153601_4FGL_J1553.6+1257_daily_bin1067.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.410       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .86553E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7955       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.072       1.0000         .10000E-03   10000.    
     9 'norm      '    2.8958       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .79249       1.0000         .10000E-03   10000.    
    12 'norm      '    3.2362       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.9996       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .59291       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10901E-01   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2599       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0168       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=   7698.697     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2246 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.397        34.719       -.90569E-06   -.22516E-03
   2  Prefactor     .10000E-03    14.649       -.62264E-07** at limit **
   3  Prefactor     .10001E-03    33.972       -.16360E-05** at limit **
   4  Prefactor     .10006E-03    97.277       -.59056E-05** at limit **
   5  Prefactor     .10000E-03    9.7530        .66504E-07** at limit **
   6  norm          .89846E-01    1.4881        .16693E-07   -.27695E-03
   7  Prefactor     1.7967        4.8547       -.14218E-06   -.21152E-04
   8  Prefactor     18.028        28.025       -.86325E-06   -.35821E-03
   9  norm          2.8964        3.7357        .27467E-05   -.51830E-03
  10  Prefactor     .10001E-03    31.618        .16592E-05** at limit **
  11  norm          .81957        10.568        .72999E-05    .29952E-03
  12  norm          3.2358        1.6605       -.13463E-07    .34280E-03
  13  Prefactor     .10000E-03    7.9685        .51320E-07** at limit **
  14  norm          3.0015        11.564        .16608E-06   -.46490E-04
  15  norm          .10001E-03    34.218       -.10384E-05** at limit **
  16  Prefactor     .56760        14.646        .78821E-05   -.18800E-03
  17  Prefactor     .10000E-03    12.813        .75579E-07** at limit **
  18  Prefactor     .10000E-03    5.2223        .48829E-07** at limit **
  19  Prefactor     .10015E-03    7.2998        .41539E-05** at limit **
  20  Normalizat    1.2596        .23740        .16766E-07    .10199E-04
  21  Prefactor     1.0168        .11558       -.66853E-06   -.78385E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3967
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.000100059
  Prefactor  = 0.0001
  norm       = 0.0898455
  Prefactor  = 1.79665
  Prefactor  = 18.0284
  norm       = 2.89641
  Prefactor  = 0.000100013
  norm       = 0.819573
  norm       = 3.23585
  Prefactor  = 0.0001
  norm       = 3.00155
  norm       = 0.000100005
  Prefactor  = 0.567596
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100148
  Normalizat = 1.25955
  Prefactor  = 1.01678
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.697     FROM HESSE     STATUS=OK           321 CALLS     2567 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.397        35.037        .95988E-04   -1.4874    
   2  Prefactor     .10000E-03    14.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    34.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10006E-03    101.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.7570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .89846E-01    18.080        .19851E-02   -1.5648    
   7  Prefactor     1.7967        4.8457        .29867E-03   -1.5440    
   8  Prefactor     18.028        28.555        .94214E-04   -1.4859    
   9  norm          2.8964        4.7906        .11675E-02   -1.5368    
  10  Prefactor     .10001E-03    32.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .81957        18.532        .41296E-02   -1.5527    
  12  norm          3.2358        1.6538        .77991E-04   -1.5348    
  13  Prefactor     .10000E-03    8.0866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.0015        11.554        .23437E-03   -1.5361    
  15  norm          .10001E-03    34.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .56760        44.501        .45901E-02   -1.5557    
  17  Prefactor     .10000E-03    12.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.2405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10015E-03    66.590        .38260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2596        .28523        .34070E-03   -.84782    
  21  Prefactor     1.0168        .13986        .18243E-03   -.92172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.55362e-09
Minuit parameter uncertainties:
  1  35.0782
  2  3.7169e-05
  3  0.00117195
  4  0.00490758
  5  2.6655e-05
  6  2.54838
  7  4.8468
  8  28.577
  9  4.79122
  10  0.00129425
  11  7.79666
  12  1.65381
  13  6.46044e-06
  14  11.5623
  15  0.000855802
  16  10.0585
  17  2.5948e-05
  18  3.94425e-06
  19  0.00629228
  20  0.285582
  21  0.13991
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.017e+00  1.399e-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.260e+00  2.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/784367/likelihoodResults_515894401_516153601_4FGL_J1553.6+1257_daily_bin1067.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) = 7698.6951573
delta logL = 0.0021057668182

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7698.6951381
delta logL = 0.0021249614847

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81964       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5078       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2581       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0172       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=   7698.695     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      230 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87651        74.163        .89303E-01    .48318E-03
   2  alpha         2.5090        3.6189        .41152       -.19509E-05
   3  Normalizat    1.2579        .27944E-01    .77019E-01    .17454E-04
   4  Prefactor     1.0172        .13706E-01    .42435E-01   -.14610E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.876514
  alpha      = 2.50899
  Normalizat = 1.2579
  Prefactor  = 1.01717
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.695     FROM HESSE     STATUS=OK            35 CALLS      265 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87651        32.400        .31859E-02   -1.5521    
   2  alpha         2.5090        3.6537        .95512E-01    .35949E-02
   3  Normalizat    1.2579        .28362        .34089E-03   -.84832    
   4  Prefactor     1.0172        .13889        .18240E-03   -.92159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33228e-11
Minuit parameter uncertainties:
  1  10.6638
  2  4.9466
  3  0.283974
  4  0.138941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784367': 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) = 7698.69510406
delta logL = 0.00215900146577

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  8.765e-01  1.066e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.509e+00  4.947e+00  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.017e+00  1.389e-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.258e+00  2.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 238.402 12.952

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/784367/cmap_HighResolution_515894401_516153601_4FGL_J1553.6+1257_daily_bin1067.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-05', job_status='DONE', photon_flux_upper_limit='9.78e-08', time_completed='2021-09-12 17:45:46.921422', job_id='784367', GAL2='1.02', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1631493946.92', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.16e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1067' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:45:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 784367: <4FGL_J1553.6+1257_daily_bin1067> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1067 238.402 12.9524 515894401 516153601 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 :                                   672.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            928 sec.

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

