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


Performing analysis on: 4FGL_J1129.2-0529_daily_bin1770
RA = 172.311, Dec = -5.4874
tmin = 698112001, tmax = 698371201
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='484100', job_status='RUN', time_executed='2023-02-18 00:43:20.721568', time_epoch_executed='1676709800.72' WHERE source_name='4FGL J1129.2-0529' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484100

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484100/ft1_4FGL_J1129.2-0529_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484100/ft1_4FGL_J1129.2-0529_daily_bin1770.fits outfile=/scratch/kocevski/484100/ft1_filteredMKT_4FGL_J1129.2-0529_daily_bin1770.fits ra=172.311 dec=-5.4874 rad=12.0 tmin=698112001.0 tmax=698371201.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.34
user 4.12
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.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/484100/ft1_filteredMKT_4FGL_J1129.2-0529_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/484100/ft1_filtered_4FGL_J1129.2-0529_daily_bin1770.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.48
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 312

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484100/ft1_filtered_4FGL_J1129.2-0529_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/484100/ltcube_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.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/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.fits
.....................!
real 11.99
user 11.68
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484100/ft1_filtered_4FGL_J1129.2-0529_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/484100/ltcube_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.fits outfile=/scratch/kocevski/484100/expmap_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.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/484100/ltcube_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.fits
.....................!
real 189.71
user 185.34
sys 4.04

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

Setting source of interest to:
4FGL J1129.2-0529 @ 172.311 -5.4874

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/484100/ft1_filtered_4FGL_J1129.2-0529_daily_bin1770.fits scfile=/scratch/kocevski/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.fits outfile=/scratch/kocevski/484100/cmap_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.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.311 yref=-5.4874 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484100/ft1_filtered_4FGL_J1129.2-0529_daily_bin1770.fits scfile=/scratch/kocevski/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.fits outfile=/scratch/kocevski/484100/cmap_HighResolution_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.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.311 yref=-5.4874 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/484100/ft1_filtered_4FGL_J1129.2-0529_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484100/Model_4FGL_J1129.2-0529_daily_bin1770.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/484100/ft1_filtered_4FGL_J1129.2-0529_daily_bin1770.fits.....................!
real 39.67
user 38.51
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/484100/ft1_filtered_4FGL_J1129.2-0529_daily_bin1770.fits', '/scratch/kocevski/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.fits', expMap='/scratch/kocevski/484100/expmap_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.fits', expCube='/scratch/kocevski/484100/ltcube_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/484100/Model_4FGL_J1129.2-0529_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1129.2-0529'

4FGL J1129.2-0529
   Spectrum: PowerLaw
295    Prefactor:  1.722e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.634e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  7.046e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/484100/ft1_filtered_4FGL_J1129.2-0529_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/484100/ft2_4FGL_J1129.2-0529_daily_bin1770.fits
Exposure map: /scratch/kocevski/484100/expmap_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.fits
Exposure cube: /scratch/kocevski/484100/ltcube_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/484100/Model_4FGL_J1129.2-0529_daily_bin1770.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) = 3590.07643837

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6156       1.0000          .0000       .10000E+07
     2 'norm      '    .85973E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    46.472       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.7291       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11796E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .21968E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13000E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    20.841       1.0000          .0000       .10000E+07
     9 'norm      '    .55809E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.8738       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29692E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .46124E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .11338E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.5911       1.0000          .0000       .10000E+07
    15 'Prefactor '    .24123E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .20792E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .21445E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10549E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    127.34       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1278       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .77531       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3590.048     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1580 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6149        .88121       -.12765E-06    .96819E-02
   2  norm          .26190E-06    32.740        .14815E-05** at limit **
   3  Prefactor     45.873        4.4698        .14897E-06    .21453    
   4  Prefactor     6.8634        6.8292        .78155E-06   -.29000E-02
   5  Prefactor     .18913E-04    78.114        .20251E-05** at limit **
   6  norm          .11102E-09    7.3998       -.55199E-06** at limit **
   7  Prefactor     .44409E-09    5.9218       -.14487E-05** at limit **
   8  Prefactor     20.855        2.2647       -.23546E-07   -.10379E-01
   9  norm          .61062E-09    32.636       -.98957E-06** at limit **
  10  Prefactor     2.8708        2.3738       -.59022E-07    .18520E-02
  11  Prefactor     .47551E-06    68.813        .53343E-05** at limit **
  12  Prefactor     .22204E-08    16.620       -.23080E-05** at limit **
  13  norm          .22204E-09    2.4106       -.11004E-05** at limit **
  14  Prefactor     3.5892        5.1484       -.18676E-05    .51432E-02
  15  Prefactor      .0000        8.7960       -.65276E-06** at limit **
  16  Prefactor     .62728E-08    10.917       -.10383E-07** at limit **
  17  Prefactor     .24425E-08    9.9070        .10137E-05** at limit **
  18  Prefactor     .11514E-04    72.713        .22118E-05** at limit **
  19  Prefactor     127.34        1.2468       -.12741E-08   -.33054E-01
  20  Normalizat    1.1287        .30191        .24164E-05   -.38390E-04
  21  Prefactor     .77496        .20808        .92260E-05   -.68779E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.61491
  norm       = 2.61902e-07
  Prefactor  = 45.8735
  Prefactor  = 6.86337
  Prefactor  = 1.89126e-05
  norm       = 1.11022e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 20.855
  norm       = 6.10623e-10
  Prefactor  = 2.87084
  Prefactor  = 4.75509e-07
  Prefactor  = 2.22045e-09
  norm       = 2.22045e-10
  Prefactor  = 3.58924
  Prefactor  = 0
  Prefactor  = 6.27276e-09
  Prefactor  = 2.44249e-09
  Prefactor  = 1.15137e-05
  Prefactor  = 127.336
  Normalizat = 1.12868
  Prefactor  = 0.77496
 **********
 **   18 **HESSE 
 **********

 FCN=   3590.048     FROM HESSE     STATUS=OK           351 CALLS     1931 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6149        .88573        .83267E-03   -1.5683    
   2  norm          .26190E-06    32.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     45.873        30.563        .14670E-03   -1.5573    
   4  Prefactor     6.8634        6.8679        .38657E-03   -1.5656    
   5  Prefactor     .18913E-04    151.95        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    7.3857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .44409E-09    5.9072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.855        15.255        .21911E-03   -1.5617    
   9  norm          .61062E-09    32.368        .15316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.8708        2.3732        .59933E-03   -1.5674    
  11  Prefactor     .47551E-06    69.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22204E-08    16.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .22204E-09    2.4121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.5892        5.1712        .53300E-03   -1.5670    
  15  Prefactor      .0000        8.7979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .62728E-08    10.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .24425E-08    9.9723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11514E-04    150.14        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     127.34        47.317        .88624E-04   -1.5482    
  20  Normalizat    1.1287        .27057        .64009E-01   -.88836    
  21  Prefactor     .77496        .17992        .43395E-01   -1.0066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16197e-06
