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


Performing analysis on: 4FGL_J1129.1-5230_daily_bin1693
RA = 172.286, Dec = -52.513
tmin = 678153601, tmax = 678412801
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='540565', job_status='RUN', time_executed='2022-07-02 02:10:46.749842', time_epoch_executed='1656753046.75' WHERE source_name='4FGL J1129.1-5230' and cadence='daily' and bin_id='1693'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/540565

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/540565/ft1_4FGL_J1129.1-5230_daily_bin1693.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/540565/ft1_4FGL_J1129.1-5230_daily_bin1693.fits outfile=/scratch/kocevski/540565/ft1_filteredMKT_4FGL_J1129.1-5230_daily_bin1693.fits ra=172.286 dec=-52.513 rad=12.0 tmin=678153601.0 tmax=678412801.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 4.13
user 3.88
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.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/540565/ft1_filteredMKT_4FGL_J1129.1-5230_daily_bin1693.fits evtable="EVENTS" outfile="/scratch/kocevski/540565/ft1_filtered_4FGL_J1129.1-5230_daily_bin1693.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.34
sys 0.15

Number of photons that the gtmktime cut: 4194

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/540565/ft1_filtered_4FGL_J1129.1-5230_daily_bin1693.fits" evtable="EVENTS" scfile=/scratch/kocevski/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.fits sctable="SC_DATA" outfile=/scratch/kocevski/540565/ltcube_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.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/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.fits
.....................!
real 14.55
user 14.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/540565/ft1_filtered_4FGL_J1129.1-5230_daily_bin1693.fits evtable="EVENTS" scfile=/scratch/kocevski/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.fits sctable="SC_DATA" expcube=/scratch/kocevski/540565/ltcube_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.fits outfile=/scratch/kocevski/540565/expmap_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.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/540565/ltcube_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.fits
.....................!
real 194.39
user 188.43
sys 5.44

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 G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Extended source HESS J1303-631 in ROI with RadialGaussian spatial model.
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Added 270 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 J1129.1-5230 @ 172.286 -52.513

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/540565/ft1_filtered_4FGL_J1129.1-5230_daily_bin1693.fits scfile=/scratch/kocevski/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.fits outfile=/scratch/kocevski/540565/cmap_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.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=172.286 yref=-52.513 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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/540565/ft1_filtered_4FGL_J1129.1-5230_daily_bin1693.fits scfile=/scratch/kocevski/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.fits outfile=/scratch/kocevski/540565/cmap_HighResolution_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.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=172.286 yref=-52.513 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.58
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/540565/ft1_filtered_4FGL_J1129.1-5230_daily_bin1693.fits evtable="EVENTS" scfile=/scratch/kocevski/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/540565/Model_4FGL_J1129.1-5230_daily_bin1693.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 CenA Lobes
adding source EG_v02
adding source FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source G296.5+10.0
adding source GAL_V02
adding source HESS J1303-631
adding source Westerlund 2
Working on...
/scratch/kocevski/540565/ft1_filtered_4FGL_J1129.1-5230_daily_bin1693.fits.....................!
real 980.63
user 977.14
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/540565/ft1_filtered_4FGL_J1129.1-5230_daily_bin1693.fits', '/scratch/kocevski/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.fits', expMap='/scratch/kocevski/540565/expmap_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.fits', expCube='/scratch/kocevski/540565/ltcube_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/540565/Model_4FGL_J1129.1-5230_daily_bin1693.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.1-5230'

4FGL J1129.1-5230
   Spectrum: PowerLaw
