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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1300
RA = 168.405, Dec = -19.3359
tmin = 576288001, tmax = 576547201
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='617065', job_status='RUN', time_executed='2021-09-03 13:28:19.047904', time_epoch_executed='1630700899.05' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617065

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617065/ft1_4FGL_J1113.6-1920_daily_bin1300.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617065/ft2_4FGL_J1113.6-1920_daily_bin1300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617065/ft1_4FGL_J1113.6-1920_daily_bin1300.fits outfile=/scratch/kocevski/617065/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1300.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=576288001.0 tmax=576547201.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.35
user 3.09
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617065/ft1_filtered_4FGL_J1113.6-1920_daily_bin1300.fits" evtable="EVENTS" scfile=/scratch/kocevski/617065/ft2_4FGL_J1113.6-1920_daily_bin1300.fits sctable="SC_DATA" outfile=/scratch/kocevski/617065/ltcube_576288001_576547201_4FGL_J1113.6-1920_daily_bin1300.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/617065/ft2_4FGL_J1113.6-1920_daily_bin1300.fits
.....................!
real 14.08
user 13.71
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617065/ft1_filtered_4FGL_J1113.6-1920_daily_bin1300.fits evtable="EVENTS" scfile=/scratch/kocevski/617065/ft2_4FGL_J1113.6-1920_daily_bin1300.fits sctable="SC_DATA" expcube=/scratch/kocevski/617065/ltcube_576288001_576547201_4FGL_J1113.6-1920_daily_bin1300.fits outfile=/scratch/kocevski/617065/expmap_576288001_576547201_4FGL_J1113.6-1920_daily_bin1300.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/617065/ltcube_576288001_576547201_4FGL_J1113.6-1920_daily_bin1300.fits
.....................!
real 193.42
user 187.27
sys 5.67

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/617065/ft1_filtered_4FGL_J1113.6-1920_daily_bin1300.fits scfile=/scratch/kocevski/617065/ft2_4FGL_J1113.6-1920_daily_bin1300.fits outfile=/scratch/kocevski/617065/cmap_576288001_576547201_4FGL_J1113.6-1920_daily_bin1300.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.55
user 0.40
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/617065/ft1_filtered_4FGL_J1113.6-1920_daily_bin1300.fits evtable="EVENTS" scfile=/scratch/kocevski/617065/ft2_4FGL_J1113.6-1920_daily_bin1300.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617065/Model_4FGL_J1113.6-1920_daily_bin1300.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/617065/ft1_filtered_4FGL_J1113.6-1920_daily_bin1300.fits.....................!
real 55.11
user 53.66
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.8626       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2928       1.0000         .10000E-03   10000.    
     6 'norm      '    9.3077       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.3426       1.0000         .10000E-03   10000.    
    10 'Prefactor '    129.47       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .22549E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.948       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .52737E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    80.665       1.0000         .10000E-03   10000.    
    20 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5606       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78060       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=   5385.172     FROM MIGRAD    STATUS=CONVERGED    857 CALLS     2890 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3151        .13042E-02** at limit **
   2  Prefactor     .10000E-03    21.085        .18142E-02** at limit **
   3  Prefactor     .10000E-03    7.2843        .18142E-02** at limit **
   4  Prefactor     8.8618        6.6105        .13464E-03   -.26066E-03
   5  Prefactor     2.2927        6.9885        .27107E-03    .26833E-03
   6  norm          9.3072        7.8526        .13136E-03    .92862E-04
   7  Prefactor     .10000E-03    21.867        .18142E-02** at limit **
   8  Prefactor     .10006E-03    162.08        .18142E-02** at limit **
   9  Prefactor     9.3323        19.653        .13112E-03   -.70753E-04
  10  Prefactor     129.46        99.283        .35385E-04    .36113E-04
  11  Prefactor     .10000E-03    19.963        .18142E-02** at limit **
  12  Prefactor     .10000E-03    5.3588        .16571E-02** at limit **
  13  Prefactor     .14950E-03    54.262        .16283    ** at limit **
  14  norm          .10000E-03    2.9677        .14585E-02** at limit **
  15  Prefactor     19.946        14.204        .89676E-04    .29539E-03
  16  Prefactor     .17794E-03    28.733        .12605    ** at limit **
  17  Prefactor     .10000E-03    4.1925        .14594E-02** at limit **
  18  Prefactor     .10000E-03    47.940        .18142E-02** at limit **
  19  Prefactor     80.664        25.438        .44718E-04    .12681E-03
  20  norm          .10000E-03    5.7845        .17080E-02** at limit **
  21  Normalizat    1.5610        .31691        .29035E-03    .32077E-03
  22  Prefactor     .78042        .17644        .22829E-03    .26638E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.86179
  Prefactor  = 2.29269
  norm       = 9.30719
  Prefactor  = 0.0001
  Prefactor  = 0.000100055
  Prefactor  = 9.33229
  Prefactor  = 129.463
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000149503
  norm       = 0.000100002
  Prefactor  = 19.9464
  Prefactor  = 0.00017794
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.6638
  norm       = 0.0001
  Normalizat = 1.56098
  Prefactor  = 0.780416
 **********
 **   18 **HESSE 
 **********

 FCN=   5385.172     FROM HESSE     STATUS=OK           340 CALLS     3230 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3152        .26083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.094        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.2846        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.8618        6.6105        .53855E-05   -1.5113    
   5  Prefactor     2.2927        6.9866        .10843E-04   -1.5405    
   6  norm          9.3072        7.8525        .52545E-05   -1.5098    
   7  Prefactor     .10000E-03    21.868        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10006E-03    162.08        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.3323        19.652        .52446E-05   -1.5097    
  10  Prefactor     129.46        99.280        .70769E-05   -1.3427    
  11  Prefactor     .10000E-03    19.964        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.3592        .33143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14950E-03    55.263        .16050       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.9932        .29171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.946        14.204        .35870E-05   -1.4814    
  16  Prefactor     .17794E-03    28.372        .12748       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.1936        .29187E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    47.959        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     80.664        25.434        .89436E-05   -1.3909    
  20  norm          .10000E-03    5.7861        .34159E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5610        .31715        .58070E-04   -.76079    
  22  Prefactor     .78042        .17659        .45658E-04   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54469e-09
