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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1278
RA = 168.405, Dec = -19.3359
tmin = 570585601, tmax = 570844801
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='617033', job_status='RUN', time_executed='2021-09-03 13:30:38.474680', time_epoch_executed='1630701038.47' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1278'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617033

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617033/ft1_4FGL_J1113.6-1920_daily_bin1278.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617033/ft2_4FGL_J1113.6-1920_daily_bin1278.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617033/ft1_4FGL_J1113.6-1920_daily_bin1278.fits outfile=/scratch/kocevski/617033/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1278.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=570585601.0 tmax=570844801.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.11
user 2.84
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617033/ft1_filtered_4FGL_J1113.6-1920_daily_bin1278.fits" evtable="EVENTS" scfile=/scratch/kocevski/617033/ft2_4FGL_J1113.6-1920_daily_bin1278.fits sctable="SC_DATA" outfile=/scratch/kocevski/617033/ltcube_570585601_570844801_4FGL_J1113.6-1920_daily_bin1278.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/617033/ft2_4FGL_J1113.6-1920_daily_bin1278.fits
.....................!
real 17.84
user 17.42
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617033/ft1_filtered_4FGL_J1113.6-1920_daily_bin1278.fits evtable="EVENTS" scfile=/scratch/kocevski/617033/ft2_4FGL_J1113.6-1920_daily_bin1278.fits sctable="SC_DATA" expcube=/scratch/kocevski/617033/ltcube_570585601_570844801_4FGL_J1113.6-1920_daily_bin1278.fits outfile=/scratch/kocevski/617033/expmap_570585601_570844801_4FGL_J1113.6-1920_daily_bin1278.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/617033/ltcube_570585601_570844801_4FGL_J1113.6-1920_daily_bin1278.fits
.....................!
real 191.79
user 186.29
sys 5.05

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/617033/ft1_filtered_4FGL_J1113.6-1920_daily_bin1278.fits scfile=/scratch/kocevski/617033/ft2_4FGL_J1113.6-1920_daily_bin1278.fits outfile=/scratch/kocevski/617033/cmap_570585601_570844801_4FGL_J1113.6-1920_daily_bin1278.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=168.405 yref=-19.3359 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/617033/ft1_filtered_4FGL_J1113.6-1920_daily_bin1278.fits scfile=/scratch/kocevski/617033/ft2_4FGL_J1113.6-1920_daily_bin1278.fits outfile=/scratch/kocevski/617033/cmap_HighResolution_570585601_570844801_4FGL_J1113.6-1920_daily_bin1278.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.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/617033/ft1_filtered_4FGL_J1113.6-1920_daily_bin1278.fits evtable="EVENTS" scfile=/scratch/kocevski/617033/ft2_4FGL_J1113.6-1920_daily_bin1278.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617033/Model_4FGL_J1113.6-1920_daily_bin1278.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/617033/ft1_filtered_4FGL_J1113.6-1920_daily_bin1278.fits.....................!
real 54.00
user 52.61
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7721       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.097       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    87.927       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .76167       1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.369       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.171       1.0000         .10000E-03   10000.    
    19 'Prefactor '    48.202       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3919       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87949       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=   5330.710     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2448 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3212       -.48657E-07** at limit **
   2  Prefactor     .10000E-03    6.1877        .71870E-07** at limit **
   3  Prefactor     .10000E-03    16.839       -.26479E-05** at limit **
   4  Prefactor     9.7720        7.4446        .19735E-06   -.12681E-03
   5  Prefactor     .10000E-03    2.9382        .13758E-06** at limit **
   6  norm          13.096        11.012        .19320E-06   -.48005E-05
   7  Prefactor     .10000E-03    25.800       -.86903E-05** at limit **
   8  Prefactor     88.001        139.41        .75054E-04    .25494E-04
   9  Prefactor     .10000E-03    30.107       -.24578E-04** at limit **
  10  Prefactor     .10000E-03    104.95       -.14909E-04** at limit **
  11  Prefactor     .10000E-03    36.483       -.42004E-05** at limit **
  12  Prefactor     .10000E-03    9.6245       -.40035E-07** at limit **
  13  Prefactor     .10000E-03    23.045        .18775E-04** at limit **
  14  norm          .76122        1.4281       -.15564E-05   -.24747E-02
  15  Prefactor     23.374        13.749       -.24931E-06    .13569E-04
  16  Prefactor     .10000E-03    41.166        .27962E-04** at limit **
  17  Prefactor     .10000E-03    2.5286        .96387E-07** at limit **
  18  Prefactor     21.167        22.610        .15249E-06   -.29046E-05
  19  Prefactor     48.204        20.081        .33972E-06   -.22051E-04
  20  norm          .10000E-03    2.6605        .12366E-06** at limit **
  21  Normalizat    1.3914        .27313       -.64286E-05    .28210E-03
  22  Prefactor     .87977        .14981        .10721E-05   -.14842E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.77198
  Prefactor  = 0.0001
  norm       = 13.0963
  Prefactor  = 0.000100005
  Prefactor  = 88.0005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.761218
  Prefactor  = 23.3741
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.1666
  Prefactor  = 48.2039
  norm       = 0.0001
  Normalizat = 1.39143
  Prefactor  = 0.879772
 **********
 **   18 **HESSE 
 **********

 FCN=   5330.710     FROM HESSE     STATUS=OK           334 CALLS     2782 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3499        .17927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.1971        .17738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7720        7.4449        .12819E-03   -1.5083    
   5  Prefactor     .10000E-03    2.9614        .12217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.096        11.013        .11068E-03   -1.4984    
   7  Prefactor     .10000E-03    25.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     88.001        139.94        .21424E-03   -1.3829    
   9  Prefactor     .10000E-03    30.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    104.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    36.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.6822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .76122        1.4042        .11267E-03   -1.5533    
  15  Prefactor     23.374        13.768        .82860E-04   -1.4741    
  16  Prefactor     .10000E-03    41.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.5466        .11335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.167        22.608        .87051E-04   -1.4787    
  19  Prefactor     48.204        20.065        .57757E-04   -1.4318    
  20  norm          .10000E-03    2.6752        .11609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3914        .33112        .30706E-03   -.80877    
  22  Prefactor     .87977        .18206        .21350E-03   -.96852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23572e-09
