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


Performing analysis on: 4FGL_J1129.8-1447_daily_bin1766
RA = 172.465, Dec = -14.796
tmin = 697075201, tmax = 697334401
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='846569', job_status='RUN', time_executed='2023-02-06 00:45:28.295957', time_epoch_executed='1675673128.3' WHERE source_name='4FGL J1129.8-1447' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846569

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846569/ft1_4FGL_J1129.8-1447_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846569/ft1_4FGL_J1129.8-1447_daily_bin1766.fits outfile=/scratch/kocevski/846569/ft1_filteredMKT_4FGL_J1129.8-1447_daily_bin1766.fits ra=172.465 dec=-14.796 rad=12.0 tmin=697075201.0 tmax=697334401.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.78
user 3.49
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.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/846569/ft1_filteredMKT_4FGL_J1129.8-1447_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/846569/ft1_filtered_4FGL_J1129.8-1447_daily_bin1766.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.56
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 761

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846569/ft1_filtered_4FGL_J1129.8-1447_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/846569/ltcube_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.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/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.fits
.....................!
real 16.09
user 15.64
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846569/ft1_filtered_4FGL_J1129.8-1447_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/846569/ltcube_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.fits outfile=/scratch/kocevski/846569/expmap_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.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/846569/ltcube_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.fits
.....................!
real 193.80
user 187.29
sys 5.98

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
Added 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J1129.8-1447 @ 172.465 -14.796

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/846569/ft1_filtered_4FGL_J1129.8-1447_daily_bin1766.fits scfile=/scratch/kocevski/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.fits outfile=/scratch/kocevski/846569/cmap_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.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.465 yref=-14.796 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846569/ft1_filtered_4FGL_J1129.8-1447_daily_bin1766.fits scfile=/scratch/kocevski/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.fits outfile=/scratch/kocevski/846569/cmap_HighResolution_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.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.465 yref=-14.796 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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/846569/ft1_filtered_4FGL_J1129.8-1447_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/846569/Model_4FGL_J1129.8-1447_daily_bin1766.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
Working on...
/scratch/kocevski/846569/ft1_filtered_4FGL_J1129.8-1447_daily_bin1766.fits.....................!
real 73.89
user 71.85
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/846569/ft1_filtered_4FGL_J1129.8-1447_daily_bin1766.fits', '/scratch/kocevski/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.fits', expMap='/scratch/kocevski/846569/expmap_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.fits', expCube='/scratch/kocevski/846569/ltcube_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/846569/Model_4FGL_J1129.8-1447_daily_bin1766.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.8-1447'

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  4.121e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.692e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  5.409e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/846569/ft1_filtered_4FGL_J1129.8-1447_daily_bin1766.fits
Spacecraft file(s): /scratch/kocevski/846569/ft2_4FGL_J1129.8-1447_daily_bin1766.fits
Exposure map: /scratch/kocevski/846569/expmap_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.fits
Exposure cube: /scratch/kocevski/846569/ltcube_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/846569/Model_4FGL_J1129.8-1447_daily_bin1766.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) = 8207.08080349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27102E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .21982E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.846       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26097E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3758       1.0000          .0000       .10000E+07
     6 'Prefactor '    .67367E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .41969E-03   1.0000          .0000       .10000E+07
     8 'norm      '    13.586       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24079E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .43854E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1301       1.0000          .0000       .10000E+07
    12 'Prefactor '    26.612       1.0000          .0000       .10000E+07
    13 'norm      '    .10149E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.9585       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.823       1.0000          .0000       .10000E+07
    16 'norm      '    3.7133       1.0000          .0000       .10000E+07
    17 'Prefactor '    .94369E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    .72461E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .80802E-03   1.0000          .0000       .10000E+07
    20 'norm      '    2.3970       1.0000          .0000       .10000E+07
    21 'Prefactor '    .16158E-01   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1455       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97472       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8207.020     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1546 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12236        23.407        .38807E-05** at limit **
   2  norm          .55511E-10    2.9423       -.16504E-05** at limit **
   3  Prefactor     14.881        1.3593       -.32772E-06   -.18593E-01
   4  Prefactor     .28821E-06    31.606        .12072E-05** at limit **
   5  Prefactor     1.6837        32.019       -.10253E-05    .39507E-02
   6  Prefactor     .38858E-09    4.0817       -.31417E-07** at limit **
   7  Prefactor     .20546E-05    40.136        .18649E-04** at limit **
   8  norm          13.456        8.3356       -.48786E-06   -.74855E-02
   9  Prefactor     .94369E-09    2.7187        .77186E-06** at limit **
  10  norm          .11102E-09    .55897       -.19047E-06** at limit **
  11  Prefactor     4.1340        4.6261        .51851E-06   -.85168E-02
  12  Prefactor     26.629        1.6228       -.18278E-06   -.93770E-01
  13  norm          .11361E-05    53.480       -.12716E-04** at limit **
  14  Prefactor     10.171        1.6020        .29689E-06    .96013E-02
  15  Prefactor     12.678        8.5974       -.33131E-05   -.10358    
  16  norm          3.6844        5.4389       -.12476E-07   -.36099E-02
  17  Prefactor     .22204E-09    2.9640        .17518E-06** at limit **
  18  Prefactor     .95174E-06    152.01        .99309E-05** at limit **
  19  Prefactor     .18319E-08    4.5485        .11132E-05** at limit **
  20  norm          2.4000        2.9564        .97724E-08    .47673E-02
  21  Prefactor     .78826E-08    1.6109        .42824E-06** at limit **
  22  Normalizat    1.1447        .22467        .46243E-05    .36672E-03
  23  Prefactor     .97470        .14117        .24350E-05    .13651E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.122357
  norm       = 5.55112e-11
  Prefactor  = 14.8811
  Prefactor  = 2.88214e-07
  Prefactor  = 1.68366
  Prefactor  = 3.88578e-10
  Prefactor  = 2.05463e-06
  norm       = 13.4561
  Prefactor  = 9.4369e-10
  norm       = 1.11022e-10
  Prefactor  = 4.13398
  Prefactor  = 26.6294
  norm       = 1.13609e-06
  Prefactor  = 10.1714
  Prefactor  = 12.6778
  norm       = 3.68443
  Prefactor  = 2.22045e-10
  Prefactor  = 9.51739e-07
  Prefactor  = 1.83187e-09
  norm       = 2.40002
  Prefactor  = 7.88258e-09
  Normalizat = 1.14472
  Prefactor  = 0.974695
 **********
 **   18 **HESSE 
 **********

 FCN=   8207.020     FROM HESSE     STATUS=OK           428 CALLS     1974 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12236        1.9386        .74167E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-10    2.9323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.881        15.100        .25969E-03   -1.5631    
   4  Prefactor     .28821E-06    32.227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6837        31.979        .92832E-03   -1.5682    
   6  Prefactor     .38858E-09    4.0697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20546E-05    44.738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.456        8.4821        .27149E-03   -1.5635    
   9  Prefactor     .94369E-09    2.7191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .11102E-09    .54850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1340        4.8308        .49576E-03   -1.5667    
  12  Prefactor     26.629        10.345        .19389E-03   -1.5605    
  13  norm          .11361E-05    56.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.171        19.917        .31729E-03   -1.5644    
  15  Prefactor     12.678        19.677        .27947E-03   -1.5637    
  16  norm          3.6844        5.4676        .52380E-03   -1.5670    
  17  Prefactor     .22204E-09    2.9285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95174E-06    9.5155        .90769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18319E-08    4.5569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.4000        2.9813        .66115E-03   -1.5677    
  21  Prefactor     .78826E-08    51.534        .17304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1447        .19322        .65900E-01   -.88329    
  23  Prefactor     .97470        .11775        .45950E-01   -.93578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27119e-07
