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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1541
RA = 168.405, Dec = -19.3359
tmin = 638755201, tmax = 639014401
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='617411', job_status='RUN', time_executed='2021-09-03 13:29:14.402767', time_epoch_executed='1630700954.4' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1541'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617411

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617411/ft1_4FGL_J1113.6-1920_daily_bin1541.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617411/ft2_4FGL_J1113.6-1920_daily_bin1541.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617411/ft1_4FGL_J1113.6-1920_daily_bin1541.fits outfile=/scratch/kocevski/617411/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1541.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=638755201.0 tmax=639014401.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 5.42
user 5.12
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617411/ft1_filtered_4FGL_J1113.6-1920_daily_bin1541.fits" evtable="EVENTS" scfile=/scratch/kocevski/617411/ft2_4FGL_J1113.6-1920_daily_bin1541.fits sctable="SC_DATA" outfile=/scratch/kocevski/617411/ltcube_638755201_639014401_4FGL_J1113.6-1920_daily_bin1541.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/617411/ft2_4FGL_J1113.6-1920_daily_bin1541.fits
.....................!
real 16.09
user 15.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617411/ft1_filtered_4FGL_J1113.6-1920_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/617411/ft2_4FGL_J1113.6-1920_daily_bin1541.fits sctable="SC_DATA" expcube=/scratch/kocevski/617411/ltcube_638755201_639014401_4FGL_J1113.6-1920_daily_bin1541.fits outfile=/scratch/kocevski/617411/expmap_638755201_639014401_4FGL_J1113.6-1920_daily_bin1541.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/617411/ltcube_638755201_639014401_4FGL_J1113.6-1920_daily_bin1541.fits
.....................!
real 192.49
user 186.24
sys 5.44

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/617411/ft1_filtered_4FGL_J1113.6-1920_daily_bin1541.fits scfile=/scratch/kocevski/617411/ft2_4FGL_J1113.6-1920_daily_bin1541.fits outfile=/scratch/kocevski/617411/cmap_638755201_639014401_4FGL_J1113.6-1920_daily_bin1541.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/617411/ft1_filtered_4FGL_J1113.6-1920_daily_bin1541.fits scfile=/scratch/kocevski/617411/ft2_4FGL_J1113.6-1920_daily_bin1541.fits outfile=/scratch/kocevski/617411/cmap_HighResolution_638755201_639014401_4FGL_J1113.6-1920_daily_bin1541.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.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    36.412       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.6012       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.033       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    124.76       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.692       1.0000         .10000E-03   10000.    
    14 'norm      '    .59436       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.604       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .24036E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.460       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .71952       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2586       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=   4628.752     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2328 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9952       -.88969E-07** at limit **
   2  Prefactor     36.414        23.563       -.16699E-06   -.16956E-04
   3  Prefactor     .10000E-03    22.364       -.51053E-06** at limit **
   4  Prefactor     .10000E-03    4.1145       -.16352E-06** at limit **
   5  Prefactor     6.6007        9.7631        .42912E-05   -.26159E-03
   6  norm          .10000E-03    4.0006        .94344E-08** at limit **
   7  Prefactor     .10000E-03    21.947        .50018E-06** at limit **
   8  Prefactor     13.098        128.09        .18315E-05    .65158E-04
   9  Prefactor     .10000E-03    16.752        .46143E-06** at limit **
  10  Prefactor     124.79        106.45        .15860E-05    .64991E-04
  11  Prefactor     .10000E-03    16.912       -.37747E-07** at limit **
  12  Prefactor     .10000E-03    6.6704       -.69180E-07** at limit **
  13  Prefactor     40.713        40.733       -.81308E-08    .67339E-04
  14  norm          .59420        1.0507        .80064E-06    .14234E-02
  15  Prefactor     18.596        16.883        .38223E-06    .69361E-04
  16  Prefactor     .10000E-03    163.70        .88048E-06** at limit **
  17  Prefactor     32.461        13.815        .21923E-06   -.67072E-04
  18  Prefactor     .10000E-03    23.581        .41189E-06** at limit **
  19  Prefactor     .10000E-03    9.5161       -.54505E-07** at limit **
  20  norm          .10000E-03    3.2177       -.42169E-07** at limit **
  21  Normalizat    .71938        .30623       -.31693E-05   -.53454E-04
  22  Prefactor     1.2586        .18006       -.14576E-06   -.88104E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 36.414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.60065
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 13.0984
  Prefactor  = 0.0001
  Prefactor  = 124.795
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.7133
  norm       = 0.594204
  Prefactor  = 18.5956
  Prefactor  = 0.0001
  Prefactor  = 32.4614
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.719379
  Prefactor  = 1.25859
 **********
 **   18 **HESSE 
 **********

 FCN=   4628.752     FROM HESSE     STATUS=OK           334 CALLS     2662 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.0392        .17572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     36.414        23.553        .66416E-04   -1.4500    
   3  Prefactor     .10000E-03    22.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.1319        .13476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.6007        9.4632        .78094E-03   -1.5194    
   6  norm          .10000E-03    4.0136        .13288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.098        128.12        .11095E-03   -1.4984    
   9  Prefactor     .10000E-03    16.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     124.79        106.58        .18019E-03   -1.3469    
  11  Prefactor     .10000E-03    16.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.6782        .17161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     40.713        40.658        .62838E-04   -1.4431    
  14  norm          .59420        .94269        .95840E-03   -1.5554    
  15  Prefactor     18.596        16.833        .92858E-04   -1.4845    
  16  Prefactor     .10000E-03    165.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     32.461        13.807        .70331E-04   -1.4568    
  18  Prefactor     .10000E-03    23.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.5324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.2571        .11917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .71938        .34032        .40724E-03   -1.0313    
  22  Prefactor     1.2586        .20199        .19252E-03   -.84547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.67039e-10
