aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 6 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0533.0-8446_monthly_bin174
RA = 83.2677, Dec = -84.7783
tmin = 688003201, tmax = 690595201
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='840312', job_status='RUN', time_executed='2022-11-20 01:01:56.388481', time_epoch_executed='1668934916.39' WHERE source_name='4FGL J0533.0-8446' and cadence='monthly' and bin_id='174'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/840312

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/840312/ft1_4FGL_J0533.0-8446_monthly_bin174.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/840312/ft1_4FGL_J0533.0-8446_monthly_bin174.fits outfile=/scratch/kocevski/840312/ft1_filteredMKT_4FGL_J0533.0-8446_monthly_bin174.fits ra=83.2677 dec=-84.7783 rad=12.0 tmin=688003201.0 tmax=690595201.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 31.52
user 30.67
sys 0.68

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.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/840312/ft1_filteredMKT_4FGL_J0533.0-8446_monthly_bin174.fits evtable="EVENTS" outfile="/scratch/kocevski/840312/ft1_filtered_4FGL_J0533.0-8446_monthly_bin174.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 1.03
user 0.66
sys 0.19

Number of photons that the gtmktime cut: 10475

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/840312/ft1_filtered_4FGL_J0533.0-8446_monthly_bin174.fits" evtable="EVENTS" scfile=/scratch/kocevski/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.fits sctable="SC_DATA" outfile=/scratch/kocevski/840312/ltcube_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.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/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.fits
.....................!
real 128.27
user 127.55
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/840312/ft1_filtered_4FGL_J0533.0-8446_monthly_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.fits sctable="SC_DATA" expcube=/scratch/kocevski/840312/ltcube_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.fits outfile=/scratch/kocevski/840312/expmap_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.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/840312/ltcube_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.fits
.....................!
real 191.91
user 186.58
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
Extended source SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Added 165 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0533.0-8446 @ 83.2677 -84.7783

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/840312/ft1_filtered_4FGL_J0533.0-8446_monthly_bin174.fits scfile=/scratch/kocevski/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.fits outfile=/scratch/kocevski/840312/cmap_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.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.2677 yref=-84.7783 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.80
user 0.62
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/840312/ft1_filtered_4FGL_J0533.0-8446_monthly_bin174.fits scfile=/scratch/kocevski/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.fits outfile=/scratch/kocevski/840312/cmap_HighResolution_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.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.2677 yref=-84.7783 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.82
user 0.62
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/840312/ft1_filtered_4FGL_J0533.0-8446_monthly_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/840312/Model_4FGL_J0533.0-8446_monthly_bin174.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/scratch/kocevski/840312/ft1_filtered_4FGL_J0533.0-8446_monthly_bin174.fits.....................!
real 88053.44
user 87838.11
sys 36.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/840312/ft1_filtered_4FGL_J0533.0-8446_monthly_bin174.fits', '/scratch/kocevski/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.fits', expMap='/scratch/kocevski/840312/expmap_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.fits', expCube='/scratch/kocevski/840312/ltcube_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/840312/Model_4FGL_J0533.0-8446_monthly_bin174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0533.0-8446'

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  2.818e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
172        Index:  2.214e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
173        Scale:  2.307e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/840312/ft1_filtered_4FGL_J0533.0-8446_monthly_bin174.fits
Spacecraft file(s): /scratch/kocevski/840312/ft2_4FGL_J0533.0-8446_monthly_bin174.fits
Exposure map: /scratch/kocevski/840312/expmap_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.fits
Exposure cube: /scratch/kocevski/840312/ltcube_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/840312/Model_4FGL_J0533.0-8446_monthly_bin174.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) = 108119.323401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.676       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.8119       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.314       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1182       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11782E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.8917       1.0000          .0000       .10000E+07
     7 'Prefactor '    .40351       1.0000          .0000       .10000E+07
     8 'norm      '    .13933E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.4208       1.0000          .0000       .10000E+07
    10 'norm      '    12.430       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3880       1.0000          .0000       .10000E+07
    12 'norm      '    2.2275       1.0000          .0000       .10000E+07
    13 'Prefactor '    .70944E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.278       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.8555       1.0000          .0000       .10000E+07
    16 'norm      '    2.7252       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7508       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1290       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97766       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   108119.3     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     1157 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.504        13.624       -.50255E-06    .76349E-02
   2  Prefactor     1.8139        1.7641       -.54144E-07   -.43266E-02
   3  Prefactor     18.305        2.2237       -.16955E-06   -.64967E-01
   4  Prefactor     1.1816        4.5772       -.23460E-07   -.19486E-02
   5  Prefactor     .18319E-08    3.4039        .10058E-06** at limit **
   6  norm          1.8550        5.4114       -.39402E-06   -.27067E-02
   7  Prefactor     .40376        1.4949        .33402E-07   -.21157E-02
   8  norm          .22204E-09    .73314       -.60633E-07** at limit **
   9  Prefactor     5.4197        8.7252       -.17996E-05    .11158E-01
  10  norm          12.457        3.5473        .67657E-07    .47087E-02
  11  Prefactor     1.3255        7.9938        .21804E-06    .34599E-02
  12  norm          2.2270        1.0102        .56137E-07    .45547E-01
  13  Prefactor     .80909E-01    5.4554       -.16123E-06** at limit **
  14  Prefactor     23.254        5.7162        .55529E-06    .64530E-02
  15  Prefactor     1.8553        1.1273       -.62127E-07    .20553E-01
  16  norm          2.7252        1.3803       -.12901E-07    .24888E-02
  17  Prefactor     4.7978        1.9207        .34365E-06    .44345E-02
  18  Normalizat    1.1293        .76568E-01    .18265E-05    .15323E-02
  19  Prefactor     .97759        .27373E-01   -.42390E-06    .25957E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.5044
  Prefactor  = 1.81388
  Prefactor  = 18.3049
  Prefactor  = 1.18163
  Prefactor  = 1.83187e-09
  norm       = 1.85496
  Prefactor  = 0.403762
  norm       = 2.22045e-10
  Prefactor  = 5.41973
  norm       = 12.4568
  Prefactor  = 1.32548
  norm       = 2.22701
  Prefactor  = 0.0809091
  Prefactor  = 23.2537
  Prefactor  = 1.85528
  norm       = 2.7252
  Prefactor  = 4.79779
  Normalizat = 1.12926
  Prefactor  = 0.977591
 **********
 **   18 **HESSE 
 **********

 FCN=   108119.3     FROM HESSE     STATUS=OK           324 CALLS     1481 TOTAL
                     EDM=   .34E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.504        13.714        .20557E-03   -1.5611    
   2  Prefactor     1.8139        1.7875        .77582E-03   -1.5681    
   3  Prefactor     18.305        6.1582        .23376E-03   -1.5622    
   4  Prefactor     1.1816        4.5225        .11116E-02   -1.5686    
   5  Prefactor     .18319E-08    3.4228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.8550        5.4546        .75620E-03   -1.5681    
   7  Prefactor     .40376        1.5052        .89081E-03   -1.5695    
   8  norm          .22204E-09    .72151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.4197        11.082        .43136E-03   -1.5661    
  10  norm          12.457        3.5760        .28387E-03   -1.5637    
  11  Prefactor     1.3255        8.1692        .92244E-03   -1.5685    
  12  norm          2.2270        1.0146        .68861E-04   -1.5678    
  13  Prefactor     .80909E-01    .24790        .92961E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.254        10.544        .20731E-03   -1.5612    
  15  Prefactor     1.8553        1.1448        .76488E-03   -1.5681    
  16  norm          2.7252        1.4086        .61661E-03   -1.5675    
  17  Prefactor     4.7978        9.4564        .46138E-03   -1.5664    
  18  Normalizat    1.1293        .68648E-01    .87930E-01   -.88818    
  19  Prefactor     .97759        .23943E-01    .34213E-01   -.93480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44608e-05
