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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1227
RA = 168.405, Dec = -19.3359
tmin = 557366401, tmax = 557625601
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='616959', job_status='RUN', time_executed='2021-09-03 13:26:38.987496', time_epoch_executed='1630700798.99' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1227'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/616959

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/616959/ft1_4FGL_J1113.6-1920_daily_bin1227.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/616959/ft2_4FGL_J1113.6-1920_daily_bin1227.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/616959/ft1_4FGL_J1113.6-1920_daily_bin1227.fits outfile=/scratch/kocevski/616959/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1227.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=557366401.0 tmax=557625601.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.68
user 3.46
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/616959/ft2_4FGL_J1113.6-1920_daily_bin1227.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/616959/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1227.fits evtable="EVENTS" outfile="/scratch/kocevski/616959/ft1_filtered_4FGL_J1113.6-1920_daily_bin1227.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.49
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/616959/ft1_filtered_4FGL_J1113.6-1920_daily_bin1227.fits" evtable="EVENTS" scfile=/scratch/kocevski/616959/ft2_4FGL_J1113.6-1920_daily_bin1227.fits sctable="SC_DATA" outfile=/scratch/kocevski/616959/ltcube_557366401_557625601_4FGL_J1113.6-1920_daily_bin1227.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/616959/ft2_4FGL_J1113.6-1920_daily_bin1227.fits
.....................!
real 15.02
user 14.69
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/616959/ft1_filtered_4FGL_J1113.6-1920_daily_bin1227.fits evtable="EVENTS" scfile=/scratch/kocevski/616959/ft2_4FGL_J1113.6-1920_daily_bin1227.fits sctable="SC_DATA" expcube=/scratch/kocevski/616959/ltcube_557366401_557625601_4FGL_J1113.6-1920_daily_bin1227.fits outfile=/scratch/kocevski/616959/expmap_557366401_557625601_4FGL_J1113.6-1920_daily_bin1227.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/616959/ltcube_557366401_557625601_4FGL_J1113.6-1920_daily_bin1227.fits
.....................!
real 191.11
user 186.04
sys 4.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/616959/ft1_filtered_4FGL_J1113.6-1920_daily_bin1227.fits scfile=/scratch/kocevski/616959/ft2_4FGL_J1113.6-1920_daily_bin1227.fits outfile=/scratch/kocevski/616959/cmap_557366401_557625601_4FGL_J1113.6-1920_daily_bin1227.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/616959/ft1_filtered_4FGL_J1113.6-1920_daily_bin1227.fits scfile=/scratch/kocevski/616959/ft2_4FGL_J1113.6-1920_daily_bin1227.fits outfile=/scratch/kocevski/616959/cmap_HighResolution_557366401_557625601_4FGL_J1113.6-1920_daily_bin1227.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/616959/ft1_filtered_4FGL_J1113.6-1920_daily_bin1227.fits evtable="EVENTS" scfile=/scratch/kocevski/616959/ft2_4FGL_J1113.6-1920_daily_bin1227.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/616959/Model_4FGL_J1113.6-1920_daily_bin1227.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/616959/ft1_filtered_4FGL_J1113.6-1920_daily_bin1227.fits.....................!
real 50.04
user 48.82
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0078       1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.650       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.7033       1.0000         .10000E-03   10000.    
     6 'norm      '    11.826       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10751E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14210E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    80.998       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .43843E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24925E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2017       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2869       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.064       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.967       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.4404       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .87951       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2649       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=   4770.089     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2807 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.734        .99584E-07** at limit **
   2  Prefactor     6.0147        12.987        .28129E-06    .59215E-05
   3  Prefactor     22.661        16.986        .54852E-06    .48980E-04
   4  Prefactor     .10000E-03    2.6381        .57615E-07** at limit **
   5  Prefactor     8.7002        9.0120        .18980E-06   -.98198E-05
   6  norm          11.832        29.967       -.47911E-06   -.88904E-05
   7  Prefactor     .10000E-03    21.726       -.19826E-06** at limit **
   8  Prefactor     .10000E-03    84.684        .66493E-07** at limit **
   9  Prefactor     81.047        119.74       -.76659E-05    .30093E-04
  10  Prefactor     .10002E-03    6634.5       -.22258E-04** at limit **
  11  Prefactor     .10002E-03    45.480       -.16252E-06** at limit **
  12  Prefactor     3.1967        12.619        .65719E-06   -.36878E-05
  13  Prefactor     .10000E-03    19.466        .10818E-06** at limit **
  14  norm          1.2869        1.8674        .22409E-06    .53500E-04
  15  Prefactor     15.061        24.561       -.27367E-06    .40422E-05
  16  Prefactor     .10000E-03    25.925        .20500E-06** at limit **
  17  Prefactor     .10000E-03    3.4862       -.34537E-07** at limit **
  18  Prefactor     28.970        26.559       -.21387E-06   -.12568E-04
  19  Prefactor     .10000E-03    8.1680       -.10046E-06** at limit **
  20  norm          1.4405        4.4104        .10100E-05    .44377E-05
  21  Normalizat    .87942        .33668       -.15021E-05   -.16756E-05
  22  Prefactor     1.2649        .18383        .14506E-06   -.35491E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.01466
  Prefactor  = 22.6614
  Prefactor  = 0.0001
  Prefactor  = 8.70015
  norm       = 11.8318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 81.0468
  Prefactor  = 0.000100015
  Prefactor  = 0.000100024
  Prefactor  = 3.19669
  Prefactor  = 0.0001
  norm       = 1.28686
  Prefactor  = 15.0614
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.9697
  Prefactor  = 0.0001
  norm       = 1.4405
  Normalizat = 0.879416
  Prefactor  = 1.26489
 **********
 **   18 **HESSE 
 **********

 FCN=   4770.089     FROM HESSE     STATUS=OK           352 CALLS     3159 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.205        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0147        12.968        .16382E-03   -1.5217    
   3  Prefactor     22.661        17.017        .84164E-04   -1.4756    
   4  Prefactor     .10000E-03    2.6574        .10954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.7002        9.0170        .13587E-03   -1.5118    
   6  norm          11.832        30.018        .11649E-03   -1.5020    
   7  Prefactor     .10000E-03    21.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    84.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     81.047        119.18        .44627E-04   -1.3905    
  10  Prefactor     .10002E-03    6636.5        .19378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    46.331        .13355       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1967        12.559        .22644E-03   -1.5350    
  13  Prefactor     .10000E-03    19.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2869        1.8366        .10562E-03   -1.5481    
  15  Prefactor     15.061        24.558        .10320E-03   -1.4932    
  16  Prefactor     .10000E-03    25.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.5204        .12584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.970        26.563        .74440E-04   -1.4631    
  19  Prefactor     .10000E-03    8.1828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.4405        4.4036        .24351E-03   -1.5468    
  21  Normalizat    .87942        .38475        .40099E-03   -.97187    
  22  Prefactor     1.2649        .21314        .19537E-03   -.84357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51349e-11
