/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 1 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 = 7409
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1129.8-1447_daily_bin326
RA = 172.465, Dec = -14.796
tmin = 323827201, tmax = 324086401
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='885742', job_status='RUN', time_executed='2021-09-04 01:57:17.047791', time_epoch_executed='1630745837.05' WHERE source_name='4FGL J1129.8-1447' and cadence='daily' and bin_id='326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/885742

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/885742/ft1_4FGL_J1129.8-1447_daily_bin326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/885742/ft2_4FGL_J1129.8-1447_daily_bin326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/885742/ft1_4FGL_J1129.8-1447_daily_bin326.fits outfile=/scratch/kocevski/885742/ft1_filteredMKT_4FGL_J1129.8-1447_daily_bin326.fits ra=172.465 dec=-14.796 rad=12.0 tmin=323827201.0 tmax=324086401.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.40
user 3.11
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/885742/ft1_filtered_4FGL_J1129.8-1447_daily_bin326.fits" evtable="EVENTS" scfile=/scratch/kocevski/885742/ft2_4FGL_J1129.8-1447_daily_bin326.fits sctable="SC_DATA" outfile=/scratch/kocevski/885742/ltcube_323827201_324086401_4FGL_J1129.8-1447_daily_bin326.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/885742/ft2_4FGL_J1129.8-1447_daily_bin326.fits
.....................!
real 14.82
user 14.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/885742/ft1_filtered_4FGL_J1129.8-1447_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/885742/ft2_4FGL_J1129.8-1447_daily_bin326.fits sctable="SC_DATA" expcube=/scratch/kocevski/885742/ltcube_323827201_324086401_4FGL_J1129.8-1447_daily_bin326.fits outfile=/scratch/kocevski/885742/expmap_323827201_324086401_4FGL_J1129.8-1447_daily_bin326.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/885742/ltcube_323827201_324086401_4FGL_J1129.8-1447_daily_bin326.fits
.....................!
real 193.82
user 187.26
sys 4.72

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/885742/ft1_filtered_4FGL_J1129.8-1447_daily_bin326.fits scfile=/scratch/kocevski/885742/ft2_4FGL_J1129.8-1447_daily_bin326.fits outfile=/scratch/kocevski/885742/cmap_323827201_324086401_4FGL_J1129.8-1447_daily_bin326.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/885742/ft1_filtered_4FGL_J1129.8-1447_daily_bin326.fits scfile=/scratch/kocevski/885742/ft2_4FGL_J1129.8-1447_daily_bin326.fits outfile=/scratch/kocevski/885742/cmap_HighResolution_323827201_324086401_4FGL_J1129.8-1447_daily_bin326.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/885742/ft1_filtered_4FGL_J1129.8-1447_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/885742/ft2_4FGL_J1129.8-1447_daily_bin326.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/885742/Model_4FGL_J1129.8-1447_daily_bin326.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/885742/ft1_filtered_4FGL_J1129.8-1447_daily_bin326.fits.....................!
real 51.36
user 49.67
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.639       1.0000         .10000E-03   10000.    
     2 'norm      '    .75210       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.291       1.0000         .10000E-03   10000.    
     4 'Prefactor '    219.12       1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.299       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5004       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6544       1.0000         .10000E-03   10000.    
    15 'norm      '    18.510       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .13067E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .54793       1.0000         .10000E-03   10000.    
    24 'Prefactor '    121.97       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .66236       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1384       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=   5121.047     FROM MIGRAD    STATUS=CONVERGED   1192 CALLS     3837 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.639        10.094        .12283E-03    .27951E-04
   2  norm          .75374        6.8176        .35985E-03    .12135E-03
   3  Prefactor     29.263        31.275        .74027E-04    .10842E-04
   4  Prefactor     219.17        170.27        .13662E-03   -.15811E-05
   5  Prefactor     44.294        21.665        .60236E-04   -.16382E-03
   6  Prefactor     .10000E-03    11.131        .18142E-02** at limit **
   7  Prefactor     .10000E-03    1.8214        .94125E-03** at limit **
   8  Prefactor     .10000E-03    18.881        .18142E-02** at limit **
   9  norm          .10000E-03    4.3088        .14481E-02** at limit **
  10  Prefactor     .10000E-03    7.3479        .18142E-02** at limit **
  11  Prefactor     .10000E-03    34.385        .18142E-02** at limit **
  12  norm          1.5002        1.4661        .80542E-04    .41626E-03
  13  Prefactor     .10000E-03    2.5080        .10992E-02** at limit **
  14  Prefactor     3.6571        10.432        .21131E-03   -.43041E-06
  15  norm          18.506        19.397        .93093E-04   -.85852E-04
  16  Prefactor     .10000E-03    7.3033        .18142E-02** at limit **
  17  Prefactor     .10000E-03    24.883        .18142E-02** at limit **
  18  norm          .10000E-03    4.4870        .14710E-02** at limit **
  19  Prefactor     .10000E-03    3.3593        .25243E-03** at limit **
  20  Prefactor     .10000E-03    28.050        .18142E-02** at limit **
  21  Prefactor     .10000E-03    11.914        .18142E-02** at limit **
  22  norm          .10000E-03    5.3678        .22645E-02** at limit **
  23  Prefactor     .12362        129.93        .15980        .35134E-04
  24  Prefactor     122.14        95.735        .18221E-03    .10866E-03
  25  Prefactor     .10000E-03    17.791        .18142E-02** at limit **
  26  Normalizat    .66229        .30304        .36850E-03    .66176E-04
  27  Prefactor     1.1385        .18036        .18372E-03   -.92237E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6386
  norm       = 0.753736
  Prefactor  = 29.263
  Prefactor  = 219.173
  Prefactor  = 44.2936
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.50021
  Prefactor  = 0.0001
  Prefactor  = 3.65712
  norm       = 18.5057
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.123623
  Prefactor  = 122.139
  Prefactor  = 0.0001
  Normalizat = 0.66229
  Prefactor  = 1.13847
 **********
 **   18 **HESSE 
 **********

 FCN=   5121.047     FROM HESSE     STATUS=OK           470 CALLS     4307 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.639        10.094        .49133E-05   -1.5056    
   2  norm          .75374        6.8158        .14394E-04   -1.5534    
   3  Prefactor     29.263        31.274        .14805E-04   -1.4626    
   4  Prefactor     219.17        170.28        .54646E-05   -1.2736    
   5  Prefactor     44.294        21.664        .12047E-04   -1.4376    
   6  Prefactor     .10000E-03    11.132        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8215        .18825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.881        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.3092        .28962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.3491        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    34.386        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5002        1.4660        .32217E-05   -1.5463    
  13  Prefactor     .10000E-03    2.5083        .21984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.6571        10.430        .84524E-05   -1.5325    
  15  norm          18.506        19.397        .37237E-05   -1.4847    
  16  Prefactor     .10000E-03    7.3034        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.884        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.4882        .29420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.3593        .50485E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    28.061        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.922        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    5.3896        .45291E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .12362        133.48        .15773       -1.5638    
  24  Prefactor     122.14        95.986        .36443E-04   -1.3493    
  25  Prefactor     .10000E-03    17.791        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .66229        .30319        .14740E-04   -1.0540    
  27  Prefactor     1.1385        .18047        .36745E-04   -.88246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84603e-10
