/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 94 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 = 7524
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1113.6-1920_daily_bin735
RA = 168.405, Dec = -19.3359
tmin = 429840001, tmax = 430099201
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='614096', job_status='RUN', time_executed='2021-09-03 13:18:34.455201', time_epoch_executed='1630700314.46' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614096

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614096/ft1_4FGL_J1113.6-1920_daily_bin735.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614096/ft2_4FGL_J1113.6-1920_daily_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614096/ft1_4FGL_J1113.6-1920_daily_bin735.fits outfile=/scratch/kocevski/614096/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin735.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=429840001.0 tmax=430099201.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 5.95
user 5.71
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614096/ft1_filtered_4FGL_J1113.6-1920_daily_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/614096/ft2_4FGL_J1113.6-1920_daily_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/614096/ltcube_429840001_430099201_4FGL_J1113.6-1920_daily_bin735.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/614096/ft2_4FGL_J1113.6-1920_daily_bin735.fits
.....................!
real 17.70
user 17.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614096/ft1_filtered_4FGL_J1113.6-1920_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/614096/ft2_4FGL_J1113.6-1920_daily_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/614096/ltcube_429840001_430099201_4FGL_J1113.6-1920_daily_bin735.fits outfile=/scratch/kocevski/614096/expmap_429840001_430099201_4FGL_J1113.6-1920_daily_bin735.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/614096/ltcube_429840001_430099201_4FGL_J1113.6-1920_daily_bin735.fits
.....................!
real 193.90
user 189.18
sys 4.34

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/614096/ft1_filtered_4FGL_J1113.6-1920_daily_bin735.fits scfile=/scratch/kocevski/614096/ft2_4FGL_J1113.6-1920_daily_bin735.fits outfile=/scratch/kocevski/614096/cmap_429840001_430099201_4FGL_J1113.6-1920_daily_bin735.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.54
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614096/ft1_filtered_4FGL_J1113.6-1920_daily_bin735.fits scfile=/scratch/kocevski/614096/ft2_4FGL_J1113.6-1920_daily_bin735.fits outfile=/scratch/kocevski/614096/cmap_HighResolution_429840001_430099201_4FGL_J1113.6-1920_daily_bin735.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    2.9123       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2335       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.7979       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28255E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    150.26       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12069E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .43417E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16583E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.2182       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13742E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.183       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5007       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87241       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=   3794.368     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2332 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9146        .16121E-06** at limit **
   2  Prefactor     2.8999        48.759        .14681E-06    .50321E-05
   3  Prefactor     6.2290        20.263       -.37314E-06   -.11216E-04
   4  Prefactor     .10000E-03    7.8534        .71494E-06** at limit **
   5  Prefactor     .10000E-03    5.1666       -.39134E-06** at limit **
   6  norm          8.8012        9.8327       -.41534E-06    .86219E-06
   7  Prefactor     .10000E-03    25.422       -.66277E-05** at limit **
   8  Prefactor     149.79        181.86       -.35971E-05   -.34347E-04
   9  Prefactor     .10000E-03    85.780        .42725E-05** at limit **
  10  Prefactor     .10000E-03    396.48        .22749E-05** at limit **
  11  Prefactor     .10000E-03    17.077        .33598E-07** at limit **
  12  Prefactor     .10000E-03    7.8955       -.11602E-06** at limit **
  13  Prefactor     .10000E-03    82.865       -.36819E-05** at limit **
  14  norm          3.2186        1.9121       -.22237E-06   -.33665E-03
  15  Prefactor     .10000E-03    9.7760        .93562E-07** at limit **
  16  Prefactor     .10001E-03    177.94        .11693E-04** at limit **
  17  Prefactor     10.183        9.4883       -.26442E-06   -.11266E-04
  18  Prefactor     .10000E-03    27.915        .11417E-06** at limit **
  19  Prefactor     .10000E-03    8.5874        .25926E-06** at limit **
  20  norm          .10000E-03    2.4841        .24626E-06** at limit **
  21  Normalizat    1.5011        .35250        .10497E-04   -.47209E-04
  22  Prefactor     .87237        .20108       -.68679E-05    .16457E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.89994
  Prefactor  = 6.229
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.80124
  Prefactor  = 0.000100005
  Prefactor  = 149.789
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.21863
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 10.1829
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.5011
  Prefactor  = 0.872369
 **********
 **   18 **HESSE 
 **********

 FCN=   3794.368     FROM HESSE     STATUS=OK           332 CALLS     2664 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.9202        .11904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.8999        47.017        .23808E-03   -1.5367    
   3  Prefactor     6.2290        19.889        .16078E-03   -1.5209    
   4  Prefactor     .10000E-03    7.9465        .16862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.2053        .13679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8012        9.8320        .13514E-03   -1.5115    
   7  Prefactor     .10000E-03    26.590        .21415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     149.79        182.38        .16440E-03   -1.3254    
   9  Prefactor     .10000E-03    88.162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    400.22        .19391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.9038        .16906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    83.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.2186        1.9128        .62643E-04   -1.5349    
  15  Prefactor     .10000E-03    9.8243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    186.92        .41077E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.183        9.4875        .12557E-03   -1.5070    
  18  Prefactor     .10000E-03    27.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.6172        .17632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.5014        .94833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5011        .36027        .29258E-03   -.77747    
  22  Prefactor     .87237        .20778        .21793E-03   -.97113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.79989e-10
