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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1318
RA = 168.405, Dec = -19.3359
tmin = 580953601, tmax = 581212801
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='617090', job_status='RUN', time_executed='2021-09-03 13:26:58.563211', time_epoch_executed='1630700818.56' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1318'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617090

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617090/ft1_4FGL_J1113.6-1920_daily_bin1318.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617090/ft2_4FGL_J1113.6-1920_daily_bin1318.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617090/ft1_4FGL_J1113.6-1920_daily_bin1318.fits outfile=/scratch/kocevski/617090/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1318.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=580953601.0 tmax=581212801.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.03
user 2.80
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/617090/ft2_4FGL_J1113.6-1920_daily_bin1318.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/617090/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1318.fits evtable="EVENTS" outfile="/scratch/kocevski/617090/ft1_filtered_4FGL_J1113.6-1920_daily_bin1318.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.58
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617090/ft1_filtered_4FGL_J1113.6-1920_daily_bin1318.fits" evtable="EVENTS" scfile=/scratch/kocevski/617090/ft2_4FGL_J1113.6-1920_daily_bin1318.fits sctable="SC_DATA" outfile=/scratch/kocevski/617090/ltcube_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.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/617090/ft2_4FGL_J1113.6-1920_daily_bin1318.fits
.....................!
real 18.79
user 18.25
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617090/ft1_filtered_4FGL_J1113.6-1920_daily_bin1318.fits evtable="EVENTS" scfile=/scratch/kocevski/617090/ft2_4FGL_J1113.6-1920_daily_bin1318.fits sctable="SC_DATA" expcube=/scratch/kocevski/617090/ltcube_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.fits outfile=/scratch/kocevski/617090/expmap_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.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/617090/ltcube_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.fits
.....................!
real 195.64
user 188.38
sys 4.73

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/617090/ft1_filtered_4FGL_J1113.6-1920_daily_bin1318.fits scfile=/scratch/kocevski/617090/ft2_4FGL_J1113.6-1920_daily_bin1318.fits outfile=/scratch/kocevski/617090/cmap_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.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.60
user 0.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/617090/ft1_filtered_4FGL_J1113.6-1920_daily_bin1318.fits scfile=/scratch/kocevski/617090/ft2_4FGL_J1113.6-1920_daily_bin1318.fits outfile=/scratch/kocevski/617090/cmap_HighResolution_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.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.57
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/617090/ft1_filtered_4FGL_J1113.6-1920_daily_bin1318.fits evtable="EVENTS" scfile=/scratch/kocevski/617090/ft2_4FGL_J1113.6-1920_daily_bin1318.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617090/Model_4FGL_J1113.6-1920_daily_bin1318.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/617090/ft1_filtered_4FGL_J1113.6-1920_daily_bin1318.fits.....................!
real 59.62
user 57.61
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/617090/ft1_filtered_4FGL_J1113.6-1920_daily_bin1318.fits', '/scratch/kocevski/617090/ft2_4FGL_J1113.6-1920_daily_bin1318.fits', expMap='/scratch/kocevski/617090/expmap_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.fits', expCube='/scratch/kocevski/617090/ltcube_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/617090/Model_4FGL_J1113.6-1920_daily_bin1318.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/617090/ft1_filtered_4FGL_J1113.6-1920_daily_bin1318.fits
Spacecraft file(s): /scratch/kocevski/617090/ft2_4FGL_J1113.6-1920_daily_bin1318.fits
Exposure map: /scratch/kocevski/617090/expmap_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.fits
Exposure cube: /scratch/kocevski/617090/ltcube_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/617090/Model_4FGL_J1113.6-1920_daily_bin1318.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) = 6082.81215839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3994       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7500       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.401       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8374       1.0000         .10000E-03   10000.    
     6 'norm      '    9.9011       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    95.998       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10817E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11319E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11057E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .57208E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10320E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8990       1.0000         .10000E-03   10000.    
    20 'norm      '    3.4604       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0520       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0054       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=   6082.808     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2336 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4016        6.7969        .53336E-07   -.25688E-05
   2  Prefactor     1.7501        17.642       -.22350E-06    .23678E-05
   3  Prefactor     19.404        13.680        .32256E-07   -.53830E-06
   4  Prefactor     .10000E-03    2.4854        .51131E-07** at limit **
   5  Prefactor     1.8386        4.7306       -.43977E-06   -.10363E-04
   6  norm          9.9018        5.9991        .51222E-07   -.16118E-04
   7  Prefactor     .10000E-03    12.907       -.43824E-06** at limit **
   8  Prefactor     96.046        82.540        .46271E-05    .23843E-04
   9  Prefactor     .10000E-03    11.520        .64355E-06** at limit **
  10  Prefactor     .10000E-03    26.994        .12049E-05** at limit **
  11  Prefactor     .10000E-03    13.279       -.22854E-06** at limit **
  12  Prefactor     .10000E-03    10.106       -.10301E-06** at limit **
  13  Prefactor     .10000E-03    15.251       -.72861E-06** at limit **
  14  norm          .10000E-03    .50447       -.99580E-07** at limit **
  15  Prefactor     .10000E-03    36.814       -.71945E-05** at limit **
  16  Prefactor     .10000E-03    11.972        .41321E-06** at limit **
  17  Prefactor     .10000E-03    4.1667        .27479E-07** at limit **
  18  Prefactor     .10000E-03    27.371        .94097E-06** at limit **
  19  Prefactor     4.8961        13.417       -.15045E-05   -.19842E-04
  20  norm          3.4605        3.8009        .17900E-06    .10783E-04
  21  Normalizat    1.0518        .21648       -.74522E-06    .17203E-04
  22  Prefactor     1.0054        .13170       -.17262E-07    .16949E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.40162
  Prefactor  = 1.75014
  Prefactor  = 19.404
  Prefactor  = 0.0001
  Prefactor  = 1.83856
  norm       = 9.90179
  Prefactor  = 0.0001
  Prefactor  = 96.0463
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.89614
  norm       = 3.46047
  Normalizat = 1.0518
  Prefactor  = 1.00541
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.808     FROM HESSE     STATUS=OK           344 CALLS     2680 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4016        6.7943        .14744E-03   -1.5164    
   2  Prefactor     1.7501        17.654        .31695E-03   -1.5443    
   3  Prefactor     19.404        13.635        .90931E-04   -1.4827    
   4  Prefactor     .10000E-03    2.5018        .12008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8386        4.7087        .25956E-03   -1.5437    
   6  norm          9.9018        6.0002        .12735E-03   -1.5079    
   7  Prefactor     .10000E-03    12.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     96.046        82.884        .20512E-03   -1.3745    
   9  Prefactor     .10000E-03    11.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.0057        .10525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    36.549        .34079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.1943        .15545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.8961        13.427        .90863E-03   -1.5265    
  20  norm          3.4605        3.8005        .15016E-03   -1.5336    
  21  Normalizat    1.0518        .25158        .30247E-03   -.91315    
  22  Prefactor     1.0054        .15642        .19232E-03   -.92549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2357e-10