Minuit parameter uncertainties:
  1  13.7142
  2  1.78754
  3  6.15821
  4  4.52247
  5  0.000159512
  6  5.45463
  7  1.50525
  8  2.51117e-05
  9  11.0822
  10  3.57601
  11  6.58122
  12  1.0146
  13  0.247905
  14  10.5444
  15  1.14481
  16  1.40859
  17  9.45644
  18  0.0686531
  19  0.0239428
Done.

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

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  1.832e-09  1.595e-04  0.000e+00  1.000e+06 ( 1.000e-14)
172        Index:  2.214e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
173        Scale:  2.307e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.776e-01  2.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.129e+00  6.865e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 83.268 -84.778
Photon Flux Upper Limit: 1.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.85e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/840312/likelihoodResults_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.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) = 108119.412805
delta logL = -0.143480928164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 108119.269325
delta logL = -1.49839615915e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25330E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.3072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1291       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97763       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   108119.3     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      252 TOTAL
                     EDM=   .98E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9555        .42118E-03** at limit **
   2  Index         1.1061        .75400       -.19687E-04     .0000    
   3  Normalizat    1.1293        1.1371        .18862E-06    .35627E-04
   4  Prefactor     .97759        1.3181        .15488E-06    .17944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.10608
  Normalizat = 1.12926
  Prefactor  = 0.977591
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   108119.3     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .98E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .70454E-01    1.1498       -.19687E-04   -.89272    
   3  Normalizat    1.1293        1.1371        .18862E-06   -.88818    
   4  Prefactor     .97759        1.3181        .15488E-06   -.93480    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.76941e-13
Minuit parameter uncertainties:
  1  3.78401e-06
  2  0.761454
  3  1.16339
  4  1.36576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/840312': 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): 101
logL (Free Index) = 108119.269324
delta logL = 4.65661287308e-10

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  0.000e+00  3.784e-06  0.000e+00  1.000e+06 ( 1.000e-14)
172        Index:  1.106e+00  7.615e-01  0.000e+00  1.000e+01 (-1.000e+00)
173        Scale:  2.307e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.776e-01  1.366e+00  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.129e+00  1.163e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 83.268 -84.778

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/840312/cmap_HighResolution_688003201_690595201_4FGL_J0533.0-8446_monthly_bin174.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.85e-04', job_status='DONE', photon_flux_upper_limit='1.16e-08', time_completed='2022-11-21 02:31:34.607151', job_id='840312', GAL2='0.98', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1669026694.61', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.66e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='174' AND source_name='4FGL J0533.0-8446' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Mon Nov 21 02:31:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 840312: <4FGL_J0533.0-8446_monthly_bin174> in cluster <slac> Done

Job <4FGL_J0533.0-8446_monthly_bin174> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Nov 20 01:00:33 2022
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 01:01:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 01:01:42 2022
Terminated at Mon Nov 21 02:31:35 2022
Results reported at Mon Nov 21 02:31:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.0-8446_monthly_bin174 83.2677 -84.7783 688003201 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0533.0-8446 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   91617.00 sec.
    Max Memory :                                 1268 MB
    Average Memory :                             635.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   91793 sec.
    Turnaround time :                            91862 sec.

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

