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


Performing analysis on: 4FGL_J0929.3+5014_weekly_bin550
RA = 142.327, Dec = 50.2352
tmin = 571622401, tmax = 572227201
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='819075', job_status='RUN', time_executed='2021-07-15 13:03:09.926569', time_epoch_executed='1626379389.93' WHERE source_name='4FGL J0929.3+5014' and cadence='weekly' and bin_id='550'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/819075

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/819075/ft1_4FGL_J0929.3+5014_weekly_bin550.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/819075/ft1_4FGL_J0929.3+5014_weekly_bin550.fits outfile=/scratch/kocevski/819075/ft1_filteredMKT_4FGL_J0929.3+5014_weekly_bin550.fits ra=142.327 dec=50.2352 rad=12.0 tmin=571622401.0 tmax=572227201.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 5.56
user 5.24
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.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/819075/ft1_filteredMKT_4FGL_J0929.3+5014_weekly_bin550.fits evtable="EVENTS" outfile="/scratch/kocevski/819075/ft1_filtered_4FGL_J0929.3+5014_weekly_bin550.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.40
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/819075/ft1_filtered_4FGL_J0929.3+5014_weekly_bin550.fits" evtable="EVENTS" scfile=/scratch/kocevski/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.fits sctable="SC_DATA" outfile=/scratch/kocevski/819075/ltcube_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.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/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.fits
.....................!
real 33.04
user 32.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/819075/ft1_filtered_4FGL_J0929.3+5014_weekly_bin550.fits evtable="EVENTS" scfile=/scratch/kocevski/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.fits sctable="SC_DATA" expcube=/scratch/kocevski/819075/ltcube_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.fits outfile=/scratch/kocevski/819075/expmap_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.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/819075/ltcube_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.fits
.....................!
real 192.22
user 187.16
sys 4.64

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