Minuit parameter uncertainties:
  1  0.885731
  2  0.00585777
  3  30.5632
  4  6.8679
  5  0.10722
  6  5.05157e-05
  7  0.000102382
  8  15.2545
  9  0.000284583
  10  2.37323
  11  0.011494
  12  0.000386197
  13  4.63703e-05
  14  5.1712
  15  1.90825e-05
  16  0.000526011
  17  0.000313268
  18  0.0831569
  19  47.3175
  20  0.270907
  21  0.180054
Done.

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

Extracting fit parameters...

4FGL J1129.2-0529
   Spectrum: PowerLaw
295    Prefactor:  4.441e-10  1.024e-04  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.634e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  7.046e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  7.750e-01  1.801e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.129e+00  2.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 172.311 -5.487
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/484100/likelihoodResults_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.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) = 3590.13674752
delta logL = -0.0886035784565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3588.80782015
delta logL = 1.24032378975

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3588.808     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      265 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53449E-01    .80555E-01    .34680E-03** at limit **
   2  Index         .61128E-10    .57795        .50000    ** at limit **
   3  Normalizat    1.0976        .25769        .64660E-01   -.39498E-04
   4  Prefactor     .79106        .17966        .43599E-01   -.50752E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0534493
  Index      = 6.11278e-11
  Normalizat = 1.09758
  Prefactor  = 0.791063
 **********
 **   18 **HESSE 
 **********

 FCN=   3588.808     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53449E-01    .61623E-01    .15544E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61128E-10    1.9828        .21643E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0976        .29765        .28602E-03   -.89830    
   4  Prefactor     .79106        .20781        .22995E-03   -1.0006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.87164e-10
Minuit parameter uncertainties:
  1  0.061623
  2  2.28201e-05
  3  0.298109
  4  0.20802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484100': 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) = 3588.80781385
delta logL = 1.24033009402

Extracting fit parameters...

4FGL J1129.2-0529
   Spectrum: PowerLaw
295    Prefactor:  5.345e-02  6.162e-02  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  6.113e-11  2.282e-05  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  7.046e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  7.911e-01  2.080e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.098e+00  2.981e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.49
Ra Dec: 172.311 -5.487
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 5.34e-09 +/- 6.16e-09
Energy Flux (Free Index): 2.68e-04 +/- 3.08e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/484100/cmap_HighResolution_698112001_698371201_4FGL_J1129.2-0529_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', energy_flux2='2.68e-04', dlogl='1.24e+00', photon_flux2='5.34e-09', job_status='DONE', time_completed='2023-02-18 00:51:13.020277', photon_index_error2='0.00', photon_index2='0.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.46e-07', energy_flux_error2='3.08e-04', EG='1.13', time_epoch_completed='1676710273.02', return_code='0', job_id='484100', GAL2='0.79', EG2='1.10', return_code2='0', photon_flux_error2='6.16e-09', ts2='2.49', photon_index='2.63' WHERE bin_id='1770' AND source_name='4FGL J1129.2-0529' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:51:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 484100: <4FGL_J1129.2-0529_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1129.2-0529_daily_bin1770> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Feb 18 00:40:13 2023
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:40:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:40:15 2023
Terminated at Sat Feb 18 00:51:13 2023
Results reported at Sat Feb 18 00:51:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.2-0529_daily_bin1770 172.311 -5.4874 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1129.2-0529 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   474.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             236.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            660 sec.

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

