aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 3 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 = 17171
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1552.0+0850_weekly_bin508
RA = 238.01, Dec = 8.8419
tmin = 546220801, tmax = 546825601
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='204075', job_status='RUN', time_executed='2021-07-23 18:31:18.547481', time_epoch_executed='1627090278.55' WHERE source_name='4FGL J1552.0+0850' and cadence='weekly' and bin_id='508'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/204075

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/204075/ft1_4FGL_J1552.0+0850_weekly_bin508.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/204075/ft1_4FGL_J1552.0+0850_weekly_bin508.fits outfile=/scratch/kocevski/204075/ft1_filteredMKT_4FGL_J1552.0+0850_weekly_bin508.fits ra=238.01 dec=8.8419 rad=12.0 tmin=546220801.0 tmax=546825601.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 8.23
user 7.90
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.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/204075/ft1_filteredMKT_4FGL_J1552.0+0850_weekly_bin508.fits evtable="EVENTS" outfile="/scratch/kocevski/204075/ft1_filtered_4FGL_J1552.0+0850_weekly_bin508.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.57
user 0.39
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/204075/ft1_filtered_4FGL_J1552.0+0850_weekly_bin508.fits" evtable="EVENTS" scfile=/scratch/kocevski/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.fits sctable="SC_DATA" outfile=/scratch/kocevski/204075/ltcube_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.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/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.fits
.....................!
real 30.58
user 29.93
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/204075/ft1_filtered_4FGL_J1552.0+0850_weekly_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.fits sctable="SC_DATA" expcube=/scratch/kocevski/204075/ltcube_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.fits outfile=/scratch/kocevski/204075/expmap_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.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/204075/ltcube_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.fits
.....................!
real 193.80
user 187.34
sys 5.65

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J1552.0+0850 @ 238.01 8.8419

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/204075/ft1_filtered_4FGL_J1552.0+0850_weekly_bin508.fits scfile=/scratch/kocevski/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.fits outfile=/scratch/kocevski/204075/cmap_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.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.01 yref=8.8419 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.59
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/204075/ft1_filtered_4FGL_J1552.0+0850_weekly_bin508.fits scfile=/scratch/kocevski/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.fits outfile=/scratch/kocevski/204075/cmap_HighResolution_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.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.01 yref=8.8419 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.60
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/204075/ft1_filtered_4FGL_J1552.0+0850_weekly_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/204075/Model_4FGL_J1552.0+0850_weekly_bin508.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/204075/ft1_filtered_4FGL_J1552.0+0850_weekly_bin508.fits.....................!
real 49.81
user 48.42
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/204075/ft1_filtered_4FGL_J1552.0+0850_weekly_bin508.fits', '/scratch/kocevski/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.fits', expMap='/scratch/kocevski/204075/expmap_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.fits', expCube='/scratch/kocevski/204075/ltcube_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/204075/Model_4FGL_J1552.0+0850_weekly_bin508.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1552.0+0850'

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  7.420e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.059e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/204075/ft1_filtered_4FGL_J1552.0+0850_weekly_bin508.fits
Spacecraft file(s): /scratch/kocevski/204075/ft2_4FGL_J1552.0+0850_weekly_bin508.fits
Exposure map: /scratch/kocevski/204075/expmap_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.fits
Exposure cube: /scratch/kocevski/204075/ltcube_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/204075/Model_4FGL_J1552.0+0850_weekly_bin508.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) = 5084.63816978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93449       1.0000         .10000E-03   10000.    
     2 'norm      '    3.1961       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.112       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.781       1.0000         .10000E-03   10000.    
     8 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .23115       1.0000         .10000E-03   10000.    
    12 'Prefactor '    119.27       1.0000         .10000E-03   10000.    
    13 'norm      '    3.8955       1.0000         .10000E-03   10000.    
    14 'norm      '    1.5797       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    107.44       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12334E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.689       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .37767E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1999       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5084.636     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2339 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .93443        .35284        .52747E-07   -.32472E-03
   2  norm          3.1961        6.0150       -.12508E-05   -.28482E-03
   3  Prefactor     .10000E-03    46.610        .50399E-04** at limit **
   4  Prefactor     .10000E-03    68.790       -.17059E-04** at limit **
   5  Prefactor     11.114        6.8192        .47435E-05   -.20431E-05
   6  Prefactor     .10000E-03    25.657       -.17001E-04** at limit **
   7  Prefactor     12.795        27.860        .93238E-05    .27281E-03
   8  norm          .10000E-03    5.0774        .15189E-06** at limit **
   9  Prefactor     .10000E-03    4.5397       -.16920E-06** at limit **
  10  Prefactor     .10000E-03    22.075        .11157E-04** at limit **
  11  norm          .24211        3.3988       -.34520E-05    .92964E-03
  12  Prefactor     119.30        103.49        .23576E-04    .88986E-04
  13  norm          3.8964        17.392       -.12908E-05   -.57957E-04
  14  norm          1.5798        2.4317       -.40755E-06   -.32199E-03
  15  norm          .10000E-03    7.0779        .89951E-07** at limit **
  16  norm          107.44        114.78        .11255E-05    .34424E-05
  17  Prefactor     .10000E-03    31.212       -.11242E-04** at limit **
  18  Prefactor     .10000E-03    70.699       -.28028E-04** at limit **
  19  Prefactor     17.687        17.347        .58325E-06    .10572E-03
  20  Prefactor     .10000E-03    7.6876       -.17443E-06** at limit **
  21  Normalizat    1.1998        .30447       -.42556E-05    .26076E-03
  22  Prefactor     .83376        .12057       -.10266E-05    .49021E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.934429
  norm       = 3.19609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1143
  Prefactor  = 0.0001
  Prefactor  = 12.7949
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.242114
  Prefactor  = 119.297
  norm       = 3.89638
  norm       = 1.57976
  norm       = 0.0001
  norm       = 107.443
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6865
  Prefactor  = 0.000100003
  Normalizat = 1.19976
  Prefactor  = 0.833762
 **********
 **   18 **HESSE 
 **********

 FCN=   5084.636     FROM HESSE     STATUS=OK           336 CALLS     2675 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .93443        .35299        .24992E-04   -1.5515    
   2  norm          3.1961        6.0080        .22665E-03   -1.5350    
   3  Prefactor     .10000E-03    46.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    68.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.114        6.7981        .12018E-03   -1.5041    
   6  Prefactor     .10000E-03    25.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.795        27.911        .11204E-03   -1.4992    
   8  norm          .10000E-03    5.1556        .15633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.6480        .29611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .24211        25.763        .23607E-02   -1.5610    
  12  Prefactor     119.30        103.56        .18424E-03   -1.3519    
  13  norm          3.8964        17.052        .20443E-03   -1.5313    
  14  norm          1.5798        2.3876        .12845E-03   -1.5457    
  15  norm          .10000E-03    7.0819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          107.44        114.79        .38799E-04   -1.3631    
  17  Prefactor     .10000E-03    31.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    70.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.687        17.075        .95230E-04   -1.4867    
  20  Prefactor     .10000E-03    20.301        .37879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1998        .36358        .36833E-03   -.86610    
  22  Prefactor     .83376        .14557        .17458E-03   -.98496    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.07324e-09
