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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1047
RA = 168.405, Dec = -19.3359
tmin = 510710401, tmax = 510969601
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='615696', job_status='RUN', time_executed='2021-09-03 13:24:04.590394', time_epoch_executed='1630700644.59' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1047'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615696

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615696/ft1_4FGL_J1113.6-1920_daily_bin1047.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615696/ft2_4FGL_J1113.6-1920_daily_bin1047.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615696/ft1_4FGL_J1113.6-1920_daily_bin1047.fits outfile=/scratch/kocevski/615696/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1047.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=510710401.0 tmax=510969601.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.46
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615696/ft1_filtered_4FGL_J1113.6-1920_daily_bin1047.fits" evtable="EVENTS" scfile=/scratch/kocevski/615696/ft2_4FGL_J1113.6-1920_daily_bin1047.fits sctable="SC_DATA" outfile=/scratch/kocevski/615696/ltcube_510710401_510969601_4FGL_J1113.6-1920_daily_bin1047.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/615696/ft2_4FGL_J1113.6-1920_daily_bin1047.fits
.....................!
real 15.68
user 15.34
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615696/ft1_filtered_4FGL_J1113.6-1920_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/615696/ft2_4FGL_J1113.6-1920_daily_bin1047.fits sctable="SC_DATA" expcube=/scratch/kocevski/615696/ltcube_510710401_510969601_4FGL_J1113.6-1920_daily_bin1047.fits outfile=/scratch/kocevski/615696/expmap_510710401_510969601_4FGL_J1113.6-1920_daily_bin1047.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/615696/ltcube_510710401_510969601_4FGL_J1113.6-1920_daily_bin1047.fits
.....................!
real 190.67
user 185.32
sys 4.91

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/615696/ft1_filtered_4FGL_J1113.6-1920_daily_bin1047.fits scfile=/scratch/kocevski/615696/ft2_4FGL_J1113.6-1920_daily_bin1047.fits outfile=/scratch/kocevski/615696/cmap_510710401_510969601_4FGL_J1113.6-1920_daily_bin1047.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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615696/ft1_filtered_4FGL_J1113.6-1920_daily_bin1047.fits scfile=/scratch/kocevski/615696/ft2_4FGL_J1113.6-1920_daily_bin1047.fits outfile=/scratch/kocevski/615696/cmap_HighResolution_510710401_510969601_4FGL_J1113.6-1920_daily_bin1047.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.54
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/615696/ft1_filtered_4FGL_J1113.6-1920_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/615696/ft2_4FGL_J1113.6-1920_daily_bin1047.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615696/Model_4FGL_J1113.6-1920_daily_bin1047.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/615696/ft1_filtered_4FGL_J1113.6-1920_daily_bin1047.fits.....................!
real 57.69
user 56.42
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    10.464       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.565       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.212       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7390       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10550E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.236       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    59.490       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.214       1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.229       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    8.8761       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3660       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93369       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=   5946.409     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2351 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0769        .90712E-02** at limit **
   2  Prefactor     10.464        13.203        .30966E-02    .10451E-03
   3  Prefactor     15.566        17.861        .25380E-02   -.41918E-04
   4  Prefactor     .10000E-03    2.4593        .90712E-02** at limit **
   5  Prefactor     .10000E-03    7.7910        .90712E-02** at limit **
   6  norm          12.212        8.8219        .28657E-02    .83381E-04
   7  Prefactor     5.7364        79.773        .41916E-02    .81043E-04
   8  Prefactor     .10000E-03    183.14        .90712E-02** at limit **
   9  Prefactor     .10000E-03    7.3287        .90712E-02** at limit **
  10  Prefactor     .10000E-03    34.520        .90712E-02** at limit **
  11  Prefactor     .10000E-03    16.392        .90712E-02** at limit **
  12  Prefactor     19.234        14.761        .22830E-02    .39695E-03
  13  Prefactor     .10000E-03    86.818        .90712E-02** at limit **
  14  norm          .10000E-03    .57165        .90712E-02** at limit **
  15  Prefactor     .10000E-03    4.4703        .90712E-02** at limit **
  16  Prefactor     59.486        41.607        .13004E-02    .61643E-03
  17  Prefactor     14.214        9.2270        .26559E-02    .53613E-04
  18  Prefactor     25.229        37.204        .19938E-02   -.45598E-04
  19  Prefactor     .10000E-03    17.806        .90712E-02** at limit **
  20  norm          8.8765        7.1031        .33634E-02    .29331E-02
  21  Normalizat    1.3659        .24963        .70238E-01    .75596E-05
  22  Prefactor     .93370        .14722        .45433E-01    .68082E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.4636
  Prefactor  = 15.5656
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.2123
  Prefactor  = 5.73642
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.2345
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.4863
  Prefactor  = 14.2141
  Prefactor  = 25.2293
  Prefactor  = 0.0001
  norm       = 8.87648
  Normalizat = 1.36593
  Prefactor  = 0.933696
 **********
 **   18 **HESSE 
 **********

 FCN=   5946.409     FROM HESSE     STATUS=OK           336 CALLS     2687 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0784        .10853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.464        13.188        .12386E-03   -1.5061    
   3  Prefactor     15.566        17.847        .10152E-03   -1.4919    
   4  Prefactor     .10000E-03    2.4690        .11809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.1578        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.212        8.8354        .11463E-03   -1.5009    
   7  Prefactor     5.7364        79.737        .16766E-03   -1.5229    
   8  Prefactor     .10000E-03    183.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.3373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    34.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.234        14.764        .91320E-04   -1.4831    
  13  Prefactor     .10000E-03    87.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .58711        .11372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.4891        .15920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     59.486        41.632        .52018E-04   -1.4164    
  17  Prefactor     14.214        9.2252        .10624E-03   -1.4954    
  18  Prefactor     25.229        37.204        .79753E-04   -1.4703    
  19  Prefactor     .10000E-03    17.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          8.8765        7.0941        .67268E-03   -1.5112    
  21  Normalizat    1.3659        .29793        .31076E-03   -.81619    
  22  Prefactor     .93370        .17568        .21788E-03   -.94973    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55627e-09
