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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1410
RA = 168.405, Dec = -19.3359
tmin = 604800001, tmax = 605059201
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='617223', job_status='RUN', time_executed='2021-09-03 13:27:50.852451', time_epoch_executed='1630700870.85' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617223

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617223/ft1_4FGL_J1113.6-1920_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617223/ft2_4FGL_J1113.6-1920_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617223/ft1_4FGL_J1113.6-1920_daily_bin1410.fits outfile=/scratch/kocevski/617223/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1410.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=604800001.0 tmax=605059201.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.10
user 4.85
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617223/ft1_filtered_4FGL_J1113.6-1920_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/617223/ft2_4FGL_J1113.6-1920_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/617223/ltcube_604800001_605059201_4FGL_J1113.6-1920_daily_bin1410.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/617223/ft2_4FGL_J1113.6-1920_daily_bin1410.fits
.....................!
real 16.56
user 16.16
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617223/ft1_filtered_4FGL_J1113.6-1920_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/617223/ft2_4FGL_J1113.6-1920_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/617223/ltcube_604800001_605059201_4FGL_J1113.6-1920_daily_bin1410.fits outfile=/scratch/kocevski/617223/expmap_604800001_605059201_4FGL_J1113.6-1920_daily_bin1410.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/617223/ltcube_604800001_605059201_4FGL_J1113.6-1920_daily_bin1410.fits
.....................!
real 192.27
user 187.23
sys 4.40

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/617223/ft1_filtered_4FGL_J1113.6-1920_daily_bin1410.fits scfile=/scratch/kocevski/617223/ft2_4FGL_J1113.6-1920_daily_bin1410.fits outfile=/scratch/kocevski/617223/cmap_604800001_605059201_4FGL_J1113.6-1920_daily_bin1410.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.56
user 0.38
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/617223/ft1_filtered_4FGL_J1113.6-1920_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/617223/ft2_4FGL_J1113.6-1920_daily_bin1410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617223/Model_4FGL_J1113.6-1920_daily_bin1410.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/617223/ft1_filtered_4FGL_J1113.6-1920_daily_bin1410.fits.....................!
real 77.14
user 75.70
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5307       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0700       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.7282       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13161E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.432       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.809       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3150       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10876E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.7639       1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.292       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16375E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    68.721       1.0000         .10000E-03   10000.    
    20 'norm      '    28.720       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89544       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87431       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=   8789.896     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2077 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5311        5.6688        .14075E-06   -.12831E-05
   2  Prefactor     .10000E-03    4.8900        .88800E-06** at limit **
   3  Prefactor     2.0722        10.806        .42442E-05    .74980E-05
   4  Prefactor     .10000E-03    2.6351        .72247E-07** at limit **
   5  Prefactor     .10000E-03    1.6382       -.69410E-07** at limit **
   6  norm          2.7305        5.6640        .26297E-06    .64951E-06
   7  Prefactor     .10000E-03    8.7333       -.96685E-06** at limit **
   8  Prefactor     16.300        52.137        .14938E-04    .75354E-05
   9  Prefactor     13.797        13.789        .55895E-07   -.47889E-05
  10  Prefactor     .10000E-03    14.503        .60342E-06** at limit **
  11  Prefactor     .10000E-03    13.120       -.69924E-06** at limit **
  12  Prefactor     4.3132        6.7821        .95852E-06    .44333E-04
  13  Prefactor     .10000E-03    56.548       -.17275E-05** at limit **
  14  norm          .10000E-03    .21193       -.13348E-06** at limit **
  15  Prefactor     6.7659        5.9151        .19208E-07    .12259E-05
  16  Prefactor     22.292        25.036        .25793E-06    .81602E-06
  17  Prefactor     .10002E-03    1.8203       -.41929E-06** at limit **
  18  Prefactor     .10000E-03    6.3113       -.24118E-07** at limit **
  19  Prefactor     68.723        23.194        .10712E-07    .48647E-04
  20  norm          28.721        8.1884        .41047E-07    .57855E-04
  21  Normalizat    .89531        .16552       -.42513E-06    .83127E-04
  22  Prefactor     .87438        .10179       -.44716E-06    .16056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.53108
  Prefactor  = 0.0001
  Prefactor  = 2.07224
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.73047
  Prefactor  = 0.0001
  Prefactor  = 16.2996
  Prefactor  = 13.7968
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.31317
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.76585
  Prefactor  = 22.2916
  Prefactor  = 0.000100025
  Prefactor  = 0.0001
  Prefactor  = 68.7227
  norm       = 28.7207
  Normalizat = 0.895312
  Prefactor  = 0.874383
 **********
 **   18 **HESSE 
 **********

 FCN=   8789.896     FROM HESSE     STATUS=OK           346 CALLS     2423 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5311        5.6628        .18914E-03   -1.5282    
   2  Prefactor     .10000E-03    4.9218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.0722        10.819        .14356E-02   -1.5420    
   4  Prefactor     .10000E-03    2.7131        .29713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4468        .23165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7305        5.6429        .24654E-03   -1.5377    
   7  Prefactor     .10000E-03    8.7764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.300        52.146        .98805E-04   -1.4900    
   9  Prefactor     13.797        13.845        .10779E-03   -1.4965    
  10  Prefactor     .10000E-03    14.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.3132        6.7811        .96965E-03   -1.5293    
  13  Prefactor     .10000E-03    57.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .21878        .84286E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7659        5.9223        .15428E-03   -1.5188    
  16  Prefactor     22.292        25.022        .42418E-03   -1.4763    
  17  Prefactor     .10002E-03    14.142        .23989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.3136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     68.723        23.261        .48420E-04   -1.4048    
  20  norm          28.721        8.2182        .74758E-04   -1.4636    
  21  Normalizat    .89531        .19772        .29229E-03   -.96625    
  22  Prefactor     .87438        .12230        .18658E-03   -.97042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74497e-09
