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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1026
RA = 168.405, Dec = -19.3359
tmin = 505267201, tmax = 505526401
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='615666', job_status='RUN', time_executed='2021-09-03 13:22:37.277244', time_epoch_executed='1630700557.28' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1026'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615666

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615666/ft1_4FGL_J1113.6-1920_daily_bin1026.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615666/ft2_4FGL_J1113.6-1920_daily_bin1026.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615666/ft1_4FGL_J1113.6-1920_daily_bin1026.fits outfile=/scratch/kocevski/615666/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1026.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=505267201.0 tmax=505526401.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.59
user 3.36
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1026.fits" evtable="EVENTS" scfile=/scratch/kocevski/615666/ft2_4FGL_J1113.6-1920_daily_bin1026.fits sctable="SC_DATA" outfile=/scratch/kocevski/615666/ltcube_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.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/615666/ft2_4FGL_J1113.6-1920_daily_bin1026.fits
.....................!
real 16.05
user 15.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1026.fits evtable="EVENTS" scfile=/scratch/kocevski/615666/ft2_4FGL_J1113.6-1920_daily_bin1026.fits sctable="SC_DATA" expcube=/scratch/kocevski/615666/ltcube_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.fits outfile=/scratch/kocevski/615666/expmap_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.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/615666/ltcube_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.fits
.....................!
real 192.31
user 187.76
sys 4.08

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/615666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1026.fits scfile=/scratch/kocevski/615666/ft2_4FGL_J1113.6-1920_daily_bin1026.fits outfile=/scratch/kocevski/615666/cmap_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1026.fits scfile=/scratch/kocevski/615666/ft2_4FGL_J1113.6-1920_daily_bin1026.fits outfile=/scratch/kocevski/615666/cmap_HighResolution_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.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.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/615666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1026.fits evtable="EVENTS" scfile=/scratch/kocevski/615666/ft2_4FGL_J1113.6-1920_daily_bin1026.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615666/Model_4FGL_J1113.6-1920_daily_bin1026.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/615666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1026.fits.....................!
real 71.34
user 70.03
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/615666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1026.fits', '/scratch/kocevski/615666/ft2_4FGL_J1113.6-1920_daily_bin1026.fits', expMap='/scratch/kocevski/615666/expmap_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.fits', expCube='/scratch/kocevski/615666/ltcube_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/615666/Model_4FGL_J1113.6-1920_daily_bin1026.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/615666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1026.fits
Spacecraft file(s): /scratch/kocevski/615666/ft2_4FGL_J1113.6-1920_daily_bin1026.fits
Exposure map: /scratch/kocevski/615666/expmap_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.fits
Exposure cube: /scratch/kocevski/615666/ltcube_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/615666/Model_4FGL_J1113.6-1920_daily_bin1026.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8166.22100052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.190       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.247       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.641       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5772       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3504       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10537E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .33793E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15131E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14524E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .13817       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.789       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4982       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .53764       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86465       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0638       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=   8165.974     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2178 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5883       -.31267E-07** at limit **
   2  Prefactor     10.190        13.680        .21501E-05    .24286E-06
   3  Prefactor     11.249        14.442       -.68319E-06   -.44266E-04
   4  Prefactor     .10000E-03    3.3304        .57989E-08** at limit **
   5  Prefactor     .10000E-03    2.7428        .58743E-07** at limit **
   6  norm          12.639        6.7294        .11723E-06    .19150E-04
   7  Prefactor     5.5560        33.638        .57608E-05   -.19856E-04
   8  Prefactor     2.4224        302.46        .14886E-04    .58268E-04
   9  Prefactor     .10000E-03    21.679       -.21873E-06** at limit **
  10  Prefactor     .10004E-03    846.09       -.22562E-04** at limit **
  11  Prefactor     .11562E-03    17.004        .30371E-05** at limit **
  12  Prefactor     .10000E-03    2.6988        .36070E-07** at limit **
  13  Prefactor     .10000E-03    41.248       -.42225E-06** at limit **
  14  norm          .13839        .52105        .24365E-06   -.78970E-03
  15  Prefactor     19.791        9.9555       -.20393E-08   -.60941E-04
  16  Prefactor     .10000E-03    10.267        .74042E-07** at limit **
  17  Prefactor     4.4985        4.4625        .23899E-06   -.86509E-04
  18  Prefactor     .10000E-03    27.021       -.16139E-07** at limit **
  19  Prefactor     .10000E-03    4.0479       -.70742E-07** at limit **
  20  norm          .53840        1.5722        .65724E-06    .10639E-03
  21  Normalizat    .86458        .18670       -.83311E-06   -.20162E-03
  22  Prefactor     1.0638        .11415       -.35623E-06   -.33509E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.1902
  Prefactor  = 11.2487
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.6386
  Prefactor  = 5.556
  Prefactor  = 2.42243
  Prefactor  = 0.0001
  Prefactor  = 0.000100042
  Prefactor  = 0.000115616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.138392
  Prefactor  = 19.7913
  Prefactor  = 0.0001
  Prefactor  = 4.49849
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.538401
  Normalizat = 0.864578
  Prefactor  = 1.06377
 **********
 **   18 **HESSE 
 **********

 FCN=   8165.974     FROM HESSE     STATUS=OK           358 CALLS     2536 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5952        .11122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.190        13.745        .62760E-03   -1.5069    
   3  Prefactor     11.249        14.405        .11946E-03   -1.5037    
   4  Prefactor     .10000E-03    15.849        .31613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.8686        .29208E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.639        6.7380        .11266E-03   -1.4997    
   7  Prefactor     5.5560        36.436        .85058E-03   -1.5237    
   8  Prefactor     2.4224        351.40        .26737E-03   -1.5397    
   9  Prefactor     .10000E-03    21.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10004E-03    873.65        .42678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11562E-03    17.245        .11783       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.7124        .14496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    41.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13839        .87604        .11946E-02   -1.5634    
  15  Prefactor     19.791        9.9780        .90036E-04   -1.4818    
  16  Prefactor     .10000E-03    10.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.4985        4.4542        .18244E-03   -1.5284    
  18  Prefactor     .10000E-03    27.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.0636        .17752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53840        1.5406        .19012E-02   -1.5561    
  21  Normalizat    .86458        .21794        .31621E-03   -.97716    
  22  Prefactor     1.0638        .13489        .18227E-03   -.90633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80158e-09
