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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1320
RA = 168.405, Dec = -19.3359
tmin = 581472001, tmax = 581731201
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='617093', job_status='RUN', time_executed='2021-09-03 13:28:04.461268', time_epoch_executed='1630700884.46' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617093

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617093/ft1_4FGL_J1113.6-1920_daily_bin1320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617093/ft2_4FGL_J1113.6-1920_daily_bin1320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617093/ft1_4FGL_J1113.6-1920_daily_bin1320.fits outfile=/scratch/kocevski/617093/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1320.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=581472001.0 tmax=581731201.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 2.83
user 2.64
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/617093/ft2_4FGL_J1113.6-1920_daily_bin1320.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/617093/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1320.fits evtable="EVENTS" outfile="/scratch/kocevski/617093/ft1_filtered_4FGL_J1113.6-1920_daily_bin1320.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.53
user 0.37
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617093/ft1_filtered_4FGL_J1113.6-1920_daily_bin1320.fits" evtable="EVENTS" scfile=/scratch/kocevski/617093/ft2_4FGL_J1113.6-1920_daily_bin1320.fits sctable="SC_DATA" outfile=/scratch/kocevski/617093/ltcube_581472001_581731201_4FGL_J1113.6-1920_daily_bin1320.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/617093/ft2_4FGL_J1113.6-1920_daily_bin1320.fits
.....................!
real 19.31
user 18.88
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617093/ft1_filtered_4FGL_J1113.6-1920_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/617093/ft2_4FGL_J1113.6-1920_daily_bin1320.fits sctable="SC_DATA" expcube=/scratch/kocevski/617093/ltcube_581472001_581731201_4FGL_J1113.6-1920_daily_bin1320.fits outfile=/scratch/kocevski/617093/expmap_581472001_581731201_4FGL_J1113.6-1920_daily_bin1320.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/617093/ltcube_581472001_581731201_4FGL_J1113.6-1920_daily_bin1320.fits
.....................!
real 197.12
user 187.88
sys 5.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/617093/ft1_filtered_4FGL_J1113.6-1920_daily_bin1320.fits scfile=/scratch/kocevski/617093/ft2_4FGL_J1113.6-1920_daily_bin1320.fits outfile=/scratch/kocevski/617093/cmap_581472001_581731201_4FGL_J1113.6-1920_daily_bin1320.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.39
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/617093/ft1_filtered_4FGL_J1113.6-1920_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/617093/ft2_4FGL_J1113.6-1920_daily_bin1320.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617093/Model_4FGL_J1113.6-1920_daily_bin1320.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/617093/ft1_filtered_4FGL_J1113.6-1920_daily_bin1320.fits.....................!
real 82.79
user 81.25
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6291       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.6445       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9930       1.0000         .10000E-03   10000.    
     8 'Prefactor '    54.074       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.935       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2811       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10531E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .90236       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5616       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.8768       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.748       1.0000         .10000E-03   10000.    
    20 'norm      '    .11332E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1324       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92038       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=   9193.335     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2317 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6292        3.3037       -.44223E-06   -.44920E-03
   2  Prefactor     .10000E-03    5.6059       -.47970E-06** at limit **
   3  Prefactor     .10000E-03    4.1053        .10265E-06** at limit **
   4  Prefactor     .10000E-03    2.4738        .71721E-07** at limit **
   5  Prefactor     .10000E-03    1.4950        .55417E-07** at limit **
   6  norm          5.6447        4.4583        .96177E-06   -.10475E-02
   7  Prefactor     1.9960        27.178        .32106E-05    .10511E-04
   8  Prefactor     54.042        60.222       -.10202E-04   -.48394E-03
   9  Prefactor     .10000E-03    6.9924        .61077E-06** at limit **
  10  Prefactor     47.936        34.304        .39412E-06    .68054E-04
  11  Prefactor     2.2819        19.587        .22397E-06   -.47626E-04
  12  Prefactor     .10000E-03    3.6137       -.15307E-06** at limit **
  13  Prefactor     .10000E-03    55.327       -.95262E-07** at limit **
  14  norm          .90190        .67093        .78176E-08    .13771E-03
  15  Prefactor     6.5619        6.0886        .21167E-05   -.12754E-02
  16  Prefactor     .10000E-03    5.2876        .49845E-06** at limit **
  17  Prefactor     8.8768        5.1545        .11471E-05   -.13736E-02
  18  Prefactor     .10000E-03    6.8555       -.57882E-06** at limit **
  19  Prefactor     13.749        12.522       -.73300E-06   -.23937E-03
  20  norm          .10000E-03    3.2145       -.47399E-07** at limit **
  21  Normalizat    1.1324        .16942        .92914E-07   -.57334E-04
  22  Prefactor     .92038        .10487       -.33386E-06    .21846E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.62923
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.64474
  Prefactor  = 1.99595
  Prefactor  = 54.0421
  Prefactor  = 0.0001
  Prefactor  = 47.9364
  Prefactor  = 2.28191
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.901897
  Prefactor  = 6.56191
  Prefactor  = 0.0001
  Prefactor  = 8.8768
  Prefactor  = 0.0001
  Prefactor  = 13.7493
  norm       = 0.0001
  Normalizat = 1.13237
  Prefactor  = 0.920379
 **********
 **   18 **HESSE 
 **********

 FCN=   9193.335     FROM HESSE     STATUS=OK           340 CALLS     2657 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6292        3.3197        .16260E-03   -1.5327    
   2  Prefactor     .10000E-03    5.6555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.1212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5269        .14723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.5172        .11444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.6447        4.5546        .84541E-03   -1.5233    
   7  Prefactor     1.9960        27.221        .29345E-03   -1.5425    
   8  Prefactor     54.042        65.524        .54546E-04   -1.4236    
   9  Prefactor     .10000E-03    7.0548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.936        34.321        .57916E-04   -1.4322    
  11  Prefactor     2.2819        19.616        .27184E-03   -1.5406    
  12  Prefactor     .10000E-03    3.6267        .17799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    55.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .90190        .66298        .65336E-04   -1.5518    
  15  Prefactor     6.5619        6.4153        .78333E-03   -1.5196    
  16  Prefactor     .10000E-03    5.2941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.8768        5.3208        .67265E-03   -1.5112    
  18  Prefactor     .10000E-03    6.8654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.749        12.438        .10802E-03   -1.4966    
  20  norm          .10000E-03    3.2322        .33230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1324        .20498        .28188E-03   -.88719    
  22  Prefactor     .92038        .12633        .19378E-03   -.95433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29011e-09
