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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1025
RA = 168.405, Dec = -19.3359
tmin = 505008001, tmax = 505267201
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='615664', job_status='RUN', time_executed='2021-09-03 13:22:07.623747', time_epoch_executed='1630700527.62' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615664

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615664/ft1_4FGL_J1113.6-1920_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615664/ft2_4FGL_J1113.6-1920_daily_bin1025.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615664/ft1_4FGL_J1113.6-1920_daily_bin1025.fits outfile=/scratch/kocevski/615664/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1025.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=505008001.0 tmax=505267201.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.70
user 4.36
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615664/ft1_filtered_4FGL_J1113.6-1920_daily_bin1025.fits" evtable="EVENTS" scfile=/scratch/kocevski/615664/ft2_4FGL_J1113.6-1920_daily_bin1025.fits sctable="SC_DATA" outfile=/scratch/kocevski/615664/ltcube_505008001_505267201_4FGL_J1113.6-1920_daily_bin1025.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/615664/ft2_4FGL_J1113.6-1920_daily_bin1025.fits
.....................!
real 18.38
user 17.90
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615664/ft1_filtered_4FGL_J1113.6-1920_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/615664/ft2_4FGL_J1113.6-1920_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/615664/ltcube_505008001_505267201_4FGL_J1113.6-1920_daily_bin1025.fits outfile=/scratch/kocevski/615664/expmap_505008001_505267201_4FGL_J1113.6-1920_daily_bin1025.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/615664/ltcube_505008001_505267201_4FGL_J1113.6-1920_daily_bin1025.fits
.....................!
real 196.10
user 189.95
sys 5.41

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/615664/ft1_filtered_4FGL_J1113.6-1920_daily_bin1025.fits scfile=/scratch/kocevski/615664/ft2_4FGL_J1113.6-1920_daily_bin1025.fits outfile=/scratch/kocevski/615664/cmap_505008001_505267201_4FGL_J1113.6-1920_daily_bin1025.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.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615664/ft1_filtered_4FGL_J1113.6-1920_daily_bin1025.fits scfile=/scratch/kocevski/615664/ft2_4FGL_J1113.6-1920_daily_bin1025.fits outfile=/scratch/kocevski/615664/cmap_HighResolution_505008001_505267201_4FGL_J1113.6-1920_daily_bin1025.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/615664/ft1_filtered_4FGL_J1113.6-1920_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/615664/ft2_4FGL_J1113.6-1920_daily_bin1025.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615664/Model_4FGL_J1113.6-1920_daily_bin1025.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/615664/ft1_filtered_4FGL_J1113.6-1920_daily_bin1025.fits.....................!
real 77.67
user 76.07
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1963       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25212E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0538       1.0000         .10000E-03   10000.    
     6 'norm      '    12.846       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.460       1.0000         .10000E-03   10000.    
     8 'Prefactor '    93.369       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.493       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.032       1.0000         .10000E-03   10000.    
    13 'Prefactor '    57.180       1.0000         .10000E-03   10000.    
    14 'norm      '    .10110E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1653       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.6074       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1809       1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0803       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98049       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=   8741.982     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2354 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1963        5.2737        .21351E-07    .55145E-05
   2  Prefactor     .10000E-03    3.2125       -.38624E-07** at limit **
   3  Prefactor     .10000E-03    2.7916       -.34290E-07** at limit **
   4  Prefactor     .10000E-03    2.7872       -.11906E-06** at limit **
   5  Prefactor     2.0540        2.4483        .75865E-07    .37572E-04
   6  norm          12.848        6.1053        .11015E-06   -.47107E-05
   7  Prefactor     11.483        24.984       -.17103E-05   -.11577E-04
   8  Prefactor     93.224        89.936        .58192E-05    .46166E-04
   9  Prefactor     .10000E-03    13.104       -.28101E-07** at limit **
  10  Prefactor     .10000E-03    37.568       -.14687E-06** at limit **
  11  Prefactor     38.493        29.464        .35726E-07    .10129E-05
  12  Prefactor     14.033        10.961        .97369E-07   -.77634E-05
  13  Prefactor     57.189        44.525       -.73063E-06   -.57832E-04
  14  norm          .10000E-03    .31126        .54498E-06** at limit **
  15  Prefactor     1.1692        8.2192        .19343E-06   -.27572E-04
  16  Prefactor     .10000E-03    11.894       -.83831E-07** at limit **
  17  Prefactor     3.6072        4.1055        .32584E-07    .68712E-05
  18  Prefactor     .10000E-03    6.9019       -.39538E-08** at limit **
  19  Prefactor     5.1810        5.8242        .35075E-07    .37804E-05
  20  norm          .10000E-03    1.7194       -.56438E-07** at limit **
  21  Normalizat    1.0799        .19477       -.28032E-05    .39577E-04
  22  Prefactor     .98076        .11896        .15316E-05   -.22762E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.19634
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.05402
  norm       = 12.8483
  Prefactor  = 11.4833
  Prefactor  = 93.2242
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.493
  Prefactor  = 14.0334
  Prefactor  = 57.1893
  norm       = 0.0001
  Prefactor  = 1.16918
  Prefactor  = 0.0001
  Prefactor  = 3.60721
  Prefactor  = 0.0001
  Prefactor  = 5.181
  norm       = 0.0001
  Normalizat = 1.0799
  Prefactor  = 0.980758
 **********
 **   18 **HESSE 
 **********

 FCN=   8741.982     FROM HESSE     STATUS=OK           342 CALLS     2696 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1963        5.2738        .14953E-03   -1.5171    
   2  Prefactor     .10000E-03    3.2174        .16365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.7952        .15256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.0489        .30085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.0540        2.4361        .15465E-03   -1.5421    
   6  norm          12.848        6.1117        .11176E-03   -1.4991    
   7  Prefactor     11.483        25.052        .11834E-03   -1.5030    
   8  Prefactor     93.224        90.872        .20796E-03   -1.3774    
   9  Prefactor     .10000E-03    13.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    37.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     38.493        29.454        .64601E-04   -1.4466    
  12  Prefactor     14.033        10.957        .10692E-03   -1.4959    
  13  Prefactor     57.189        44.724        .53052E-04   -1.4194    
  14  norm          .10000E-03    .32430        .10206E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1692        8.3255        .21301E-02   -1.5492    
  16  Prefactor     .10000E-03    11.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.6072        4.0989        .19457E-03   -1.5328    
  18  Prefactor     .10000E-03    6.9036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.1810        5.8189        .17661E-03   -1.5253    
  20  norm          .10000E-03    1.7499        .11960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0799        .21762        .29644E-03   -.90400    
  22  Prefactor     .98076        .13349        .19531E-03   -.93374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77966e-09
