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


Performing analysis on: 4FGL_J0533.0-8446_daily_bin1686
RA = 83.2677, Dec = -84.7783
tmin = 676339201, tmax = 676598401
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='509446', job_status='RUN', time_executed='2022-06-11 00:16:04.280329', time_epoch_executed='1654931764.28' WHERE source_name='4FGL J0533.0-8446' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/509446

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/509446/ft1_4FGL_J0533.0-8446_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/509446/ft2_4FGL_J0533.0-8446_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/509446/ft1_4FGL_J0533.0-8446_daily_bin1686.fits outfile=/scratch/kocevski/509446/ft1_filteredMKT_4FGL_J0533.0-8446_daily_bin1686.fits ra=83.2677 dec=-84.7783 rad=12.0 tmin=676339201.0 tmax=676598401.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.83
user 2.56
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/509446/ft2_4FGL_J0533.0-8446_daily_bin1686.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/509446/ft1_filteredMKT_4FGL_J0533.0-8446_daily_bin1686.fits evtable="EVENTS" outfile="/scratch/kocevski/509446/ft1_filtered_4FGL_J0533.0-8446_daily_bin1686.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.52
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 1153

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/509446/ft1_filtered_4FGL_J0533.0-8446_daily_bin1686.fits" evtable="EVENTS" scfile=/scratch/kocevski/509446/ft2_4FGL_J0533.0-8446_daily_bin1686.fits sctable="SC_DATA" outfile=/scratch/kocevski/509446/ltcube_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.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/509446/ft2_4FGL_J0533.0-8446_daily_bin1686.fits
.....................!
real 15.18
user 14.70
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/509446/ft1_filtered_4FGL_J0533.0-8446_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/509446/ft2_4FGL_J0533.0-8446_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/509446/ltcube_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.fits outfile=/scratch/kocevski/509446/expmap_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.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/509446/ltcube_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.fits
.....................!
real 195.54
user 188.23
sys 6.49

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_archive_v18/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_archive_v18/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_archive_v18/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_archive_v18/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_archive_v18/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/509446/ft1_filtered_4FGL_J0533.0-8446_daily_bin1686.fits scfile=/scratch/kocevski/509446/ft2_4FGL_J0533.0-8446_daily_bin1686.fits outfile=/scratch/kocevski/509446/cmap_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.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.60
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/509446/ft1_filtered_4FGL_J0533.0-8446_daily_bin1686.fits scfile=/scratch/kocevski/509446/ft2_4FGL_J0533.0-8446_daily_bin1686.fits outfile=/scratch/kocevski/509446/cmap_HighResolution_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.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.57
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/509446/ft1_filtered_4FGL_J0533.0-8446_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/509446/ft2_4FGL_J0533.0-8446_daily_bin1686.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/509446/Model_4FGL_J0533.0-8446_daily_bin1686.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/509446/ft1_filtered_4FGL_J0533.0-8446_daily_bin1686.fits.....................!
real 10115.85
user 10090.96
sys 1.58

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/509446/ft1_filtered_4FGL_J0533.0-8446_daily_bin1686.fits', '/scratch/kocevski/509446/ft2_4FGL_J0533.0-8446_daily_bin1686.fits', expMap='/scratch/kocevski/509446/expmap_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.fits', expCube='/scratch/kocevski/509446/ltcube_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/509446/Model_4FGL_J0533.0-8446_daily_bin1686.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  1.000e-04  1.000e+04 ( 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/509446/ft1_filtered_4FGL_J0533.0-8446_daily_bin1686.fits
Spacecraft file(s): /scratch/kocevski/509446/ft2_4FGL_J0533.0-8446_daily_bin1686.fits
Exposure map: /scratch/kocevski/509446/expmap_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.fits
Exposure cube: /scratch/kocevski/509446/ltcube_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/509446/Model_4FGL_J0533.0-8446_daily_bin1686.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) = 11986.7682604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.009       1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.022       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.1731       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    65.666       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11487E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.4340       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    32.759       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .23139E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    2.0297       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.7724       1.0000         .10000E-03   10000.    
    16 'Prefactor '    59.305       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.9276       1.0000         .10000E-03   10000.    
    18 'norm      '    4.7560       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0770       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89413       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11986.69     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2350 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.018        7.8856         .0000        .18386E-02
   2  Prefactor     34.021        46.374         .0000       -.10551E-04
   3  Prefactor     8.1826        6.5106         .0000        .58083E-02
   4  Prefactor     .10000E-03    4.5570         .0000    ** at limit **
   5  Prefactor     .10000E-03    4.2316         .0000    ** at limit **
   6  Prefactor     .10000E-03    14.229         .0000    ** at limit **
   7  norm          65.673        35.781         .0000        .91085E-05
   8  Prefactor     .10000E-03    2.0160         .0000    ** at limit **
   9  Prefactor     5.4406        7.2688         .0000        .58960E-02
  10  norm          .10000E-03    2.1364         .0000    ** at limit **
  11  Prefactor     .10000E-03    17.390         .0000    ** at limit **
  12  norm          32.764        14.009         .0000       -.47417E-04
  13  Prefactor     .52654        18.514         .0000        .25484E-03
  14  norm          2.0312        4.6041         .0000        .11609E-02
  15  Prefactor     5.7669        6.3947         .0000        .79530E-02
  16  Prefactor     59.194        43.508         .0000       -.60926E-05
  17  Prefactor     4.9365        6.1064         .0000        .11205E-01
  18  norm          4.7600        4.4390         .0000        .47534E-03
  19  Prefactor     .10000E-03    13.736         .0000    ** at limit **
  20  Normalizat    1.0762        .20498         .0000        .17535E-04
  21  Prefactor     .89414        .70092E-01     .0000       -.56989E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0179
  Prefactor  = 34.0212
  Prefactor  = 8.18259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 65.6729
  Prefactor  = 0.0001
  Prefactor  = 5.44059
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 32.7638
  Prefactor  = 0.526541
  norm       = 2.03123
  Prefactor  = 5.76694
  Prefactor  = 59.194
  Prefactor  = 4.93653
  norm       = 4.75996
  Prefactor  = 0.0001
  Normalizat = 1.07617
  Prefactor  = 0.894139
 **********
 **   18 **HESSE 
 **********

 FCN=   11986.69     FROM HESSE     STATUS=OK           323 CALLS     2673 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.018        7.8836        .55528E-03   -1.4986    
   2  Prefactor     34.021        46.381        .68701E-04   -1.4541    
   3  Prefactor     8.1826        6.5475        .70119E-03   -1.5136    
   4  Prefactor     .10000E-03    4.5615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.2347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          65.673        35.774        .49526E-04   -1.4085    
   8  Prefactor     .10000E-03    2.0372        .15170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.4406        7.2661        .86189E-03   -1.5241    
  10  norm          .10000E-03    2.1871        .15619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          32.764        14.012        .70010E-04   -1.4563    
  13  Prefactor     .52654        19.055        .12092       -1.5563    
  14  norm          2.0312        4.6020        .29038E-03   -1.5423    
  15  Prefactor     5.7669        6.3777        .83585E-03   -1.5228    
  16  Prefactor     59.194        43.459        .52098E-04   -1.4168    
  17  Prefactor     4.9365        6.0754        .90593E-03   -1.5264    
  18  norm          4.7600        4.4328        .18450E-03   -1.5272    
  19  Prefactor     .10000E-03    13.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0762        .24114        .38983E-03   -.90521    
  21  Prefactor     .89414        .83205E-01    .15326E-03   -.96346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52441e-10
