/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 22 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 = 7417
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1129.8-1447_daily_bin1332
RA = 172.465, Dec = -14.796
tmin = 584582401, tmax = 584841601
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='892554', job_status='RUN', time_executed='2021-09-04 02:19:10.673132', time_epoch_executed='1630747150.67' WHERE source_name='4FGL J1129.8-1447' and cadence='daily' and bin_id='1332'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892554

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892554/ft1_4FGL_J1129.8-1447_daily_bin1332.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892554/ft2_4FGL_J1129.8-1447_daily_bin1332.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892554/ft1_4FGL_J1129.8-1447_daily_bin1332.fits outfile=/scratch/kocevski/892554/ft1_filteredMKT_4FGL_J1129.8-1447_daily_bin1332.fits ra=172.465 dec=-14.796 rad=12.0 tmin=584582401.0 tmax=584841601.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.94
user 2.65
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892554/ft2_4FGL_J1129.8-1447_daily_bin1332.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/892554/ft1_filteredMKT_4FGL_J1129.8-1447_daily_bin1332.fits evtable="EVENTS" outfile="/scratch/kocevski/892554/ft1_filtered_4FGL_J1129.8-1447_daily_bin1332.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892554/ft1_filtered_4FGL_J1129.8-1447_daily_bin1332.fits" evtable="EVENTS" scfile=/scratch/kocevski/892554/ft2_4FGL_J1129.8-1447_daily_bin1332.fits sctable="SC_DATA" outfile=/scratch/kocevski/892554/ltcube_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.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/892554/ft2_4FGL_J1129.8-1447_daily_bin1332.fits
.....................!
real 14.98
user 14.59
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892554/ft1_filtered_4FGL_J1129.8-1447_daily_bin1332.fits evtable="EVENTS" scfile=/scratch/kocevski/892554/ft2_4FGL_J1129.8-1447_daily_bin1332.fits sctable="SC_DATA" expcube=/scratch/kocevski/892554/ltcube_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.fits outfile=/scratch/kocevski/892554/expmap_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.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/892554/ltcube_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.fits
.....................!
real 192.41
user 187.88
sys 3.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/892554/ft1_filtered_4FGL_J1129.8-1447_daily_bin1332.fits scfile=/scratch/kocevski/892554/ft2_4FGL_J1129.8-1447_daily_bin1332.fits outfile=/scratch/kocevski/892554/cmap_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892554/ft1_filtered_4FGL_J1129.8-1447_daily_bin1332.fits scfile=/scratch/kocevski/892554/ft2_4FGL_J1129.8-1447_daily_bin1332.fits outfile=/scratch/kocevski/892554/cmap_HighResolution_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892554/ft1_filtered_4FGL_J1129.8-1447_daily_bin1332.fits evtable="EVENTS" scfile=/scratch/kocevski/892554/ft2_4FGL_J1129.8-1447_daily_bin1332.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892554/Model_4FGL_J1129.8-1447_daily_bin1332.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/892554/ft1_filtered_4FGL_J1129.8-1447_daily_bin1332.fits.....................!
real 61.69
user 59.70
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892554/ft1_filtered_4FGL_J1129.8-1447_daily_bin1332.fits', '/scratch/kocevski/892554/ft2_4FGL_J1129.8-1447_daily_bin1332.fits', expMap='/scratch/kocevski/892554/expmap_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.fits', expCube='/scratch/kocevski/892554/ltcube_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892554/Model_4FGL_J1129.8-1447_daily_bin1332.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  1.000e-04  1.000e+04 ( 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/892554/ft1_filtered_4FGL_J1129.8-1447_daily_bin1332.fits
Spacecraft file(s): /scratch/kocevski/892554/ft2_4FGL_J1129.8-1447_daily_bin1332.fits
Exposure map: /scratch/kocevski/892554/expmap_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.fits
Exposure cube: /scratch/kocevski/892554/ltcube_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892554/Model_4FGL_J1129.8-1447_daily_bin1332.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) = 6558.9437521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2326       1.0000         .10000E-03   10000.    
     2 'norm      '    9.8953       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8157       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0914       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3959       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.5943       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.363       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .35916E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0727       1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .50899E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.3230       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8411       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.0519       1.0000         .10000E-03   10000.    
    23 'Prefactor '    23.894       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.3676       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .74035       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.

 FCN=   6558.899     FROM MIGRAD    STATUS=CONVERGED    677 CALLS     3391 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2315        5.7430       -.78516E-06   -.16342E-03
   2  norm          9.8936        6.7939       -.60782E-06   -.11450E-03
   3  Prefactor     1.8133        37.507        .41372E-07   -.24689E-04
   4  Prefactor     .10000E-03    30.698       -.30694E-05** at limit **
   5  Prefactor     .10000E-03    8.8287        .20698E-06** at limit **
   6  Prefactor     6.0916        6.7412       -.45593E-06   -.18861E-04
   7  Prefactor     4.4014        6.3077        .64610E-06    .93686E-04
   8  Prefactor     .10000E-03    62.053        .10150E-04** at limit **
   9  norm          3.6079        5.1766        .11073E-05   -.13886E-02
  10  Prefactor     11.359        13.167        .17178E-06   -.28335E-03
  11  Prefactor     .10000E-03    37.113        .10271E-04** at limit **
  12  norm          .10000E-03    .68481        .19471E-07** at limit **
  13  Prefactor     .10000E-03    2.4134       -.30571E-06** at limit **
  14  Prefactor     4.0679        9.7543       -.51061E-06   -.25699E-04
  15  norm          .10000E-03    16.173       -.20738E-06** at limit **
  16  Prefactor     .10000E-03    49.877       -.91078E-05** at limit **
  17  Prefactor     .10042E-03    22.213       -.12091E-05** at limit **
  18  norm          .10000E-03    4.4368       -.12162E-06** at limit **
  19  Prefactor     8.3228        3.9393       -.87381E-08    .72556E-04
  20  Prefactor     6.8365        13.810        .30096E-06   -.33634E-03
  21  Prefactor     .10000E-03    5.0640       -.42069E-07** at limit **
  22  norm          4.0510        3.6143       -.26278E-07   -.42207E-04
  23  Prefactor     23.903        30.387       -.60844E-06   -.89072E-05
  24  Prefactor     .10000E-03    13.537        .13358E-06** at limit **
  25  Prefactor     .10000E-03    45.802       -.59421E-05** at limit **
  26  Normalizat    1.3682        .20883        .56405E-06    .99295E-04
  27  Prefactor     .74013        .12369       -.16924E-06    .15092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.23147
  norm       = 9.89364
  Prefactor  = 1.81329
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.09161
  Prefactor  = 4.40144
  Prefactor  = 0.000100002
  norm       = 3.60785
  Prefactor  = 11.3589
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.06794
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.00010042
  norm       = 0.0001
  Prefactor  = 8.32281
  Prefactor  = 6.83645
  Prefactor  = 0.0001
  norm       = 4.05103
  Prefactor  = 23.9032
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.3682
  Prefactor  = 0.740134
 **********
 **   18 **HESSE 
 **********

 FCN=   6558.899     FROM HESSE     STATUS=OK           494 CALLS     3885 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2315        5.7545        .13973E-03   -1.5134    
   2  norm          9.8936        6.8192        .12738E-03   -1.5079    
   3  Prefactor     1.8133        37.752        .30997E-03   -1.5439    
   4  Prefactor     .10000E-03    30.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.8647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.0916        6.7439        .16267E-03   -1.5214    
   7  Prefactor     4.4014        6.3370        .19209E-03   -1.5288    
   8  Prefactor     .10000E-03    62.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.6079        8.5068        .10657E-02   -1.5328    
  10  Prefactor     11.359        13.330        .59423E-03   -1.5034    
  11  Prefactor     .10000E-03    37.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.5640        .12876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.5876        .23150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.0679        9.7270        .19978E-03   -1.5305    
  15  norm          .10000E-03    16.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    50.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10042E-03    234.77        .72919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.4811        .16624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.3228        3.9336        .10370E-03   -1.5131    
  20  Prefactor     6.8365        14.221        .76699E-03   -1.5185    
  21  Prefactor     .10000E-03    5.0737        .17775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.0510        3.6063        .13989E-03   -1.5305    
  23  Prefactor     23.903        30.385        .81947E-04   -1.4730    
  24  Prefactor     .10000E-03    13.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    46.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3682        .24631        .26492E-03   -.81553    
  27  Prefactor     .74013        .14495        .21758E-03   -1.0197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.41174e-09
