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


Performing analysis on: 4FGL_J1226.8-1329_daily_bin1105
RA = 186.719, Dec = -13.494
tmin = 525744001, tmax = 526003201
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='657028', job_status='RUN', time_executed='2021-09-05 16:12:46.580346', time_epoch_executed='1630883566.58' WHERE source_name='4FGL J1226.8-1329' and cadence='daily' and bin_id='1105'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657028

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657028/ft1_4FGL_J1226.8-1329_daily_bin1105.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657028/ft2_4FGL_J1226.8-1329_daily_bin1105.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657028/ft1_4FGL_J1226.8-1329_daily_bin1105.fits outfile=/scratch/kocevski/657028/ft1_filteredMKT_4FGL_J1226.8-1329_daily_bin1105.fits ra=186.719 dec=-13.494 rad=12.0 tmin=525744001.0 tmax=526003201.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 4.52
user 4.10
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/657028/ft2_4FGL_J1226.8-1329_daily_bin1105.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/657028/ft1_filteredMKT_4FGL_J1226.8-1329_daily_bin1105.fits evtable="EVENTS" outfile="/scratch/kocevski/657028/ft1_filtered_4FGL_J1226.8-1329_daily_bin1105.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/657028/ft1_filtered_4FGL_J1226.8-1329_daily_bin1105.fits" evtable="EVENTS" scfile=/scratch/kocevski/657028/ft2_4FGL_J1226.8-1329_daily_bin1105.fits sctable="SC_DATA" outfile=/scratch/kocevski/657028/ltcube_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.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/657028/ft2_4FGL_J1226.8-1329_daily_bin1105.fits
.....................!
real 15.97
user 12.07
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657028/ft1_filtered_4FGL_J1226.8-1329_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/657028/ft2_4FGL_J1226.8-1329_daily_bin1105.fits sctable="SC_DATA" expcube=/scratch/kocevski/657028/ltcube_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.fits outfile=/scratch/kocevski/657028/expmap_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.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/657028/ltcube_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.fits
.....................!
real 190.46
user 184.91
sys 4.08

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/657028/ft1_filtered_4FGL_J1226.8-1329_daily_bin1105.fits scfile=/scratch/kocevski/657028/ft2_4FGL_J1226.8-1329_daily_bin1105.fits outfile=/scratch/kocevski/657028/cmap_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.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.70
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/657028/ft1_filtered_4FGL_J1226.8-1329_daily_bin1105.fits scfile=/scratch/kocevski/657028/ft2_4FGL_J1226.8-1329_daily_bin1105.fits outfile=/scratch/kocevski/657028/cmap_HighResolution_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.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.74
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/657028/ft1_filtered_4FGL_J1226.8-1329_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/657028/ft2_4FGL_J1226.8-1329_daily_bin1105.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/657028/Model_4FGL_J1226.8-1329_daily_bin1105.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/657028/ft1_filtered_4FGL_J1226.8-1329_daily_bin1105.fits....................!
real 57.70
user 55.16
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/657028/ft1_filtered_4FGL_J1226.8-1329_daily_bin1105.fits', '/scratch/kocevski/657028/ft2_4FGL_J1226.8-1329_daily_bin1105.fits', expMap='/scratch/kocevski/657028/expmap_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.fits', expCube='/scratch/kocevski/657028/ltcube_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/657028/Model_4FGL_J1226.8-1329_daily_bin1105.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/657028/ft1_filtered_4FGL_J1226.8-1329_daily_bin1105.fits
Spacecraft file(s): /scratch/kocevski/657028/ft2_4FGL_J1226.8-1329_daily_bin1105.fits
Exposure map: /scratch/kocevski/657028/expmap_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.fits
Exposure cube: /scratch/kocevski/657028/ltcube_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/657028/Model_4FGL_J1226.8-1329_daily_bin1105.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) = 6587.67828381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.553       1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.0227       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2768       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3152       1.0000         .10000E-03   10000.    
     6 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5864       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    86.039       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8655       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3562       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.212       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    77.867       1.0000         .10000E-03   10000.    
    20 'Prefactor '    90.841       1.0000         .10000E-03   10000.    
    21 'norm      '    2.0063       1.0000         .10000E-03   10000.    
    22 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10309E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.8215       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .69640       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=   6587.666     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2850 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.464        55.300        .16921E-04   -.93301E-05
   2  norm          .10000E-03    6.6995        .11289E-06** at limit **
   3  Prefactor     4.0224        3.6331        .21516E-06    .69077E-04
   4  Prefactor     5.2168        22.217       -.41550E-05   -.37404E-04
   5  Prefactor     1.3152        23.368        .20583E-04    .14547E-05
   6  norm          .10000E-03    1.9630        .29873E-06** at limit **
   7  Prefactor     5.5873        24.405        .33310E-06    .55740E-06
   8  Prefactor     .10000E-03    16.531        .68042E-07** at limit **
   9  Prefactor     .10000E-03    19.255        .45304E-06** at limit **
  10  Prefactor     86.033        55.418       -.29174E-06   -.67660E-05
  11  Prefactor     .10000E-03    14.093       -.66636E-06** at limit **
  12  Prefactor     .10000E-03    17.733        .18340E-06** at limit **
  13  Prefactor     .10000E-03    2.8066        .49005E-07** at limit **
  14  Prefactor     2.8656        1.9199        .48777E-07   -.80773E-05
  15  Prefactor     5.3456        16.230       -.46845E-06   -.14528E-04
  16  Prefactor     .10000E-03    9.6920       -.23699E-06** at limit **
  17  Prefactor     10.206        11.177        .13561E-06   -.57415E-05
  18  Prefactor     .10000E-03    10.859        .69060E-06** at limit **
  19  Prefactor     77.834        58.871        .31074E-05   -.20705E-04
  20  Prefactor     90.854        82.744       -.10548E-05   -.51258E-05
  21  norm          2.0064        .41422       -.14110E-07    .10205E-02
  22  norm          .10000E-03    4.7625        .10786E-06** at limit **
  23  norm          .10000E-03    3.8889        .33229E-06** at limit **
  24  Normalizat    1.8226        .26312        .37440E-06    .18138E-04
  25  Prefactor     .69587        .13874       -.15939E-05   -.21987E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4635
  norm       = 0.0001
  Prefactor  = 4.02242
  Prefactor  = 5.21683
  Prefactor  = 1.31519
  norm       = 0.0001
  Prefactor  = 5.58727
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 86.0332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.86555
  Prefactor  = 5.34559
  Prefactor  = 0.0001
  Prefactor  = 10.2058
  Prefactor  = 0.0001
  Prefactor  = 77.8345
  Prefactor  = 90.8543
  norm       = 2.00637
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.82264
  Prefactor  = 0.695867
 **********
 **   18 **HESSE 
 **********

 FCN=   6587.666     FROM HESSE     STATUS=OK           425 CALLS     3275 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.464        55.387        .90579E-04   -1.4825    
   2  norm          .10000E-03    6.7780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0224        3.6245        .13833E-03   -1.5307    
   4  Prefactor     5.2168        22.283        .17497E-03   -1.5251    
   5  Prefactor     1.3152        23.385        .19205E-02   -1.5479    
   6  norm          .10000E-03    1.9757        .11111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.5873        24.375        .16997E-03   -1.5235    
   8  Prefactor     .10000E-03    16.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     86.033        55.438        .21655E-03   -1.3850    
  11  Prefactor     .10000E-03    14.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.8215        .13272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8656        1.9194        .89155E-04   -1.5369    
  15  Prefactor     5.3456        16.275        .17365E-03   -1.5246    
  16  Prefactor     .10000E-03    9.7765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.206        11.192        .12538E-03   -1.5069    
  18  Prefactor     .10000E-03    10.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     77.834        59.213        .22754E-03   -1.3941    
  20  Prefactor     90.854        82.693        .42161E-04   -1.3799    
  21  norm          2.0064        .41840        .21804E-04   -1.5425    
  22  norm          .10000E-03    4.7855        .17296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    3.9166        .15611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.8226        .31306        .30111E-03   -.69074    
  25  Prefactor     .69587        .16352        .24746E-03   -1.0369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19475e-11
