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


Performing analysis on: 4FGL_J1011.3-0427_daily_bin1098
RA = 152.825, Dec = -4.4577
tmin = 523929601, tmax = 524188801
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='712998', job_status='RUN', time_executed='2021-09-01 12:51:35.643484', time_epoch_executed='1630525895.64' WHERE source_name='4FGL J1011.3-0427' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712998

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712998/ft1_4FGL_J1011.3-0427_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712998/ft1_4FGL_J1011.3-0427_daily_bin1098.fits outfile=/scratch/kocevski/712998/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1098.fits ra=152.825 dec=-4.4577 rad=12.0 tmin=523929601.0 tmax=524188801.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.54
user 3.26
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.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/712998/ft1_filteredMKT_4FGL_J1011.3-0427_daily_bin1098.fits evtable="EVENTS" outfile="/scratch/kocevski/712998/ft1_filtered_4FGL_J1011.3-0427_daily_bin1098.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712998/ft1_filtered_4FGL_J1011.3-0427_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/712998/ltcube_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.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/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.fits
.....................!
real 11.94
user 11.58
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712998/ft1_filtered_4FGL_J1011.3-0427_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/712998/ltcube_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.fits outfile=/scratch/kocevski/712998/expmap_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.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/712998/ltcube_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.fits
.....................!
real 190.93
user 185.57
sys 4.92

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

Setting source of interest to:
4FGL J1011.3-0427 @ 152.825 -4.4577

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/712998/ft1_filtered_4FGL_J1011.3-0427_daily_bin1098.fits scfile=/scratch/kocevski/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.fits outfile=/scratch/kocevski/712998/cmap_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.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=152.825 yref=-4.4577 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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712998/ft1_filtered_4FGL_J1011.3-0427_daily_bin1098.fits scfile=/scratch/kocevski/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.fits outfile=/scratch/kocevski/712998/cmap_HighResolution_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.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=152.825 yref=-4.4577 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.60
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/712998/ft1_filtered_4FGL_J1011.3-0427_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/712998/Model_4FGL_J1011.3-0427_daily_bin1098.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/712998/ft1_filtered_4FGL_J1011.3-0427_daily_bin1098.fits.....................!
real 71.23
user 68.82
sys 1.85

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/712998/ft1_filtered_4FGL_J1011.3-0427_daily_bin1098.fits', '/scratch/kocevski/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.fits', expMap='/scratch/kocevski/712998/expmap_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.fits', expCube='/scratch/kocevski/712998/ltcube_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/712998/Model_4FGL_J1011.3-0427_daily_bin1098.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1011.3-0427'

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  3.183e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.558e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
232        Scale:  7.806e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/712998/ft1_filtered_4FGL_J1011.3-0427_daily_bin1098.fits
Spacecraft file(s): /scratch/kocevski/712998/ft2_4FGL_J1011.3-0427_daily_bin1098.fits
Exposure map: /scratch/kocevski/712998/expmap_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.fits
Exposure cube: /scratch/kocevski/712998/ltcube_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/712998/Model_4FGL_J1011.3-0427_daily_bin1098.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) = 6735.58601443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.520       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.185       1.0000         .10000E-03   10000.    
     4 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.2719       1.0000         .10000E-03   10000.    
     7 'norm      '    .10224E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.798       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .36932E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .11453E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10412E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10722E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.885       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .32097E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    1.2797       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4401       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .71734       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6735.582     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2354 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.559        40.817        .37017E-05    .28320E-04
   2  Prefactor     .10000E-03    4.7852        .50194E-07** at limit **
   3  Prefactor     33.177        38.688       -.51245E-06   -.98581E-05
   4  norm          .10000E-03    6.7204       -.11588E-07** at limit **
   5  norm          .10000E-03    1.1777       -.48796E-07** at limit **
   6  norm          6.2716        1.1005       -.24974E-08   -.17706E-03
   7  norm          .10000E-03    .76201        .32050E-07** at limit **
   8  norm          .10000E-03    3.4198        .98415E-08** at limit **
   9  Prefactor     23.799        16.680       -.50683E-07   -.63448E-04
  10  Prefactor     .10000E-03    34.277        .54894E-06** at limit **
  11  Prefactor     .10000E-03    120.64        .24455E-05** at limit **
  12  norm          .10000E-03    32.597        .36882E-06** at limit **
  13  Prefactor     .10000E-03    5.9014        .40268E-06** at limit **
  14  Prefactor     .10000E-03    80.887       -.20568E-06** at limit **
  15  Prefactor     13.904        45.777       -.44953E-05   -.79321E-04
  16  Prefactor     .10091E-03    16.659        .24301E-05** at limit **
  17  norm          1.2796        1.1011       -.14400E-07   -.93397E-04
  18  Prefactor     .10000E-03    6.3086       -.58457E-07** at limit **
  19  Normalizat    1.4404        .20387       -.41299E-06   -.75874E-04
  20  Prefactor     .71708        .13996        .82286E-07   -.10572E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.5591
  Prefactor  = 0.0001
  Prefactor  = 33.1766
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.27156
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 23.7985
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.9036
  Prefactor  = 0.000100913
  norm       = 1.27963
  Prefactor  = 0.0001
  Normalizat = 1.44041
  Prefactor  = 0.717082
 **********
 **   18 **HESSE 
 **********

 FCN=   6735.582     FROM HESSE     STATUS=OK           295 CALLS     2649 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.559        40.863        .79297E-04   -1.4696    
   2  Prefactor     .10000E-03    4.7880        .17532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     33.177        38.763        .69560E-04   -1.4555    
   4  norm          .10000E-03    6.7689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.1828        .86962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.2716        1.1056        .34081E-04   -1.5207    
   7  norm          .10000E-03    5.9704        .13905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.4317        .14822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.799        16.643        .82111E-04   -1.4732    
  10  Prefactor     .10000E-03    34.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    125.38        .42599E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    33.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.9354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    81.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.904        56.777        .10749E-03   -1.4962    
  16  Prefactor     .10091E-03    18.092        .94058E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2796        1.1013        .39246E-04   -1.5482    
  18  Prefactor     .10000E-03    6.4113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4404        .24062        .26012E-03   -.79467    
  20  Prefactor     .71708        .16420        .25029E-03   -1.0286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32043e-10
