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


Performing analysis on: 4FGL_J0733.5-5445_daily_bin1748
RA = 113.385, Dec = -54.7593
tmin = 692409601, tmax = 692668801
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='876368', job_status='RUN', time_executed='2022-12-14 00:09:59.510526', time_epoch_executed='1671005399.51' WHERE source_name='4FGL J0733.5-5445' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/876368

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/876368/ft1_4FGL_J0733.5-5445_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/876368/ft2_4FGL_J0733.5-5445_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/876368/ft1_4FGL_J0733.5-5445_daily_bin1748.fits outfile=/scratch/kocevski/876368/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin1748.fits ra=113.385 dec=-54.7593 rad=12.0 tmin=692409601.0 tmax=692668801.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.63
user 3.40
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/876368/ft2_4FGL_J0733.5-5445_daily_bin1748.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/876368/ft1_filteredMKT_4FGL_J0733.5-5445_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/876368/ft1_filtered_4FGL_J0733.5-5445_daily_bin1748.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.50
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 1856

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/876368/ft1_filtered_4FGL_J0733.5-5445_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/876368/ft2_4FGL_J0733.5-5445_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/876368/ltcube_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.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/876368/ft2_4FGL_J0733.5-5445_daily_bin1748.fits
.....................!
real 11.86
user 11.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/876368/ft1_filtered_4FGL_J0733.5-5445_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/876368/ft2_4FGL_J0733.5-5445_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/876368/ltcube_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.fits outfile=/scratch/kocevski/876368/expmap_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.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/876368/ltcube_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.fits
.....................!
real 189.66
user 184.81
sys 4.54

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/876368/ft1_filtered_4FGL_J0733.5-5445_daily_bin1748.fits scfile=/scratch/kocevski/876368/ft2_4FGL_J0733.5-5445_daily_bin1748.fits outfile=/scratch/kocevski/876368/cmap_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/876368/ft1_filtered_4FGL_J0733.5-5445_daily_bin1748.fits scfile=/scratch/kocevski/876368/ft2_4FGL_J0733.5-5445_daily_bin1748.fits outfile=/scratch/kocevski/876368/cmap_HighResolution_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.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.54
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/876368/ft1_filtered_4FGL_J0733.5-5445_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/876368/ft2_4FGL_J0733.5-5445_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/876368/Model_4FGL_J0733.5-5445_daily_bin1748.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/876368/ft1_filtered_4FGL_J0733.5-5445_daily_bin1748.fits.....................!
real 9513.74
user 9497.24
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/876368/ft1_filtered_4FGL_J0733.5-5445_daily_bin1748.fits', '/scratch/kocevski/876368/ft2_4FGL_J0733.5-5445_daily_bin1748.fits', expMap='/scratch/kocevski/876368/expmap_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.fits', expCube='/scratch/kocevski/876368/ltcube_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/876368/Model_4FGL_J0733.5-5445_daily_bin1748.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/876368/ft1_filtered_4FGL_J0733.5-5445_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/876368/ft2_4FGL_J0733.5-5445_daily_bin1748.fits
Exposure map: /scratch/kocevski/876368/expmap_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.fits
Exposure cube: /scratch/kocevski/876368/ltcube_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/876368/Model_4FGL_J0733.5-5445_daily_bin1748.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) = 17943.2491868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46266E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .17529       1.0000          .0000       .10000E+07
     3 'Prefactor '    .54791E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .29297E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16669E-01   1.0000          .0000       .10000E+07
     6 'norm      '    1.7631       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.6749       1.0000          .0000       .10000E+07
     8 'norm      '    7.5183       1.0000          .0000       .10000E+07
     9 'norm      '    .58287E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .78751E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15933E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    53.263       1.0000          .0000       .10000E+07
    13 'norm      '    .65464       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12566E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    16.497       1.0000          .0000       .10000E+07
    16 'norm      '    7.0001       1.0000          .0000       .10000E+07
    17 'Prefactor '    14.882       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18678E-02   1.0000          .0000       .10000E+07
    19 'norm      '    11.764       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0500       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91535       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=   17943.22     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1746 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    6.6616       -.96770E-06** at limit **
   2  Prefactor     .17529        2.7810        .21416E-05** at limit **
   3  Prefactor     .84932E-07    29.673        .13281E-05** at limit **
   4  Prefactor     .54120E-04    47.652        .19517E-05** at limit **
   5  Prefactor      .0000        25.234        .10318E-05** at limit **
   6  norm          1.7593        2.6698        .10313E-06    .43467E-02
   7  Prefactor     5.6078        8.7385        .25645E-05   -.18156E-02
   8  norm          7.5297        5.7753       -.75003E-06    .54385E-03
   9  norm          .55511E-10    3.6301        .52395E-06** at limit **
  10  Prefactor     .13323E-08    12.305        .14801E-05** at limit **
  11  Prefactor     .12114E-04    55.870        .86277E-06** at limit **
  12  Prefactor     54.647        25.505       -.78343E-07   -.16999    
  13  norm          .64412        2.7260        .12391E-05    .85724E-03
  14  Prefactor     .37803E-07    20.158        .51297E-06** at limit **
  15  Prefactor     16.334        7.1861       -.50167E-06    .82603E-02
  16  norm          7.0110        5.4897       -.46120E-06    .59199E-03
  17  Prefactor     14.878        12.242       -.27597E-05   -.29452E-01
  18  Prefactor     .11102E-09    5.0431        .15805E-05** at limit **
  19  norm          11.760        5.4441       -.61689E-07    .22487E-02
  20  Normalizat    1.0499        .19004       -.16552E-04   -.60379E-04
  21  Prefactor     .91532        .52629E-01    .68404E-06   -.22148E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 0.175292
  Prefactor  = 8.49321e-08
  Prefactor  = 5.41204e-05
  Prefactor  = 0
  norm       = 1.75929
  Prefactor  = 5.60785
  norm       = 7.52973
  norm       = 5.55112e-11
  Prefactor  = 1.33227e-09
  Prefactor  = 1.21135e-05
  Prefactor  = 54.6466
  norm       = 0.644117
  Prefactor  = 3.78031e-08
  Prefactor  = 16.3339
  norm       = 7.01099
  Prefactor  = 14.8785
  Prefactor  = 1.11022e-10
  norm       = 11.7596
  Normalizat = 1.0499
  Prefactor  = 0.91532
 **********
 **   18 **HESSE 
 **********

 FCN=   17943.22     FROM HESSE     STATUS=OK           363 CALLS     2109 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    6.6458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17529        5.7316        .12233E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .84932E-07    79.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .54120E-04    92.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        24.825        .17266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.7593        2.6931        .78871E-03   -1.5681    
   7  Prefactor     5.6078        8.7238        .42143E-03   -1.5661    
   8  norm          7.5297        5.8477        .36552E-03   -1.5653    
   9  norm          .55511E-10    3.6329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .13323E-08    12.095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12114E-04    85.006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     54.647        37.592        .13703E-03   -1.5560    
  13  norm          .64412        2.7835        .64470E-03   -1.5692    
  14  Prefactor     .37803E-07    19.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.334        7.5121        .24632E-03   -1.5627    
  16  norm          7.0110        5.5285        .37894E-03   -1.5655    
  17  Prefactor     14.878        12.362        .25937E-03   -1.5631    
  18  Prefactor     .11102E-09    5.0317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          11.760        5.4530        .29183E-03   -1.5639    
  20  Normalizat    1.0499        .18188        .11442       -.91377    
  21  Prefactor     .91532        .49431E-01    .34521E-01   -.95608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50737e-06
