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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1527
RA = 168.405, Dec = -19.3359
tmin = 635126401, tmax = 635385601
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='617391', job_status='RUN', time_executed='2021-09-03 13:29:41.254116', time_epoch_executed='1630700981.25' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1527'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617391

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617391/ft1_4FGL_J1113.6-1920_daily_bin1527.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617391/ft2_4FGL_J1113.6-1920_daily_bin1527.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617391/ft1_4FGL_J1113.6-1920_daily_bin1527.fits outfile=/scratch/kocevski/617391/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1527.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=635126401.0 tmax=635385601.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.98
user 2.75
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617391/ft1_filtered_4FGL_J1113.6-1920_daily_bin1527.fits" evtable="EVENTS" scfile=/scratch/kocevski/617391/ft2_4FGL_J1113.6-1920_daily_bin1527.fits sctable="SC_DATA" outfile=/scratch/kocevski/617391/ltcube_635126401_635385601_4FGL_J1113.6-1920_daily_bin1527.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/617391/ft2_4FGL_J1113.6-1920_daily_bin1527.fits
.....................!
real 18.66
user 18.23
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617391/ft1_filtered_4FGL_J1113.6-1920_daily_bin1527.fits evtable="EVENTS" scfile=/scratch/kocevski/617391/ft2_4FGL_J1113.6-1920_daily_bin1527.fits sctable="SC_DATA" expcube=/scratch/kocevski/617391/ltcube_635126401_635385601_4FGL_J1113.6-1920_daily_bin1527.fits outfile=/scratch/kocevski/617391/expmap_635126401_635385601_4FGL_J1113.6-1920_daily_bin1527.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/617391/ltcube_635126401_635385601_4FGL_J1113.6-1920_daily_bin1527.fits
.....................!
real 194.08
user 187.60
sys 5.29

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/617391/ft1_filtered_4FGL_J1113.6-1920_daily_bin1527.fits scfile=/scratch/kocevski/617391/ft2_4FGL_J1113.6-1920_daily_bin1527.fits outfile=/scratch/kocevski/617391/cmap_635126401_635385601_4FGL_J1113.6-1920_daily_bin1527.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/617391/ft1_filtered_4FGL_J1113.6-1920_daily_bin1527.fits scfile=/scratch/kocevski/617391/ft2_4FGL_J1113.6-1920_daily_bin1527.fits outfile=/scratch/kocevski/617391/cmap_HighResolution_635126401_635385601_4FGL_J1113.6-1920_daily_bin1527.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11396E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2407       1.0000         .10000E-03   10000.    
     6 'norm      '    25.728       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2397       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10470E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.915       1.0000         .10000E-03   10000.    
    14 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    232.98       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .25565E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7307       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    14.005       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6844       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81869       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=   5753.786     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2345 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.413       -.83587E-06** at limit **
   2  Prefactor     .10000E-03    61.698       -.54012E-05** at limit **
   3  Prefactor     .10000E-03    9.4954        .94204E-07** at limit **
   4  Prefactor     .10000E-03    4.2885        .48018E-07** at limit **
   5  Prefactor     2.2398        6.5408        .77107E-05   -.32918E-03
   6  norm          25.727        17.201        .44738E-09   -.85319E-04
   7  Prefactor     .10000E-03    21.995        .16802E-05** at limit **
   8  Prefactor     4.2033        431.88        .22334E-04    .18875E-04
   9  Prefactor     .10002E-03    81.282        .14244E-04** at limit **
  10  Prefactor     .10000E-03    66.249       -.50396E-05** at limit **
  11  Prefactor     .10000E-03    11.883        .46900E-06** at limit **
  12  Prefactor     .10000E-03    7.0645        .11162E-07** at limit **
  13  Prefactor     44.921        59.433       -.11790E-05   -.50747E-04
  14  norm          .10000E-03    .67009       -.59249E-07** at limit **
  15  Prefactor     232.98        34.516       -.40308E-06   -.50815E-03
  16  Prefactor     .10002E-03    250.46        .14631E-04** at limit **
  17  Prefactor     .10000E-03    1.4266       -.71712E-08** at limit **
  18  Prefactor     2.7306        17.211        .51584E-05   -.56441E-04
  19  Prefactor     .10000E-03    17.713       -.89810E-06** at limit **
  20  norm          14.004        6.3446        .17829E-06    .16459E-03
  21  Normalizat    1.6846        .31077        .68117E-06   -.86283E-06
  22  Prefactor     .81862        .17083       -.23939E-05   -.23679E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.23978
  norm       = 25.7269
  Prefactor  = 0.0001
  Prefactor  = 4.20329
  Prefactor  = 0.000100022
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.9214
  norm       = 0.0001
  Prefactor  = 232.98
  Prefactor  = 0.000100024
  Prefactor  = 0.0001
  Prefactor  = 2.73058
  Prefactor  = 0.0001
  norm       = 14.0045
  Normalizat = 1.68463
  Prefactor  = 0.818624
 **********
 **   18 **HESSE 
 **********

 FCN=   5753.786     FROM HESSE     STATUS=OK           332 CALLS     2677 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    63.427        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.5097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.3525        .15336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.2398        6.5807        .13728E-02   -1.5409    
   6  norm          25.727        17.206        .78977E-04   -1.4693    
   7  Prefactor     .10000E-03    21.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2033        435.76        .19569E-03   -1.5298    
   9  Prefactor     .10002E-03    82.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    66.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.0990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     44.921        59.443        .59823E-04   -1.4366    
  14  norm          .10000E-03    .68182        .60533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     232.98        34.746        .13258E-03   -1.2643    
  16  Prefactor     .10002E-03    254.26        .21456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.4293        .88471E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7306        17.207        .12321E-02   -1.5377    
  19  Prefactor     .10000E-03    17.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          14.004        6.3341        .10703E-03   -1.4959    
  21  Normalizat    1.6846        .38303        .33448E-03   -.72715    
  22  Prefactor     .81862        .20870        .25115E-03   -.99045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85131e-10
