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


Performing analysis on: 4FGL_J1129.8-1447_daily_bin1744
RA = 172.465, Dec = -14.796
tmin = 691372801, tmax = 691632001
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='576628', job_status='RUN', time_executed='2022-12-02 00:47:10.694124', time_epoch_executed='1669970830.69' WHERE source_name='4FGL J1129.8-1447' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/576628

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/576628/ft1_4FGL_J1129.8-1447_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/576628/ft2_4FGL_J1129.8-1447_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/576628/ft1_4FGL_J1129.8-1447_daily_bin1744.fits outfile=/scratch/kocevski/576628/ft1_filteredMKT_4FGL_J1129.8-1447_daily_bin1744.fits ra=172.465 dec=-14.796 rad=12.0 tmin=691372801.0 tmax=691632001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.52
user 2.31
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/576628/ft2_4FGL_J1129.8-1447_daily_bin1744.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/576628/ft1_filteredMKT_4FGL_J1129.8-1447_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/576628/ft1_filtered_4FGL_J1129.8-1447_daily_bin1744.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1039

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/576628/ft1_filtered_4FGL_J1129.8-1447_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/576628/ft2_4FGL_J1129.8-1447_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/576628/ltcube_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.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/576628/ft2_4FGL_J1129.8-1447_daily_bin1744.fits
.....................!
real 13.42
user 13.03
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/576628/ft1_filtered_4FGL_J1129.8-1447_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/576628/ft2_4FGL_J1129.8-1447_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/576628/ltcube_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.fits outfile=/scratch/kocevski/576628/expmap_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.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/576628/ltcube_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.fits
.....................!
real 190.98
user 185.19
sys 5.20

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/576628/ft1_filtered_4FGL_J1129.8-1447_daily_bin1744.fits scfile=/scratch/kocevski/576628/ft2_4FGL_J1129.8-1447_daily_bin1744.fits outfile=/scratch/kocevski/576628/cmap_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/576628/ft1_filtered_4FGL_J1129.8-1447_daily_bin1744.fits scfile=/scratch/kocevski/576628/ft2_4FGL_J1129.8-1447_daily_bin1744.fits outfile=/scratch/kocevski/576628/cmap_HighResolution_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/576628/ft1_filtered_4FGL_J1129.8-1447_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/576628/ft2_4FGL_J1129.8-1447_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/576628/Model_4FGL_J1129.8-1447_daily_bin1744.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/576628/ft1_filtered_4FGL_J1129.8-1447_daily_bin1744.fits.....................!
real 92.20
user 90.79
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/576628/ft1_filtered_4FGL_J1129.8-1447_daily_bin1744.fits', '/scratch/kocevski/576628/ft2_4FGL_J1129.8-1447_daily_bin1744.fits', expMap='/scratch/kocevski/576628/expmap_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.fits', expCube='/scratch/kocevski/576628/ltcube_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/576628/Model_4FGL_J1129.8-1447_daily_bin1744.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/576628/ft1_filtered_4FGL_J1129.8-1447_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/576628/ft2_4FGL_J1129.8-1447_daily_bin1744.fits
Exposure map: /scratch/kocevski/576628/expmap_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.fits
Exposure cube: /scratch/kocevski/576628/ltcube_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/576628/Model_4FGL_J1129.8-1447_daily_bin1744.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) = 11081.9818384

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26096E-04   1.0000          .0000       .10000E+07
     2 'norm      '    10.907       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20727E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30337E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    17.725       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15578E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .18807       1.0000          .0000       .10000E+07
     8 'norm      '    9.6392       1.0000          .0000       .10000E+07
     9 'Prefactor '    .49683E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .49960E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2832       1.0000          .0000       .10000E+07
    12 'Prefactor '    27.573       1.0000          .0000       .10000E+07
    13 'norm      '    .23185       1.0000          .0000       .10000E+07
    14 'Prefactor '    .15841E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .98321E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .51720E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.6251       1.0000          .0000       .10000E+07
    18 'Prefactor '    .37884E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.4983       1.0000          .0000       .10000E+07
    20 'norm      '    5.7872       1.0000          .0000       .10000E+07
    21 'Prefactor '    .89884E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1738       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84968       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=   11081.93     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1484 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.9367       -.17844E-06** at limit **
   2  norm          10.910        4.8626       -.19315E-06   -.44492E-02
   3  Prefactor     .14272E-06    35.066       -.92089E-05** at limit **
   4  Prefactor     .39635E-07    8.2606       -.15158E-05** at limit **
   5  Prefactor     17.621        11.398        .11610E-05   -.69791E-02
   6  Prefactor      .0000        1.5924       -.34184E-06** at limit **
   7  Prefactor     .99920E-08    4.5950        .11437E-05** at limit **
   8  norm          9.6402        2.8789        .26191E-06    .25833E-01
   9  Prefactor     .33307E-09    2.1389        .48143E-06** at limit **
  10  norm           .0000        .34927       -.55160E-07** at limit **
  11  Prefactor     2.3037        2.8616        .18840E-06   -.20918E-02
  12  Prefactor     27.568        8.1979        .34166E-06    .15912E-01
  13  norm          .93834E-01    30.430       -.63093E-05** at limit **
  14  Prefactor     .22204E-09    5.0559       -.44104E-06** at limit **
  15  Prefactor     .71726E-06    19.559        .22311E-05** at limit **
  16  norm          .22204E-09    1.9834       -.27678E-06** at limit **
  17  Prefactor     4.6235        2.9089        .53794E-07   -.19858E-02
  18  Prefactor     .18097E-07    8.5648       -.15933E-05** at limit **
  19  Prefactor     5.4936        5.3813        .49168E-06    .46966E-01
  20  norm          5.7865        3.0739       -.39272E-07   -.85238E-02
  21  Prefactor     .77344E-06    26.923       -.14697E-05** at limit **
  22  Normalizat    1.1741        .19026       -.90597E-05   -.66369E-04
  23  Prefactor     .84964        .11655        .44978E-05    .36189E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 10.9104
  Prefactor  = 1.42719e-07
  Prefactor  = 3.9635e-08
  Prefactor  = 17.6207
  Prefactor  = 0
  Prefactor  = 9.99201e-09
  norm       = 9.64025
  Prefactor  = 3.33067e-10
  norm       = 0
  Prefactor  = 2.30368
  Prefactor  = 27.5685
  norm       = 0.0938343
  Prefactor  = 2.22045e-10
  Prefactor  = 7.1726e-07
  norm       = 2.22045e-10
  Prefactor  = 4.62353
  Prefactor  = 1.80966e-08
  Prefactor  = 5.49362
  norm       = 5.78647
  Prefactor  = 7.73437e-07
  Normalizat = 1.17413
  Prefactor  = 0.849639
 **********
 **   18 **HESSE 
 **********

 FCN=   11081.93     FROM HESSE     STATUS=OK           424 CALLS     1908 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.9353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.910        4.8607        .30312E-03   -1.5642    
   3  Prefactor     .14272E-06    8.3780        .11417E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .39635E-07    16.639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.621        12.645        .23762E-03   -1.5624    
   6  Prefactor      .0000        1.5893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .99920E-08    170.56        .11992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.6402        7.0966        .32253E-03   -1.5646    
   9  Prefactor     .33307E-09    2.2108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .33915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3037        3.3383        .67918E-03   -1.5678    
  12  Prefactor     27.568        8.1942        .19047E-03   -1.5603    
  13  norm          .93834E-01    11.339        .11234E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22204E-09    5.0609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .71726E-06    20.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .22204E-09    1.9990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.6235        2.9104        .46776E-03   -1.5665    
  18  Prefactor     .18097E-07    17.048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.4936        10.892        .42826E-03   -1.5661    
  20  norm          5.7865        3.5302        .41726E-03   -1.5660    
  21  Prefactor     .77344E-06    27.546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1741        .15915        .62882E-01   -.87406    
  23  Prefactor     .84964        .97960E-01    .44360E-01   -.97924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57126e-07