Minuit parameter uncertainties:
  1  40.9073
  2  1.46528e-06
  3  38.7924
  4  6.21533e-06
  5  2.93015e-07
  6  1.10563
  7  4.15805e-05
  8  1.35362e-06
  9  16.6458
  10  2.40202e-05
  11  9.30174e-05
  12  3.32815e-06
  13  8.45224e-07
  14  3.33891e-05
  15  56.2853
  16  0.00812976
  17  1.10128
  18  6.51995e-06
  19  0.240811
  20  0.164311
Done.

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

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  1.000e-04  9.302e-05  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  2.558e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
232        Scale:  7.806e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  7.171e-01  1.643e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.440e+00  2.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 152.825 -4.458
Photon Flux Upper Limit: 9.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712998/likelihoodResults_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.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) = 6735.58206073
delta logL = -3.79199655072e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6735.58206073
delta logL = -3.79169414373e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96358E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5577       1.0000          .0000       10.000    
     3 'Normalizat'    1.4404       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71708       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6735.564     FROM MIGRAD    STATUS=CONVERGED    210 CALLS      359 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5453        48.530        .18143E-02    .60520E-04
   2  Index         1.8950        1.6256        .21831E-01    .12324E-04
   3  Normalizat    1.4412        .23064        .26006E-03    .15267E-03
   4  Prefactor     .71413        .16420        .25076E-03    .25969E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.54534
  Index      = 1.89504
  Normalizat = 1.44118
  Prefactor  = 0.714131
 **********
 **   18 **HESSE 
 **********

 FCN=   6735.564     FROM HESSE     STATUS=OK            25 CALLS      384 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5453        48.213        .72570E-04   -1.6220    
   2  Index         1.8950        1.6232        .87324E-03   -.67001    
   3  Normalizat    1.4412        .23081        .52012E-04   -.79445    
   4  Prefactor     .71413        .16430        .10030E-04   -1.0298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24513e-10
Minuit parameter uncertainties:
  1  35.5688
  2  1.67358
  3  0.230981
  4  0.164413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712998': 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) = 6735.5636483
delta logL = 0.0183745121294

Extracting fit parameters...

4FGL J1011.3-0427
   Spectrum: PowerLaw
230    Prefactor:  6.545e+00  3.557e+01  1.000e-04  1.000e+04 ( 1.000e-13)
231        Index:  1.895e+00  1.674e+00  0.000e+00  1.000e+01 (-1.000e+00)
232        Scale:  7.806e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  7.141e-01  1.644e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.441e+00  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 152.825 -4.458

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/712998/cmap_HighResolution_523929601_524188801_4FGL_J1011.3-0427_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-03', job_status='DONE', photon_flux_upper_limit='9.30e-08', time_completed='2021-09-01 13:02:23.324647', job_id='712998', GAL2='0.71', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1630526543.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.84e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1098' AND source_name='4FGL J1011.3-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 13:02:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 712998: <4FGL_J1011.3-0427_daily_bin1098> in cluster <slac> Done

Job <4FGL_J1011.3-0427_daily_bin1098> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 12:50:32 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:50:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 12:50:33 2021
Terminated at Wed Sep  1 13:02:23 2021
Results reported at Wed Sep  1 13:02:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1011.3-0427_daily_bin1098 152.825 -4.4577 523929601 524188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1011.3-0427 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   644.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            711 sec.

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