446    Prefactor:  3.338e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
447        Index:  2.246e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
448        Scale:  2.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/540565/ft1_filtered_4FGL_J1129.1-5230_daily_bin1693.fits
Spacecraft file(s): /scratch/kocevski/540565/ft2_4FGL_J1129.1-5230_daily_bin1693.fits
Exposure map: /scratch/kocevski/540565/expmap_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.fits
Exposure cube: /scratch/kocevski/540565/ltcube_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/540565/Model_4FGL_J1129.1-5230_daily_bin1693.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) = 37817.9563762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7972       1.0000         .10000E-03   10000.    
     2 'norm      '    7.6564       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.1590       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.5388       1.0000         .10000E-03   10000.    
     6 'norm      '    3.1716       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2645       1.0000         .10000E-03   10000.    
     8 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.521       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .47657       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.957       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.8663       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.898       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.9881       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .96674       1.0000         .10000E-01   10.000    
    19 'norm      '    .90260       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.0094       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   37817.96     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     2063 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7956        12.653        .33846E-06    .63148E-04
   2  norm          7.6566        1.8860        .33005E-06   -.33373E-03
   3  Prefactor     7.1557        15.612       -.39619E-05    .49705E-04
   4  Prefactor     .10000E-03    .85962        .11495E-07** at limit **
   5  norm          2.5389        2.0477        .19575E-05    .37118E-03
   6  norm          3.1709        1.7118        .42576E-07    .19697E-03
   7  Prefactor     2.2634        6.3639       -.64594E-06    .46576E-04
   8  norm          .10000E-03    3.2564        .97067E-08** at limit **
   9  Prefactor     35.511        36.416       -.48171E-06    .13975E-04
  10  Prefactor     .32577        20.159       -.45859E-05    .25848E-03
  11  norm          .10000E-03    9.0964       -.25818E-07** at limit **
  12  Prefactor     11.955        18.580       -.29437E-06    .17935E-04
  13  Prefactor     6.8668        10.403        .51641E-07    .30148E-06
  14  Prefactor     .10000E-03    .59002       -.91214E-07** at limit **
  15  Prefactor     11.886        31.157       -.32777E-05    .26006E-04
  16  norm          .10000E-03    6.7046       -.73550E-07** at limit **
  17  Prefactor     5.9818        10.801        .68570E-06   -.13807E-04
  18  Normalizat    .96702        .20893        .24092E-05    .25979E-03
  19  norm          .90232        .94801        .30701E-06    .80871E-03
  20  Prefactor     1.0094        .32538E-01   -.41334E-06    .84796E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.79562
  norm       = 7.65657
  Prefactor  = 7.1557
  Prefactor  = 0.0001
  norm       = 2.53894
  norm       = 3.17088
  Prefactor  = 2.26339
  norm       = 0.0001
  Prefactor  = 35.5106
  Prefactor  = 0.325771
  norm       = 0.0001
  Prefactor  = 11.9551
  Prefactor  = 6.86678
  Prefactor  = 0.0001
  Prefactor  = 11.8857
  norm       = 0.0001
  Prefactor  = 5.9818
  Normalizat = 0.967024
  norm       = 0.902319
  Prefactor  = 1.00939
 **********
 **   18 **HESSE 
 **********

 FCN=   37817.96     FROM HESSE     STATUS=OK           307 CALLS     2370 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7956        12.628        .13514E-03   -1.5115    
   2  norm          7.6566        1.8305        .59167E-03   -1.5154    
   3  Prefactor     7.1557        15.599        .14992E-03   -1.5173    
   4  Prefactor     .10000E-03    .87577        .17597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.5389        2.0558        .12215E-02   -1.5389    
   6  norm          3.1709        1.7053        .17628E-03   -1.5352    
   7  Prefactor     2.2634        6.3392        .27296E-03   -1.5407    
   8  norm          .10000E-03    3.2578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.511        36.465        .67241E-04   -1.4515    
  10  Prefactor     .32577        16.940        .22796       -1.5594    
  11  norm          .10000E-03    9.1200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.955        18.592        .11585E-03   -1.5016    
  13  Prefactor     6.8668        10.348        .15311E-03   -1.5184    
  14  Prefactor     .10000E-03    .59323        .14533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.886        31.125        .11613E-03   -1.5018    
  16  norm          .10000E-03    6.7451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.9818        10.773        .16409E-03   -1.5219    
  18  Normalizat    .96702        .20733        .90690E-03   -.94143    
  19  norm          .90232        .91317        .16242E-03   -1.5518    
  20  Prefactor     1.0094        .32514E-01    .13495E-03   -.92417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8634e-09
Minuit parameter uncertainties:
  1  12.6314
  2  1.83053
  3  15.6079
  4  4.69365e-07
  5  2.05587
  6  1.70528
  7  6.34107
  8  9.33416e-07
  9  36.4874
  10  4.69906
  11  5.82582e-06
  12  18.6014
  13  10.3511
  14  3.90308e-06
  15  31.1676
  16  6.05793e-06
  17  10.7769
  18  0.207498
  19  0.913183
  20  0.0325142
Done.

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

Extracting fit parameters...

4FGL J1129.1-5230
   Spectrum: PowerLaw
