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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1552
RA = 168.405, Dec = -19.3359
tmin = 641606401, tmax = 641865601
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='617425', job_status='RUN', time_executed='2021-09-03 13:30:58.024468', time_epoch_executed='1630701058.02' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1552'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617425

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617425/ft1_4FGL_J1113.6-1920_daily_bin1552.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617425/ft2_4FGL_J1113.6-1920_daily_bin1552.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617425/ft1_4FGL_J1113.6-1920_daily_bin1552.fits outfile=/scratch/kocevski/617425/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1552.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=641606401.0 tmax=641865601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.56
user 2.36
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617425/ft1_filtered_4FGL_J1113.6-1920_daily_bin1552.fits" evtable="EVENTS" scfile=/scratch/kocevski/617425/ft2_4FGL_J1113.6-1920_daily_bin1552.fits sctable="SC_DATA" outfile=/scratch/kocevski/617425/ltcube_641606401_641865601_4FGL_J1113.6-1920_daily_bin1552.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/617425/ft2_4FGL_J1113.6-1920_daily_bin1552.fits
.....................!
real 18.91
user 18.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617425/ft1_filtered_4FGL_J1113.6-1920_daily_bin1552.fits evtable="EVENTS" scfile=/scratch/kocevski/617425/ft2_4FGL_J1113.6-1920_daily_bin1552.fits sctable="SC_DATA" expcube=/scratch/kocevski/617425/ltcube_641606401_641865601_4FGL_J1113.6-1920_daily_bin1552.fits outfile=/scratch/kocevski/617425/expmap_641606401_641865601_4FGL_J1113.6-1920_daily_bin1552.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/617425/ltcube_641606401_641865601_4FGL_J1113.6-1920_daily_bin1552.fits
.....................!
real 190.86
user 186.07
sys 4.37

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/617425/ft1_filtered_4FGL_J1113.6-1920_daily_bin1552.fits scfile=/scratch/kocevski/617425/ft2_4FGL_J1113.6-1920_daily_bin1552.fits outfile=/scratch/kocevski/617425/cmap_641606401_641865601_4FGL_J1113.6-1920_daily_bin1552.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.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    70.209       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11828E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    35.030       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.1400       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.421       1.0000         .10000E-03   10000.    
    19 'Prefactor '    134.73       1.0000         .10000E-03   10000.    
    20 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4090       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84719       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=   4728.489     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2352 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0713       -.80273E-08** at limit **
   2  Prefactor     .10000E-03    4.9343       -.18322E-06** at limit **
   3  Prefactor     .10000E-03    20.348        .62947E-05** at limit **
   4  Prefactor     .10000E-03    6.4878       -.45527E-06** at limit **
   5  Prefactor     .10000E-03    3.2366        .10420E-06** at limit **
   6  norm          .10000E-03    5.4466       -.34744E-06** at limit **
   7  Prefactor     .10000E-03    16.943       -.10225E-05** at limit **
   8  Prefactor     .10000E-03    49.228       -.14852E-05** at limit **
   9  Prefactor     .10000E-03    11.449       -.43856E-06** at limit **
  10  Prefactor     70.210        65.985        .13973E-06    .21843E-05
  11  Prefactor     .10000E-03    208.69       -.10563E-04** at limit **
  12  Prefactor     .10000E-03    23.281       -.14443E-04** at limit **
  13  Prefactor     .10000E-03    121.15        .78394E-05** at limit **
  14  norm          .10000E-03    .88121       -.22612E-06** at limit **
  15  Prefactor     35.032        17.614        .84235E-07    .28564E-04
  16  Prefactor     .10000E-03    25.841        .10723E-04** at limit **
  17  Prefactor     4.1346        18.298        .19503E-05   -.38626E-04
  18  Prefactor     24.417        71.661       -.39159E-05   -.47335E-06
  19  Prefactor     134.73        51.617        .31889E-06    .27176E-04
  20  norm          .10000E-03    6.1261       -.52131E-06** at limit **
  21  Normalizat    1.4091        .26313       -.39427E-06    .12990E-03
  22  Prefactor     .84706        .15683        .87771E-06    .99117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 70.2096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 35.0319
  Prefactor  = 0.0001
  Prefactor  = 4.13461
  Prefactor  = 24.4169
  Prefactor  = 134.727
  norm       = 0.0001
  Normalizat = 1.4091
  Prefactor  = 0.847058
 **********
 **   18 **HESSE 
 **********

 FCN=   4728.489     FROM HESSE     STATUS=OK           330 CALLS     2682 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0742        .96647E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.9447        .14919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.802        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.6341        .17099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.2681        .12076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.5460        .15669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    49.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     70.210        65.981        .47908E-04   -1.4030    
  11  Prefactor     .10000E-03    211.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    121.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.4187        .12365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     35.032        17.589        .67709E-04   -1.4524    
  16  Prefactor     .10000E-03    25.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.1346        17.785        .19810E-03   -1.5301    
  18  Prefactor     24.417        70.919        .81059E-04   -1.4719    
  19  Prefactor     134.73        51.557        .34696E-04   -1.3381    
  20  norm          .10000E-03    6.1411        .16611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4091        .31767        .28526E-03   -.80366    
  22  Prefactor     .84706        .18957        .21444E-03   -.98016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48917e-11
