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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1562
RA = 168.405, Dec = -19.3359
tmin = 644198401, tmax = 644457601
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='617439', job_status='RUN', time_executed='2021-09-03 13:31:56.236325', time_epoch_executed='1630701116.24' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1562'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617439

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617439/ft1_4FGL_J1113.6-1920_daily_bin1562.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617439/ft1_4FGL_J1113.6-1920_daily_bin1562.fits outfile=/scratch/kocevski/617439/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1562.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=644198401.0 tmax=644457601.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 2.93
user 2.70
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.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/617439/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1562.fits evtable="EVENTS" outfile="/scratch/kocevski/617439/ft1_filtered_4FGL_J1113.6-1920_daily_bin1562.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.31
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617439/ft1_filtered_4FGL_J1113.6-1920_daily_bin1562.fits" evtable="EVENTS" scfile=/scratch/kocevski/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.fits sctable="SC_DATA" outfile=/scratch/kocevski/617439/ltcube_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.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/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.fits
.....................!
real 15.42
user 15.08
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617439/ft1_filtered_4FGL_J1113.6-1920_daily_bin1562.fits evtable="EVENTS" scfile=/scratch/kocevski/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.fits sctable="SC_DATA" expcube=/scratch/kocevski/617439/ltcube_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.fits outfile=/scratch/kocevski/617439/expmap_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.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/617439/ltcube_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.fits
.....................!
real 157.01
user 152.72
sys 3.77

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

Setting source of interest to:
4FGL J1113.6-1920 @ 168.405 -19.3359

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/617439/ft1_filtered_4FGL_J1113.6-1920_daily_bin1562.fits scfile=/scratch/kocevski/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.fits outfile=/scratch/kocevski/617439/cmap_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.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=168.405 yref=-19.3359 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.48
user 0.33
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/617439/ft1_filtered_4FGL_J1113.6-1920_daily_bin1562.fits scfile=/scratch/kocevski/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.fits outfile=/scratch/kocevski/617439/cmap_HighResolution_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.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=168.405 yref=-19.3359 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.49
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/617439/ft1_filtered_4FGL_J1113.6-1920_daily_bin1562.fits evtable="EVENTS" scfile=/scratch/kocevski/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617439/Model_4FGL_J1113.6-1920_daily_bin1562.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/617439/ft1_filtered_4FGL_J1113.6-1920_daily_bin1562.fits.....................!
real 50.63
user 49.46
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/617439/ft1_filtered_4FGL_J1113.6-1920_daily_bin1562.fits', '/scratch/kocevski/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.fits', expMap='/scratch/kocevski/617439/expmap_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.fits', expCube='/scratch/kocevski/617439/ltcube_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/617439/Model_4FGL_J1113.6-1920_daily_bin1562.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1113.6-1920'

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  6.769e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.285e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/617439/ft1_filtered_4FGL_J1113.6-1920_daily_bin1562.fits
Spacecraft file(s): /scratch/kocevski/617439/ft2_4FGL_J1113.6-1920_daily_bin1562.fits
Exposure map: /scratch/kocevski/617439/expmap_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.fits
Exposure cube: /scratch/kocevski/617439/ltcube_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/617439/Model_4FGL_J1113.6-1920_daily_bin1562.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) = 6730.35786588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.306       1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.476       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6337       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10326E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.421       1.0000         .10000E-03   10000.    
     6 'norm      '    4.4955       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.198       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.477       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3855       1.0000         .10000E-03   10000.    
    15 'Prefactor '    84.746       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.5915       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6730.341     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2422 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.305        8.7596        .91275E-07    .84559E-05
   2  Prefactor     21.440        27.186        .26259E-05    .92370E-04
   3  Prefactor     5.6595        25.066       -.45456E-05   -.10908E-03
   4  Prefactor     .10000E-03    6.0731        .62867E-06** at limit **
   5  Prefactor     11.421        7.0492        .12822E-07   -.31060E-04
   6  norm          4.4960        6.2247        .59069E-06    .75056E-04
   7  Prefactor     .10000E-03    20.385       -.31322E-07** at limit **
   8  Prefactor     .10000E-03    45.910       -.31267E-06** at limit **
   9  Prefactor     .10000E-03    5.8599       -.16689E-06** at limit **
  10  Prefactor     26.193        47.107        .85462E-06    .12505E-04
  11  Prefactor     21.475        30.605        .35162E-06    .27134E-04
  12  Prefactor     .10000E-03    6.1848       -.92845E-06** at limit **
  13  Prefactor     .10000E-03    139.40       -.52538E-06** at limit **
  14  norm          1.3857        1.2481        .60420E-07    .74818E-04
  15  Prefactor     84.748        16.081        .83653E-08   -.52645E-05
  16  Prefactor     .10000E-03    30.648        .24284E-06** at limit **
  17  Prefactor     .10000E-03    4.6278        .90970E-07** at limit **
  18  Prefactor     1.5867        68.627        .14567E-04   -.56167E-04
  19  Prefactor     .10000E-03    6.9484        .45798E-07** at limit **
  20  norm          .10000E-03    1.5471        .20671E-07** at limit **
  21  Normalizat    .86204        .24380        .34117E-06   -.87663E-05
  22  Prefactor     1.1370        .14517       -.49654E-06    .19330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3055
  Prefactor  = 21.4404
  Prefactor  = 5.65952
  Prefactor  = 0.0001
  Prefactor  = 11.4209
  norm       = 4.49605
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.1927
  Prefactor  = 21.4748
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.38567
  Prefactor  = 84.7485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.58666
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.862038
  Prefactor  = 1.13701
 **********
 **   18 **HESSE 
 **********

 FCN=   6730.341     FROM HESSE     STATUS=OK           342 CALLS     2764 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.305        8.7606        .11915E-03   -1.5035    
   2  Prefactor     21.440        27.336        .86431E-04   -1.4782    
   3  Prefactor     5.6595        25.664        .16925E-03   -1.5232    
   4  Prefactor     .10000E-03    6.1388        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.421        7.0545        .11854E-03   -1.5032    
   6  norm          4.4960        6.2129        .18989E-03   -1.5284    
   7  Prefactor     .10000E-03    20.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    45.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.8703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.193        47.099        .78266E-04   -1.4684    
  11  Prefactor     21.475        30.616        .86429E-04   -1.4781    
  12  Prefactor     .10000E-03    6.1777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    140.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3857        1.2284        .82880E-04   -1.5473    
  15  Prefactor     84.748        16.114        .43637E-04   -1.3864    
  16  Prefactor     .10000E-03    30.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.7351        .17233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.5867        69.478        .16816E-02   -1.5456    
  19  Prefactor     .10000E-03    6.9799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.5541        .99645E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .86204        .28004        .36701E-03   -.97807    
  22  Prefactor     1.1370        .16758        .19957E-03   -.88292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2131e-10