Minuit parameter uncertainties:
  1  7.88426
  2  46.4304
  3  6.54807
  4  6.62796e-06
  5  3.2141e-07
  6  5.32984e-05
  7  35.786
  8  2.09439e-08
  9  7.26724
  10  7.72357e-07
  11  2.38745e-05
  12  14.0132
  13  6.33663
  14  4.60284
  15  6.37845
  16  43.4827
  17  6.07621
  18  4.43313
  19  7.41271e-06
  20  0.24139
  21  0.083217
Done.

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

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  1.000e-04  5.330e-05  1.000e-04  1.000e+04 ( 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:  8.941e-01  8.322e-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.076e+00  2.414e-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: 5.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/509446/likelihoodResults_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.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) = 11986.6871872
delta logL = -0.000334622956871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11986.686855
delta logL = -2.41506313614e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12345E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1935       1.0000          .0000       10.000    
     3 'Normalizat'    1.0758       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89427       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11986.69     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      247 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10042E-03    73.846        .18142E-02** at limit **
   2  Index         2.1632        6.5814        .50000        .98187E-05
   3  Normalizat    1.0762        .11273E-01    .38983E-03    .15457E-04
   4  Prefactor     .89414        .41082E-02    .15326E-03    .30117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100423
  Index      = 2.16319
  Normalizat = 1.07617
  Prefactor  = 0.894139
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10042E-03    340.16        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1632        7.5563        .50000       -.60330    
   3  Normalizat    1.0762        .24785E-01    .15593E-04   -.90521    
   4  Prefactor     .89414        .90324E-02    .61302E-05   -.96346    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.87524e-09
Minuit parameter uncertainties:
  1  0.024119
  2  357.751
  3  0.0247855
  4  0.00903242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/509446': 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) = 11986.6868525
delta logL = 1.13575879368e-07

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  1.004e-04  2.412e-02  1.000e-04  1.000e+04 ( 1.000e-14)
172        Index:  2.163e+00  3.578e+02  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:  8.941e-01  9.032e-03  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.076e+00  2.479e-02  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/509446/cmap_HighResolution_676339201_676598401_4FGL_J0533.0-8446_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-03', job_status='DONE', photon_flux_upper_limit='5.24e-08', time_completed='2022-06-11 03:19:45.420731', job_id='509446', GAL2='0.89', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1654942785.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.14e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1686' AND source_name='4FGL J0533.0-8446' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 03:19:45 PDT 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 509506: <4FGL_J0533.0-8446_daily_bin1686> in cluster <slac> Done

Job <4FGL_J0533.0-8446_daily_bin1686> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jun 11 00:05:35 2022
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:13:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:13:07 2022
Terminated at Sat Jun 11 03:16:52 2022
Results reported at Sat Jun 11 03:16:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.0-8446_daily_bin1686 83.2677 -84.7783 676339201 676598401 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 :                                   10781.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             588.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11024 sec.
    Turnaround time :                            11477 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 509446: <4FGL_J0533.0-8446_daily_bin1686> in cluster <slac> Done

Job <4FGL_J0533.0-8446_daily_bin1686> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jun 11 00:05:31 2022
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:12:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:12:39 2022
Terminated at Sat Jun 11 03:19:46 2022
Results reported at Sat Jun 11 03:19:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.0-8446_daily_bin1686 83.2677 -84.7783 676339201 676598401 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 :                                   11005.00 sec.
    Max Memory :                                 629 MB
    Average Memory :                             589.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11226 sec.
    Turnaround time :                            11655 sec.

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

