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/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 159 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 = 8125
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1552.0+0850_weekly_bin32
RA = 238.01, Dec = 8.8419
tmin = 258336001, tmax = 258940801
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='200153', job_status='RUN', time_executed='2021-07-23 18:19:43.147342', time_epoch_executed='1627089583.15' WHERE source_name='4FGL J1552.0+0850' and cadence='weekly' and bin_id='32'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200153

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

Retrieving the FT1 file...

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

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

Retrieving 34 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200153/ft1_4FGL_J1552.0+0850_weekly_bin32.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200153/ft2_4FGL_J1552.0+0850_weekly_bin32.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200153/ft1_4FGL_J1552.0+0850_weekly_bin32.fits outfile=/scratch/kocevski/200153/ft1_filteredMKT_4FGL_J1552.0+0850_weekly_bin32.fits ra=238.01 dec=8.8419 rad=12.0 tmin=258336001.0 tmax=258940801.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.19
user 0.99
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200153/ft2_4FGL_J1552.0+0850_weekly_bin32.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/200153/ft1_filteredMKT_4FGL_J1552.0+0850_weekly_bin32.fits evtable="EVENTS" outfile="/scratch/kocevski/200153/ft1_filtered_4FGL_J1552.0+0850_weekly_bin32.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200153/ft1_filtered_4FGL_J1552.0+0850_weekly_bin32.fits" evtable="EVENTS" scfile=/scratch/kocevski/200153/ft2_4FGL_J1552.0+0850_weekly_bin32.fits sctable="SC_DATA" outfile=/scratch/kocevski/200153/ltcube_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.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/200153/ft2_4FGL_J1552.0+0850_weekly_bin32.fits
.....................!
real 18.92
user 18.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200153/ft1_filtered_4FGL_J1552.0+0850_weekly_bin32.fits evtable="EVENTS" scfile=/scratch/kocevski/200153/ft2_4FGL_J1552.0+0850_weekly_bin32.fits sctable="SC_DATA" expcube=/scratch/kocevski/200153/ltcube_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.fits outfile=/scratch/kocevski/200153/expmap_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.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/200153/ltcube_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.fits
.....................!
real 196.70
user 188.04
sys 5.31

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/200153/ft1_filtered_4FGL_J1552.0+0850_weekly_bin32.fits scfile=/scratch/kocevski/200153/ft2_4FGL_J1552.0+0850_weekly_bin32.fits outfile=/scratch/kocevski/200153/cmap_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200153/ft1_filtered_4FGL_J1552.0+0850_weekly_bin32.fits scfile=/scratch/kocevski/200153/ft2_4FGL_J1552.0+0850_weekly_bin32.fits outfile=/scratch/kocevski/200153/cmap_HighResolution_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.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.56
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200153/ft1_filtered_4FGL_J1552.0+0850_weekly_bin32.fits', '/scratch/kocevski/200153/ft2_4FGL_J1552.0+0850_weekly_bin32.fits', expMap='/scratch/kocevski/200153/expmap_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.fits', expCube='/scratch/kocevski/200153/ltcube_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200153/Model_4FGL_J1552.0+0850_weekly_bin32.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/200153/ft1_filtered_4FGL_J1552.0+0850_weekly_bin32.fits
Spacecraft file(s): /scratch/kocevski/200153/ft2_4FGL_J1552.0+0850_weekly_bin32.fits
Exposure map: /scratch/kocevski/200153/expmap_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.fits
Exposure cube: /scratch/kocevski/200153/ltcube_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200153/Model_4FGL_J1552.0+0850_weekly_bin32.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) = 7815.51736381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5545       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.850       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2767       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10594E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .33862       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5989       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.193       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7834       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.616       1.0000         .10000E-03   10000.    
    13 'norm      '    11.846       1.0000         .10000E-03   10000.    
    14 'norm      '    1.4535       1.0000         .10000E-03   10000.    
    15 'norm      '    6.1621       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.214       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5268       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .95533E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .30338       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70318       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=   7815.504     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2463 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5543        .42055        .12166E-08    .22612E-03
   2  norm          .10000E-03    2.8082        .20213E-06** at limit **
   3  Prefactor     35.843        27.053        .28784E-05   -.14224E-03
   4  Prefactor     .10000E-03    6.1820       -.88487E-07** at limit **
   5  Prefactor     3.2738        3.4582       -.27705E-06   -.59725E-03
   6  Prefactor     .10000E-03    14.306        .41349E-06** at limit **
   7  Prefactor     .10000E-03    34.658       -.55988E-08** at limit **
   8  norm          .33850        1.1911       -.97567E-06   -.21650E-02
   9  Prefactor     4.5983        3.1271       -.62349E-07   -.30165E-03
  10  Prefactor     24.180        21.762       -.25991E-05    .18508E-03
  11  norm          1.7829        2.0505       -.11074E-06   -.40458E-03
  12  Prefactor     22.606        31.096        .44893E-05   -.11010E-03
  13  norm          11.840        7.4036       -.12260E-06    .10980E-03
  14  norm          1.4536        1.0748       -.81955E-08   -.21862E-03
  15  norm          6.1591        8.1302        .19298E-05   -.29969E-03
  16  norm          .10000E-03    21.337       -.67335E-06** at limit **
  17  Prefactor     16.049        46.832       -.27026E-05    .11083E-04
  18  Prefactor     5.5161        21.771       -.76099E-05    .40193E-04
  19  Prefactor     .10000E-03    2.9757        .18980E-06** at limit **
  20  Prefactor     .10001E-03    4.6749        .54750E-06** at limit **
  21  Normalizat    .30396        .19852       -.13515E-05   -.64357E-04
  22  Prefactor     .70300        .82278E-01    .49131E-06   -.10781E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.55432
  norm       = 0.0001
  Prefactor  = 35.8425
  Prefactor  = 0.0001
  Prefactor  = 3.27381
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.338501
  Prefactor  = 4.59831
  Prefactor  = 24.1796
  norm       = 1.7829
  Prefactor  = 22.6062
  norm       = 11.8403
  norm       = 1.45359
  norm       = 6.15913
  norm       = 0.0001
  Prefactor  = 16.0493
  Prefactor  = 5.51614
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Normalizat = 0.303955
  Prefactor  = 0.702997
 **********
 **   18 **HESSE 
 **********

 FCN=   7815.504     FROM HESSE     STATUS=OK           354 CALLS     2817 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5543        .41976        .18957E-04   -1.5331    
   2  norm          .10000E-03    2.8401        .14465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     35.843        26.704        .66932E-04   -1.4510    
   4  Prefactor     .10000E-03    6.1911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2738        3.4426        .15650E-03   -1.5346    
   6  Prefactor     .10000E-03    14.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    35.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .33850        1.3032        .19251E-03   -1.5592    
   9  Prefactor     4.5983        3.1010        .11884E-03   -1.5279    
  10  Prefactor     24.180        21.277        .81439E-04   -1.4724    
  11  norm          1.7829        2.0295        .13050E-03   -1.5441    
  12  Prefactor     22.606        30.614        .84227E-04   -1.4757    
  13  norm          11.840        7.2970        .11639E-03   -1.5020    
  14  norm          1.4536        1.0631        .75627E-04   -1.5467    
  15  norm          6.1591        7.9560        .16172E-03   -1.5212    
  16  norm          .10000E-03    21.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.049        46.807        .99466E-04   -1.4907    
  18  Prefactor     5.5161        21.528        .17090E-03   -1.5238    
  19  Prefactor     .10000E-03    2.9886        .14882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    6.3492        .52270E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .30396        .19250        .44428E-03   -1.2260    
  22  Prefactor     .70300        .83695E-01    .13264E-03   -1.0341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88051e-09