Minuit parameter uncertainties:
  1  3.67915e-07
  2  13.7489
  3  14.4093
  4  5.80305e-05
  5  4.78561e-06
  6  6.7384
  7  28.4812
  8  58.7056
  9  3.25846e-05
  10  0.0123002
  11  0.0328297
  12  1.06095e-09
  13  0.000112048
  14  0.696148
  15  9.9788
  16  9.6144e-06
  17  4.45455
  18  5.05857e-07
  19  5.29273e-06
  20  1.54068
  21  0.218165
  22  0.134937
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  2.422e+00  5.871e+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.064e+00  1.349e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  8.646e-01  2.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/615666/likelihoodResults_505267201_505526401_4FGL_J1113.6-1920_daily_bin1026.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8165.97251467
delta logL = 0.00134128566697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8165.97145096
delta logL = 0.00240499058964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4845       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0756       1.0000          .0000       10.000    
     3 'Normalizat'    .86482       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0637       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=   8165.971     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      284 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5716        231.19        .17157E-03    .34191E-04
   2  Index         2.0857        2.3594        .10617E-01    .76560E-04
   3  Normalizat    .86460        .20861        .31620E-03   -.15561E-03
   4  Prefactor     1.0634        .13311        .18229E-03    .26644E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.57156
  Index      = 2.08566
  Normalizat = 0.864596
  Prefactor  = 1.06344
 **********
 **   18 **HESSE 
 **********

 FCN=   8165.971     FROM HESSE     STATUS=OK            23 CALLS      307 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5716        213.43        .68628E-05   -1.5236    
   2  Index         2.0857        2.2768        .42466E-03   -.62225    
   3  Normalizat    .86460        .20878        .12648E-04   -.97716    
   4  Prefactor     1.0634        .13320        .36458E-04   -.90644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44266e-09
Minuit parameter uncertainties:
  1  69.2338
  2  2.41685
  3  0.20898
  4  0.133238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615666': 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) = 8165.97142294
delta logL = 0.00243301403953

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  5.572e+00  6.923e+01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.086e+00  2.417e+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.063e+00  1.332e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  8.646e-01  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', job_status='DONE', photon_flux_upper_limit='6.51e-08', time_completed='2021-09-03 13:35:47.119214', job_id='615666', GAL2='1.06', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1630701347.12', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.43e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1026' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:35:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 615666: <4FGL_J1113.6-1920_daily_bin1026> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1026> 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) <bullet0051>, 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:35:47 2021
Results reported at Fri Sep  3 13:35:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1026 168.405 -19.3359 505267201 505526401 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 :                                   786.51 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             302.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            854 sec.

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