Minuit parameter uncertainties:
  1  0.974077
  2  2.66542e-05
  3  15.1003
  4  0.00609543
  5  14.6756
  6  7.85599e-05
  7  0.0191751
  8  8.48216
  9  0.000102651
  10  1.45121e-05
  11  4.83079
  12  10.345
  13  0.0159755
  14  19.9172
  15  19.6772
  16  5.46764
  17  5.14652e-05
  18  0.00601867
  19  0.000182551
  20  2.98134
  21  0.00127517
  22  0.19334
  23  0.11778
Done.

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

Extracting fit parameters...

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  2.663e+01  1.034e+01  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.692e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  5.409e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.747e-01  1.178e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.145e+00  1.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.22
Ra Dec: 172.465 -14.796
Photon Index (Fixed Index): 2.69 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 5.75e-08
Energy Flux (Fixed Index): 3.59e-05 +/- 1.40e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8206.70788281
delta logL = 0.312608035125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8206.6706854
delta logL = 0.349805454756

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8206.671     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      263 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.416        79.784        .23304E-03    .38121E-02
   2  Index         3.2148        3.0634        .13116        .17333E-03
   3  Normalizat    1.0782        .98027E-01    .67581E-01    .41507E-03
   4  Prefactor     1.0068        .52169E-01    .43894E-01    .94935E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.4155
  Index      = 3.21483
  Normalizat = 1.07823
  Prefactor  = 1.00676
 **********
 **   18 **HESSE 
 **********

 FCN=   8206.671     FROM HESSE     STATUS=OK            29 CALLS      292 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.416        19.504        .93217E-05   -1.5622    
   2  Index         3.2148        .99022        .51216E-02   -.36509    
   3  Normalizat    1.0782        .24300        .29899E-03   -.90454    
   4  Prefactor     1.0068        .15102        .19952E-03   -.92505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.76134e-10
Minuit parameter uncertainties:
  1  19.5038
  2  0.997794
  3  0.243247
  4  0.151085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846569': 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) = 8206.67068372
delta logL = 0.349807128387

Extracting fit parameters...

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  1.842e+01  1.950e+01  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  3.215e+00  9.978e-01  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  5.409e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.007e+00  1.511e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.078e+00  2.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.27
Ra Dec: 172.465 -14.796
Photon Index (Free Index): 3.21 +/- 1.00
Photon Flux (Free Index): 1.90e-07 +/- 8.16e-08
Energy Flux (Free Index): 3.45e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/846569/cmap_HighResolution_697075201_697334401_4FGL_J1129.8-1447_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='3.45e-05', photon_flux_error='5.75e-08', dlogl='3.50e-01', energy_flux='3.59e-05', photon_flux2='1.90e-07', job_status='DONE', time_completed='2023-02-06 00:56:06.935988', photon_index_error2='1.00', photon_index2='3.21', ts='11.22', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='1.14', time_epoch_completed='1675673766.94', return_code='0', job_id='846569', GAL2='1.01', EG2='1.08', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='8.16e-08', ts2='12.27', photon_index='2.69' WHERE bin_id='1766' AND source_name='4FGL J1129.8-1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 00:56:06 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 846569: <4FGL_J1129.8-1447_daily_bin1766> in cluster <slac> Done

Job <4FGL_J1129.8-1447_daily_bin1766> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Feb  6 00:40:28 2023
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 00:43:44 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 00:43:44 2023
Terminated at Mon Feb  6 00:56:07 2023
Results reported at Mon Feb  6 00:56:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.8-1447_daily_bin1766 172.465 -14.796 697075201 697334401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1129.8-1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   641.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            939 sec.

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

