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


Performing analysis on: 4FGL_J0533.8-3749_weekly_bin632
RA = 83.4749, Dec = -37.8309
tmin = 621216001, tmax = 621820801
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='155508', job_status='RUN', time_executed='2021-07-08 23:55:02.076795', time_epoch_executed='1625813702.08' WHERE source_name='4FGL J0533.8-3749' and cadence='weekly' and bin_id='632'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/155508

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/155508/ft1_4FGL_J0533.8-3749_weekly_bin632.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/155508/ft1_4FGL_J0533.8-3749_weekly_bin632.fits outfile=/scratch/kocevski/155508/ft1_filteredMKT_4FGL_J0533.8-3749_weekly_bin632.fits ra=83.4749 dec=-37.8309 rad=12.0 tmin=621216001.0 tmax=621820801.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.28
user 7.76
sys 0.34

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.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/155508/ft1_filteredMKT_4FGL_J0533.8-3749_weekly_bin632.fits evtable="EVENTS" outfile="/scratch/kocevski/155508/ft1_filtered_4FGL_J0533.8-3749_weekly_bin632.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.63
user 0.40
sys 0.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/155508/ft1_filtered_4FGL_J0533.8-3749_weekly_bin632.fits" evtable="EVENTS" scfile=/scratch/kocevski/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.fits sctable="SC_DATA" outfile=/scratch/kocevski/155508/ltcube_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.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/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.fits
.....................!
real 31.30
user 30.76
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/155508/ft1_filtered_4FGL_J0533.8-3749_weekly_bin632.fits evtable="EVENTS" scfile=/scratch/kocevski/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.fits sctable="SC_DATA" expcube=/scratch/kocevski/155508/ltcube_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.fits outfile=/scratch/kocevski/155508/expmap_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.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/155508/ltcube_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.fits
.....................!
real 191.90
user 186.17
sys 4.90

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

Setting source of interest to:
4FGL J0533.8-3749 @ 83.4749 -37.8309

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/155508/ft1_filtered_4FGL_J0533.8-3749_weekly_bin632.fits scfile=/scratch/kocevski/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.fits outfile=/scratch/kocevski/155508/cmap_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.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=83.4749 yref=-37.8309 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.64
user 0.43
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/155508/ft1_filtered_4FGL_J0533.8-3749_weekly_bin632.fits scfile=/scratch/kocevski/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.fits outfile=/scratch/kocevski/155508/cmap_HighResolution_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.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=83.4749 yref=-37.8309 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.65
user 0.43
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/155508/ft1_filtered_4FGL_J0533.8-3749_weekly_bin632.fits evtable="EVENTS" scfile=/scratch/kocevski/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/155508/Model_4FGL_J0533.8-3749_weekly_bin632.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/155508/ft1_filtered_4FGL_J0533.8-3749_weekly_bin632.fits.....................!
real 159.55
user 157.69
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/155508/ft1_filtered_4FGL_J0533.8-3749_weekly_bin632.fits', '/scratch/kocevski/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.fits', expMap='/scratch/kocevski/155508/expmap_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.fits', expCube='/scratch/kocevski/155508/ltcube_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/155508/Model_4FGL_J0533.8-3749_weekly_bin632.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0533.8-3749'

4FGL J0533.8-3749
   Spectrum: PowerLaw