Minuit parameter uncertainties:
  1  1.61714e-05
  2  23.5585
  3  6.50951e-05
  4  6.3693e-07
  5  9.46535
  6  5.93209e-06
  7  0.000220068
  8  82.1606
  9  3.85099e-05
  10  106.749
  11  5.94922e-06
  12  3.25178e-06
  13  40.6861
  14  0.942711
  15  16.837
  16  7.61566e-05
  17  13.8086
  18  0.000220189
  19  2.78337e-06
  20  4.6144e-06
  21  0.341325
  22  0.202118
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.310e+01  8.216e+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.259e+00  2.021e-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:  7.194e-01  3.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/617411/likelihoodResults_638755201_639014401_4FGL_J1113.6-1920_daily_bin1541.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) = 4628.56989868
delta logL = 0.182429731741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4628.5694748
delta logL = 0.182853615484

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.479       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4422       1.0000          .0000       10.000    
     3 'Normalizat'    .72919       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2514       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.

 FCN=   4628.569     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      241 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.012        155.83        .14398E-02    .77341E-04
   2  Index         1.4438        1.2847        .30503       -.17039E-04
   3  Normalizat    .72908        .29493        .91346E-01    .28729E-04
   4  Prefactor     1.2514        .17946        .33515E-01   -.28076E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.0119
  Index      = 1.44385
  Normalizat = 0.72908
  Prefactor  = 1.25143
 **********
 **   18 **HESSE 
 **********

 FCN=   4628.569     FROM HESSE     STATUS=OK            31 CALLS      272 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.012        98.188        .57592E-04   -1.4307    
   2  Index         1.4438        .95554        .15257E-01   -.79125    
   3  Normalizat    .72908        .32535        .40468E-03   -1.0276    
   4  Prefactor     1.2514        .19986        .19291E-03   -.84763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26758e-10
Minuit parameter uncertainties:
  1  98.5148
  2  0.967722
  3  0.326217
  4  0.199979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617411': 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) = 4628.56946026
delta logL = 0.18286815077

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  4.901e+01  9.851e+01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  1.444e+00  9.677e-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:  1.251e+00  2.000e-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:  7.291e-01  3.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/617411/cmap_HighResolution_638755201_639014401_4FGL_J1113.6-1920_daily_bin1541.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.59e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-09-03 13:39:21.271094', job_id='617411', GAL2='1.25', fit_tolerance='1e-08', EG2='0.73', EG='0.72', time_epoch_completed='1630701561.27', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='1.83e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1541' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:39:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 617411: <4FGL_J1113.6-1920_daily_bin1541> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1541 168.405 -19.3359 638755201 639014401 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 :                                   585.55 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   644 sec.
    Turnaround time :                            761 sec.

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