Minuit parameter uncertainties:
  1  6.79503
  2  11.121
  3  13.6375
  4  2.73966e-06
  5  4.70961
  6  6.00061
  7  4.13242e-05
  8  82.9841
  9  9.83123e-06
  10  1.23583e-05
  11  3.33375e-06
  12  1.21725e-05
  13  6.13998e-06
  14  2.94077e-05
  15  0.000100202
  16  4.73308e-06
  17  5.93201e-06
  18  1.60466e-05
  19  13.4349
  20  3.80075
  21  0.251866
  22  0.156493
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  9.605e+01  8.298e+01  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.005e+00  1.565e-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:  1.052e+00  2.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.51
Ra Dec: 168.405 -19.336
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 4.16e-08 +/- 3.59e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.39e-05

TS (Fixed Index): 2.51
Ra Dec: 168.405 -19.336
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/617090/likelihoodResults_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.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) = 6082.62874885
delta logL = 0.179411829477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6082.62830272
delta logL = 0.179857962827

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    137.00       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9288       1.0000          .0000       10.000    
     3 'Normalizat'    1.0663       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99958       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=   6082.628     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      301 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     136.88        126.06        .17205E-03    .43611E-05
   2  Index         1.9280        .56976        .85112E-02    .20442E-03
   3  Normalizat    1.0663        .24928        .30062E-03    .99082E-05
   4  Prefactor     .99965        .15592        .19279E-03   -.11440E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 136.879
  Index      = 1.92795
  Normalizat = 1.06629
  Prefactor  = 0.999649
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.628     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     136.88        124.43        .68821E-05   -1.3363    
   2  Index         1.9280        .56236        .17022E-02   -.66164    
   3  Normalizat    1.0663        .24946        .12025E-04   -.90841    
   4  Prefactor     .99965        .15606        .77115E-05   -.92741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39235e-12
Minuit parameter uncertainties:
  1  124.667
  2  0.564278
  3  0.249738
  4  0.156134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617090': 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) = 6082.62830037
delta logL = 0.179860314159

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.369e+02  1.247e+02  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  1.928e+00  5.643e-01  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:  9.996e-01  1.561e-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:  1.066e+00  2.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 168.405 -19.336
Photon Index (Free Index): 1.93 +/- 0.56
Photon Flux (Free Index): 3.05e-08 +/- 3.28e-08
Energy Flux (Free Index): 2.54e-05 +/- 3.08e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/617090/cmap_HighResolution_580953601_581212801_4FGL_J1113.6-1920_daily_bin1318.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.78e-03', comment='SUCCESS', photon_flux='4.16e-08', energy_flux2='2.54e-05', photon_flux_error='3.59e-08', dlogl='1.80e-01', energy_flux='1.61e-05', photon_flux2='3.05e-08', job_status='DONE', time_completed='2021-09-03 13:38:23.870922', photon_index_error2='0.56', photon_index2='1.93', ts='2.51', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='3.08e-05', EG='1.05', time_epoch_completed='1630701503.87', return_code='0', job_id='617090', GAL2='1.00', EG2='1.07', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='3.28e-08', ts2='2.87', photon_index='2.29' WHERE bin_id='1318' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:38:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0142>
Subject: Job 617090: <4FGL_J1113.6-1920_daily_bin1318> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1318> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 13:26:18 2021
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:26:42 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:26:42 2021
Terminated at Fri Sep  3 13:38:24 2021
Results reported at Fri Sep  3 13:38:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1318 168.405 -19.3359 580953601 581212801 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 :                                   678.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            726 sec.

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

