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


Performing analysis on: 4FGL_J0720.0-6237_daily_bin1758
RA = 110.018, Dec = -62.6173
tmin = 695001601, tmax = 695260801
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='355489', job_status='RUN', time_executed='2023-01-13 00:22:19.858499', time_epoch_executed='1673598139.86' WHERE source_name='4FGL J0720.0-6237' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/355489

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/355489/ft1_4FGL_J0720.0-6237_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/355489/ft1_4FGL_J0720.0-6237_daily_bin1758.fits outfile=/scratch/kocevski/355489/ft1_filteredMKT_4FGL_J0720.0-6237_daily_bin1758.fits ra=110.018 dec=-62.6173 rad=12.0 tmin=695001601.0 tmax=695260801.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.58
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.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/355489/ft1_filteredMKT_4FGL_J0720.0-6237_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/355489/ft1_filtered_4FGL_J0720.0-6237_daily_bin1758.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.35
sys 0.16

Number of photons that the gtmktime cut: 1700

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/355489/ft1_filtered_4FGL_J0720.0-6237_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/355489/ltcube_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.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/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.fits
.....................!
real 15.46
user 14.87
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/355489/ft1_filtered_4FGL_J0720.0-6237_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/355489/ltcube_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.fits outfile=/scratch/kocevski/355489/expmap_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.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/355489/ltcube_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.fits
.....................!
real 192.66
user 186.24
sys 5.56

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 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.
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 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.
Added 218 point sources and 7 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 J0720.0-6237 @ 110.018 -62.6173

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/355489/ft1_filtered_4FGL_J0720.0-6237_daily_bin1758.fits scfile=/scratch/kocevski/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.fits outfile=/scratch/kocevski/355489/cmap_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.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=110.018 yref=-62.6173 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/355489/ft1_filtered_4FGL_J0720.0-6237_daily_bin1758.fits scfile=/scratch/kocevski/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.fits outfile=/scratch/kocevski/355489/cmap_HighResolution_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.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=110.018 yref=-62.6173 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/355489/ft1_filtered_4FGL_J0720.0-6237_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/355489/Model_4FGL_J0720.0-6237_daily_bin1758.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 Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/355489/ft1_filtered_4FGL_J0720.0-6237_daily_bin1758.fits....................!
real 10181.97
user 10155.05
sys 6.72

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/355489/ft1_filtered_4FGL_J0720.0-6237_daily_bin1758.fits', '/scratch/kocevski/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.fits', expMap='/scratch/kocevski/355489/expmap_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.fits', expCube='/scratch/kocevski/355489/ltcube_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/355489/Model_4FGL_J0720.0-6237_daily_bin1758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0720.0-6237'

4FGL J0720.0-6237
   Spectrum: PowerLaw