Minuit parameter uncertainties:
  1  6.36829e-05
  2  2.0047
  3  0.00518153
  4  0.14156
  5  2.9814e-05
  6  2.69305
  7  8.72381
  8  5.84766
  9  3.32416e-05
  10  0.000251402
  11  0.0641794
  12  37.5926
  13  2.67797
  14  0.00172969
  15  7.51208
  16  5.52849
  17  12.3624
  18  4.23533e-05
  19  5.45296
  20  0.18199
  21  0.0494332
Done.

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

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  1.332e-09  2.514e-04  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.153e-01  4.943e-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:  1.050e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.385 -54.759
Photon Flux Upper Limit: 6.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/876368/likelihoodResults_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.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) = 17943.2693825
delta logL = -0.0531482996885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17943.2162384
delta logL = -4.2484862206e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17950E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.4252       1.0000          .0000       10.000    
     3 'Normalizat'    1.0501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91534       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17943.22     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      219 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.7031        .42118E-03** at limit **
   2  Index         2.5420        1.3167       -.35859E-04     .0000    
   3  Normalizat    1.0499        1.2034       -.54335E-05   -.98828E-04
   4  Prefactor     .91532        1.2595        .15535E-05   -.43158E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.54199
  Normalizat = 1.0499
  Prefactor  = 0.91532
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17943.22     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.7031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .72921        1.9279       -.35859E-04   -.51393    
   3  Normalizat    1.0499        1.2034       -.54335E-05   -.91377    
   4  Prefactor     .91532        1.2595        .15535E-05   -.95608    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.64644e-11
Minuit parameter uncertainties:
  1  2.59806e-05
  2  1.33769
  3  1.23704
  4  1.30341
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/876368': 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) = 17943.2162342
delta logL = 4.36557456851e-11

Extracting fit parameters...

4FGL J0733.5-5445
   Spectrum: PowerLaw
338    Prefactor:  0.000e+00  2.598e-05  0.000e+00  1.000e+06 ( 1.000e-13)
339        Index:  2.542e+00  1.338e+00  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.153e-01  1.303e+00  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:  1.050e+00  1.237e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.385 -54.759

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/876368/cmap_HighResolution_692409601_692668801_4FGL_J0733.5-5445_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-03', job_status='DONE', photon_flux_upper_limit='6.30e-08', time_completed='2022-12-14 03:09:23.517427', job_id='876368', GAL2='0.92', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1671016163.52', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='4.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1748' AND source_name='4FGL J0733.5-5445' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 03:09:23 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 876367: <4FGL_J0733.5-5445_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0733.5-5445_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:05:46 2022
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:06:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:06:01 2022
Terminated at Wed Dec 14 03:03:10 2022
Results reported at Wed Dec 14 03:03:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.5-5445_daily_bin1748 113.385 -54.7593 692409601 692668801 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 :                                   10377.00 sec.
    Max Memory :                                 1100 MB
    Average Memory :                             573.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10628 sec.
    Turnaround time :                            10644 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 876368: <4FGL_J0733.5-5445_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0733.5-5445_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:05:46 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:06:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:06:01 2022
Terminated at Wed Dec 14 03:09:24 2022
Results reported at Wed Dec 14 03:09:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.5-5445_daily_bin1748 113.385 -54.7593 692409601 692668801 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 :                                   10754.00 sec.
    Max Memory :                                 627 MB
    Average Memory :                             572.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11002 sec.
    Turnaround time :                            11018 sec.

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