446    Prefactor:  3.258e-01  4.699e+00  1.000e-04  1.000e+04 ( 1.000e-14)
447        Index:  2.246e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
448        Scale:  2.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
980    Prefactor:  1.009e+00  3.251e-02  0.000e+00  1.000e+01 ( 1.000e+00)
981        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
982        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
965   Normalization:  9.670e-01  2.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 172.286 -52.513
Photon Flux Upper Limit: 9.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/540565/likelihoodResults_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37817.3416831
delta logL = 0.613643224009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37817.3200512
delta logL = 0.635275132256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28467E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    4.9745       1.0000          .0000       10.000    
     3 'Normalizat'    .91175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0121       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   37817.32     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      332 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23277E-01    .13107        .61887E-02    .40309E-01
   2  Index         5.0426        1.0273        .11593        .98572E-03
   3  Normalizat    .91209        .32760E-01    .20850        .15115E-03
   4  Prefactor     1.0121        .49951E-02    .30497E-01   -.46512E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0232773
  Index      = 5.04263
  Normalizat = 0.912095
  Prefactor  = 1.0121
 **********
 **   18 **HESSE 
 **********

 FCN=   37817.32     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      365 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23277E-01    1.0791        .27070E-04   -1.5678    
   2  Index         5.0426        3.9164        .77372E-02    .85265E-02
   3  Normalizat    .91209        .16018        .93079E-03   -.96036    
   4  Prefactor     1.0121        .24207E-01    .13477E-03   -.92327    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.88081e-08
Minuit parameter uncertainties:
  1  0.316306
  2  4.49967
  3  0.160264
  4  0.0242075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/540565': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37817.3199917
delta logL = 0.635334582614

Extracting fit parameters...

4FGL J1129.1-5230
   Spectrum: PowerLaw
446    Prefactor:  2.328e-02  3.163e-01  1.000e-04  1.000e+04 ( 1.000e-14)
447        Index:  5.043e+00  4.500e+00  0.000e+00  1.000e+01 (-1.000e+00)
448        Scale:  2.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
980    Prefactor:  1.012e+00  2.421e-02  0.000e+00  1.000e+01 ( 1.000e+00)
981        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
982        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
965   Normalization:  9.121e-01  1.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.38
Ra Dec: 172.286 -52.513
Photon Index (Free Index): 5.04 +/- 4.50
Photon Flux (Free Index): 5.65e-08 +/- 5.29e-08
Energy Flux (Free Index): 7.49e-06 +/- 8.34e-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/540565/cmap_HighResolution_678153601_678412801_4FGL_J1129.1-5230_daily_bin1693.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-03', comment='SUCCESS', energy_flux2='7.49e-06', dlogl='6.35e-01', photon_flux2='5.65e-08', job_status='DONE', time_completed='2022-07-02 03:26:22.791174', photon_index_error2='4.50', photon_index2='5.04', ts='0.00', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='9.18e-08', energy_flux_error2='8.34e-06', EG='0.97', time_epoch_completed='1656757582.79', return_code='0', job_id='540565', GAL2='1.01', EG2='0.91', return_code2='102', photon_flux_error2='5.29e-08', ts2='1.38', photon_index='2.25' WHERE bin_id='1693' AND source_name='4FGL J1129.1-5230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul  2 03:26:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 540518: <4FGL_J1129.1-5230_daily_bin1693> in cluster <slac> Done

Job <4FGL_J1129.1-5230_daily_bin1693> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jul  2 00:06:08 2022
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  2 02:08:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  2 02:08:44 2022
Terminated at Sat Jul  2 03:25:50 2022
Results reported at Sat Jul  2 03:25:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.1-5230_daily_bin1693 172.286 -52.513 678153601 678412801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1129.1-5230 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4542.00 sec.
    Max Memory :                                 1265 MB
    Average Memory :                             443.98 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4625 sec.
    Turnaround time :                            11982 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 540565: <4FGL_J1129.1-5230_daily_bin1693> in cluster <slac> Done

Job <4FGL_J1129.1-5230_daily_bin1693> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul  2 00:06:09 2022
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  2 02:09:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  2 02:09:30 2022
Terminated at Sat Jul  2 03:26:23 2022
Results reported at Sat Jul  2 03:26:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.1-5230_daily_bin1693 172.286 -52.513 678153601 678412801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1129.1-5230 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4526.00 sec.
    Max Memory :                                 1265 MB
    Average Memory :                             440.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4627 sec.
    Turnaround time :                            12014 sec.

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