Minuit parameter uncertainties:
  1  1.83214e-05
  2  4.86073
  3  0.00218679
  4  0.00162385
  5  12.645
  6  5.7625e-06
  7  0.00261315
  8  7.0966
  9  5.50474e-05
  10  1.71075e-06
  11  3.33829
  12  8.19424
  13  2.06299
  14  7.05689e-05
  15  0.00772845
  16  4.03192e-05
  17  2.9104
  18  0.00111129
  19  10.8919
  20  3.53019
  21  0.00923154
  22  0.159218
  23  0.0979805
Done.

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

Extracting fit parameters...

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  2.757e+01  8.194e+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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.496e-01  9.798e-02  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.174e+00  1.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.46
Ra Dec: 172.465 -14.796
Photon Index (Fixed Index): 2.69 +/- 0.00
Photon Flux (Fixed Index): 1.53e-07 +/- 4.56e-08
Energy Flux (Fixed Index): 3.72e-05 +/- 1.10e-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) = 11081.2544437
delta logL = 0.673024050699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11081.2381803
delta logL = 0.689287518198

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.069       1.0000          .0000       .10000E+07
     2 'Index     '    3.1072       1.0000          .0000       10.000    
     3 'Normalizat'    1.1360       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86771       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11081.24     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      276 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.067        9.8985        .89318E-05    .30130E-01
   2  Index         3.1074        .40590        .46165E-02    .78531E-03
   3  Normalizat    1.1360        .18479        .28201E-03   -.68794E-03
   4  Prefactor     .86762        .11713        .20549E-03   -.11193E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.0671
  Index      = 3.10743
  Normalizat = 1.13596
  Prefactor  = 0.867617
 **********
 **   18 **HESSE 
 **********

 FCN=   11081.24     FROM HESSE     STATUS=OK            23 CALLS      299 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.067        9.2909        .17864E-05   -1.5618    
   2  Index         3.1074        .38074        .18466E-03   -.38819    
   3  Normalizat    1.1360        .18487        .56401E-04   -.88606    
   4  Prefactor     .86762        .11715        .41098E-04   -.97282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49872e-09
