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


Performing analysis on: 4FGL_J1226.8-1329_daily_bin1016
RA = 186.719, Dec = -13.494
tmin = 502675201, tmax = 502934401
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='656885', job_status='RUN', time_executed='2021-09-05 16:12:28.820031', time_epoch_executed='1630883548.82' WHERE source_name='4FGL J1226.8-1329' and cadence='daily' and bin_id='1016'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656885

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656885/ft1_4FGL_J1226.8-1329_daily_bin1016.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656885/ft1_4FGL_J1226.8-1329_daily_bin1016.fits outfile=/scratch/kocevski/656885/ft1_filteredMKT_4FGL_J1226.8-1329_daily_bin1016.fits ra=186.719 dec=-13.494 rad=12.0 tmin=502675201.0 tmax=502934401.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 6.32
user 3.35
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.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/656885/ft1_filteredMKT_4FGL_J1226.8-1329_daily_bin1016.fits evtable="EVENTS" outfile="/scratch/kocevski/656885/ft1_filtered_4FGL_J1226.8-1329_daily_bin1016.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.52
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656885/ft1_filtered_4FGL_J1226.8-1329_daily_bin1016.fits" evtable="EVENTS" scfile=/scratch/kocevski/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.fits sctable="SC_DATA" outfile=/scratch/kocevski/656885/ltcube_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.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/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.fits
.....................!
real 12.54
user 12.01
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656885/ft1_filtered_4FGL_J1226.8-1329_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.fits sctable="SC_DATA" expcube=/scratch/kocevski/656885/ltcube_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.fits outfile=/scratch/kocevski/656885/expmap_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.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/656885/ltcube_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.fits
.....................!
real 191.60
user 185.71
sys 4.99

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

