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


Performing analysis on: 4FGL_J0733.5-5445_daily_bin1710
RA = 113.385, Dec = -54.7593
tmin = 682560001, tmax = 682819201
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='54176', job_status='RUN', time_executed='2022-09-16 13:09:33.343810', time_epoch_executed='1663358973.34' WHERE source_name='4FGL J0733.5-5445' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54176

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54176/ft1_4FGL_J0733.5-5445_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54176/ft1_4FGL_J0733.5-5445_daily_bin1710.fits outfile=/scratch/kocevski/54176/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin1710.fits ra=113.385 dec=-54.7593 rad=12.0 tmin=682560001.0 tmax=682819201.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 3.75
user 3.49
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.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/54176/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/54176/ft1_filtered_4FGL_J0733.5-5445_daily_bin1710.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.62
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 1792

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54176/ft1_filtered_4FGL_J0733.5-5445_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/54176/ltcube_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.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/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.fits
.....................!
real 15.29
user 14.81
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54176/ft1_filtered_4FGL_J0733.5-5445_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/54176/ltcube_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.fits outfile=/scratch/kocevski/54176/expmap_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.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/54176/ltcube_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.fits
.....................!
real 193.19
user 187.43
sys 4.77

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
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 222 point sources and 6 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 J0733.5-5445 @ 113.385 -54.7593

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/54176/ft1_filtered_4FGL_J0733.5-5445_daily_bin1710.fits scfile=/scratch/kocevski/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.fits outfile=/scratch/kocevski/54176/cmap_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.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=113.385 yref=-54.7593 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54176/ft1_filtered_4FGL_J0733.5-5445_daily_bin1710.fits scfile=/scratch/kocevski/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.fits outfile=/scratch/kocevski/54176/cmap_HighResolution_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.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=113.385 yref=-54.7593 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.59
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/54176/ft1_filtered_4FGL_J0733.5-5445_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/54176/Model_4FGL_J0733.5-5445_daily_bin1710.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-Galaxy
adding source LMC-North
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/54176/ft1_filtered_4FGL_J0733.5-5445_daily_bin1710.fits.....................!
real 9102.61
user 9078.98
sys 4.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/54176/ft1_filtered_4FGL_J0733.5-5445_daily_bin1710.fits', '/scratch/kocevski/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.fits', expMap='/scratch/kocevski/54176/expmap_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.fits', expCube='/scratch/kocevski/54176/ltcube_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/54176/Model_4FGL_J0733.5-5445_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0733.5-5445'

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  1.694e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
339        Index:  2.193e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
340        Scale:  1.788e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/54176/ft1_filtered_4FGL_J0733.5-5445_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/54176/ft2_4FGL_J0733.5-5445_daily_bin1710.fits
Exposure map: /scratch/kocevski/54176/expmap_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.fits
Exposure cube: /scratch/kocevski/54176/ltcube_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/54176/Model_4FGL_J0733.5-5445_daily_bin1710.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) = 17154.2878119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8872       1.0000          .0000       .10000E+07
     2 'Prefactor '    .49483E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16117E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15217E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    21.656       1.0000          .0000       .10000E+07
     6 'norm      '    .54826E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.202       1.0000          .0000       .10000E+07
     8 'norm      '    14.923       1.0000          .0000       .10000E+07
     9 'norm      '    .15491E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    12.945       1.0000          .0000       .10000E+07
    11 'Prefactor '    .45192       1.0000          .0000       .10000E+07
    12 'Prefactor '    37.507       1.0000          .0000       .10000E+07
    13 'norm      '    .92528E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.3939       1.0000          .0000       .10000E+07
    15 'Prefactor '    11.438       1.0000          .0000       .10000E+07
    16 'norm      '    .95912E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.333       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10378E-01   1.0000          .0000       .10000E+07
    19 'norm      '    4.4284       1.0000          .0000       .10000E+07
    20 'Normalizat'    .93185       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98527       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17154.28     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1617 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8789        3.0389        .82213E-06   -.53232E-02
   2  Prefactor     .53846E-08    2.9830       -.85778E-06** at limit **
   3  Prefactor     .22204E-09    30.017        .13701E-05** at limit **
   4  Prefactor     .36082E-08    43.404        .10904E-05** at limit **
   5  Prefactor     21.471        2.1590        .38243E-07   -.35196E-02
   6  norm          .82712E-08    2.8998        .12835E-05** at limit **
   7  Prefactor     15.177        7.5233        .15568E-05   -.48950E-01
   8  norm          14.919        7.3015       -.93691E-07   -.95993E-02
   9  norm          .26090E-08    6.4253       -.91656E-06** at limit **
  10  Prefactor     12.928        5.7787       -.10671E-05   -.57430E-01
  11  Prefactor     .25424E-07    116.42        .10117E-04** at limit **
  12  Prefactor     37.608        1.4994       -.77620E-08   -.23434E-02
  13  norm          .55511E-10    2.3039       -.43581E-06** at limit **
  14  Prefactor     1.2842        8.6599        .15185E-05    .91969E-02
  15  Prefactor     11.483        5.8558        .25052E-06   -.36258E-02
  16  norm          .31641E-08    8.1321        .31241E-05** at limit **
  17  Prefactor     19.294        1.8117       -.25544E-06    .17972E-01
  18  Prefactor     .55511E-10    9.9313       -.97720E-06** at limit **
  19  norm          4.4266        4.0764       -.59014E-07    .48961E-04
  20  Normalizat    .93326        .21359       -.11451E-04   -.17881E-03
  21  Prefactor     .98508        .56664E-01   -.11236E-05   -.34381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.87889
  Prefactor  = 5.38458e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 3.60822e-09
  Prefactor  = 21.4709
  norm       = 8.27116e-09
  Prefactor  = 15.1769
  norm       = 14.9191
  norm       = 2.60902e-09
  Prefactor  = 12.9282
  Prefactor  = 2.54241e-08
  Prefactor  = 37.6076
  norm       = 5.55112e-11
  Prefactor  = 1.28418
  Prefactor  = 11.4834
  norm       = 3.16414e-09
  Prefactor  = 19.2941
  Prefactor  = 5.55112e-11
  norm       = 4.42662
  Normalizat = 0.933263
  Prefactor  = 0.985082
 **********
 **   18 **HESSE 
 **********

 FCN=   17154.28     FROM HESSE     STATUS=OK           361 CALLS     1978 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8789        8.4924        .41365E-03   -1.5659    
   2  Prefactor     .53846E-08    3.1322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    30.012        .17307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .36082E-08    43.437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     21.471        28.202        .21495E-03   -1.5615    
   6  norm          .82712E-08    3.0361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.177        9.7238        .25662E-03   -1.5630    
   8  norm          14.919        7.5942        .25901E-03   -1.5631    
   9  norm          .26090E-08    6.4506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.928        8.2886        .27815E-03   -1.5636    
  11  Prefactor     .25424E-07    116.90        .83702E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     37.608        33.233        .16330E-03   -1.5585    
  13  norm          .55511E-10    2.3021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.2842        10.835        .91962E-03   -1.5685    
  15  Prefactor     11.483        6.0349        .29596E-03   -1.5640    
  16  norm          .31641E-08    8.1182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.294        14.785        .22751E-03   -1.5620    
  18  Prefactor     .55511E-10    9.9652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.4266        4.0917        .47830E-03   -1.5666    
  20  Normalizat    .93326        .21851        .12781       -.95301    
  21  Prefactor     .98508        .54168E-01    .34494E-01   -.93228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.2952e-08