Minuit parameter uncertainties:
  1  0.352992
  2  6.00916
  3  0.000146578
  4  0.000242581
  5  6.79856
  6  3.48448e-05
  7  27.9394
  8  4.25149e-05
  9  3.90975e-05
  10  1.65468e-05
  11  4.99618
  12  103.717
  13  16.3099
  14  2.3877
  15  2.43528e-06
  16  115.029
  17  1.85433e-05
  18  0.000172381
  19  17.0802
  20  0.000524666
  21  0.364353
  22  0.14564
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.193e+02  1.037e+02  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.059e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  8.338e-01  1.456e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.200e+00  3.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.32
Ra Dec: 238.010 8.842
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 6.50e-08 +/- 5.65e-08
Energy Flux (Fixed Index): 3.91e-05 +/- 3.40e-05

TS (Fixed Index): 2.32
Ra Dec: 238.010 8.842
Photon Flux Upper Limit: 1.96e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.47e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/204075/likelihoodResults_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.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) = 5084.58680638
delta logL = 0.049320714842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5084.57902301
delta logL = 0.0571040856948

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    143.46       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8886       1.0000          .0000       10.000    
     3 'Normalizat'    1.2090       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83157       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+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=   5084.579     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      302 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     143.47        139.11        .33639E-04    .24333E-05
   2  Index         1.8886        .50395        .67540E-02    .28422E-03
   3  Normalizat    1.2091        .35455        .36709E-03   -.18241E-04
   4  Prefactor     .83153        .14369        .17479E-03   -.21399E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 143.468
  Index      = 1.88856
  Normalizat = 1.2091
  Prefactor  = 0.831526
 **********
 **   18 **HESSE 
 **********

 FCN=   5084.579     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     143.47        136.74        .67277E-05   -1.3307    
   2  Index         1.8886        .49530        .13508E-02   -.67166    
   3  Normalizat    1.2091        .35483        .14683E-04   -.86322    
   4  Prefactor     .83153        .14382        .69914E-05   -.98577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56753e-12
Minuit parameter uncertainties:
  1  137.04
  2  0.49663
  3  0.355544
  4  0.143887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/204075': 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) = 5084.57902295
delta logL = 0.0571041466392

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.435e+02  1.370e+02  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  1.889e+00  4.966e-01  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  8.315e-01  1.439e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.209e+00  3.555e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.43
Ra Dec: 238.010 8.842
Photon Index (Free Index): 1.89 +/- 0.50
Photon Flux (Free Index): 5.50e-08 +/- 5.75e-08
Energy Flux (Free Index): 5.09e-05 +/- 6.01e-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/204075/cmap_HighResolution_546220801_546825601_4FGL_J1552.0+0850_weekly_bin508.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-02', comment='SUCCESS', photon_flux='6.50e-08', energy_flux2='5.09e-05', photon_flux_error='5.65e-08', dlogl='5.71e-02', energy_flux='3.91e-05', photon_flux2='5.50e-08', job_status='DONE', time_completed='2021-07-23 18:41:31.797559', photon_index_error2='0.50', photon_index2='1.89', ts='2.32', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.96e-07', energy_flux_error2='6.01e-05', EG='1.20', time_epoch_completed='1627090891.8', return_code='0', job_id='204075', GAL2='0.83', EG2='1.21', return_code2='0', energy_flux_error='3.40e-05', photon_flux_error2='5.75e-08', ts2='2.43', photon_index='2.06' WHERE bin_id='508' AND source_name='4FGL J1552.0+0850' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 23 18:41:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 204075: <4FGL_J1552.0+0850_weekly_bin508> in cluster <slac> Done

Job <4FGL_J1552.0+0850_weekly_bin508> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Jul 23 18:30:52 2021
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 23 18:31:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 23 18:31:05 2021
Terminated at Fri Jul 23 18:41:32 2021
Results reported at Fri Jul 23 18:41:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_weekly_bin508 238.01 8.8419 546220801 546825601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1552.0+0850 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   594.05 sec.
    Max Memory :                                 634 MB
    Average Memory :                             297.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   627 sec.
    Turnaround time :                            640 sec.

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