Minuit parameter uncertainties:
  1  1.86025e-07
  2  13.1919
  3  17.8526
  4  1.32906e-08
  5  5.70365e-07
  6  8.83636
  7  42.8431
  8  0.000266705
  9  8.87735e-07
  10  4.82994e-06
  11  5.31148e-07
  12  14.7671
  13  2.90111e-08
  14  7.78179e-08
  15  2.15575e-07
  16  41.6526
  17  9.22608
  18  37.2379
  19  1.83455e-06
  20  7.09477
  21  0.298312
  22  0.175782
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  2.667e-04  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.337e-01  1.758e-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.366e+00  2.983e-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.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/615696/likelihoodResults_510710401_510969601_4FGL_J1113.6-1920_daily_bin1047.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) = 5946.40896914
delta logL = -2.58651734839e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5946.4089433
delta logL = -3.24334905599e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2537       1.0000          .0000       10.000    
     3 'Normalizat'    1.3659       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93370       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=   5946.409     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      239 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8020.5        .90712E-02** at limit **
   2  Index         2.3267        5.0557        .50000       -.43477E-05
   3  Normalizat    1.3659        .41576E-01    .70238E-01   -.38387E-03
   4  Prefactor     .93370        .24795E-01    .45433E-01   -.24465E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.32671
  Normalizat = 1.36592
  Prefactor  = 0.933701
 **********
 **   18 **HESSE 
 **********

 FCN=   5946.409     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      270 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9997.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3267        7.9866        .50000       -.56410    
   3  Normalizat    1.3659        .86147E-01    .31076E-03   -.81620    
   4  Prefactor     .93370        .51417E-01    .21788E-03   -.94973    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.08983e-10
Minuit parameter uncertainties:
  1  0.0199147
  2  47.6681
  3  0.0861558
  4  0.0514195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615696': 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) = 5946.40894323
delta logL = 4.01814759243e-08

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  1.991e-02  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.327e+00  4.767e+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.337e-01  5.142e-02  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.366e+00  8.616e-02  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/615696/cmap_HighResolution_510710401_510969601_4FGL_J1113.6-1920_daily_bin1047.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.17e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-09-03 13:34:47.397281', job_id='615696', GAL2='0.93', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1630701287.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.02e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1047' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:34:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 615696: <4FGL_J1113.6-1920_daily_bin1047> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1047> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 13:21:36 2021
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:21:59 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:59 2021
Terminated at Fri Sep  3 13:34:47 2021
Results reported at Fri Sep  3 13:34:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1047 168.405 -19.3359 510710401 510969601 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 :                                   642.00 sec.
    Max Memory :                                 1147 MB
    Average Memory :                             313.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            791 sec.

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