Minuit parameter uncertainties:
  1  1.53177e-05
  2  1.16065e-05
  3  7.24507e-05
  4  7.44558
  5  5.10798e-06
  6  11.0149
  7  0.000716286
  8  140.465
  9  9.26293e-05
  10  0.000159013
  11  5.99463e-05
  12  1.51919e-05
  13  4.59228e-05
  14  1.40427
  15  13.7703
  16  4.92645e-05
  17  9.71065e-06
  18  22.6174
  19  20.0683
  20  4.37026e-06
  21  0.331629
  22  0.182188
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  8.798e-01  1.822e-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.391e+00  3.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/617033/likelihoodResults_570585601_570844801_4FGL_J1113.6-1920_daily_bin1278.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) = 5328.17934617
delta logL = 2.53056607791

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5328.11492524
delta logL = 2.59498700774

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57323       1.0000         .10000E-03   10000.    
     2 'Index     '    5.1657       1.0000          .0000       10.000    
     3 'Normalizat'    1.1404       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98369       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=   5328.115     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      299 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56932        4.2330        .58702E-02    .13976E-02
   2  Index         5.1685        1.9450        .61312E-01    .24439E-03
   3  Normalizat    1.1404        .91148E-01    .75282E-01    .58514E-04
   4  Prefactor     .98370        .51707E-01    .46063E-01    .57817E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.569324
  Index      = 5.16847
  Normalizat = 1.14038
  Prefactor  = 0.983699
 **********
 **   18 **HESSE 
 **********

 FCN=   5328.115     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      332 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56932        6.9023        .26304E-04   -1.5557    
   2  Index         5.1685        2.6237        .25535E-02    .33700E-01
   3  Normalizat    1.1404        .29964        .33319E-03   -.88466    
   4  Prefactor     .98370        .16778        .20307E-03   -.93275    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.69702e-11
Minuit parameter uncertainties:
  1  3.96489
  2  2.76225
  3  0.300094
  4  0.167868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617033': 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): 102
logL (Free Index) = 5328.11492374
delta logL = 2.59498850599

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  5.693e-01  3.965e+00  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  5.168e+00  2.762e+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:  9.837e-01  1.679e-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.140e+00  3.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.37
Ra Dec: 168.405 -19.336
Photon Index (Free Index): 5.17 +/- 2.76
Photon Flux (Free Index): 2.23e-07 +/- 1.11e-07
Energy Flux (Free Index): 2.92e-05 +/- 1.55e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/617033/cmap_HighResolution_570585601_570844801_4FGL_J1113.6-1920_daily_bin1278.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', comment='SUCCESS', energy_flux2='2.92e-05', dlogl='2.59e+00', photon_flux2='2.23e-07', job_status='DONE', time_completed='2021-09-03 13:41:28.457400', photon_index_error2='2.76', photon_index2='5.17', ts='0.48', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.68e-07', energy_flux_error2='1.55e-05', EG='1.39', time_epoch_completed='1630701688.46', return_code='0', job_id='617033', GAL2='0.98', EG2='1.14', return_code2='102', photon_flux_error2='1.11e-07', ts2='6.37', photon_index='2.29' WHERE bin_id='1278' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:41:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 617033: <4FGL_J1113.6-1920_daily_bin1278> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1278 168.405 -19.3359 570585601 570844801 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 :                                   640.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            915 sec.

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