Setting source of interest to:
4FGL J1226.8-1329 @ 186.719 -13.494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/656885/ft1_filtered_4FGL_J1226.8-1329_daily_bin1016.fits scfile=/scratch/kocevski/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.fits outfile=/scratch/kocevski/656885/cmap_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.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=186.719 yref=-13.494 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.64
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656885/ft1_filtered_4FGL_J1226.8-1329_daily_bin1016.fits scfile=/scratch/kocevski/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.fits outfile=/scratch/kocevski/656885/cmap_HighResolution_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.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=186.719 yref=-13.494 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/656885/ft1_filtered_4FGL_J1226.8-1329_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/656885/Model_4FGL_J1226.8-1329_daily_bin1016.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/656885/ft1_filtered_4FGL_J1226.8-1329_daily_bin1016.fits.....................!
real 61.83
user 60.05
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/656885/ft1_filtered_4FGL_J1226.8-1329_daily_bin1016.fits', '/scratch/kocevski/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.fits', expMap='/scratch/kocevski/656885/expmap_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.fits', expCube='/scratch/kocevski/656885/ltcube_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/656885/Model_4FGL_J1226.8-1329_daily_bin1016.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/656885/ft1_filtered_4FGL_J1226.8-1329_daily_bin1016.fits
Spacecraft file(s): /scratch/kocevski/656885/ft2_4FGL_J1226.8-1329_daily_bin1016.fits
Exposure map: /scratch/kocevski/656885/expmap_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.fits
Exposure cube: /scratch/kocevski/656885/ltcube_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/656885/Model_4FGL_J1226.8-1329_daily_bin1016.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) = 7420.62645097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3025       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .21995       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7581       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5903       1.0000         .10000E-03   10000.    
     6 'norm      '    13.738       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.945       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.718       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11057E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2353       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8755       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.0637       1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.890       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.376       1.0000         .10000E-03   10000.    
    19 'Prefactor '    44.329       1.0000         .10000E-03   10000.    
    20 'Prefactor '    106.08       1.0000         .10000E-03   10000.    
    21 'norm      '    1.5076       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    15.019       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .85843       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7420.623     FROM MIGRAD    STATUS=CONVERGED    581 CALLS     2908 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3044        50.992        .11594E-05   -.36412E-05
   2  norm          .10000E-03    1.8217       -.31607E-08** at limit **
   3  Prefactor     .21840        1.9798        .50320E-06   -.56973E-03
   4  Prefactor     9.7549        21.544       -.11272E-06   -.73269E-04
   5  Prefactor     3.5207        81.311       -.13440E-04   -.69952E-04
   6  norm          13.724        11.725        .14837E-05    .46849E-03
   7  Prefactor     .10000E-03    28.781       -.15300E-05** at limit **
   8  Prefactor     13.946        14.386       -.52634E-07   -.47434E-04
   9  Prefactor     .10000E-03    15.545       -.20438E-06** at limit **
  10  Prefactor     .10000E-03    22.649        .10975E-05** at limit **
  11  Prefactor     21.695        24.540       -.24261E-06   -.19461E-04
  12  Prefactor     .10000E-03    97.995        .50612E-05** at limit **
  13  Prefactor     4.2353        4.5065        .26889E-05   -.53069E-03
  14  Prefactor     3.8756        2.1193       -.29391E-06    .36610E-04
  15  Prefactor     .10000E-03    6.3382        .16934E-07** at limit **
  16  Prefactor     8.0642        12.082        .10154E-06   -.50303E-05
  17  Prefactor     31.891        14.897       -.22991E-06   -.29881E-04
  18  Prefactor     12.375        12.346        .45780E-07   -.46506E-05
  19  Prefactor     44.330        39.516        .24774E-06    .13272E-06
  20  Prefactor     106.09        98.678        .13267E-05    .14154E-05
  21  norm          1.5076        .33966        .41084E-08   -.58407E-04
  22  norm          .10000E-03    2.3115        .14720E-07** at limit **
  23  norm          15.019        8.7999       -.92279E-07   -.60517E-05
  24  Normalizat    .85844        .26213       -.16972E-06   -.38525E-04
  25  Prefactor     1.1586        .14288       -.44563E-06   -.93109E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.30436
  norm       = 0.0001
  Prefactor  = 0.218401
  Prefactor  = 9.75487
  Prefactor  = 3.52067
  norm       = 13.7239
  Prefactor  = 0.0001
  Prefactor  = 13.9463
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.6951
  Prefactor  = 0.0001
  Prefactor  = 4.23531
  Prefactor  = 3.87559
  Prefactor  = 0.0001
  Prefactor  = 8.06419
  Prefactor  = 31.8909
  Prefactor  = 12.3755
  Prefactor  = 44.3298
  Prefactor  = 106.087
  norm       = 1.5076
  norm       = 0.0001
  norm       = 15.019
  Normalizat = 0.858438
  Prefactor  = 1.15862
 **********
 **   18 **HESSE 
 **********

 FCN=   7420.623     FROM HESSE     STATUS=OK           433 CALLS     3341 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3044        50.997        .14843E-03   -1.5167    
   2  norm          .10000E-03    1.8232        .11353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21840        10.677        .21744E-02   -1.5615    
   4  Prefactor     9.7549        21.356        .12828E-03   -1.5083    
   5  Prefactor     3.5207        92.960        .21326E-03   -1.5333    
   6  norm          13.724        12.140        .10806E-03   -1.4967    
   7  Prefactor     .10000E-03    28.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.946        14.400        .10726E-03   -1.4961    
   9  Prefactor     .10000E-03    15.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.695        24.542        .85948E-04   -1.4776    
  12  Prefactor     .10000E-03    98.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2353        4.6447        .91245E-03   -1.5296    
  14  Prefactor     3.8756        2.1251        .87285E-04   -1.5314    
  15  Prefactor     .10000E-03    6.3607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.0642        12.078        .14119E-03   -1.5140    
  17  Prefactor     31.891        14.937        .70955E-04   -1.4578    
  18  Prefactor     12.375        12.355        .11387E-03   -1.5004    
  19  Prefactor     44.330        39.649        .60216E-04   -1.4375    
  20  Prefactor     106.09        98.675        .39045E-04   -1.3644    
  21  norm          1.5076        .34123        .22314E-04   -1.5462    
  22  norm          .10000E-03    2.3140        .12790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          15.019        8.7985        .10335E-03   -1.4933    
  24  Normalizat    .85844        .29621        .40069E-03   -.97936    
  25  Prefactor     1.1586        .16265        .20444E-03   -.87614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79417e-09
