/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 150 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 = 7363
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1129.8-1447_daily_bin1219
RA = 172.465, Dec = -14.796
tmin = 555292801, tmax = 555552001
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='892390', job_status='RUN', time_executed='2021-09-04 02:20:20.813497', time_epoch_executed='1630747220.81' WHERE source_name='4FGL J1129.8-1447' and cadence='daily' and bin_id='1219'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892390

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892390/ft1_4FGL_J1129.8-1447_daily_bin1219.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892390/ft2_4FGL_J1129.8-1447_daily_bin1219.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892390/ft1_4FGL_J1129.8-1447_daily_bin1219.fits outfile=/scratch/kocevski/892390/ft1_filteredMKT_4FGL_J1129.8-1447_daily_bin1219.fits ra=172.465 dec=-14.796 rad=12.0 tmin=555292801.0 tmax=555552001.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.63
user 3.40
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892390/ft1_filtered_4FGL_J1129.8-1447_daily_bin1219.fits" evtable="EVENTS" scfile=/scratch/kocevski/892390/ft2_4FGL_J1129.8-1447_daily_bin1219.fits sctable="SC_DATA" outfile=/scratch/kocevski/892390/ltcube_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.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/892390/ft2_4FGL_J1129.8-1447_daily_bin1219.fits
.....................!
real 12.41
user 11.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892390/ft1_filtered_4FGL_J1129.8-1447_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/892390/ft2_4FGL_J1129.8-1447_daily_bin1219.fits sctable="SC_DATA" expcube=/scratch/kocevski/892390/ltcube_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.fits outfile=/scratch/kocevski/892390/expmap_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.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/892390/ltcube_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.fits
.....................!
real 190.44
user 184.83
sys 4.63

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/892390/ft1_filtered_4FGL_J1129.8-1447_daily_bin1219.fits scfile=/scratch/kocevski/892390/ft2_4FGL_J1129.8-1447_daily_bin1219.fits outfile=/scratch/kocevski/892390/cmap_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.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.53
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892390/ft1_filtered_4FGL_J1129.8-1447_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/892390/ft2_4FGL_J1129.8-1447_daily_bin1219.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892390/Model_4FGL_J1129.8-1447_daily_bin1219.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/892390/ft1_filtered_4FGL_J1129.8-1447_daily_bin1219.fits.....!
real 13.92
user 12.73
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892390/ft1_filtered_4FGL_J1129.8-1447_daily_bin1219.fits', '/scratch/kocevski/892390/ft2_4FGL_J1129.8-1447_daily_bin1219.fits', expMap='/scratch/kocevski/892390/expmap_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.fits', expCube='/scratch/kocevski/892390/ltcube_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892390/Model_4FGL_J1129.8-1447_daily_bin1219.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/892390/ft1_filtered_4FGL_J1129.8-1447_daily_bin1219.fits
Spacecraft file(s): /scratch/kocevski/892390/ft2_4FGL_J1129.8-1447_daily_bin1219.fits
Exposure map: /scratch/kocevski/892390/expmap_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.fits
Exposure cube: /scratch/kocevski/892390/ltcube_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892390/Model_4FGL_J1129.8-1447_daily_bin1219.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 78.8427390184

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 77.0660780662

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4501       1.0000         .10000E-03   10000.    
     2 'norm      '    8.1683       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5776       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.7687       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .81750E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .26500E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10323E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0069       1.0000         .10000E-03   10000.    
     9 'norm      '    .70253E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1993       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2234       1.0000         .10000E-03   10000.    
    12 'norm      '    2.8065       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10616E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.1210       1.0000         .10000E-03   10000.    
    15 'norm      '    .25772E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    118.80       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.4412       1.0000         .10000E-03   10000.    
    18 'norm      '    35.979       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .46537       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.7058       1.0000         .10000E-03   10000.    
    22 'norm      '    3.1582       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .44703E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    130.32       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.2809       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    .28188       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=   77.05702     FROM MIGRAD    STATUS=CONVERGED    127 CALLS      294 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4501        1.0770         .0000         .0000    
   2  norm          8.1683        1.0019         .0000         .0000    
   3  Prefactor     4.5776        1.0061         .0000         .0000    
   4  Prefactor     6.7687        1.0028         .0000         .0000    
   5  Prefactor     .10001E-03    200.61       -.14123E-04** at limit **
   6  Prefactor     .10000E-03    59.069       -.77281E-05** at limit **
   7  Prefactor     .10000E-03    12.739        .29185E-05** at limit **
   8  Prefactor     .12503E-01    991.58        .97870E-03    .35266E-02
   9  norm          .10000E-03    29.348       -.56450E-05** at limit **
  10  Prefactor     1.1993        1.1352         .0000         .0000    
  11  Prefactor     7.2234        1.0024         .0000         .0000    
  12  norm          2.8065        1.0168         .0000         .0000    
  13  Prefactor     .10000E-03    17.836        .15016E-04** at limit **
  14  Prefactor     4.1210        1.0076         .0000         .0000    
  15  norm          .10002E-03    68.165        .58822E-04** at limit **
  16  Prefactor     109.97        94.608        .15470E-03   -.22820E-01
  17  Prefactor     1.4373        57.971       -.38819E-03    .24083E-02
  18  norm          36.134        38.207        .38470E-03    .44657E-02
  19  Prefactor     .10000E-03    17.553       -.16084E-04** at limit **
  20  Prefactor     .10004E-03    128.50       -.66035E-04** at limit **
  21  Prefactor     6.7058        1.0028         .0000         .0000    
  22  norm          3.1582        1.0131         .0000         .0000    
  23  Prefactor     .10004E-03    154.71       -.11074E-03** at limit **
  24  Prefactor     146.56        187.46        .16543E-03   -.44562E-02
  25  Prefactor     5.2809        1.0045         .0000         .0000    
  26  Normalizat    .10000E-01    .42445       -.92706E-05** at limit **
  27  Prefactor     .28689        .39308       -.33913E-03   -.90184E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.45005
  norm       = 8.16828
  Prefactor  = 4.57755
  Prefactor  = 6.76869
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0125031
  norm       = 0.0001
  Prefactor  = 1.19926
  Prefactor  = 7.2234
  norm       = 2.80652
  Prefactor  = 0.0001
  Prefactor  = 4.12105
  norm       = 0.000100023
  Prefactor  = 109.971
  Prefactor  = 1.43732
  norm       = 36.1335
  Prefactor  = 0.000100002
  Prefactor  = 0.000100037
  Prefactor  = 6.70577
  norm       = 3.15819
  Prefactor  = 0.000100045
  Prefactor  = 146.563
  Prefactor  = 5.28086
  Normalizat = 0.01
  Prefactor  = 0.286893
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   77.05702     FROM HESSE     STATUS=FAILED         9 CALLS      303 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     578.76        577.11         .0000       -1.5467    
   2  norm          8.1683        1.0019         .0000       -1.5136    
   3  Prefactor     4.5776        1.0061         .0000       -1.5280    
   4  Prefactor     6.7687        1.0028         .0000       -1.5188    
   5  Prefactor     .10001E-03    .22202       -.14123E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .24898       -.77281E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .20571        .29185E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12503E-01    .85604E-01    .97870E-03   -1.5686    
   9  norm          .10000E-03    .21841       -.56450E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.1993        1.1352         .0000       -1.5489    
  11  Prefactor     7.2234        1.0024         .0000       -1.5170    
  12  norm          2.8065        1.0168         .0000       -1.5373    
  13  Prefactor     .10000E-03    .20571        .15016E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1210        1.0076         .0000       -1.5302    
  15  norm          .10002E-03    .20936        .58822E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     109.97        .96255        .15470E-03   -1.3607    
  17  Prefactor     1.4373        .78474       -.38819E-03   -1.5468    
  18  norm          36.134        1.0022        .38470E-03   -1.4505    
  19  Prefactor     .10000E-03    .20571       -.16084E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10004E-03    .30961       -.66035E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.7058        1.0028         .0000       -1.5190    
  22  norm          3.1582        1.0131         .0000       -1.5353    
  23  Prefactor     .10004E-03    .21364       -.11074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     146.56        1.0596        .16543E-03   -1.3281    
  25  Prefactor     5.2809        1.0045         .0000       -1.5248    
  26  Normalizat    .10000E-01    .25505       -.92706E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .28689        .59615       -.33913E-03   -1.2304    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.82236e-09