Minuit parameter uncertainties:
  1  8.7616
  2  27.3518
  3  24.1207
  4  2.02419e-05
  5  7.05499
  6  6.21379
  7  3.17865e-06
  8  2.27221e-05
  9  1.21505e-05
  10  47.1654
  11  30.6387
  12  2.84332e-05
  13  8.47061e-06
  14  1.22843
  15  16.1147
  16  2.04265e-05
  17  6.35694e-06
  18  21.0243
  19  3.54881e-06
  20  8.73692e-07
  21  0.280507
  22  0.167653
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  2.272e-05  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.285e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.137e+00  1.677e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  8.620e-01  2.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/617439/likelihoodResults_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.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) = 6730.34133935
delta logL = -0.000103620946902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6730.34123609
delta logL = -3.64118022844e-07

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     '    2.5210       1.0000          .0000       10.000    
     3 'Normalizat'    .86204       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6040E+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=   6730.341     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      275 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10180E-03    195.33        .18142E-02** at limit **
   2  Index         2.4539        8.4874        .50000        .78209E-05
   3  Normalizat    .86204        .13047E-01    .36701E-03    .17644E-03
   4  Prefactor     1.1370        .80898E-02    .19957E-03    .35432E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101796
  Index      = 2.45389
  Normalizat = 0.862038
  Prefactor  = 1.13701
 **********
 **   18 **HESSE 
 **********

 FCN=   6730.341     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10180E-03    834.54        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4539        6.8232        .50000       -.53428    
   3  Normalizat    .86204        .27784E-01    .14680E-04   -.97807    
   4  Prefactor     1.1370        .17228E-01    .39915E-04   -.88292    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.82753e-09
Minuit parameter uncertainties:
  1  0.0785569
  2  607.003
  3  0.0277847
  4  0.017228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617439': 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) = 6730.34123598
delta logL = -2.56669409282e-07

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.018e-04  7.856e-02  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.454e+00  6.070e+02  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.137e+00  1.723e-02  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  8.620e-01  2.778e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 168.405 -19.336

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/617439/cmap_HighResolution_644198401_644457601_4FGL_J1113.6-1920_daily_bin1562.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-03', job_status='DONE', photon_flux_upper_limit='7.15e-08', time_completed='2021-09-03 13:41:52.159422', job_id='617439', GAL2='1.14', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1630701712.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='-2.57e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1562' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:41:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 617439: <4FGL_J1113.6-1920_daily_bin1562> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1562> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 13:26:43 2021
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:28:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 13:28:53 2021
Terminated at Fri Sep  3 13:41:52 2021
Results reported at Fri Sep  3 13:41:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1562 168.405 -19.3359 644198401 644457601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1113.6-1920 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   590.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            909 sec.

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