Minuit parameter uncertainties:
  1  38.6472
  2  7.44847e-07
  3  3.054
  4  21.3728
  5  36.244
  6  12.1424
  7  1.98448e-05
  8  14.4035
  9  1.10127e-06
  10  4.4041e-05
  11  24.5534
  12  0.000320687
  13  4.64512
  14  2.12515
  15  1.56155e-06
  16  12.0812
  17  14.9389
  18  12.3575
  19  39.6729
  20  98.8279
  21  0.341226
  22  5.50064e-07
  23  8.79927
  24  0.296773
  25  0.162716
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  4.235e+00  4.645e+00  1.000e-04  1.000e+04 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.159e+00  1.627e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  8.584e-01  2.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.38
Ra Dec: 186.719 -13.494
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 2.89e-08
Energy Flux (Fixed Index): 1.83e-05 +/- 2.01e-05

TS (Fixed Index): 1.38
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 9.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656885/likelihoodResults_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.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) = 7420.20711759
delta logL = 0.416137356913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7420.20622028
delta logL = 0.417034670488

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1999       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5344       1.0000          .0000       10.000    
     3 'Normalizat'    .86892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1544       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7420.206     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      238 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1999        305.70        .37372E-02    .65448E-03
   2  Index         1.5344        5.0516        .18614        .13961E-03
   3  Normalizat    .86894        .17899        .89967E-01    .54317E-04
   4  Prefactor     1.1544        .83942E-01    .35811E-01   -.19072E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.19992
  Index      = 1.53444
  Normalizat = 0.868937
  Prefactor  = 1.15436
 **********
 **   18 **HESSE 
 **********

 FCN=   7420.206     FROM HESSE     STATUS=OK            31 CALLS      269 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1999        6.6809        .14949E-03   -1.5171    
   2  Index         1.5344        .46635        .92730E-02   -.76580    
   3  Normalizat    .86894        .26750        .39847E-03   -.97560    
   4  Prefactor     1.1544        .15755        .20470E-03   -.87748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71651e-10
Minuit parameter uncertainties:
  1  6.68163
  2  0.467657
  3  0.267909
  4  0.157613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656885': 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) = 7420.20622027
delta logL = 0.417034676365

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  7.200e+00  6.682e+00  1.000e-04  1.000e+04 ( 1.000e-13)
354        Index:  1.534e+00  4.677e-01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.154e+00  1.576e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  8.689e-01  2.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.23
Ra Dec: 186.719 -13.494
Photon Index (Free Index): 1.53 +/- 0.47
Photon Flux (Free Index): 1.84e-08 +/- 2.00e-08
Energy Flux (Free Index): 5.18e-05 +/- 6.98e-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/656885/cmap_HighResolution_502675201_502934401_4FGL_J1226.8-1329_daily_bin1016.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.25e-03', comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='5.18e-05', photon_flux_error='2.89e-08', dlogl='4.17e-01', energy_flux='1.83e-05', photon_flux2='1.84e-08', job_status='DONE', time_completed='2021-09-05 16:26:34.875733', photon_index_error2='0.47', photon_index2='1.53', ts='1.38', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='9.66e-08', energy_flux_error2='6.98e-05', EG='0.86', time_epoch_completed='1630884394.88', return_code='0', job_id='656885', GAL2='1.15', EG2='0.87', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='2.00e-08', ts2='2.23', photon_index='2.00' WHERE bin_id='1016' AND source_name='4FGL J1226.8-1329' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 16:26:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 656885: <4FGL_J1226.8-1329_daily_bin1016> in cluster <slac> Done

Job <4FGL_J1226.8-1329_daily_bin1016> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep  5 16:10:52 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 16:10:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 16:10:55 2021
Terminated at Sun Sep  5 16:26:35 2021
Results reported at Sun Sep  5 16:26:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1226.8-1329_daily_bin1016 186.719 -13.494 502675201 502934401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1226.8-1329 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   835.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            943 sec.

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