Setting source of interest to:
4FGL J0929.3+5014 @ 142.327 50.2352

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/819075/ft1_filtered_4FGL_J0929.3+5014_weekly_bin550.fits scfile=/scratch/kocevski/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.fits outfile=/scratch/kocevski/819075/cmap_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.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=142.327 yref=50.2352 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.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/819075/ft1_filtered_4FGL_J0929.3+5014_weekly_bin550.fits scfile=/scratch/kocevski/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.fits outfile=/scratch/kocevski/819075/cmap_HighResolution_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.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=142.327 yref=50.2352 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/819075/ft1_filtered_4FGL_J0929.3+5014_weekly_bin550.fits evtable="EVENTS" scfile=/scratch/kocevski/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/819075/Model_4FGL_J0929.3+5014_weekly_bin550.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/819075/ft1_filtered_4FGL_J0929.3+5014_weekly_bin550.fits.........................!
real 21.62
user 20.25
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/819075/ft1_filtered_4FGL_J0929.3+5014_weekly_bin550.fits', '/scratch/kocevski/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.fits', expMap='/scratch/kocevski/819075/expmap_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.fits', expCube='/scratch/kocevski/819075/ltcube_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/819075/Model_4FGL_J0929.3+5014_weekly_bin550.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0929.3+5014'

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  5.632e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.125e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/819075/ft1_filtered_4FGL_J0929.3+5014_weekly_bin550.fits
Spacecraft file(s): /scratch/kocevski/819075/ft2_4FGL_J0929.3+5014_weekly_bin550.fits
Exposure map: /scratch/kocevski/819075/expmap_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.fits
Exposure cube: /scratch/kocevski/819075/ltcube_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/819075/Model_4FGL_J0929.3+5014_weekly_bin550.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) = 881.853501436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9999.7       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .57420E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10000.       1.0000         .10000E-03   10000.    
     5 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11748E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .38075E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.898       1.0000         .10000E-03   10000.    
    11 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    12 'Prefactor '    818.92       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    15 'norm      '    9998.9       1.0000         .10000E-03   10000.    
    16 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10552E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .27237E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .47911E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    35.380       1.0000         .10000E-03   10000.    
    26 'Prefactor '    3965.3       1.0000         .10000E-03   10000.    
    27 'Prefactor '    6.1331       1.0000         .10000E-03   10000.    
    28 'norm      '    1.6093       1.0000         .10000E-03   10000.    
    29 'norm      '    .10250E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .16446E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    1.8761       1.0000         .10000E-03   10000.    
    33 'Prefactor '    80.461       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.0087       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+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=   880.8041     FROM MIGRAD    STATUS=CONVERGED   1784 CALLS     7778 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        773.61        .18142E-02** at limit **
   2  Prefactor    10000.0        5338.9        .20997E-02** at limit **
   3  Prefactor     .10017E-03    1398.3        .21087E-02** at limit **
   4  norm         10000.0        6914.1        .18142E-02** at limit **
   5  norm         10000.0        1309.9        .20758E-02** at limit **
   6  Prefactor     .10000E-03    134.90        .18142E-02** at limit **
   7  Prefactor    10000.0        1859.8        .18669E-02** at limit **
   8  Prefactor     .10000E-03    308.58        .18142E-02** at limit **
   9  Prefactor     .10000E-03    6516.9        .19555E-02** at limit **
  10  Prefactor    10000.0        8507.0        .41854E-02** at limit **
  11  Prefactor    10000.0        9932.8        .18176E-02** at limit **
  12  Prefactor    10000.0        5042.8        .72940E-02** at limit **
  13  norm          .10000E-03    334.69        .18142E-02** at limit **
  14  Prefactor    10000.0        7392.4        .18195E-02** at limit **
  15  norm         10000.0        7542.5        .23225E-02** at limit **
  16  Prefactor    10000.0        8674.4        .20800E-02** at limit **
  17  Prefactor     .10000E-03    42.080        .18142E-02** at limit **
  18  Prefactor     .10000E-03    6.7608        .75390E-03** at limit **
  19  Prefactor     .10000E-03    56.338        .18142E-02** at limit **
  20  Prefactor     .10000E-03    9.9515        .91440E-03** at limit **
  21  norm          .10000E-03    652.07        .19931E-02** at limit **
  22  Prefactor     .10001E-03    6878.3        .19261E-02** at limit **
  23  Prefactor     .10000E-03    6.2277        .72297E-03** at limit **
  24  Prefactor     .10000E-03    10.363        .93345E-03** at limit **
  25  norm          35.359        36.833        .67375E-04   -.46930E-04
  26  Prefactor     3963.4        3068.0        .40885E-04    .33924E-05
  27  Prefactor     6.2064        370.53        .16211E-03   -.66096E-05
  28  norm          1.6099        .98226        .22047E-04   -.19988E-03
  29  norm          .10000E-03    50.619        .18142E-02** at limit **
  30  Prefactor     .10000E-03    6.3379        .72984E-03** at limit **
  31  Prefactor     .10000E-03    162.80        .18142E-02** at limit **
  32  norm          1.8782        4.5521        .47358E-03   -.47718E-04
  33  Prefactor     80.384        84.167        .44774E-04   -.63198E-04
  34  Normalizat    .10000E-01    .21789        .75948E-02** at limit **
  35  Prefactor     1.0090        .35077        .27649E-03   -.86898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100169
  norm       = 10000
  norm       = 10000
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 35.3595
  Prefactor  = 3963.42
  Prefactor  = 6.20637
  norm       = 1.60987
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.87822
  Prefactor  = 80.3836
  Normalizat = 0.01
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   880.8041     FROM HESSE     STATUS=OK           738 CALLS     8516 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        773.60        .36285E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        5338.4        .41994E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10017E-03    1398.3        .42174E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm         10000.0        6914.0        .36285E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm         10000.0        1309.6        .41515E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    134.90        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        1859.8        .37338E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    308.58        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6516.9        .39110E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor    10000.0        8511.1        .83708E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor    10000.0        9932.8        .36353E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor    10000.0        5042.7        .14588E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    334.69        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor    10000.0        7392.4        .36391E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm         10000.0        7540.8        .46449E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor    10000.0        8674.4        .41599E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    42.080        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.7608        .15078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    56.338        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.9516        .18288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    652.07        .39862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    6878.3        .38521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.2278        .14459E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.363        .18669E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          35.359        36.816        .13475E-04   -1.4518    
  26  Prefactor     3963.4        3068.8        .81770E-05   -.20883    
  27  Prefactor     6.2064        370.02        .64845E-05   -1.5210    
  28  norm          1.6099        .98227        .88189E-06   -1.5454    
  29  norm          .10000E-03    50.620        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    6.3379        .14597E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    162.80        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          1.8782        4.5526        .18943E-04   -1.5434    
  33  Prefactor     80.384        84.169        .89549E-05   -1.3912    
  34  Normalizat    .10000E-01    .21790        .15190E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     1.0090        .35076        .55297E-04   -.92429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86317e-10