274    Prefactor:  1.799e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  1.207e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/155508/ft1_filtered_4FGL_J0533.8-3749_weekly_bin632.fits
Spacecraft file(s): /scratch/kocevski/155508/ft2_4FGL_J0533.8-3749_weekly_bin632.fits
Exposure map: /scratch/kocevski/155508/expmap_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.fits
Exposure cube: /scratch/kocevski/155508/ltcube_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/155508/Model_4FGL_J0533.8-3749_weekly_bin632.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) = 17810.4866201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.154       1.0000         .10000E-03   10000.    
     2 'norm      '    5.7910       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .99564       1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.972       1.0000         .10000E-03   10000.    
     5 'norm      '    3.5042       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.378       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13690E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2047       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .87517       1.0000         .10000E-03   10000.    
    11 'norm      '    2.5789       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.8095       1.0000         .10000E-03   10000.    
    13 'norm      '    16.195       1.0000         .10000E-03   10000.    
    14 'norm      '    .91976       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0705       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.9887       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.7776       1.0000         .10000E-03   10000.    
    20 'norm      '    3.6619       1.0000         .10000E-03   10000.    
    21 'norm      '    .96957       1.0000         .10000E-03   10000.    
    22 'norm      '    11.046       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10403E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .33706E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    38.149       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.4482       1.0000         .10000E-03   10000.    
    27 'norm      '    12.582       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .21924E-01   1.0000         .10000E-03   10000.    
    29 'Prefactor '    4.3689       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .96633       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17810.48     FROM MIGRAD    STATUS=CONVERGED    828 CALLS     4230 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.164        10.939       -.17590E-07    .95129E-04
   2  norm          5.7925        1.7532       -.10623E-07    .32066E-03
   3  Prefactor     .99131        3.0408        .25641E-07    .83632E-04
   4  Prefactor     32.990        19.012       -.17910E-06    .12089E-03
   5  norm          3.5044        4.0629        .19591E-06    .49591E-03
   6  Prefactor     24.404        37.834        .29976E-06   -.81734E-04
   7  Prefactor     .10000E-03    1.4276       -.80569E-08** at limit **
   8  Prefactor     .10000E-03    6.2757       -.35162E-07** at limit **
   9  Prefactor     2.2049        1.3984        .16083E-07    .64821E-04
  10  Prefactor     .87486        1.2993       -.37755E-06   -.18331E-03
  11  norm          2.5789        1.3046        .44417E-07    .48137E-04
  12  Prefactor     1.8087        36.061        .76483E-06    .56342E-04
  13  norm          16.195        3.7851        .87421E-07    .52828E-04
  14  norm          .91990        1.4395       -.37098E-06   -.21338E-03
  15  Prefactor     2.0709        3.5603        .16800E-06    .10865E-03
  16  Prefactor     .10000E-03    2.0140        .44454E-07** at limit **
  17  Prefactor     .10000E-03    2.5752        .47175E-07** at limit **
  18  norm          3.9893        3.1737        .16834E-06    .73075E-03
  19  Prefactor     6.7794        10.023       -.11063E-08   -.67634E-06
  20  norm          3.6620        .77668        .83884E-08    .76996E-04
  21  norm          .96972        1.2487        .29313E-07   -.84955E-04
  22  norm          11.047        8.1785        .79877E-09    .24047E-04
  23  Prefactor     .10000E-03    16.430        .24380E-06** at limit **
  24  Prefactor     .10006E-03    8.2035        .65737E-06** at limit **
  25  Prefactor     38.143        26.089        .12510E-10    .11376E-04
  26  Prefactor     2.4436        6.8414        .10123E-05   -.14215E-03
  27  norm          12.585        14.512       -.18412E-08    .19516E-04
  28  Prefactor     .10000E-03    9.4450       -.25915E-06** at limit **
  29  Prefactor     4.3696        2.7004       -.49098E-08   -.60169E-04
  30  Normalizat    .96640        .13693       -.74155E-07    .14043E-03
  31  Prefactor     1.1170        .10096        .48721E-08    .22061E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 26.1637
  norm       = 5.79248
  Prefactor  = 0.991306
  Prefactor  = 32.9901
  norm       = 3.50436
  Prefactor  = 24.404
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.20486
  Prefactor  = 0.874861
  norm       = 2.5789
  Prefactor  = 1.80873
  norm       = 16.1946
  norm       = 0.919902
  Prefactor  = 2.07087
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.9893
  Prefactor  = 6.77938
  norm       = 3.66198
  norm       = 0.969718
  norm       = 11.0469
  Prefactor  = 0.0001
  Prefactor  = 0.000100064
  Prefactor  = 38.1426
  Prefactor  = 2.44359
  norm       = 12.5846
  Prefactor  = 0.000100001
  Prefactor  = 4.3696
  Normalizat = 0.966404
  Prefactor  = 1.11704
 **********
 **   18 **HESSE 
 **********

 FCN=   17810.48     FROM HESSE     STATUS=OK           656 CALLS     4886 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.164        10.639        .78331E-04   -1.4685    
   2  norm          5.7925        1.6546        .76668E-04   -1.5227    
   3  Prefactor     .99131        2.7171        .26775E-03   -1.5509    
   4  Prefactor     32.990        18.824        .69784E-04   -1.4559    
   5  norm          3.5044        4.0784        .10799E-02   -1.5334    
   6  Prefactor     24.404        37.214        .81130E-04   -1.4720    
   7  Prefactor     .10000E-03    5.8490        .30618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.2783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.2049        1.3879        .11859E-03   -1.5411    
  10  Prefactor     .87486        1.0726        .20022E-02   -1.5521    
  11  norm          2.5789        1.2917        .10184E-03   -1.5387    
  12  Prefactor     1.8087        36.892        .15530E-02   -1.5439    
  13  norm          16.195        3.7060        .99526E-04   -1.4903    
  14  norm          .91990        1.1550        .21108E-02   -1.5516    
  15  Prefactor     2.0709        3.5052        .28709E-03   -1.5420    
  16  Prefactor     .10000E-03    2.0164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.5840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.9893        3.2721        .10097E-02   -1.5308    
  19  Prefactor     6.7794        9.9614        .15412E-03   -1.5187    
  20  norm          3.6620        .77542        .51478E-04   -1.5325    
  21  norm          .96972        1.2115        .15709E-03   -1.5511    
  22  norm          11.047        8.1878        .12054E-03   -1.5043    
  23  Prefactor     .10000E-03    16.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10006E-03    35.625        .45771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     38.143        26.052        .64891E-04   -1.4472    
  26  Prefactor     2.4436        6.8022        .26145E-03   -1.5395    
  27  norm          12.585        14.524        .11293E-03   -1.4998    
  28  Prefactor     .10000E-03    10.030        .12763       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     4.3696        2.7017        .83653E-03   -1.5290    
  30  Normalizat    .96640        .15614        .31480E-03   -.94165    
  31  Prefactor     1.1170        .11873        .23746E-03   -.88924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07107e-09