Minuit parameter uncertainties:
  1  7.86617e-06
  2  2.37587e-05
  3  2.01273e-05
  4  6.61107
  5  6.98907
  6  7.85333
  7  8.19962e-05
  8  0.00599629
  9  19.6654
  10  99.4078
  11  0.000181632
  12  2.36815e-06
  13  0.104705
  14  0.000153489
  15  14.2059
  16  0.0940936
  17  2.81176e-05
  18  0.000250603
  19  25.4372
  20  4.73345e-05
  21  0.317561
  22  0.176722
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.001e-04  5.996e-03  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:  7.804e-01  1.767e-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.561e+00  3.176e-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.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/617065/likelihoodResults_576288001_576547201_4FGL_J1113.6-1920_daily_bin1300.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) = 5385.17185461
delta logL = -2.92607082883e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5385.17182569
delta logL = -3.37779965776e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19664E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2487       1.0000          .0000       10.000    
     3 'Normalizat'    1.5610       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78042       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=   5385.172     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      235 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6988.6        .90712E-02** at limit **
   2  Index         2.2906        6.8924        .50000       -.25393E-05
   3  Normalizat    1.5610        .37143E-01    .65643E-01   -.23513E-04
   4  Prefactor     .78042        .21659E-01    .43462E-01   -.54560E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.29062
  Normalizat = 1.56097
  Prefactor  = 0.780418
 **********
 **   18 **HESSE 
 **********

 FCN=   5385.172     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9551.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2906        8.7874        .50000       -.57267    
   3  Normalizat    1.5610        .76851E-01    .29035E-03   -.76079    
   4  Prefactor     .78042        .44827E-01    .22829E-03   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.31249e-09
Minuit parameter uncertainties:
  1  0.00732262
  2  42.8231
  3  0.0768564
  4  0.0448288
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617065': 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) = 5385.17182535
delta logL = 3.50337359123e-09

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  7.323e-03  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.291e+00  4.282e+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:  7.804e-01  4.483e-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.561e+00  7.686e-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/617065/cmap_HighResolution_576288001_576547201_4FGL_J1113.6-1920_daily_bin1300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.71e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-09-03 13:39:37.271526', job_id='617065', GAL2='0.78', fit_tolerance='1e-08', EG2='1.56', EG='1.56', time_epoch_completed='1630701577.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='3.50e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1300' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:39:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 617065: <4FGL_J1113.6-1920_daily_bin1300> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1300> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 13:26:16 2021
Job was executed on host(s) <bullet0024>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:26:38 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:38 2021
Terminated at Fri Sep  3 13:39:37 2021
Results reported at Fri Sep  3 13:39:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1300 168.405 -19.3359 576288001 576547201 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 :                                   671.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            801 sec.

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