Minuit parameter uncertainties:
  1  10.0955
  2  4.5335
  3  31.292
  4  170.665
  5  21.6681
  6  0.000220634
  7  1.07734e-05
  8  1.98346e-05
  9  1.85889e-05
  10  1.62835e-05
  11  6.06559e-05
  12  1.46603
  13  2.2838e-05
  14  10.4349
  15  19.4035
  16  1.11216e-05
  17  4.78224e-05
  18  3.20396e-05
  19  3.25446e-05
  20  0.000161919
  21  4.43467e-05
  22  7.48163e-05
  23  8.13938
  24  96.1086
  25  3.81172e-06
  26  0.303962
  27  0.180572
Done.

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

Extracting fit parameters...

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  3.657e+00  1.043e+01  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:  1.138e+00  1.806e-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:  6.623e-01  3.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/885742/likelihoodResults_323827201_324086401_4FGL_J1129.8-1447_daily_bin326.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) = 5120.33107691
delta logL = 0.715753287504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5120.31952048
delta logL = 0.727309717136

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7246       1.0000         .10000E-03   10000.    
     2 'Index     '    4.5043       1.0000          .0000       10.000    
     3 'Normalizat'    .56390       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1786       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=   5120.320     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      279 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7242        63.166        .78099E-04   -.26077E-02
   2  Index         4.5043        7.1785        .66093E-02   -.31571E-03
   3  Normalizat    .56392        .28431        .39730E-03   -.32094E-03
   4  Prefactor     1.1786        .18014        .18086E-03   -.51531E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.72423
  Index      = 4.50434
  Normalizat = 0.56392
  Prefactor  = 1.17861
 **********
 **   18 **HESSE 
 **********

 FCN=   5120.320     FROM HESSE     STATUS=OK            23 CALLS      302 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7242        4.5251        .31240E-05   -1.5445    
   2  Index         4.5043        1.8029        .26437E-03   -.99295E-01
   3  Normalizat    .56392        .28929        .15892E-04   -1.0954    
   4  Prefactor     1.1786        .18053        .36172E-04   -.86992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30304e-09
Minuit parameter uncertainties:
  1  4.52602
  2  1.84491
  3  0.290071
  4  0.180625
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/885742': 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) = 5120.31952046
delta logL = 0.727309736242

Extracting fit parameters...

4FGL J1129.8-1447
   Spectrum: PowerLaw
291    Prefactor:  1.724e+00  4.526e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  4.504e+00  1.845e+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:  1.179e+00  1.806e-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:  5.639e-01  2.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 172.465 -14.796
Photon Index (Free Index): 4.50 +/- 1.84
Photon Flux (Free Index): 9.92e-08 +/- 9.05e-08
Energy Flux (Free Index): 1.38e-05 +/- 1.26e-05

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/885742/cmap_HighResolution_323827201_324086401_4FGL_J1129.8-1447_daily_bin326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', energy_flux2='1.38e-05', dlogl='7.27e-01', photon_flux2='9.92e-08', job_status='DONE', time_completed='2021-09-04 02:09:33.146359', photon_index_error2='1.84', photon_index2='4.50', ts='0.15', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='1.26e-05', EG='0.66', time_epoch_completed='1630746573.15', return_code='0', job_id='885742', GAL2='1.18', EG2='0.56', return_code2='0', photon_flux_error2='9.05e-08', ts2='1.78', photon_index='2.69' WHERE bin_id='326' AND source_name='4FGL J1129.8-1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 02:09:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 885742: <4FGL_J1129.8-1447_daily_bin326> in cluster <slac> Done

Job <4FGL_J1129.8-1447_daily_bin326> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep  4 01:56:28 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 01:57:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 01:57:06 2021
Terminated at Sat Sep  4 02:09:33 2021
Results reported at Sat Sep  4 02:09:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1129.8-1447_daily_bin326 172.465 -14.796 323827201 324086401 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 :                                   728.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            785 sec.

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