Minuit parameter uncertainties:
  1  1.07703
  2  1.00188
  3  1.00609
  4  1.00275
  5  9.58839e-05
  6  1.10116e-05
  7  5.77381e-06
  8  0.0651694
  9  1.09486e-05
  10  1.13522
  11  1.00241
  12  1.01682
  13  5.66954e-06
  14  1.00756
  15  0.000138948
  16  0.962547
  17  0.784751
  18  1.00224
  19  3.79469e-05
  20  0.00021309
  21  1.00281
  22  1.01312
  23  0.000196043
  24  1.05963
  25  1.00455
  26  1.93601e-06
  27  0.609607
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 77.0570241268

Extracting fit parameters...

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  4.121e+00  1.008e+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:  2.869e-01  6.096e-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.000e-02  1.936e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 172.465 -14.796
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.87e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/892390/likelihoodResults_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.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): 101
logL (Free Index) = 77.0582467965
delta logL = -0.00122266973699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 77.0582467965
delta logL = -0.00122266973699

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.6918       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   77.05825     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.6918        1.0074        .22914         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.6918
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   77.05825     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .82030        1.9318        .22914       -.47984    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.01632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892390': 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): 101
logL (Free Index) = 77.0582467965
delta logL = -0.00122266973699

Extracting fit parameters...

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  4.121e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
292        Index:  2.692e+00  1.016e+00  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:  2.865e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.004e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
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/892390/cmap_HighResolution_555292801_555552001_4FGL_J1129.8-1447_daily_bin1219.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.87e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-04 02:27:25.245931', job_id='892390', GAL2='0.29', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630747645.25', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.29', dlogl='-1.22e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.69' WHERE bin_id='1219' AND source_name='4FGL J1129.8-1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 02:27:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 892390: <4FGL_J1129.8-1447_daily_bin1219> in cluster <slac> Done

Job <4FGL_J1129.8-1447_daily_bin1219> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 02:16:12 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 02:17:40 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:17:40 2021
Terminated at Sat Sep  4 02:27:25 2021
Results reported at Sat Sep  4 02:27:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.8-1447_daily_bin1219 172.465 -14.796 555292801 555552001 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 :                                   320.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   585 sec.
    Turnaround time :                            673 sec.

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

