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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin999
RA = 168.405, Dec = -19.3359
tmin = 498268801, tmax = 498528001
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='615624', job_status='RUN', time_executed='2021-09-03 13:25:30.784015', time_epoch_executed='1630700730.78' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='999'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615624

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615624/ft1_4FGL_J1113.6-1920_daily_bin999.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615624/ft2_4FGL_J1113.6-1920_daily_bin999.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615624/ft1_4FGL_J1113.6-1920_daily_bin999.fits outfile=/scratch/kocevski/615624/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin999.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=498268801.0 tmax=498528001.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.89
user 4.61
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/615624/ft2_4FGL_J1113.6-1920_daily_bin999.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/615624/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin999.fits evtable="EVENTS" outfile="/scratch/kocevski/615624/ft1_filtered_4FGL_J1113.6-1920_daily_bin999.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.54
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615624/ft1_filtered_4FGL_J1113.6-1920_daily_bin999.fits" evtable="EVENTS" scfile=/scratch/kocevski/615624/ft2_4FGL_J1113.6-1920_daily_bin999.fits sctable="SC_DATA" outfile=/scratch/kocevski/615624/ltcube_498268801_498528001_4FGL_J1113.6-1920_daily_bin999.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/615624/ft2_4FGL_J1113.6-1920_daily_bin999.fits
.....................!
real 18.41
user 18.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615624/ft1_filtered_4FGL_J1113.6-1920_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/615624/ft2_4FGL_J1113.6-1920_daily_bin999.fits sctable="SC_DATA" expcube=/scratch/kocevski/615624/ltcube_498268801_498528001_4FGL_J1113.6-1920_daily_bin999.fits outfile=/scratch/kocevski/615624/expmap_498268801_498528001_4FGL_J1113.6-1920_daily_bin999.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/615624/ltcube_498268801_498528001_4FGL_J1113.6-1920_daily_bin999.fits
.....................!
real 192.50
user 187.71
sys 4.21

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/615624/ft1_filtered_4FGL_J1113.6-1920_daily_bin999.fits scfile=/scratch/kocevski/615624/ft2_4FGL_J1113.6-1920_daily_bin999.fits outfile=/scratch/kocevski/615624/cmap_498268801_498528001_4FGL_J1113.6-1920_daily_bin999.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.58
user 0.40
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/615624/ft1_filtered_4FGL_J1113.6-1920_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/615624/ft2_4FGL_J1113.6-1920_daily_bin999.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615624/Model_4FGL_J1113.6-1920_daily_bin999.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/615624/ft1_filtered_4FGL_J1113.6-1920_daily_bin999.fits......................!
real 34.80
user 33.45
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5557       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9668       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.5921       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    220.10       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.768       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.770       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.709       1.0000         .10000E-03   10000.    
    20 'norm      '    .94187       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0966       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69121       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=   2955.486     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2321 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5508        17.807       -.11828E-06   -.96483E-04
   2  Prefactor     .10000E-03    12.922       -.18953E-05** at limit **
   3  Prefactor     .10000E-03    20.508        .18716E-05** at limit **
   4  Prefactor     5.9684        11.822        .86832E-06   -.10362E-04
   5  Prefactor     .10000E-03    3.5162        .76030E-07** at limit **
   6  norm          8.5921        10.250        .52938E-06   -.27714E-04
   7  Prefactor     .10000E-03    22.098        .20323E-05** at limit **
   8  Prefactor     220.14        155.67        .64844E-05    .83272E-04
   9  Prefactor     .10000E-03    9.8985        .16535E-05** at limit **
  10  Prefactor     .10000E-03    26.081       -.14218E-05** at limit **
  11  Prefactor     .10000E-03    20.617        .18240E-05** at limit **
  12  Prefactor     10.768        12.517        .12419E-06   -.21168E-04
  13  Prefactor     .10000E-03    27.187       -.33886E-05** at limit **
  14  norm          .10000E-03    1.3164        .34077E-06** at limit **
  15  Prefactor     22.772        14.166        .23286E-06   -.53354E-04
  16  Prefactor     .10000E-03    15.110       -.18417E-05** at limit **
  17  Prefactor     .10000E-03    7.2871       -.13862E-06** at limit **
  18  Prefactor     .10000E-03    22.451        .18637E-05** at limit **
  19  Prefactor     12.730        31.054       -.38321E-07    .35829E-03
  20  norm          .92923        25.888       -.33158E-05    .62748E-03
  21  Normalizat    1.0964        .29815       -.32634E-05   -.10213E-03
  22  Prefactor     .69131        .17070       -.10373E-05   -.19485E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.5508
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 5.96843
  Prefactor  = 0.0001
  norm       = 8.59211
  Prefactor  = 0.0001
  Prefactor  = 220.135
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7678
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 22.7717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.73
  norm       = 0.929229
  Normalizat = 1.09638
  Prefactor  = 0.691313
 **********
 **   18 **HESSE 
 **********

 FCN=   2955.486     FROM HESSE     STATUS=OK           336 CALLS     2657 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5508        17.832        .12964E-03   -1.5090    
   2  Prefactor     .10000E-03    12.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.9684        11.852        .16439E-03   -1.5219    
   5  Prefactor     .10000E-03    3.5402        .99555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.5921        10.263        .13675E-03   -1.5122    
   7  Prefactor     .10000E-03    22.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     220.14        156.48        .13632E-03   -1.2730    
   9  Prefactor     .10000E-03    9.9752        .16761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.768        12.520        .12210E-03   -1.5052    
  13  Prefactor     .10000E-03    27.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.0029        .11970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.772        14.193        .83942E-04   -1.4753    
  16  Prefactor     .10000E-03    15.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.3442        .14324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    22.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.730        40.044        .11236E-03   -1.4994    
  20  norm          .92923        57.164        .26555E-02   -1.5515    
  21  Normalizat    1.0964        .36293        .27183E-03   -.89868    
  22  Prefactor     .69131        .20969        .19719E-03   -1.0387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6167e-09
