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


Performing analysis on: 4FGL_J0533.0-8446_daily_bin1760
RA = 83.2677, Dec = -84.7783
tmin = 695520001, tmax = 695779201
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='723960', job_status='RUN', time_executed='2023-01-19 00:29:21.305599', time_epoch_executed='1674116961.31' WHERE source_name='4FGL J0533.0-8446' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723960

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723960/ft1_4FGL_J0533.0-8446_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723960/ft2_4FGL_J0533.0-8446_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723960/ft1_4FGL_J0533.0-8446_daily_bin1760.fits outfile=/scratch/kocevski/723960/ft1_filteredMKT_4FGL_J0533.0-8446_daily_bin1760.fits ra=83.2677 dec=-84.7783 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.45
user 2.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/723960/ft2_4FGL_J0533.0-8446_daily_bin1760.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/723960/ft1_filteredMKT_4FGL_J0533.0-8446_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/723960/ft1_filtered_4FGL_J0533.0-8446_daily_bin1760.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.48
user 0.35
sys 0.12

Number of photons that the gtmktime cut: 1280

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723960/ft1_filtered_4FGL_J0533.0-8446_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/723960/ft2_4FGL_J0533.0-8446_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/723960/ltcube_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.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/723960/ft2_4FGL_J0533.0-8446_daily_bin1760.fits
.....................!
real 16.28
user 15.82
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723960/ft1_filtered_4FGL_J0533.0-8446_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/723960/ft2_4FGL_J0533.0-8446_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/723960/ltcube_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.fits outfile=/scratch/kocevski/723960/expmap_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.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/723960/ltcube_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.fits
.....................!
real 192.03
user 186.60
sys 4.65

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/723960/ft1_filtered_4FGL_J0533.0-8446_daily_bin1760.fits scfile=/scratch/kocevski/723960/ft2_4FGL_J0533.0-8446_daily_bin1760.fits outfile=/scratch/kocevski/723960/cmap_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723960/ft1_filtered_4FGL_J0533.0-8446_daily_bin1760.fits scfile=/scratch/kocevski/723960/ft2_4FGL_J0533.0-8446_daily_bin1760.fits outfile=/scratch/kocevski/723960/cmap_HighResolution_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.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.66
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/723960/ft1_filtered_4FGL_J0533.0-8446_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/723960/ft2_4FGL_J0533.0-8446_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723960/Model_4FGL_J0533.0-8446_daily_bin1760.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/723960/ft1_filtered_4FGL_J0533.0-8446_daily_bin1760.fits....................!
real 11076.91
user 11044.89
sys 7.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/723960/ft1_filtered_4FGL_J0533.0-8446_daily_bin1760.fits', '/scratch/kocevski/723960/ft2_4FGL_J0533.0-8446_daily_bin1760.fits', expMap='/scratch/kocevski/723960/expmap_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.fits', expCube='/scratch/kocevski/723960/ltcube_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/723960/Model_4FGL_J0533.0-8446_daily_bin1760.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/723960/ft1_filtered_4FGL_J0533.0-8446_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/723960/ft2_4FGL_J0533.0-8446_daily_bin1760.fits
Exposure map: /scratch/kocevski/723960/expmap_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.fits
Exposure cube: /scratch/kocevski/723960/ltcube_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/723960/Model_4FGL_J0533.0-8446_daily_bin1760.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) = 13116.3246457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19924E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8711       1.0000          .0000       .10000E+07
     3 'Prefactor '    .44630E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .39733E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59327E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .25996E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79234E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .76357       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17151E-02   1.0000          .0000       .10000E+07
    10 'norm      '    8.4093       1.0000          .0000       .10000E+07
    11 'Prefactor '    23.392       1.0000          .0000       .10000E+07
    12 'norm      '    2.8192       1.0000          .0000       .10000E+07
    13 'Prefactor '    .61390E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.3560       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.0030       1.0000          .0000       .10000E+07
    16 'norm      '    10.907       1.0000          .0000       .10000E+07
    17 'Prefactor '    74.277       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2891       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92913       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=   13116.30     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1420 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27200E-08    56.463        .27127E-05** at limit **
   2  Prefactor     5.8490        7.0778        .15970E-06    .81116E-04
   3  Prefactor     .33862E-08    23.525       -.18795E-06** at limit **
   4  Prefactor     .55511E-10    5.5517       -.55290E-06** at limit **
   5  Prefactor     .55511E-10    8.7764       -.33065E-06** at limit **
   6  norm          .11102E-09    9.2855        .91029E-06** at limit **
   7  Prefactor     .37192E-08    23.644        .85256E-05** at limit **
   8  norm          .76331        1.4502        .55006E-06    .46997E-02
   9  Prefactor     .33307E-09    11.756        .17149E-05** at limit **
  10  norm          8.4029        6.9988       -.11345E-06    .52412E-03
  11  Prefactor     23.329        3.1885        .95406E-06    .54061E-01
  12  norm          2.8190        2.2245        .35217E-07    .17999E-02
  13  Prefactor     .55511E-10    2.6768        .16599E-06** at limit **
  14  Prefactor     5.2438        3.8183        .11466E-05    .20876E-01
  15  Prefactor     9.0038        4.1353       -.17307E-06    .12385E-01
  16  norm          10.917        6.3335        .17079E-05    .12579E-02
  17  Prefactor     73.783        57.237       -.13058E-04    .51873E-02
  18  Normalizat    1.2895        .22630        .10762E-04    .17589E-03
  19  Prefactor     .92913        .77987E-01   -.82648E-05    .49079E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72005e-09
  Prefactor  = 5.84902
  Prefactor  = 3.38618e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 1.11022e-10
  Prefactor  = 3.71925e-09
  norm       = 0.763307
  Prefactor  = 3.33067e-10
  norm       = 8.40289
  Prefactor  = 23.3292
  norm       = 2.81898
  Prefactor  = 5.55112e-11
  Prefactor  = 5.24376
  Prefactor  = 9.00385
  norm       = 10.9174
  Prefactor  = 73.783
  Normalizat = 1.28945
  Prefactor  = 0.929125
 **********
 **   18 **HESSE 
 **********

 FCN=   13116.30     FROM HESSE     STATUS=OK           308 CALLS     1728 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27200E-08    56.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8490        7.0528        .41422E-03   -1.5660    
   3  Prefactor     .33862E-08    23.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    5.5616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    8.7847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    9.2914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37192E-08    23.488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .76331        1.4677        .55691E-03   -1.5690    
   9  Prefactor     .33307E-09    11.758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.4029        6.9992        .34546E-03   -1.5650    
  11  Prefactor     23.329        19.313        .20681E-03   -1.5611    
  12  norm          2.8190        2.2240        .60550E-03   -1.5674    
  13  Prefactor     .55511E-10    2.6690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.2438        33.629        .43401E-03   -1.5662    
  15  Prefactor     9.0038        4.1619        .33380E-03   -1.5648    
  16  norm          10.917        6.3379        .30312E-03   -1.5642    
  17  Prefactor     73.783        57.782        .11604E-03   -1.5536    
  18  Normalizat    1.2895        .19436        .86509E-01   -.83882    
  19  Prefactor     .92913        .66438E-01    .45375E-01   -.95131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0391e-07