Minuit parameter uncertainties:
  1  8.49237
  2  0.00025934
  3  0.000156953
  4  0.000790495
  5  28.2017
  6  0.000316634
  7  9.72382
  8  7.59424
  9  0.00025938
  10  8.28861
  11  0.00344949
  12  33.2336
  13  2.74455e-05
  14  7.46032
  15  6.03493
  16  0.000321499
  17  14.7854
  18  5.45221e-05
  19  4.09168
  20  0.218714
  21  0.0541705
Done.

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

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  1.293e+01  8.289e+00  0.000e+00  1.000e+06 ( 1.000e-13)
339        Index:  2.193e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
340        Scale:  1.788e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  9.851e-01  5.417e-02  0.000e+00  1.000e+01 ( 1.000e+00)
737        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
738        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
735   Normalization:  9.333e-01  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.38
Ra Dec: 113.385 -54.759
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 6.05e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 2.75e-05 +/- 1.76e-05

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) = 17154.280877
delta logL = 0.000869343632075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17154.2802939
delta logL = 0.00145245171734

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.622       1.0000          .0000       .10000E+07
     2 'Index     '    2.2205       1.0000          .0000       10.000    
     3 'Normalizat'    .93130       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98527       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17154.28     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      229 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.622        144.63        .28170E-03    .65750E-02
   2  Index         2.2202        2.8754        .14098        .30579E-03
   3  Normalizat    .93134        .12017        .12792        .71831E-04
   4  Prefactor     .98526        .23280E-01    .34491E-01   -.10360E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.622
  Index      = 2.22021
  Normalizat = 0.931337
  Prefactor  = 0.985256
 **********
 **   18 **HESSE 
 **********

 FCN=   17154.28     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.622        10.475        .11268E-04   -1.5637    
   2  Index         2.2202        .54741        .84885E-02   -.58951    
   3  Normalizat    .93134        .20635        .56777E-03   -.95368    
   4  Prefactor     .98526        .56120E-01    .15241E-03   -.93223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2514e-08