Minuit parameter uncertainties:
  1  4.77266e-05
  2  0.000336998
  3  2.2467e-05
  4  5.63122e-06
  5  6.58283
  6  17.2094
  7  4.11576e-06
  8  86.247
  9  0.00268878
  10  0.00092509
  11  3.64404e-05
  12  1.16831e-06
  13  59.5212
  14  2.51582e-06
  15  34.7492
  16  0.00496542
  17  7.42953e-08
  18  13.7148
  19  5.97385e-05
  20  6.33438
  21  0.383707
  22  0.208904
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  4.203e+00  8.625e+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:  8.186e-01  2.089e-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.685e+00  3.837e-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: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/617391/likelihoodResults_635126401_635385601_4FGL_J1113.6-1920_daily_bin1527.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) = 5753.75241407
delta logL = 0.0332309468386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5753.74546377
delta logL = 0.0401812478831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3901       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0130       1.0000          .0000       10.000    
     3 'Normalizat'    1.6690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82266       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=   5753.745     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      267 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4042        107.39        .13840E-03   -.65715E-06
   2  Index         3.0087        2.7231        .11279E-01    .19965E-03
   3  Normalizat    1.6684        .37906        .33572E-03    .71113E-05
   4  Prefactor     .82307        .20718        .25051E-03   -.90310E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.40419
  Index      = 3.00865
  Normalizat = 1.66843
  Prefactor  = 0.823066
 **********
 **   18 **HESSE 
 **********

 FCN=   5753.745     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4042        62.669        .55360E-05   -1.5128    
   2  Index         3.0087        2.1408        .22559E-02   -.40963    
   3  Normalizat    1.6684        .37968        .13429E-04   -.73149    
   4  Prefactor     .82307        .20741        .10020E-04   -.98884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5061e-11
Minuit parameter uncertainties:
  1  45.9665
  2  2.22733
  3  0.380339
  4  0.207604
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617391': 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) = 5753.74545788
delta logL = 0.0401871389931

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  8.404e+00  4.597e+01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  3.009e+00  2.227e+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:  8.231e-01  2.076e-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.668e+00  3.803e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/617391/cmap_HighResolution_635126401_635385601_4FGL_J1113.6-1920_daily_bin1527.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.35e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-09-03 13:40:49.653398', job_id='617391', GAL2='0.82', fit_tolerance='1e-08', EG2='1.67', EG='1.68', time_epoch_completed='1630701649.65', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='4.02e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1527' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:40:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 617391: <4FGL_J1113.6-1920_daily_bin1527> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1527 168.405 -19.3359 635126401 635385601 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 :                                   653.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            850 sec.

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