Minuit parameter uncertainties:
  1  3.31984
  2  4.62029e-05
  3  4.023e-06
  4  3.77307e-07
  5  1.83118e-06
  6  4.55483
  7  14.7498
  8  65.6112
  9  4.40521e-05
  10  34.3348
  11  13.3865
  12  1.11436e-05
  13  9.27296e-05
  14  0.662989
  15  6.41594
  16  4.02656e-05
  17  5.32105
  18  5.43738e-05
  19  12.4399
  20  3.16983e-05
  21  0.205121
  22  0.126371
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  5.404e+01  6.561e+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.204e-01  1.264e-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.132e+00  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/617093/likelihoodResults_581472001_581731201_4FGL_J1113.6-1920_daily_bin1320.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) = 9193.24506288
delta logL = 0.0898737924053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9193.23939308
delta logL = 0.0955435992637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    77.185       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8974       1.0000          .0000       10.000    
     3 'Normalizat'    1.1449       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91492       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=   9193.239     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      267 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     77.185        2222.5        .11427E-02   -.83234E-04
   2  Index         1.8974        5.9191        .26415       -.34311E-04
   3  Normalizat    1.1449        .62344E-01    .63419E-01   -.11028E-03
   4  Prefactor     .91494        .31057E-01    .45195E-01    .21132E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 77.1846
  Index      = 1.8974
  Normalizat = 1.14485
  Prefactor  = 0.914939
 **********
 **   18 **HESSE 
 **********

 FCN=   9193.239     FROM HESSE     STATUS=OK            29 CALLS      296 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     77.185        91.358        .45707E-04   -1.3949    
   2  Index         1.8974        .79964        .99653E-02   -.66941    
   3  Normalizat    1.1449        .20085        .28053E-03   -.88324    
   4  Prefactor     .91494        .12594        .19427E-03   -.95621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83875e-10
Minuit parameter uncertainties:
  1  91.5248
  2  0.805289
  3  0.200988
  4  0.125981
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617093': 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) = 9193.23939306
delta logL = 0.0955436132172

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  7.718e+01  9.152e+01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  1.897e+00  8.053e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  9.149e-01  1.260e-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.145e+00  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 168.405 -19.336
Photon Index (Free Index): 1.90 +/- 0.81
Photon Flux (Free Index): 1.63e-08 +/- 2.52e-08
Energy Flux (Free Index): 1.48e-05 +/- 2.44e-05

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/617093/cmap_HighResolution_581472001_581731201_4FGL_J1113.6-1920_daily_bin1320.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.56e-03', comment='SUCCESS', energy_flux2='1.48e-05', dlogl='9.55e-02', photon_flux2='1.63e-08', job_status='DONE', time_completed='2021-09-03 13:42:38.080506', photon_index_error2='0.81', photon_index2='1.90', ts='0.97', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='8.56e-08', energy_flux_error2='2.44e-05', EG='1.13', time_epoch_completed='1630701758.08', return_code='0', job_id='617093', GAL2='0.91', EG2='1.14', return_code2='0', photon_flux_error2='2.52e-08', ts2='1.16', photon_index='2.29' WHERE bin_id='1320' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:42:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 617093: <4FGL_J1113.6-1920_daily_bin1320> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1320> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 13:26:18 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:26:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 13:26:43 2021
Terminated at Fri Sep  3 13:42:38 2021
Results reported at Fri Sep  3 13:42:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1320 168.405 -19.3359 581472001 581731201 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 :                                   863.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            980 sec.

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

