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


Performing analysis on: 4FGL_J0529.3-7243_daily_bin1703
RA = 82.3293, Dec = -72.733
tmin = 680745601, tmax = 681004801
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='303079', job_status='RUN', time_executed='2022-08-01 00:21:19.072734', time_epoch_executed='1659338479.07' WHERE source_name='4FGL J0529.3-7243' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303079

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303079/ft1_4FGL_J0529.3-7243_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303079/ft1_4FGL_J0529.3-7243_daily_bin1703.fits outfile=/scratch/kocevski/303079/ft1_filteredMKT_4FGL_J0529.3-7243_daily_bin1703.fits ra=82.3293 dec=-72.733 rad=12.0 tmin=680745601.0 tmax=681004801.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.00
user 2.78
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.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/303079/ft1_filteredMKT_4FGL_J0529.3-7243_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/303079/ft1_filtered_4FGL_J0529.3-7243_daily_bin1703.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.55
user 0.36
sys 0.18

Number of photons that the gtmktime cut: 1390

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303079/ft1_filtered_4FGL_J0529.3-7243_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/303079/ltcube_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.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/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.fits
.....................!
real 16.58
user 16.14
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303079/ft1_filtered_4FGL_J0529.3-7243_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/303079/ltcube_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.fits outfile=/scratch/kocevski/303079/expmap_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.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/303079/ltcube_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.fits
.....................!
real 192.92
user 187.47
sys 4.76

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-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.
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.
Added 178 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 J0529.3-7243 @ 82.3293 -72.733

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/303079/ft1_filtered_4FGL_J0529.3-7243_daily_bin1703.fits scfile=/scratch/kocevski/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.fits outfile=/scratch/kocevski/303079/cmap_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.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=82.3293 yref=-72.733 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303079/ft1_filtered_4FGL_J0529.3-7243_daily_bin1703.fits scfile=/scratch/kocevski/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.fits outfile=/scratch/kocevski/303079/cmap_HighResolution_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.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=82.3293 yref=-72.733 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/303079/ft1_filtered_4FGL_J0529.3-7243_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/303079/Model_4FGL_J0529.3-7243_daily_bin1703.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/303079/ft1_filtered_4FGL_J0529.3-7243_daily_bin1703.fits.....................!
real 12426.24
user 12360.82
sys 4.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/303079/ft1_filtered_4FGL_J0529.3-7243_daily_bin1703.fits', '/scratch/kocevski/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.fits', expMap='/scratch/kocevski/303079/expmap_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.fits', expCube='/scratch/kocevski/303079/ltcube_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/303079/Model_4FGL_J0529.3-7243_daily_bin1703.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0529.3-7243'

4FGL J0529.3-7243
   Spectrum: PowerLaw