Minuit parameter uncertainties:
  1  5.75493
  2  6.81976
  3  16.559
  4  0.000147648
  5  1.16462e-06
  6  6.7447
  7  6.33798
  8  0.000677098
  9  8.50962
  10  13.333
  11  0.000527897
  12  6.56599e-06
  13  0.000129433
  14  9.73076
  15  5.35148e-06
  16  0.000525186
  17  0.0199323
  18  2.86516e-06
  19  3.93373
  20  14.2281
  21  5.07489e-07
  22  3.60653
  23  30.4047
  24  5.76054e-06
  25  0.000331983
  26  0.246521
  27  0.145025
Done.

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

Extracting fit parameters...

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  4.068e+00  9.731e+00  1.000e-04  1.000e+04 ( 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:  7.401e-01  1.450e-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.368e+00  2.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 172.465 -14.796
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.09e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892554/likelihoodResults_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6558.86712669
delta logL = 0.0321779475453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6558.84919656
delta logL = 0.0501080811027

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0194       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5366       1.0000          .0000       10.000    
     3 'Normalizat'    1.3534       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74766       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=   6558.849     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      234 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0143        80.167        .72809E-02    .81416E-03
   2  Index         3.5378        3.7537        .33203        .37396E-04
   3  Normalizat    1.3535        .36715E-01    .60176E-01    .30415E-06
   4  Prefactor     .74764        .23081E-01    .43032E-01    .58748E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.01432
  Index      = 3.53781
  Normalizat = 1.35347
  Prefactor  = 0.74764
 **********
 **   18 **HESSE 
 **********

 FCN=   6558.849     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      267 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0143        353.19        .20906E-03   -1.5424    
   2  Index         3.5378        8.0636        .10524E-01   -.29678    
   3  Normalizat    1.3535        .20835        .26614E-03   -.81984    
   4  Prefactor     .74764        .14198        .21660E-03   -1.0169    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.39103e-07
Minuit parameter uncertainties:
  1  53.6687
  2  19.3527
  3  0.208484
  4  0.142046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892554': 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) = 6558.84919638
delta logL = 0.0501082527489

Extracting fit parameters...

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  2.014e+00  5.367e+01  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  3.538e+00  1.935e+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:  7.476e-01  1.420e-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.353e+00  2.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
Ra Dec: 172.465 -14.796

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/892554/cmap_HighResolution_584582401_584841601_4FGL_J1129.8-1447_daily_bin1332.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2021-09-04 02:32:58.317089', job_id='892554', GAL2='0.75', fit_tolerance='1e-08', EG2='1.35', EG='1.37', time_epoch_completed='1630747978.32', return_code2='102', ts='0.20', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='5.01e-02', ts2='0.31', photon_index_error='0.00', photon_index='2.69' WHERE bin_id='1332' AND source_name='4FGL J1129.8-1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 02:32:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 892554: <4FGL_J1129.8-1447_daily_bin1332> in cluster <slac> Done

Job <4FGL_J1129.8-1447_daily_bin1332> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 02:16:24 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 02:18:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 02:18:29 2021
Terminated at Sat Sep  4 02:32:59 2021
Results reported at Sat Sep  4 02:32:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.8-1447_daily_bin1332 172.465 -14.796 584582401 584841601 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 :                                   820.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            995 sec.

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

