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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1242
RA = 168.405, Dec = -19.3359
tmin = 561254401, tmax = 561513601
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='616981', job_status='RUN', time_executed='2021-09-03 13:27:22.875965', time_epoch_executed='1630700842.88' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1242'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/616981

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/616981/ft1_4FGL_J1113.6-1920_daily_bin1242.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/616981/ft2_4FGL_J1113.6-1920_daily_bin1242.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/616981/ft1_4FGL_J1113.6-1920_daily_bin1242.fits outfile=/scratch/kocevski/616981/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1242.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=561254401.0 tmax=561513601.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.91
user 3.66
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/616981/ft1_filtered_4FGL_J1113.6-1920_daily_bin1242.fits" evtable="EVENTS" scfile=/scratch/kocevski/616981/ft2_4FGL_J1113.6-1920_daily_bin1242.fits sctable="SC_DATA" outfile=/scratch/kocevski/616981/ltcube_561254401_561513601_4FGL_J1113.6-1920_daily_bin1242.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/616981/ft2_4FGL_J1113.6-1920_daily_bin1242.fits
.....................!
real 15.25
user 14.88
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/616981/ft1_filtered_4FGL_J1113.6-1920_daily_bin1242.fits evtable="EVENTS" scfile=/scratch/kocevski/616981/ft2_4FGL_J1113.6-1920_daily_bin1242.fits sctable="SC_DATA" expcube=/scratch/kocevski/616981/ltcube_561254401_561513601_4FGL_J1113.6-1920_daily_bin1242.fits outfile=/scratch/kocevski/616981/expmap_561254401_561513601_4FGL_J1113.6-1920_daily_bin1242.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/616981/ltcube_561254401_561513601_4FGL_J1113.6-1920_daily_bin1242.fits
.....................!
real 192.36
user 186.83
sys 4.63

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/616981/ft1_filtered_4FGL_J1113.6-1920_daily_bin1242.fits scfile=/scratch/kocevski/616981/ft2_4FGL_J1113.6-1920_daily_bin1242.fits outfile=/scratch/kocevski/616981/cmap_561254401_561513601_4FGL_J1113.6-1920_daily_bin1242.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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/616981/ft1_filtered_4FGL_J1113.6-1920_daily_bin1242.fits scfile=/scratch/kocevski/616981/ft2_4FGL_J1113.6-1920_daily_bin1242.fits outfile=/scratch/kocevski/616981/cmap_HighResolution_561254401_561513601_4FGL_J1113.6-1920_daily_bin1242.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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/616981/ft1_filtered_4FGL_J1113.6-1920_daily_bin1242.fits evtable="EVENTS" scfile=/scratch/kocevski/616981/ft2_4FGL_J1113.6-1920_daily_bin1242.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/616981/Model_4FGL_J1113.6-1920_daily_bin1242.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/616981/ft1_filtered_4FGL_J1113.6-1920_daily_bin1242.fits.....................!
real 51.38
user 49.98
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2531       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.481       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8837       1.0000         .10000E-03   10000.    
     6 'norm      '    8.9264       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11798E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.018       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.9552       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.644       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .39392       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.905       1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.864       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    38.143       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63916       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2989       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=   5071.218     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2338 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2538        6.3477       -.13182E-04    .16284E-03
   2  Prefactor     .10000E-03    10.163        .10615E-05** at limit **
   3  Prefactor     31.487        20.643        .15570E-06   -.48317E-04
   4  Prefactor     .10000E-03    7.8183       -.24483E-06** at limit **
   5  Prefactor     9.8837        7.2585       -.17932E-06   -.12271E-03
   6  norm          8.9265        7.9815       -.95302E-06    .14388E-03
   7  Prefactor     .10000E-03    21.942        .54311E-06** at limit **
   8  Prefactor     .10000E-03    168.27       -.11914E-04** at limit **
   9  Prefactor     16.008        44.279       -.87645E-05    .51042E-04
  10  Prefactor     .10000E-03    94.849        .73495E-05** at limit **
  11  Prefactor     6.9348        97.548       -.36735E-04    .77424E-04
  12  Prefactor     18.643        20.092        .24248E-05    .14996E-03
  13  Prefactor     .10000E-03    31.746       -.10759E-05** at limit **
  14  norm          .39381        .83969       -.26144E-06   -.16482E-02
  15  Prefactor     18.904        13.005       -.26341E-06    .31343E-04
  16  Prefactor     26.864        26.843       -.22858E-07    .34900E-05
  17  Prefactor     .10000E-03    1.8885       -.63209E-07** at limit **
  18  Prefactor     38.145        36.527        .17757E-06   -.14095E-04
  19  Prefactor     .10000E-03    10.491       -.10156E-05** at limit **
  20  norm          .10000E-03    3.1493       -.10241E-07** at limit **
  21  Normalizat    .63913        .30773        .37560E-05    .71726E-04
  22  Prefactor     1.2989        .17440        .94170E-06    .95885E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.2538
  Prefactor  = 0.0001
  Prefactor  = 31.4867
  Prefactor  = 0.0001
  Prefactor  = 9.88366
  norm       = 8.92652
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 16.0077
  Prefactor  = 0.000100001
  Prefactor  = 6.93481
  Prefactor  = 18.6433
  Prefactor  = 0.0001
  norm       = 0.393809
  Prefactor  = 18.9038
  Prefactor  = 26.8643
  Prefactor  = 0.0001
  Prefactor  = 38.1445
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.639128
  Prefactor  = 1.2989
 **********
 **   18 **HESSE 
 **********

 FCN=   5071.218     FROM HESSE     STATUS=OK           346 CALLS     2684 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2538        6.4827        .27372E-03   -1.5408    
   2  Prefactor     .10000E-03    10.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.487        20.605        .71412E-04   -1.4585    
   4  Prefactor     .10000E-03    8.1319        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.8837        7.2491        .12746E-03   -1.5079    
   6  norm          8.9265        7.9794        .13415E-03   -1.5110    
   7  Prefactor     .10000E-03    21.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    168.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.008        44.257        .10007E-03   -1.4908    
  10  Prefactor     .10000E-03    94.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.9348        95.649        .15212E-03   -1.5181    
  12  Prefactor     18.643        19.898        .92757E-04   -1.4844    
  13  Prefactor     .10000E-03    31.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .39381        .66229        .92699E-03   -1.5582    
  15  Prefactor     18.904        13.002        .92116E-04   -1.4838    
  16  Prefactor     26.864        26.844        .77292E-04   -1.4671    
  17  Prefactor     .10000E-03    1.8911        .95555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     38.145        36.533        .64896E-04   -1.4472    
  19  Prefactor     .10000E-03    10.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.1676        .12340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .63913        .33393        .43063E-03   -1.0635    
  22  Prefactor     1.2989        .19213        .18540E-03   -.83340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99373e-10
