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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1052
RA = 168.405, Dec = -19.3359
tmin = 512006401, tmax = 512265601
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='615704', job_status='RUN', time_executed='2021-09-03 13:24:49.305123', time_epoch_executed='1630700689.31' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1052'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615704

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615704/ft1_4FGL_J1113.6-1920_daily_bin1052.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615704/ft2_4FGL_J1113.6-1920_daily_bin1052.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615704/ft1_4FGL_J1113.6-1920_daily_bin1052.fits outfile=/scratch/kocevski/615704/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1052.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=512006401.0 tmax=512265601.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.57
user 3.33
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615704/ft1_filtered_4FGL_J1113.6-1920_daily_bin1052.fits" evtable="EVENTS" scfile=/scratch/kocevski/615704/ft2_4FGL_J1113.6-1920_daily_bin1052.fits sctable="SC_DATA" outfile=/scratch/kocevski/615704/ltcube_512006401_512265601_4FGL_J1113.6-1920_daily_bin1052.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/615704/ft2_4FGL_J1113.6-1920_daily_bin1052.fits
.....................!
real 13.50
user 13.10
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615704/ft1_filtered_4FGL_J1113.6-1920_daily_bin1052.fits evtable="EVENTS" scfile=/scratch/kocevski/615704/ft2_4FGL_J1113.6-1920_daily_bin1052.fits sctable="SC_DATA" expcube=/scratch/kocevski/615704/ltcube_512006401_512265601_4FGL_J1113.6-1920_daily_bin1052.fits outfile=/scratch/kocevski/615704/expmap_512006401_512265601_4FGL_J1113.6-1920_daily_bin1052.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/615704/ltcube_512006401_512265601_4FGL_J1113.6-1920_daily_bin1052.fits
.....................!
real 194.09
user 187.41
sys 5.10

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/615704/ft1_filtered_4FGL_J1113.6-1920_daily_bin1052.fits scfile=/scratch/kocevski/615704/ft2_4FGL_J1113.6-1920_daily_bin1052.fits outfile=/scratch/kocevski/615704/cmap_512006401_512265601_4FGL_J1113.6-1920_daily_bin1052.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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615704/ft1_filtered_4FGL_J1113.6-1920_daily_bin1052.fits scfile=/scratch/kocevski/615704/ft2_4FGL_J1113.6-1920_daily_bin1052.fits outfile=/scratch/kocevski/615704/cmap_HighResolution_512006401_512265601_4FGL_J1113.6-1920_daily_bin1052.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/615704/ft1_filtered_4FGL_J1113.6-1920_daily_bin1052.fits evtable="EVENTS" scfile=/scratch/kocevski/615704/ft2_4FGL_J1113.6-1920_daily_bin1052.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615704/Model_4FGL_J1113.6-1920_daily_bin1052.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/615704/ft1_filtered_4FGL_J1113.6-1920_daily_bin1052.fits.....................!
real 50.56
user 49.20
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.0535       1.0000         .10000E-03   10000.    
     6 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.237       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.557       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.310       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12365E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.6998       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3305       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .33691E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.034       1.0000         .10000E-03   10000.    
    20 'norm      '    .10281E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1976       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85045       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=   5047.692     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2699 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7738       -.22208E-06** at limit **
   2  Prefactor     .10000E-03    51.957       -.26791E-05** at limit **
   3  Prefactor     .10000E-03    15.400       -.15639E-05** at limit **
   4  Prefactor     .10000E-03    2.2607       -.87719E-07** at limit **
   5  Prefactor     7.0532        7.2006        .14996E-05    .19863E-03
   6  norm          .10000E-03    6.3415       -.44772E-06** at limit **
   7  Prefactor     18.215        31.197        .54376E-05    .28759E-04
   8  Prefactor     29.763        141.93       -.43097E-04    .12624E-04
   9  Prefactor     .10000E-03    13.752       -.77264E-07** at limit **
  10  Prefactor     18.312        49.514       -.41335E-06    .30146E-05
  11  Prefactor     .10000E-03    70.311        .10439E-05** at limit **
  12  Prefactor     .10000E-03    8.7853       -.46507E-06** at limit **
  13  Prefactor     .10000E-03    62.225       -.30092E-07** at limit **
  14  norm          1.6997        1.4169        .37402E-06    .79586E-03
  15  Prefactor     1.3611        27.155        .25025E-04    .14087E-03
  16  Prefactor     .10000E-03    23.815        .83857E-06** at limit **
  17  Prefactor     .10003E-03    3.6671       -.36460E-05** at limit **
  18  Prefactor     .10000E-03    13.246        .53093E-06** at limit **
  19  Prefactor     29.049        19.207        .14648E-06    .15286E-03
  20  norm          .10000E-03    5.0900       -.15635E-06** at limit **
  21  Normalizat    1.1975        .25382       -.70122E-05    .29039E-03
  22  Prefactor     .85048        .14223        .39187E-05    .35970E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.05321
  norm       = 0.0001
  Prefactor  = 18.2152
  Prefactor  = 29.7631
  Prefactor  = 0.0001
  Prefactor  = 18.3117
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.69968
  Prefactor  = 1.36112
  Prefactor  = 0.0001
  Prefactor  = 0.000100035
  Prefactor  = 0.0001
  Prefactor  = 29.0495
  norm       = 0.0001
  Normalizat = 1.19747
  Prefactor  = 0.850478
 **********
 **   18 **HESSE 
 **********

 FCN=   5047.692     FROM HESSE     STATUS=OK           334 CALLS     3033 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7967        .15161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    53.359        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.2647        .10432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.0532        7.2088        .75524E-03   -1.5177    
   6  norm          .10000E-03    6.4033        .17470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.215        31.188        .93788E-04   -1.4854    
   8  Prefactor     29.763        142.90        .36847E-03   -1.4616    
   9  Prefactor     .10000E-03    13.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.312        49.513        .93600E-04   -1.4852    
  11  Prefactor     .10000E-03    70.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.8427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    62.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6997        1.4054        .72748E-04   -1.5447    
  15  Prefactor     1.3611        27.905        .19037E-02   -1.5475    
  16  Prefactor     .10000E-03    23.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10003E-03    10.838        .24873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     29.049        19.104        .74353E-04   -1.4629    
  20  norm          .10000E-03    5.1378        .15571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1975        .29803        .28825E-03   -.86681    
  22  Prefactor     .85048        .16908        .19917E-03   -.97894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56002e-09