Minuit parameter uncertainties:
  1  17.8419
  2  0.000139679
  3  0.000219917
  4  11.8562
  5  8.26199e-06
  6  10.2655
  7  0.000179271
  8  156.776
  9  0.000124636
  10  0.000151511
  11  0.000192157
  12  12.5227
  13  0.000384938
  14  1.32486e-05
  15  14.1948
  16  0.000148495
  17  2.46525e-05
  18  0.00021153
  19  40.1291
  20  14.5903
  21  0.36376
  22  0.209931
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  2.201e+02  1.568e+02  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:  6.913e-01  2.099e-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.096e+00  3.638e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.09
Ra Dec: 168.405 -19.336
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 9.54e-08 +/- 6.79e-08
Energy Flux (Fixed Index): 3.70e-05 +/- 2.63e-05

TS (Fixed Index): 3.09
Ra Dec: 168.405 -19.336
Photon Flux Upper Limit: 2.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.85e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/615624/likelihoodResults_498268801_498528001_4FGL_J1113.6-1920_daily_bin999.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) = 2955.4782805
delta logL = 0.00752162955541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2955.46922095
delta logL = 0.0165811776224

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    250.62       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1908       1.0000          .0000       10.000    
     3 'Normalizat'    1.1031       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68818       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=   2955.469     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      252 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     250.64        247.83        .12795E-03   -.12647E-03
   2  Index         2.1906        .52792        .42441E-02   -.20330E-03
   3  Normalizat    1.1040        .35404        .27102E-03    .62230E-04
   4  Prefactor     .68761        .20881        .19764E-03    .19587E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 250.637
  Index      = 2.19064
  Normalizat = 1.10395
  Prefactor  = 0.687608
 **********
 **   18 **HESSE 
 **********

 FCN=   2955.469     FROM HESSE     STATUS=OK            23 CALLS      275 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     250.64        238.52        .25590E-04   -1.2528    
   2  Index         2.1906        .50785        .16976E-03   -.59665    
   3  Normalizat    1.1040        .35424        .10841E-04   -.89625    
   4  Prefactor     .68761        .20892        .39528E-04   -1.0401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99445e-10
Minuit parameter uncertainties:
  1  239.454
  2  0.50913
  3  0.355004
  4  0.209161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615624': 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) = 2955.46921717
delta logL = 0.016584956099

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  2.506e+02  2.395e+02  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.191e+00  5.091e-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:  6.876e-01  2.092e-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.104e+00  3.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.11
Ra Dec: 168.405 -19.336
Photon Index (Free Index): 2.19 +/- 0.51
Photon Flux (Free Index): 9.02e-08 +/- 7.10e-08
Energy Flux (Free Index): 4.12e-05 +/- 3.87e-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/615624/cmap_HighResolution_498268801_498528001_4FGL_J1113.6-1920_daily_bin999.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.85e-02', comment='SUCCESS', photon_flux='9.54e-08', energy_flux2='4.12e-05', photon_flux_error='6.79e-08', dlogl='1.66e-02', energy_flux='3.70e-05', photon_flux2='9.02e-08', job_status='DONE', time_completed='2021-09-03 13:33:55.618299', photon_index_error2='0.51', photon_index2='2.19', ts='3.09', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='2.42e-07', energy_flux_error2='3.87e-05', EG='1.10', time_epoch_completed='1630701235.62', return_code='0', job_id='615624', GAL2='0.69', EG2='1.10', return_code2='0', energy_flux_error='2.63e-05', photon_flux_error2='7.10e-08', ts2='3.11', photon_index='2.29' WHERE bin_id='999' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:33:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 615624: <4FGL_J1113.6-1920_daily_bin999> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin999> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 13:21:30 2021
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:21:46 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:21:46 2021
Terminated at Fri Sep  3 13:33:56 2021
Results reported at Fri Sep  3 13:33:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin999 168.405 -19.3359 498268801 498528001 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 :                                   501.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             266.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            746 sec.

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