Minuit parameter uncertainties:
  1  9.29093
  2  0.38117
  3  0.184974
  4  0.117184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/576628': 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) = 11081.2381787
delta logL = 0.689289137037

Extracting fit parameters...

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  2.007e+01  9.291e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  3.107e+00  3.812e-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:  8.676e-01  1.172e-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.136e+00  1.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.01
Ra Dec: 172.465 -14.796
Photon Index (Free Index): 3.11 +/- 0.38
Photon Flux (Free Index): 1.81e-07 +/- 5.44e-08
Energy Flux (Free Index): 3.44e-05 +/- 1.00e-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/576628/cmap_HighResolution_691372801_691632001_4FGL_J1129.8-1447_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.53e-07', energy_flux2='3.44e-05', photon_flux_error='4.56e-08', dlogl='6.89e-01', energy_flux='3.72e-05', photon_flux2='1.81e-07', job_status='DONE', time_completed='2022-12-02 00:59:07.141990', photon_index_error2='0.38', photon_index2='3.11', ts='19.46', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.00e-05', EG='1.17', time_epoch_completed='1669971547.14', return_code='0', job_id='576628', GAL2='0.87', EG2='1.14', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='5.44e-08', ts2='21.01', photon_index='2.69' WHERE bin_id='1744' AND source_name='4FGL J1129.8-1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 00:59:07 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 576628: <4FGL_J1129.8-1447_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1129.8-1447_daily_bin1744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec  2 00:45:26 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 00:45:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 00:45:28 2022
Terminated at Fri Dec  2 00:59:07 2022
Results reported at Fri Dec  2 00:59:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.8-1447_daily_bin1744 172.465 -14.796 691372801 691632001 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 :                                   718.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