Minuit parameter uncertainties:
  1  6.48472
  2  6.05417e-05
  3  20.6094
  4  5.11384e-05
  5  7.24976
  6  7.98033
  7  4.58777e-05
  8  0.00120976
  9  44.3476
  10  0.000450609
  11  51.6096
  12  19.9048
  13  2.57189e-05
  14  0.662306
  15  13.0042
  16  26.8558
  17  3.12261e-06
  18  36.5547
  19  4.72544e-06
  20  1.1261e-05
  21  0.334994
  22  0.192234
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  1.210e-03  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:  1.299e+00  1.922e-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:  6.391e-01  3.350e-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: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/616981/likelihoodResults_561254401_561513601_4FGL_J1113.6-1920_daily_bin1242.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): 102
logL (Free Index) = 5071.21754914
delta logL = -2.81157108475e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5071.21752119
delta logL = -1.67060534295e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10844E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6416       1.0000          .0000       10.000    
     3 'Normalizat'    .63913       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2989       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=   5071.218     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      279 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10592E-03    19.076        .18142E-01** at limit **
   2  Index         2.5049        8.7343        .50000        .19818E-05
   3  Normalizat    .63913        .24644E-02    .43063E-03   -.17635E-04
   4  Prefactor     1.2989        .14745E-02    .18540E-03   -.94176E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105915
  Index      = 2.50492
  Normalizat = 0.639127
  Prefactor  = 1.2989
 **********
 **   18 **HESSE 
 **********

 FCN=   5071.218     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10592E-03    511.01        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5049        6.0044        .50000       -.52246    
   3  Normalizat    .63913        .12794E-01    .17225E-04   -1.0635    
   4  Prefactor     1.2989        .76550E-02    .37079E-04   -.83340    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.09038e-10
Minuit parameter uncertainties:
  1  0.110918
  2  800.446
  3  0.0127942
  4  0.00765505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/616981': 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): 102
logL (Free Index) = 5071.2175211
delta logL = -7.4448507803e-08

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.059e-04  1.109e-01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.505e+00  8.004e+02  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:  1.299e+00  7.655e-03  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:  6.391e-01  1.279e-02  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/616981/cmap_HighResolution_561254401_561513601_4FGL_J1113.6-1920_daily_bin1242.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.30e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-03 13:37:36.593707', job_id='616981', GAL2='1.30', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1630701456.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='-7.44e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1242' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:37:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 616981: <4FGL_J1113.6-1920_daily_bin1242> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1242 168.405 -19.3359 561254401 561513601 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 :                                   611.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            687 sec.

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