Minuit parameter uncertainties:
  1  5.66342
  2  2.63669e-06
  3  9.47236
  4  1.75207e-06
  5  9.72659e-06
  6  5.64398
  7  9.07701e-05
  8  52.2922
  9  13.8479
  10  3.89129e-06
  11  2.12451e-06
  12  6.7823
  13  0.000145241
  14  1.33038e-06
  15  5.9228
  16  25.0342
  17  0.0011788
  18  2.0912e-06
  19  23.2643
  20  8.21853
  21  0.197876
  22  0.122342
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.630e+01  5.229e+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:  8.744e-01  1.223e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  8.953e-01  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 168.405 -19.336
Photon Flux Upper Limit: 6.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/617223/likelihoodResults_604800001_605059201_4FGL_J1113.6-1920_daily_bin1410.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) = 8789.88116112
delta logL = 0.0149172659621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8789.87531091
delta logL = 0.0207674796493

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.303       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0469       1.0000          .0000       10.000    
     3 'Normalizat'    .89674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87359       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=   8789.875     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      294 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.344        69.882        .82978E-04    .27402E-06
   2  Index         2.0379        1.1657        .15983E-01    .86651E-05
   3  Normalizat    .89726        .18955        .29199E-03   -.47502E-04
   4  Prefactor     .87331        .12055        .18668E-03    .73202E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.3444
  Index      = 2.03786
  Normalizat = 0.897258
  Prefactor  = 0.87331
 **********
 **   18 **HESSE 
 **********

 FCN=   8789.875     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.344        67.511        .16596E-04   -1.4741    
   2  Index         2.0379        1.1281        .63932E-03   -.63407    
   3  Normalizat    .89726        .18969        .11679E-04   -.96557    
   4  Prefactor     .87331        .12063        .74671E-05   -.97080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72841e-11
Minuit parameter uncertainties:
  1  67.7329
  2  1.14344
  3  0.189829
  4  0.12067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617223': 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) = 8789.8752759
delta logL = 0.0208024864733

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  2.334e+01  6.773e+01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.038e+00  1.143e+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.733e-01  1.207e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  8.973e-01  1.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 168.405 -19.336

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/617223/cmap_HighResolution_604800001_605059201_4FGL_J1113.6-1920_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.77e-08', time_completed='2021-09-03 13:41:34.415913', job_id='617223', GAL2='0.87', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630701694.42', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.08e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1410' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:41:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 617223: <4FGL_J1113.6-1920_daily_bin1410> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1410> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 13:26:27 2021
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:27:15 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:27:15 2021
Terminated at Fri Sep  3 13:41:35 2021
Results reported at Fri Sep  3 13:41:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1410 168.405 -19.3359 604800001 605059201 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 :                                   820.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             343.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            908 sec.

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