349    Prefactor:  2.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
350        Index:  3.129e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  2.274e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/355489/ft1_filtered_4FGL_J0720.0-6237_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/355489/ft2_4FGL_J0720.0-6237_daily_bin1758.fits
Exposure map: /scratch/kocevski/355489/expmap_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.fits
Exposure cube: /scratch/kocevski/355489/ltcube_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/355489/Model_4FGL_J0720.0-6237_daily_bin1758.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) = 17509.2531914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2188       1.0000          .0000       .10000E+07
     2 'Prefactor '    .22938E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .33552       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.9952       1.0000          .0000       .10000E+07
     5 'Prefactor '    22.753       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.0109       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10790E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.4766       1.0000          .0000       .10000E+07
     9 'norm      '    .47057E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .91588E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .29625E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.365       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.3521       1.0000          .0000       .10000E+07
    14 'Prefactor '    34.416       1.0000          .0000       .10000E+07
    15 'Prefactor '    .26685E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .52038E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.6326       1.0000          .0000       .10000E+07
    18 'norm      '    .11650E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .12072E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2394       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94985       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17509.20     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1306 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2165        5.0963        .21310E-07    .21927E-02
   2  Prefactor     .55511E-10    41.410       -.77088E-05** at limit **
   3  Prefactor     .15016E-06    101.44       -.68385E-05** at limit **
   4  Prefactor     6.1530        11.142        .42259E-05    .24122E-02
   5  Prefactor     22.878        2.7947       -.90879E-07   -.23845E-01
   6  Prefactor     7.0008        5.9622       -.10505E-05    .37860E-02
   7  Prefactor     .78826E-08    43.968        .13338E-06** at limit **
   8  Prefactor     5.4768        6.2568       -.37083E-06    .24441E-02
   9  norm          .72164E-09    5.1336       -.67516E-06** at limit **
  10  Prefactor     .16653E-09    14.346        .22638E-05** at limit **
  11  norm           .0000        .84763        .26855E-06** at limit **
  12  Prefactor     13.308        8.0979        .23886E-05    .44148E-02
  13  Prefactor     2.3538        5.4160        .13109E-05    .87947E-03
  14  Prefactor     34.164        2.8540        .99000E-07   -.10595    
  15  Prefactor     .35311E-06    142.32       -.69002E-05** at limit **
  16  norm          .16653E-09    1.0405        .76121E-06** at limit **
  17  Prefactor     7.6412        6.9344       -.82657E-06   -.95372E-03
  18  norm          .55511E-10    1.3914       -.26381E-06** at limit **
  19  Prefactor     .61062E-09    3.5273       -.30175E-06** at limit **
  20  Normalizat    1.2395        .20280        .13680E-04    .70028E-03
  21  Prefactor     .94983        .65829E-01   -.71788E-05    .13520E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 6.21649
  Prefactor  = 5.55112e-11
  Prefactor  = 1.50158e-07
  Prefactor  = 6.15302
  Prefactor  = 22.8778
  Prefactor  = 7.00076
  Prefactor  = 7.88258e-09
  Prefactor  = 5.47675
  norm       = 7.21645e-10
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 13.3083
  Prefactor  = 2.35384
  Prefactor  = 34.1636
  Prefactor  = 3.53106e-07
  norm       = 1.66533e-10
  Prefactor  = 7.6412
  norm       = 5.55112e-11
  Prefactor  = 6.10623e-10
  Normalizat = 1.23949
  Prefactor  = 0.949834  **********
 **   18 **HESSE 
 **********

 FCN=   17509.20     FROM HESSE     STATUS=OK           373 CALLS     1679 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2165        5.0931        .40232E-03   -1.5658    
   2  Prefactor     .55511E-10    12.575        .16851E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .15016E-06    6.1913        .11871E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.1530        13.312        .40985E-03   -1.5658    
   5  Prefactor     22.878        10.346        .20969E-03   -1.5612    
   6  Prefactor     7.0008        5.9612        .37864E-03   -1.5655    
   7  Prefactor     .78826E-08    44.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.4768        6.2744        .42912E-03   -1.5661    
   9  norm          .72164E-09    .93231        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16653E-09    14.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .84647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.308        8.1112        .27373E-03   -1.5635    
  13  Prefactor     2.3538        5.4708        .66808E-03   -1.5677    
  14  Prefactor     34.164        43.167        .17048E-03   -1.5591    
  15  Prefactor     .35311E-06    143.00        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    1.0417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.6412        6.9973        .36275E-03   -1.5653    
  18  norm          .55511E-10    1.3961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .61062E-09    3.5533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2395        .18132        .91362E-01   -.85391    
  21  Prefactor     .94983        .57252E-01    .45637E-01   -.94421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.3921e-07
Minuit parameter uncertainties:
  1  5.09306
  2  6.3021e-05
  3  0.00192852
  4  13.312
  5  10.3464
  6  5.96118
  7  0.00117661
  8  6.27438
  9  5.22904e-05
  10  8.99563e-05
  11  7.68647e-06
  12  8.11117
  13  5.4708
  14  43.167
  15  0.0142128
  16  2.60342e-05
  17  6.99734
  18  1.32045e-05
  19  9.50507e-05
  20  0.181415
  21  0.0572554DDone.

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

Extracting fit parameters...

4FGL J0720.0-6237
   Spectrum: PowerLaw
349    Prefactor:  1.331e+01  8.111e+00  0.000e+00  1.000e+06 ( 1.000e-11)
350        Index:  3.129e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  2.274e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
717    Prefactor:  9.498e-01  5.726e-02  0.000e+00  1.000e+01 ( 1.000e+00)
718        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
719        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
716   Normalization:  1.239e+00  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.46
Ra Dec: 110.018 -62.617
Photon Index (Fixed Index): 3.13 +/- 0.00
Photon Flux (Fixed Index): 8.19e-08 +/- 4.98e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 9.39e-06