Minuit parameter uncertainties:
  1  0.00271643
  2  0.187215
  3  0.0315211
  4  0.00804715
  5  0.0232518
  6  0.000280888
  7  0.00339334
  8  0.0012708
  9  0.00331447
  10  0.226222
  11  0.00484176
  12  0.236814
  13  0.000334609
  14  0.00332636
  15  0.246437
  16  0.00719217
  17  4.8682e-06
  18  2.82212e-07
  19  0.000139963
  20  3.69553e-06
  21  0.00153512
  22  0.00989515
  23  8.53275e-06
  24  1.47924e-06
  25  36.8392
  26  3317.3
  27  96.4749
  28  0.98228
  29  0.00011543
  30  2.16853e-06
  31  0.000842751
  32  4.55341
  33  84.2943
  34  4.1913e-06
  35  0.351557
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.000e-04  4.868e-06  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.125e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.009e+00  3.516e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  1.000e-02  4.191e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 142.327 50.235
Photon Flux Upper Limit: 6.81e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/819075/likelihoodResults_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.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): 102
logL (Free Index) = 880.804259216
delta logL = -0.000112303690685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 880.80414848
delta logL = -1.56853616318e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14892E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5050       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+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=   880.8041     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      284 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10461E-03    32.560        .15422E-01** at limit **
   2  Index         2.4021        6.0855        .50000        .89839E-05
   3  Normalizat    .10000E-01    .46212E-03    .75941E-02** at limit **
   4  Prefactor     1.0090        .13170E-01    .27649E-03   -.75245E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104608
  Index      = 2.40206
  Normalizat = 0.01
  Prefactor  = 1.00902
 **********
 **   18 **HESSE 
 **********

 FCN=   880.8041     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      313 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10461E-03    290.60        .16133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4021        5.2941        .50000       -.54637    
   3  Normalizat    .10000E-01    .42332E-02    .15188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0090        .39853E-01    .11060E-04   -.92429    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.22188e-09
Minuit parameter uncertainties:
  1  0.0735478
  2  573.008
  3  1.94622e-07
  4  0.039854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/819075': 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): 102
logL (Free Index) = 880.804147414
delta logL = -5.02360308019e-07

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.046e-04  7.355e-02  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.402e+00  5.730e+02  0.000e+00  1.000e+01 (-1.000e+00)
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  1.009e+00  3.985e-02  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  1.000e-02  1.946e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 142.327 50.235

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/819075/cmap_HighResolution_571622401_572227201_4FGL_J0929.3+5014_weekly_bin550.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-02', job_status='DONE', photon_flux_upper_limit='6.81e-07', time_completed='2021-07-15 13:12:15.659560', job_id='819075', GAL2='1.01', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1626379935.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-5.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='550' AND source_name='4FGL J0929.3+5014' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 13:12:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 819075: <4FGL_J0929.3+5014_weekly_bin550> in cluster <slac> Done

Job <4FGL_J0929.3+5014_weekly_bin550> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Jul 15 13:00:46 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 13:02:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 15 13:02:25 2021
Terminated at Thu Jul 15 13:12:16 2021
Results reported at Thu Jul 15 13:12:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_weekly_bin550 142.327 50.2352 571622401 572227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0929.3+5014 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   540.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             334.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            690 sec.

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