Minuit parameter uncertainties:
  1  5.27417
  2  6.84695e-07
  3  6.7499e-07
  4  7.38014e-05
  5  2.4362
  6  6.11199
  7  25.0753
  8  91.0079
  9  1.60812e-05
  10  4.23204e-07
  11  29.4654
  12  10.9589
  13  44.7505
  14  2.03609e-06
  15  6.24083
  16  8.00837e-07
  17  4.09927
  18  3.5373e-08
  19  5.8195
  20  2.49449e-07
  21  0.217801
  22  0.133537
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  9.322e+01  9.101e+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:  9.808e-01  1.335e-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.080e+00  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.71
Ra Dec: 168.405 -19.336
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 4.04e-08 +/- 3.94e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.53e-05

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

Saving results to:
/scratch/kocevski/615664/likelihoodResults_505008001_505267201_4FGL_J1113.6-1920_daily_bin1025.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) = 8741.40301162
delta logL = 0.578969918593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8741.37389496
delta logL = 0.608086580587

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.853       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3044       1.0000          .0000       10.000    
     3 'Normalizat'    1.0221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0057       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=   8741.374     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      329 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.800        375.14        .92243E-04    .10008E-03
   2  Index         3.3058        3.5550        .45576E-02    .11297E-03
   3  Normalizat    1.0199        .21448        .30387E-03    .49548E-03
   4  Prefactor     1.0070        .13135        .19303E-03   -.13738E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.7998
  Index      = 3.30581
  Normalizat = 1.01988
  Prefactor  = 1.00704
 **********
 **   18 **HESSE 
 **********

 FCN=   8741.374     FROM HESSE     STATUS=OK            25 CALLS      354 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.800        53.637        .36897E-05   -1.4841    
   2  Index         3.3058        1.2664        .18231E-03   -.34568    
   3  Normalizat    1.0199        .21981        .60774E-04   -.92367    
   4  Prefactor     1.0070        .13618        .38607E-04   -.92495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.83508e-09
Minuit parameter uncertainties:
  1  53.7747
  2  1.28218
  3  0.220008
  4  0.13623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615664': 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) = 8741.37383892
delta logL = 0.608142619394

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.880e+01  5.377e+01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  3.306e+00  1.282e+00  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.007e+00  1.362e-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.020e+00  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.07
Ra Dec: 168.405 -19.336
Photon Index (Free Index): 3.31 +/- 1.28
Photon Flux (Free Index): 7.66e-08 +/- 5.33e-08
Energy Flux (Free Index): 1.35e-05 +/- 9.43e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/615664/cmap_HighResolution_505008001_505267201_4FGL_J1113.6-1920_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.77e-03', comment='SUCCESS', photon_flux='4.04e-08', energy_flux2='1.35e-05', photon_flux_error='3.94e-08', dlogl='6.08e-01', energy_flux='1.57e-05', photon_flux2='7.66e-08', job_status='DONE', time_completed='2021-09-03 13:36:32.633015', photon_index_error2='1.28', photon_index2='3.31', ts='1.71', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='9.43e-06', EG='1.08', time_epoch_completed='1630701392.63', return_code='0', job_id='615664', GAL2='1.01', EG2='1.02', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='5.33e-08', ts2='3.07', photon_index='2.29' WHERE bin_id='1025' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:36:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 615664: <4FGL_J1113.6-1920_daily_bin1025> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1025 168.405 -19.3359 505008001 505267201 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 :                                   861.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             356.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            900 sec.

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