277    Prefactor:  1.328e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
278        Index:  2.369e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.568e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/303079/ft1_filtered_4FGL_J0529.3-7243_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/303079/ft2_4FGL_J0529.3-7243_daily_bin1703.fits
Exposure map: /scratch/kocevski/303079/expmap_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.fits
Exposure cube: /scratch/kocevski/303079/ltcube_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/303079/Model_4FGL_J0529.3-7243_daily_bin1703.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) = 14486.5290596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7672       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.773       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    68.790       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3820       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0309       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .28858E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .34809       1.0000         .10000E-03   10000.    
    13 'norm      '    11.652       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.2853       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.2451       1.0000         .10000E-03   10000.    
    16 'norm      '    .95838       1.0000         .10000E-03   10000.    
    17 'norm      '    3.0811       1.0000         .10000E-03   10000.    
    18 'norm      '    4.4714       1.0000         .10000E-03   10000.    
    19 'Prefactor '    54.757       1.0000         .10000E-03   10000.    
    20 'norm      '    7.0124       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2360       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97556       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+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=   14486.51     FROM MIGRAD    STATUS=CONVERGED    822 CALLS     2780 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7512        32.680        .16725E-03   -.56692E-04
   2  Prefactor     .10000E-03    6.0642        .18142E-02** at limit **
   3  Prefactor     .10000E-03    11.514        .18142E-02** at limit **
   4  Prefactor     .10000E-03    4.1351        .18142E-02** at limit **
   5  Prefactor     13.775        19.714        .10793E-03   -.16222E-04
   6  Prefactor     .10000E-03    4.6034        .18142E-02** at limit **
   7  Prefactor     68.795        39.588        .48396E-04   -.12215E-04
   8  norm          3.3824        2.6221        .16000E-03    .83844E-04
   9  Prefactor     2.0307        5.2755        .14514E-02    .90838E-03
  10  Prefactor     .10000E-03    3.9996        .18142E-02** at limit **
  11  norm          .10021E-03    26.660        .17344    ** at limit **
  12  Prefactor     .35138        5.9475        .32465E-02   -.52310E-03
  13  norm          11.652        6.3601        .58680E-03   -.14015E-03
  14  Prefactor     6.2844        9.6504        .16011E-03   -.24426E-04
  15  Prefactor     5.2453        7.6016        .17551E-03   -.37777E-03
  16  norm          .95841        1.2982        .52071E-04   -.55019E-04
  17  norm          3.0812        2.3985        .15948E-03   -.39776E-04
  18  norm          4.4711        3.6546        .19042E-03   -.14842E-03
  19  Prefactor     54.759        48.540        .54207E-04   -.63086E-04
  20  norm          7.0110        10.621        .15149E-03   -.37672E-04
  21  Normalizat    1.2358        .19480        .35771E-03   -.10524E-02
  22  Prefactor     .97563        .88089E-01    .18166E-03   -.82681E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.75124
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7746
  Prefactor  = 0.0001
  Prefactor  = 68.7953
  norm       = 3.38244
  Prefactor  = 2.03066
  Prefactor  = 0.0001
  norm       = 0.00010021
  Prefactor  = 0.35138
  norm       = 11.6521
  Prefactor  = 6.28442
  Prefactor  = 5.24525
  norm       = 0.958411
  norm       = 3.08118
  norm       = 4.47113
  Prefactor  = 54.7586
  norm       = 7.011
  Normalizat = 1.23577
  Prefactor  = 0.975632
 **********
 **   18 **HESSE 
 **********

 FCN=   14486.51     FROM HESSE     STATUS=OK           332 CALLS     3112 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7512        32.646        .66898E-05   -1.5228    
   2  Prefactor     .10000E-03    6.0647        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.516        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.1355        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.775        19.712        .43172E-05   -1.4966    
   6  Prefactor     .10000E-03    4.6035        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     68.795        39.588        .96792E-05   -1.4047    
   8  norm          3.3824        2.6218        .64000E-05   -1.5340    
   9  Prefactor     2.0307        5.2714        .58057E-04   -1.5423    
  10  Prefactor     .10000E-03    3.9997        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10021E-03    26.605        .17198       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .35138        5.8749        .12986E-03   -1.5589    
  13  norm          11.652        6.3589        .23472E-04   -1.5025    
  14  Prefactor     6.2844        9.6500        .64045E-05   -1.5207    
  15  Prefactor     5.2453        7.5964        .70204E-05   -1.5250    
  16  norm          .95841        1.2982        .20828E-05   -1.5512    
  17  norm          3.0812        2.3985        .63794E-05   -1.5357    
  18  norm          4.4711        3.6543        .76167E-05   -1.5285    
  19  Prefactor     54.759        48.535        .10841E-04   -1.4227    
  20  norm          7.0110        10.620        .60597E-05   -1.5178    
  21  Normalizat    1.2358        .19488        .71542E-04   -.85505    
  22  Prefactor     .97563        .88131E-01    .36333E-04   -.93546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.90724e-09