Minuit parameter uncertainties:
  1  5.38282e-07
  2  4.14937e-06
  3  0.000113642
  4  4.92427e-06
  5  3.30856e-06
  6  2.93691e-06
  7  2.81343e-06
  8  3.22854e-06
  9  2.94558e-06
  10  66.0497
  11  0.000256684
  12  4.75727e-05
  13  4.10098e-05
  14  5.53034e-06
  15  17.5912
  16  7.12705e-06
  17  17.1587
  18  71.1658
  19  51.5747
  20  5.08873e-06
  21  0.318119
  22  0.189719
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  3.229e-06  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.471e-01  1.897e-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.409e+00  3.181e-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: 9.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/617425/likelihoodResults_641606401_641865601_4FGL_J1113.6-1920_daily_bin1552.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) = 4728.48950491
delta logL = -9.66529105426e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4728.48940832
delta logL = -5.86987880524e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3437       1.0000          .0000       10.000    
     3 'Normalizat'    1.4091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84707       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=   4728.489     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      203 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.020        .90712E-02** at limit **
   2  Index         2.3273        6.1629        .50000        .29133E-05
   3  Normalizat    1.4091        .25707        .64491E-01    .51793E-05
   4  Prefactor     .84706        .15533        .44327E-01    .11697E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.32734
  Normalizat = 1.4091
  Prefactor  = 0.847059
 **********
 **   18 **HESSE 
 **********

 FCN=   4728.489     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3273        6.1630        .50000       -.56395    
   3  Normalizat    1.4091        .30968        .28526E-03   -.80366    
   4  Prefactor     .84706        .18722        .21444E-03   -.98016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20433e-11
Minuit parameter uncertainties:
  1  0.000111421
  2  4.35001
  3  0.310097
  4  0.187366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617425': 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) = 4728.48940829
delta logL = -2.81661414192e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  8.471e-01  1.874e-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.409e+00  3.101e-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/617425/cmap_HighResolution_641606401_641865601_4FGL_J1113.6-1920_daily_bin1552.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.06e-03', job_status='DONE', photon_flux_upper_limit='9.21e-08', time_completed='2021-09-03 13:40:49.125402', job_id='617425', GAL2='0.85', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1630701649.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-2.82e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1552' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:40:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 617425: <4FGL_J1113.6-1920_daily_bin1552> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1552> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 13:26:42 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:28:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 13:28:45 2021
Terminated at Fri Sep  3 13:40:49 2021
Results reported at Fri Sep  3 13:40:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1552 168.405 -19.3359 641606401 641865601 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 :                                   589.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            847 sec.

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