Minuit parameter uncertainties:
  1  5.7525e-06
  2  23.3749
  3  19.9101
  4  3.89447e-05
  5  2.64316e-05
  6  9.83381
  7  0.000711463
  8  183.069
  9  0.000364123
  10  7.35068e-05
  11  1.1929e-06
  12  1.48453e-05
  13  0.000779938
  14  1.91285
  15  1.65714e-05
  16  0.00308769
  17  9.48887
  18  1.96398e-05
  19  1.06307e-05
  20  7.4267e-06
  21  0.360884
  22  0.207972
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  8.724e-01  2.080e-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.501e+00  3.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/614096/likelihoodResults_429840001_430099201_4FGL_J1113.6-1920_daily_bin735.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) = 3793.48335179
delta logL = 0.884189249556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3793.45834336
delta logL = 0.909197672144

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.577       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5690       1.0000          .0000       10.000    
     3 'Normalizat'    1.3456       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93031       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=   3793.458     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      308 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.527        513.39        .77708E-04    .47621E-04
   2  Index         3.5704        3.5330        .30958E-02    .64854E-04
   3  Normalizat    1.3447        .40534        .30554E-03    .13200E-03
   4  Prefactor     .93055        .22966        .21155E-03   -.39872E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.5266
  Index      = 3.57043
  Normalizat = 1.34475
  Prefactor  = 0.930549
 **********
 **   18 **HESSE 
 **********

 FCN=   3793.458     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.527        64.374        .31083E-05   -1.4677    
   2  Index         3.5704        1.0770        .12383E-03   -.28996    
   3  Normalizat    1.3447        .37736        .61108E-04   -.82240    
   4  Prefactor     .93055        .21434        .42309E-04   -.95082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76346e-09
Minuit parameter uncertainties:
  1  64.5432
  2  1.0863
  3  0.378142
  4  0.214534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614096': 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) = 3793.45833857
delta logL = 0.909202464054

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  9.305e-01  2.145e-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.345e+00  3.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.95
Ra Dec: 168.405 -19.336
Photon Index (Free Index): 3.57 +/- 1.09
Photon Flux (Free Index): 2.02e-07 +/- 1.48e-07
Energy Flux (Free Index): 3.29e-05 +/- 2.27e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.82e-02', comment='SUCCESS', energy_flux2='3.29e-05', dlogl='9.09e-01', photon_flux2='2.02e-07', job_status='DONE', time_completed='2021-09-03 13:27:53.377791', photon_index_error2='1.09', photon_index2='3.57', ts='0.91', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='2.37e-07', energy_flux_error2='2.27e-05', EG='1.50', time_epoch_completed='1630700873.38', return_code='0', job_id='614096', GAL2='0.93', EG2='1.34', return_code2='0', photon_flux_error2='1.48e-07', ts2='2.95', photon_index='2.29' WHERE bin_id='735' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:27:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 614096: <4FGL_J1113.6-1920_daily_bin735> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin735 168.405 -19.3359 429840001 430099201 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 :                                   558.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            705 sec.

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