Minuit parameter uncertainties:
  1  27.4272
  2  2.23657e-05
  3  5.03519e-05
  4  3.22433e-05
  5  19.7217
  6  1.16e-05
  7  39.6028
  8  2.62192
  9  5.27258
  10  1.28145e-05
  11  0.00473408
  12  2.87347
  13  6.35931
  14  9.65241
  15  7.59784
  16  1.29821
  17  2.39855
  18  3.6545
  19  48.5697
  20  10.6229
  21  0.194992
  22  0.0881439
Done.

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

Extracting fit parameters...

4FGL J0529.3-7243
   Spectrum: PowerLaw
277    Prefactor:  2.031e+00  5.273e+00  1.000e-04  1.000e+04 ( 1.000e-13)
278        Index:  2.369e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  1.568e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.756e-01  8.814e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.236e+00  1.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 82.329 -72.733
Photon Flux Upper Limit: 7.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/303079/likelihoodResults_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.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) = 14486.4983529
delta logL = 0.0142457101683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14486.4911435
delta logL = 0.0214551633544

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8588       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1336       1.0000          .0000       10.000    
     3 'Normalizat'    1.2376       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97497       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+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=   14486.49     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      260 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8599        7.2987        .24044E-03   -.17372E-03
   2  Index         2.1337        1.0660        .55892E-02    .13054E-03
   3  Normalizat    1.2376        .18270        .35749E-03    .55723E-03
   4  Prefactor     .97496        .84115E-01    .18172E-03    .11763E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.85988
  Index      = 2.1337
  Normalizat = 1.23762
  Prefactor  = 0.974958
 **********
 **   18 **HESSE 
 **********

 FCN=   14486.49     FROM HESSE     STATUS=OK            23 CALLS      283 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8599        7.1681        .96176E-05   -1.5370    
   2  Index         2.1337        1.0474        .22357E-03   -.61048    
   3  Normalizat    1.2376        .18281        .14299E-04   -.85448    
   4  Prefactor     .97496        .84161E-01    .36344E-04   -.93569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6613e-09
Minuit parameter uncertainties:
  1  7.17026
  2  1.05919
  3  0.182901
  4  0.0841725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303079': 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) = 14486.4911435
delta logL = 0.0214551855188

Extracting fit parameters...

4FGL J0529.3-7243
   Spectrum: PowerLaw
277    Prefactor:  2.860e+00  7.170e+00  1.000e-04  1.000e+04 ( 1.000e-13)
278        Index:  2.134e+00  1.059e+00  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  1.568e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.750e-01  8.417e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.238e+00  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 82.329 -72.733

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/303079/cmap_HighResolution_680745601_681004801_4FGL_J0529.3-7243_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2022-08-01 04:07:49.702237', job_id='303079', GAL2='0.97', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1659352069.7', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.15e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1703' AND source_name='4FGL J0529.3-7243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 04:07:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 303134: <4FGL_J0529.3-7243_daily_bin1703> in cluster <slac> Done

Job <4FGL_J0529.3-7243_daily_bin1703> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug  1 00:05:42 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 00:21:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 00:21:40 2022
Terminated at Mon Aug  1 04:06:29 2022
Results reported at Mon Aug  1 04:06:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0529.3-7243_daily_bin1703 82.3293 -72.733 680745601 681004801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0529.3-7243 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   13372.00 sec.
    Max Memory :                                 1103 MB
    Average Memory :                             595.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13488 sec.
    Turnaround time :                            14447 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 303079: <4FGL_J0529.3-7243_daily_bin1703> in cluster <slac> Done

Job <4FGL_J0529.3-7243_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 00:05:39 2022
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 00:20:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 00:20:02 2022
Terminated at Mon Aug  1 04:07:50 2022
Results reported at Mon Aug  1 04:07:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0529.3-7243_daily_bin1703 82.3293 -72.733 680745601 681004801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0529.3-7243 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   13535.00 sec.
    Max Memory :                                 1103 MB
    Average Memory :                             597.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13668 sec.
    Turnaround time :                            14531 sec.

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