Minuit parameter uncertainties:
  1  0.419759
  2  4.52478e-06
  3  26.7125
  4  4.48793e-06
  5  3.44276
  6  3.71564e-05
  7  7.16817e-06
  8  1.30333
  9  3.10115
  10  21.2837
  11  2.02955
  12  30.6349
  13  7.29755
  14  1.0631
  15  7.95737
  16  3.15835e-05
  17  46.9139
  18  21.5582
  19  1.68281e-05
  20  0.000565748
  21  0.192916
  22  0.0837098
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  2.261e+01  3.063e+01  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:  7.030e-01  8.371e-02  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:  3.040e-01  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.98
Ra Dec: 238.010 8.842
Photon Flux Upper Limit: 6.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/200153/likelihoodResults_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.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) = 7813.95386302
delta logL = 1.55018028142

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7813.95265342
delta logL = 1.55138988131

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.874       1.0000         .10000E-03   10000.    
     2 'Index     '    .86425       1.0000          .0000       10.000    
     3 'Normalizat'    .30758       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70359       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=   7813.953     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      212 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 20.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.845        37.549       -.38721E-04   -.28676E-03
   2  Index         .86335        .75554       -.16173E-03    .71738E-04
   3  Normalizat    .30729        .17884        .99341E-06    .22180E-03
   4  Prefactor     .70365        .81063E-01    .14971E-06    .63833E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.8454
  Index      = 0.863348
  Normalizat = 0.307295
  Prefactor  = 0.703654
 **********
 **   18 **HESSE 
 **********

 FCN=   7813.953     FROM HESSE     STATUS=OK            27 CALLS      239 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.845        37.215        .87666E-04   -1.4795    
   2  Index         .86335        .74943        .13841E-02   -.97434    
   3  Normalizat    .30729        .18200        .44146E-03   -1.2240    
   4  Prefactor     .70365        .82689E-01    .13255E-03   -1.0338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20358e-10
Minuit parameter uncertainties:
  1  37.2564
  2  0.758617
  3  0.182354
  4  0.0827031
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200153': 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) = 7813.95265072
delta logL = 1.55139258079

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  2.085e+01  3.726e+01  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  8.633e-01  7.586e-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:  7.037e-01  8.270e-02  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:  3.073e-01  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.07
Ra Dec: 238.010 8.842
Photon Index (Free Index): 0.86 +/- 0.76
Photon Flux (Free Index): 3.45e-09 +/- 4.47e-09
Energy Flux (Free Index): 6.78e-05 +/- 8.85e-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/200153/cmap_HighResolution_258336001_258940801_4FGL_J1552.0+0850_weekly_bin32.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-03', comment='SUCCESS', energy_flux2='6.78e-05', dlogl='1.55e+00', photon_flux2='3.45e-09', job_status='DONE', time_completed='2021-07-23 18:30:59.718638', photon_index_error2='0.76', photon_index2='0.86', ts='0.98', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='6.11e-08', energy_flux_error2='8.85e-05', EG='0.30', time_epoch_completed='1627090259.72', return_code='0', job_id='200153', GAL2='0.70', EG2='0.31', return_code2='0', photon_flux_error2='4.47e-09', ts2='4.07', photon_index='2.06' WHERE bin_id='32' AND source_name='4FGL J1552.0+0850' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 23 18:30:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 200153: <4FGL_J1552.0+0850_weekly_bin32> in cluster <slac> Done

Job <4FGL_J1552.0+0850_weekly_bin32> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Jul 23 18:15:44 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 23 18:16:49 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:16:49 2021
Terminated at Fri Jul 23 18:31:00 2021
Results reported at Fri Jul 23 18:31:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_weekly_bin32 238.01 8.8419 258336001 258940801 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 :                                   667.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            916 sec.

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

