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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1211
RA = 168.405, Dec = -19.3359
tmin = 553219201, tmax = 553478401
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='616936', job_status='RUN', time_executed='2021-09-03 13:26:50.525524', time_epoch_executed='1630700810.53' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/616936

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/616936/ft1_4FGL_J1113.6-1920_daily_bin1211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/616936/ft2_4FGL_J1113.6-1920_daily_bin1211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/616936/ft1_4FGL_J1113.6-1920_daily_bin1211.fits outfile=/scratch/kocevski/616936/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1211.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=553219201.0 tmax=553478401.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 4.12
user 2.55
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/616936/ft1_filtered_4FGL_J1113.6-1920_daily_bin1211.fits" evtable="EVENTS" scfile=/scratch/kocevski/616936/ft2_4FGL_J1113.6-1920_daily_bin1211.fits sctable="SC_DATA" outfile=/scratch/kocevski/616936/ltcube_553219201_553478401_4FGL_J1113.6-1920_daily_bin1211.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/616936/ft2_4FGL_J1113.6-1920_daily_bin1211.fits
.....................!
real 16.74
user 16.21
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/616936/ft1_filtered_4FGL_J1113.6-1920_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/616936/ft2_4FGL_J1113.6-1920_daily_bin1211.fits sctable="SC_DATA" expcube=/scratch/kocevski/616936/ltcube_553219201_553478401_4FGL_J1113.6-1920_daily_bin1211.fits outfile=/scratch/kocevski/616936/expmap_553219201_553478401_4FGL_J1113.6-1920_daily_bin1211.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/616936/ltcube_553219201_553478401_4FGL_J1113.6-1920_daily_bin1211.fits
.....................!
real 191.02
user 186.64
sys 3.86

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/616936/ft1_filtered_4FGL_J1113.6-1920_daily_bin1211.fits scfile=/scratch/kocevski/616936/ft2_4FGL_J1113.6-1920_daily_bin1211.fits outfile=/scratch/kocevski/616936/cmap_553219201_553478401_4FGL_J1113.6-1920_daily_bin1211.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.65
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/616936/ft1_filtered_4FGL_J1113.6-1920_daily_bin1211.fits scfile=/scratch/kocevski/616936/ft2_4FGL_J1113.6-1920_daily_bin1211.fits outfile=/scratch/kocevski/616936/cmap_HighResolution_553219201_553478401_4FGL_J1113.6-1920_daily_bin1211.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.71
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/616936/ft1_filtered_4FGL_J1113.6-1920_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/616936/ft2_4FGL_J1113.6-1920_daily_bin1211.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/616936/Model_4FGL_J1113.6-1920_daily_bin1211.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/616936/ft1_filtered_4FGL_J1113.6-1920_daily_bin1211.fits.....................!
real 72.13
user 70.45
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19401E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.588       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .52848E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1006       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10348E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    135.64       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.7734       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .22150E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .35348       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.0136       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    13.472       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3029       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75924       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=   7954.865     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2423 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    3.6045       -.99012E-06** at limit **
   2  Prefactor     12.558        17.530        .60000E-05    .67346E-04
   3  Prefactor     .54439E-02    16.036       -.38456E-05   -.40802E-03
   4  Prefactor     5.0978        5.5399        .51796E-05   -.98592E-03
   5  Prefactor     .10000E-03    3.6002       -.18678E-06** at limit **
   6  norm          .10000E-03    3.8099       -.17320E-06** at limit **
   7  Prefactor     .10000E-03    12.536        .18948E-05** at limit **
   8  Prefactor     135.77        80.720        .67090E-05    .38514E-03
   9  Prefactor     .10000E-03    7.7282        .13580E-05** at limit **
  10  Prefactor     9.8405        79.325        .14818E-04    .12377E-03
  11  Prefactor     .10000E-03    7.2451        .41193E-07** at limit **
  12  Prefactor     .10000E-03    4.7364       -.21579E-07** at limit **
  13  Prefactor     .10000E-03    23.824        .83921E-06** at limit **
  14  norm          .35367        .72914        .12054E-05    .22909E-03
  15  Prefactor     .10000E-03    2.7057        .19889E-07** at limit **
  16  Prefactor     .10000E-03    6.4412       -.54128E-06** at limit **
  17  Prefactor     3.0151        3.9994        .29189E-06   -.16334E-03
  18  Prefactor     .10000E-03    7.6289        .21862E-06** at limit **
  19  Prefactor     .10000E-03    7.0373       -.12310E-06** at limit **
  20  norm          13.475        4.9373        .82523E-07   -.11627E-03
  21  Normalizat    1.3025        .18203       -.26368E-05    .23713E-03
  22  Prefactor     .75930        .10763        .85513E-06   -.12149E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100016
  Prefactor  = 12.5584
  Prefactor  = 0.00544392
  Prefactor  = 5.09775
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 135.767
  Prefactor  = 0.0001
  Prefactor  = 9.84053
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.353675
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.01512
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.4749
  Normalizat = 1.30247
  Prefactor  = 0.759302
 **********
 **   18 **HESSE 
 **********

 FCN=   7954.865     FROM HESSE     STATUS=OK           346 CALLS     2769 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    10.905        .32781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.558        18.678        .11290E-03   -1.4999    
   3  Prefactor     .54439E-02    22.354        .82025E-01   -1.5693    
   4  Prefactor     5.0978        5.4641        .89012E-03   -1.5256    
   5  Prefactor     .10000E-03    3.7454        .33018E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.8675        .16995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     135.77        81.632        .17291E-03   -1.3372    
   9  Prefactor     .10000E-03    7.7530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.8405        80.032        .12818E-03   -1.5080    
  11  Prefactor     .10000E-03    7.2473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.7608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .35367        .66787        .10403E-02   -1.5589    
  15  Prefactor     .10000E-03    2.7203        .14324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.4462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.0151        3.9870        .19735E-03   -1.5361    
  18  Prefactor     .10000E-03    7.6322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.0563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          13.475        4.9347        .10913E-03   -1.4974    
  21  Normalizat    1.3025        .21416        .26286E-03   -.83493    
  22  Prefactor     .75930        .12726        .20333E-03   -1.0125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.01061e-09