Minuit parameter uncertainties:
  1  10.4749
  2  0.54901
  3  0.206525
  4  0.0561233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54176': 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): 0
logL (Free Index) = 17154.2802937
delta logL = 0.00145270330177

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  1.262e+01  1.047e+01  0.000e+00  1.000e+06 ( 1.000e-13)
339        Index:  2.220e+00  5.490e-01  0.000e+00  1.000e+01 (-1.000e+00)
340        Scale:  1.788e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  9.853e-01  5.612e-02  0.000e+00  1.000e+01 ( 1.000e+00)
737        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
738        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
735   Normalization:  9.313e-01  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.38
Ra Dec: 113.385 -54.759
Photon Index (Free Index): 2.22 +/- 0.55
Photon Flux (Free Index): 6.24e-08 +/- 5.15e-08
Energy Flux (Free Index): 2.70e-05 +/- 1.99e-05

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/54176/cmap_HighResolution_682560001_682819201_4FGL_J0733.5-5445_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.05e-08', energy_flux2='2.70e-05', photon_flux_error='3.88e-08', dlogl='1.45e-03', energy_flux='2.75e-05', photon_flux2='6.24e-08', job_status='DONE', time_completed='2022-09-16 15:59:20.119238', photon_index_error2='0.55', photon_index2='2.22', ts='7.38', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.99e-05', EG='0.93', time_epoch_completed='1663369160.12', return_code='0', job_id='54176', GAL2='0.99', EG2='0.93', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='5.15e-08', ts2='7.38', photon_index='2.19' WHERE bin_id='1710' AND source_name='4FGL J0733.5-5445' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:59:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 54176: <4FGL_J0733.5-5445_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0733.5-5445_daily_bin1710> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 13:05:20 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:06:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:06:19 2022
Terminated at Fri Sep 16 15:59:21 2022
Results reported at Fri Sep 16 15:59:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.5-5445_daily_bin1710 113.385 -54.7593 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0733.5-5445 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10175.00 sec.
    Max Memory :                                 626 MB
    Average Memory :                             578.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10381 sec.
    Turnaround time :                            10441 sec.

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