Minuit parameter uncertainties:
  1  9.58672e-06
  2  12.9744
  3  17.021
  4  7.76614e-07
  5  9.01844
  6  30.0565
  7  5.70979e-06
  8  2.08926e-05
  9  119.529
  10  0.0149252
  11  0.00211473
  12  12.5694
  13  5.99598e-06
  14  1.83666
  15  24.5745
  16  1.96048e-05
  17  3.32758e-06
  18  26.5739
  19  1.23573e-05
  20  4.40462
  21  0.385956
  22  0.213288
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  2.089e-05  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:  1.265e+00  2.133e-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:  8.794e-01  3.860e-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.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/616959/likelihoodResults_557366401_557625601_4FGL_J1113.6-1920_daily_bin1227.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) = 4770.0893051
delta logL = -5.61259803362e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4770.08924899
delta logL = -1.65127858054e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2406       1.0000          .0000       10.000    
     3 'Normalizat'    .87942       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2649       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=   4770.089     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      234 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7266.4        .90712E-02** at limit **
   2  Index         2.2485        5.1221        .50000       -.82939E-06
   3  Normalizat    .87942        .66387E-01    .90534E-01    .17848E-04
   4  Prefactor     1.2649        .38231E-01    .33252E-01    .58191E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2485
  Normalizat = 0.879415
  Prefactor  = 1.26489
 **********
 **   18 **HESSE 
 **********

 FCN=   4770.089     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      267 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9608.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2485        5.4794        .50000       -.58272    
   3  Normalizat    .87942        .17437        .40100E-03   -.97187    
   4  Prefactor     1.2649        .10073        .19537E-03   -.84357    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.99224e-10
Minuit parameter uncertainties:
  1  0.00136538
  2  59.6546
  3  0.174479
  4  0.100748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/616959': 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) = 4770.08924898
delta logL = -7.44148564991e-09

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  1.365e-03  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.249e+00  5.965e+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:  1.265e+00  1.007e-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:  8.794e-01  1.745e-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/616959/cmap_HighResolution_557366401_557625601_4FGL_J1113.6-1920_daily_bin1227.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-03 13:36:53.665063', job_id='616959', GAL2='1.26', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1630701413.67', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='-7.44e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1227' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:36:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 616959: <4FGL_J1113.6-1920_daily_bin1227> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1227 168.405 -19.3359 557366401 557625601 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 :                                   612.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   637 sec.
    Turnaround time :                            645 sec.

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