Minuit parameter uncertainties:
  1  0.00084494
  2  18.6871
  3  0.691505
  4  5.46462
  5  1.26322e-05
  6  2.3149e-06
  7  0.000182228
  8  81.6993
  9  2.78948e-05
  10  56.2297
  11  9.32591e-06
  12  1.2762e-05
  13  9.05935e-06
  14  0.66788
  15  6.1181e-06
  16  3.54899e-05
  17  3.98739
  18  2.38352e-05
  19  2.58572e-06
  20  4.93485
  21  0.214311
  22  0.127312
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.358e+02  8.170e+01  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.593e-01  1.273e-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.302e+00  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.80
Ra Dec: 168.405 -19.336
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 5.88e-08 +/- 3.54e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.37e-05

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) = 7954.85090541
delta logL = 0.0140861547106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7954.83523392
delta logL = 0.0297576466637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    117.59       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4000       1.0000          .0000       10.000    
     3 'Normalizat'    1.2959       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76173       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=   7954.835     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      273 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     117.59        111.39        .37106E-04   -.66179E-05
   2  Index         2.4001        .51477        .49455E-02    .56981E-03
   3  Normalizat    1.2956        .21135        .26344E-03    .61581E-04
   4  Prefactor     .76188        .12759        .20302E-03    .76046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 117.594
  Index      = 2.40012
  Normalizat = 1.29561
  Prefactor  = 0.761885
 **********
 **   18 **HESSE 
 **********

 FCN=   7954.835     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     117.59        104.75        .74212E-05   -1.3535    
   2  Index         2.4001        .48380        .98910E-03   -.54682    
   3  Normalizat    1.2956        .21136        .10538E-04   -.83698    
   4  Prefactor     .76188        .12764        .81207E-05   -1.0115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.24695e-12
Minuit parameter uncertainties:
  1  104.911
  2  0.484837
  3  0.211504
  4  0.12769
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/616936': 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) = 7954.83523314
delta logL = 0.0297584177652

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.176e+02  1.049e+02  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.400e+00  4.848e-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.619e-01  1.277e-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.296e+00  2.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.85
Ra Dec: 168.405 -19.336
Photon Index (Free Index): 2.40 +/- 0.48
Photon Flux (Free Index): 6.43e-08 +/- 4.32e-08
Energy Flux (Free Index): 2.11e-05 +/- 1.41e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/616936/cmap_HighResolution_553219201_553478401_4FGL_J1113.6-1920_daily_bin1211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.88e-08', energy_flux2='2.11e-05', photon_flux_error='3.54e-08', dlogl='2.98e-02', energy_flux='2.28e-05', photon_flux2='6.43e-08', job_status='DONE', time_completed='2021-09-03 13:38:44.479143', photon_index_error2='0.48', photon_index2='2.40', ts='4.80', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='1.41e-05', EG='1.30', time_epoch_completed='1630701524.48', return_code='0', job_id='616936', GAL2='0.76', EG2='1.30', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='4.32e-08', ts2='4.85', photon_index='2.29' WHERE bin_id='1211' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:38:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 616936: <4FGL_J1113.6-1920_daily_bin1211> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1211 168.405 -19.3359 553219201 553478401 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 :                                   710.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            758 sec.

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