Minuit parameter uncertainties:
  1  55.5336
  2  1.06514e-05
  3  3.62471
  4  21.5769
  5  11.0963
  6  3.34517e-06
  7  23.3559
  8  3.94506e-05
  9  1.13132e-05
  10  55.4713
  11  1.01702e-05
  12  4.91732e-06
  13  3.45792e-06
  14  1.91943
  15  16.2881
  16  2.71914e-05
  17  11.1948
  18  8.8726e-06
  19  59.2575
  20  82.7983
  21  0.418398
  22  1.16254e-05
  23  2.791e-05
  24  0.313402
  25  0.163632
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.000e-04  3.458e-06  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:  6.959e-01  1.636e-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:  1.823e+00  3.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/657028/likelihoodResults_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.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): 102
logL (Free Index) = 6587.66753844
delta logL = -0.00167770737426

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6587.66586077
delta logL = -4.2686224333e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9982       1.0000          .0000       10.000    
     3 'Normalizat'    1.8226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69591       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=   6587.666     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      199 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .44584        .90712E-02** at limit **
   2  Index         1.9981        6.0143        .50000       -.44469E-05
   3  Normalizat    1.8226        .26068E-02    .68077E-01    .87716E-05
   4  Prefactor     .69587        .14159E-02    .42347E-01    .27606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.99811
  Normalizat = 1.82264
  Prefactor  = 0.695868
 **********
 **   18 **HESSE 
 **********

 FCN=   6587.666     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      230 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.019        .13272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9981        8.3619        .50000       -.64397    
   3  Normalizat    1.8226        .24337E-01    .30111E-03   -.69074    
   4  Prefactor     .69587        .13214E-01    .24746E-03   -1.0369    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.45713e-07
Minuit parameter uncertainties:
  1  3.61587e-06
  2  446.296
  3  0.024337
  4  0.013214
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657028': 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) = 6587.66586073
delta logL = 8.18545231596e-12

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.000e-04  3.616e-06  1.000e-04  1.000e+04 ( 1.000e-13)
354        Index:  1.998e+00  4.463e+02  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:  6.959e-01  1.321e-02  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:  1.823e+00  2.434e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/657028/cmap_HighResolution_525744001_526003201_4FGL_J1226.8-1329_daily_bin1105.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-03', job_status='DONE', photon_flux_upper_limit='7.31e-08', time_completed='2021-09-05 16:26:11.588316', job_id='657028', GAL2='0.70', fit_tolerance='1e-08', EG2='1.82', EG='1.82', time_epoch_completed='1630884371.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='8.19e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1105' AND source_name='4FGL J1226.8-1329' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 16:26:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 657028: <4FGL_J1226.8-1329_daily_bin1105> in cluster <slac> Done

Job <4FGL_J1226.8-1329_daily_bin1105> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep  5 16:11:04 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 16:11:05 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:11:05 2021
Terminated at Sun Sep  5 16:26:12 2021
Results reported at Sun Sep  5 16:26:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1226.8-1329_daily_bin1105 186.719 -13.494 525744001 526003201 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 :                                   760.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            908 sec.

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