Minuit parameter uncertainties:
  1  10.6398
  2  1.65458
  3  2.71746
  4  18.8273
  5  4.07872
  6  37.2491
  7  3.86212e-05
  8  9.21612e-06
  9  1.38793
  10  1.07261
  11  1.29168
  12  16.3485
  13  3.70602
  14  1.15498
  15  3.50554
  16  4.33433e-06
  17  4.81802e-06
  18  3.27229
  19  9.96384
  20  0.775425
  21  1.21156
  22  8.18866
  23  7.16841e-05
  24  0.00301394
  25  26.0602
  26  6.80435
  27  14.5284
  28  0.000158174
  29  2.70181
  30  0.156213
  31  0.118761
Done.

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

Extracting fit parameters...

4FGL J0533.8-3749
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  4.334e-06  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  1.207e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.117e+00  1.188e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.664e-01  1.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 83.475 -37.831
Photon Flux Upper Limit: 2.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/155508/likelihoodResults_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.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) = 17810.4859088
delta logL = -0.00235739842174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17810.4835513
delta logL = 1.4495162759e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3285       1.0000          .0000       10.000    
     3 'Normalizat'    .96641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1170       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   17810.48     FROM MIGRAD    STATUS=FAILED        87 CALLS      245 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10123E-03    28.819        .18142E-02** at limit **
   2  Index         2.2617        6.0346        .50000        .46274E-04
   3  Normalizat    .96640        .11908E-01    .31480E-03   -.84651E-04
   4  Prefactor     1.1170        .96371E-02    .23746E-03    .10552E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   17810.48     FROM SIMPLEX   STATUS=UNCHANGED    124 CALLS      369 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10123E-03    28.819        .27288E-03** at limit **
   2  Index         2.2617        6.0346        .45275E-03    .46274E-04
   3  Normalizat    .96640        .11908E-01    .23472E-05   -.84651E-04
   4  Prefactor     1.1170        .96371E-02    .14825E-05    .10552E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17810.48     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      414 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.447        .36285E-02** at limit **
   2  Index         1.8971        8.3315        .50000       -.32469E-07
   3  Normalizat    .96640        .11713E-01    .12592E-04    .66450E-04
   4  Prefactor     1.1170        .94795E-02    .94986E-05    .85218E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.89713
  Normalizat = 0.966405
  Prefactor  = 1.11704
 **********
 **   18 **HESSE 
 **********

 FCN=   17810.48     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      443 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    142.28        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8971        5.0985        .50000       -.66947    
   3  Normalizat    .96640        .26946E-01    .25184E-05   -.94165    
   4  Prefactor     1.1170        .21804E-01    .18997E-05   -.88924    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.81699e-10
Minuit parameter uncertainties:
  1  3.42479e-05
  2  721.274
  3  0.0269465
  4  0.0218045
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/155508': 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) = 17810.4835485
delta logL = 2.95872814604e-06

Extracting fit parameters...

4FGL J0533.8-3749
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  3.425e-05  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  1.897e+00  7.213e+02  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  1.207e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.117e+00  2.180e-02  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.664e-01  2.695e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 83.475 -37.831

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/155508/cmap_HighResolution_621216001_621820801_4FGL_J0533.8-3749_weekly_bin632.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.03e-03', job_status='DONE', photon_flux_upper_limit='2.64e-08', time_completed='2021-07-09 00:32:06.739181', job_id='155508', GAL2='1.12', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1625815926.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.96e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='632' AND source_name='4FGL J0533.8-3749' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul  9 00:32:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 155508: <4FGL_J0533.8-3749_weekly_bin632> in cluster <slac> Done

Job <4FGL_J0533.8-3749_weekly_bin632> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Jul  8 19:07:00 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul  8 19:16:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul  8 19:16:04 2021
Terminated at Fri Jul  9 00:32:07 2021
Results reported at Fri Jul  9 00:32:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.8-3749_weekly_bin632 83.4749 -37.8309 621216001 621820801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0533.8-3749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2209.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             81.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   18963 sec.
    Turnaround time :                            19507 sec.

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