Minuit parameter uncertainties:
  1  1.42003e-05
  2  0.00014744
  3  9.86917e-06
  4  4.3929e-06
  5  7.20965
  6  3.60362e-05
  7  31.2158
  8  130.943
  9  4.48362e-05
  10  49.6244
  11  0.000344129
  12  1.44792e-05
  13  0.000268253
  14  1.4054
  15  12.3321
  16  8.00759e-05
  17  0.00123197
  18  6.03165e-06
  19  19.1078
  20  1.34048e-05
  21  0.29845
  22  0.16918
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  2.976e+01  1.309e+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.505e-01  1.692e-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.197e+00  2.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/615704/likelihoodResults_512006401_512265601_4FGL_J1113.6-1920_daily_bin1052.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) = 5047.40007326
delta logL = 0.292152232406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5047.38248883
delta logL = 0.309736658882

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.775       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3663       1.0000          .0000       10.000    
     3 'Normalizat'    1.1410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86936       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=   5047.382     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      317 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.836        1030.9        .10792E-03    .44244E-05
   2  Index         3.3661        6.5258        .62162E-02    .25012E-04
   3  Normalizat    1.1406        .28193        .29414E-03   -.15808E-04
   4  Prefactor     .86939        .16841        .19709E-03    .28784E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8362
  Index      = 3.36609
  Normalizat = 1.14064
  Prefactor  = 0.869391
 **********
 **   18 **HESSE 
 **********

 FCN=   5047.382     FROM HESSE     STATUS=OK            25 CALLS      342 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.836        47.035        .43168E-05   -1.4964    
   2  Index         3.3661        1.4348        .24865E-03   -.33290    
   3  Normalizat    1.1406        .29259        .11765E-04   -.88458    
   4  Prefactor     .86939        .16985        .78834E-05   -.97219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.92972e-12
Minuit parameter uncertainties:
  1  47.161
  2  1.45782
  3  0.293004
  4  0.169949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615704': 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) = 5047.3824832
delta logL = 0.309742294284

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.384e+01  4.716e+01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  3.366e+00  1.458e+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.694e-01  1.699e-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.141e+00  2.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/615704/cmap_HighResolution_512006401_512265601_4FGL_J1113.6-1920_daily_bin1052.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2021-09-03 13:35:19.574991', job_id='615704', GAL2='0.87', fit_tolerance='1e-08', EG2='1.14', EG='1.20', time_epoch_completed='1630701319.58', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='3.10e-01', ts2='0.72', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1052' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:35:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 615704: <4FGL_J1113.6-1920_daily_bin1052> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1052> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 13:21:37 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:22:00 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:22:00 2021
Terminated at Fri Sep  3 13:35:20 2021
Results reported at Fri Sep  3 13:35:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1052 168.405 -19.3359 512006401 512265601 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 :                                   625.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            823 sec.

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