TS (Fixed Index): 3.46
Ra Dec: 110.018 -62.617
Photon Flux Upper Limit: 1.72e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/355489/likelihoodResults_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.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) = 17509.194279
delta logL = 0.0038736890674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17509.1939985
delta logL = 0.00415425580286

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.208       1.0000          .0000       .10000E+07
     2 'Index     '    3.2034       1.0000          .0000       10.000    
     3 'Normalizat'    1.2366       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95063       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7430E+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=   17509.19     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      283 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.208        8.2754        .11014E-04   -.49007E-02
   2  Index         3.2034        .84292        .13292E-01   -.12245E-03
   3  Normalizat    1.2366        .19335        .40506E-03    .48836E-04
   4  Prefactor     .95061        .65243E-01    .15679E-03    .81211E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2078
  Index      = 3.20338
  Normalizat = 1.23662
  Prefactor  = 0.950615
 **********
 **   18 **HESSE 
 **********

 FCN=   17509.19     FROM HESSE     STATUS=OK            23 CALLS      306 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.208        8.1901        .44058E-06   -1.5635    
   2  Index         3.2034        .83447        .53169E-03   -.36754    
   3  Normalizat    1.2366        .19367        .16202E-04   -.85479    
   4  Prefactor     .95061        .65296E-01    .62715E-05   -.94394    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0262e-10
Minuit parameter uncertainties:
  1  8.19014
  2  0.83898
  3  0.193782
  4  0.0653018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/355489': 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) = 17509.1939985
delta logL = 0.00415428097403

Extracting fit parameters...

4FGL J0720.0-6237
   Spectrum: PowerLaw
349    Prefactor:  1.321e+01  8.190e+00  0.000e+00  1.000e+06 ( 1.000e-11)
350        Index:  3.203e+00  8.390e-01  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  2.274e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
717    Prefactor:  9.506e-01  6.530e-02  0.000e+00  1.000e+01 ( 1.000e+00)
718        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
719        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
716   Normalization:  1.237e+00  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.47
Ra Dec: 110.018 -62.617
Photon Index (Free Index): 3.20 +/- 0.84
Photon Flux (Free Index): 8.35e-08 +/- 5.31e-08
Energy Flux (Free Index): 1.53e-05 +/- 9.48e-06

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/355489/cmap_HighResolution_695001601_695260801_4FGL_J0720.0-6237_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-02', comment='SUCCESS', photon_flux='8.19e-08', energy_flux2='1.53e-05', photon_flux_error='4.98e-08', dlogl='4.15e-03', energy_flux='1.54e-05', photon_flux2='8.35e-08', job_status='DONE', time_completed='2023-01-13 03:31:46.959058', photon_index_error2='0.84', photon_index2='3.20', ts='3.46', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.72e-07', energy_flux_error2='9.48e-06', EG='1.24', time_epoch_completed='1673609506.96', return_code='0', job_id='355489', GAL2='0.95', EG2='1.24', return_code2='0', energy_flux_error='9.39e-06', photon_flux_error2='5.31e-08', ts2='3.47', photon_index='3.13' WHERE bin_id='1758' AND source_name='4FGL J0720.0-6237' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 03:31:46 PST 2023

------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 355524: <4FGL_J0720.0-6237_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0720.0-6237_daily_bin1758> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Jan 13 00:05:36 2023
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:18:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:18:41 2023
Terminated at Fri Jan 13 03:31:32 2023
Results reported at Fri Jan 13 03:31:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0720.0-6237_daily_bin1758 110.018 -62.6173 695001601 695260801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0720.0-6237 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11479.00 sec.
    Max Memory :                                 627 MB
    Average Memory :                             587.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11571 sec.
    Turnaround time :                            12356 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 355489: <4FGL_J0720.0-6237_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0720.0-6237_daily_bin1758> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Jan 13 00:05:34 2023
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:18:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:18:13 2023
Terminated at Fri Jan 13 03:31:47 2023
Results reported at Fri Jan 13 03:31:47 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0720.0-6237_daily_bin1758 110.018 -62.6173 695001601 695260801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0720.0-6237 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11354.00 sec.
    Max Memory :                                 785 MB
    Average Memory :                             580.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11614 sec.
    Turnaround time :                            12373 sec.

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