Minuit parameter uncertainties:
  1  0.000787193
  2  7.0528
  3  0.000564856
  4  3.61436e-05
  5  4.27055e-05
  6  6.74783e-05
  7  0.000589412
  8  1.46771
  9  0.000122313
  10  6.99923
  11  19.3132
  12  2.22401
  13  2.83842e-05
  14  26.559
  15  4.16188
  16  6.3379
  17  57.7821
  18  0.194475
  19  0.0664442
Done.

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

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  5.551e-11  4.271e-05  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.291e-01  6.644e-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.289e+00  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/723960/likelihoodResults_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.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) = 13116.3580053
delta logL = -0.0543889268301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13116.3036168
delta logL = -3.83121005143e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40523E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.6141       1.0000          .0000       10.000    
     3 'Normalizat'    1.2893       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92919       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=   13116.30     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      251 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.6785        .42118E-03** at limit **
   2  Index         .42040        .56665        .13219E-04     .0000    
   3  Normalizat    1.2895        1.0818        .10062E-04    .12047E-04
   4  Prefactor     .92912        1.2726       -.38674E-05   -.45307E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.420397
  Normalizat = 1.28945
  Prefactor  = 0.929125
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13116.30     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.6785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .23504E-01    .58325        .13219E-04   -1.1578    
   3  Normalizat    1.2895        1.0818        .10062E-04   -.83882    
   4  Prefactor     .92912        1.2726       -.38674E-05   -.95131    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.42591e-12
Minuit parameter uncertainties:
  1  1.82878e-06
  2  0.57446
  3  1.10165
  4  1.31731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723960': 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) = 13116.3036164
delta logL = 2.36468622461e-11

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  0.000e+00  1.829e-06  0.000e+00  1.000e+06 ( 1.000e-14)
172        Index:  4.204e-01  5.745e-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.291e-01  1.317e+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.289e+00  1.102e+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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/723960/cmap_HighResolution_695520001_695779201_4FGL_J0533.0-8446_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-03', job_status='DONE', photon_flux_upper_limit='3.93e-08', time_completed='2023-01-19 03:46:17.920753', job_id='723960', GAL2='0.93', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1674128777.92', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1760' AND source_name='4FGL J0533.0-8446' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 03:46:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 723850: <4FGL_J0533.0-8446_daily_bin1760> in cluster <slac> Done

Job <4FGL_J0533.0-8446_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:05:21 2023
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:24:05 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:24:05 2023
Terminated at Thu Jan 19 03:44:41 2023
Results reported at Thu Jan 19 03:44:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.0-8446_daily_bin1760 83.2677 -84.7783 695520001 695779201 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 :                                   11783.00 sec.
    Max Memory :                                 628 MB
    Average Memory :                             592.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   12035 sec.
    Turnaround time :                            13160 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 723960: <4FGL_J0533.0-8446_daily_bin1760> in cluster <slac> Done

Job <4FGL_J0533.0-8446_daily_bin1760> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jan 19 00:05:27 2023
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:25:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:25:42 2023
Terminated at Thu Jan 19 03:46:18 2023
Results reported at Thu Jan 19 03:46:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.0-8446_daily_bin1760 83.2677 -84.7783 695520001 695779201 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 :                                   11801.00 sec.
    Max Memory :                                 628 MB
    Average Memory :                             593.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   12036 sec.
    Turnaround time :                            13251 sec.

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

