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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1574
RA = 168.405, Dec = -19.3359
tmin = 647308801, tmax = 647568001
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='617455', job_status='RUN', time_executed='2021-09-03 13:29:25.317410', time_epoch_executed='1630700965.32' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1574'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617455

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617455/ft1_4FGL_J1113.6-1920_daily_bin1574.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617455/ft2_4FGL_J1113.6-1920_daily_bin1574.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617455/ft1_4FGL_J1113.6-1920_daily_bin1574.fits outfile=/scratch/kocevski/617455/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1574.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=647308801.0 tmax=647568001.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.56
user 3.32
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/617455/ft2_4FGL_J1113.6-1920_daily_bin1574.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/617455/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1574.fits evtable="EVENTS" outfile="/scratch/kocevski/617455/ft1_filtered_4FGL_J1113.6-1920_daily_bin1574.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.37
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617455/ft1_filtered_4FGL_J1113.6-1920_daily_bin1574.fits" evtable="EVENTS" scfile=/scratch/kocevski/617455/ft2_4FGL_J1113.6-1920_daily_bin1574.fits sctable="SC_DATA" outfile=/scratch/kocevski/617455/ltcube_647308801_647568001_4FGL_J1113.6-1920_daily_bin1574.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/617455/ft2_4FGL_J1113.6-1920_daily_bin1574.fits
.....................!
real 17.42
user 16.99
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617455/ft1_filtered_4FGL_J1113.6-1920_daily_bin1574.fits evtable="EVENTS" scfile=/scratch/kocevski/617455/ft2_4FGL_J1113.6-1920_daily_bin1574.fits sctable="SC_DATA" expcube=/scratch/kocevski/617455/ltcube_647308801_647568001_4FGL_J1113.6-1920_daily_bin1574.fits outfile=/scratch/kocevski/617455/expmap_647308801_647568001_4FGL_J1113.6-1920_daily_bin1574.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/617455/ltcube_647308801_647568001_4FGL_J1113.6-1920_daily_bin1574.fits
.....................!
real 191.08
user 186.44
sys 4.05

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/617455/ft1_filtered_4FGL_J1113.6-1920_daily_bin1574.fits scfile=/scratch/kocevski/617455/ft2_4FGL_J1113.6-1920_daily_bin1574.fits outfile=/scratch/kocevski/617455/cmap_647308801_647568001_4FGL_J1113.6-1920_daily_bin1574.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.58
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/617455/ft1_filtered_4FGL_J1113.6-1920_daily_bin1574.fits scfile=/scratch/kocevski/617455/ft2_4FGL_J1113.6-1920_daily_bin1574.fits outfile=/scratch/kocevski/617455/cmap_HighResolution_647308801_647568001_4FGL_J1113.6-1920_daily_bin1574.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.58
user 0.44
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5907       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.289       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.9647       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    54.499       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.033       1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.348       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.046       1.0000         .10000E-03   10000.    
    14 'norm      '    .86557       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4037       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.919       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4461       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95662       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=   7073.450     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2394 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5903        7.8875        .34158E-05   -.63729E-03
   2  Prefactor     23.291        16.201        .40496E-06    .12952E-03
   3  Prefactor     .10000E-03    13.371       -.10008E-05** at limit **
   4  Prefactor     .10000E-03    8.0065        .47064E-06** at limit **
   5  Prefactor     .10000E-03    2.0759        .61272E-07** at limit **
   6  norm          8.9659        7.2700        .92724E-06   -.31890E-03
   7  Prefactor     .10000E-03    23.135       -.11568E-05** at limit **
   8  Prefactor     54.502        95.651        .10957E-05   -.13453E-05
   9  Prefactor     14.029        21.387       -.13949E-05   -.11747E-03
  10  Prefactor     47.367        76.545        .45625E-05    .13110E-03
  11  Prefactor     .10000E-03    15.068        .10028E-05** at limit **
  12  Prefactor     .10000E-03    6.0339       -.17613E-07** at limit **
  13  Prefactor     11.018        35.293       -.11497E-04   -.36834E-03
  14  norm          .86609        .87904        .18527E-09    .23951E-03
  15  Prefactor     5.4040        8.9837        .45619E-05   -.63278E-03
  16  Prefactor     .10000E-03    21.378        .12742E-05** at limit **
  17  Prefactor     .10000E-03    3.0392        .66343E-07** at limit **
  18  Prefactor     13.919        17.827        .36403E-07   -.78392E-05
  19  Prefactor     .10000E-03    3.8945        .22570E-07** at limit **
  20  norm          .10000E-03    2.0781        .45971E-07** at limit **
  21  Normalizat    1.4456        .22842       -.12409E-05   -.26131E-05
  22  Prefactor     .95690        .13446       -.20310E-06   -.74821E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.59028
  Prefactor  = 23.2914
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.96586
  Prefactor  = 0.000100001
  Prefactor  = 54.5019
  Prefactor  = 14.0288
  Prefactor  = 47.3673
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0184
  norm       = 0.86609
  Prefactor  = 5.40402
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 13.9191
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.44562
  Prefactor  = 0.956903
 **********
 **   18 **HESSE 
 **********

 FCN=   7073.450     FROM HESSE     STATUS=OK           338 CALLS     2732 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5903        8.0423        .84954E-03   -1.5235    
   2  Prefactor     23.291        16.194        .83002E-04   -1.4742    
   3  Prefactor     .10000E-03    13.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.3088        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.0954        .11831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.9659        7.2929        .66932E-03   -1.5109    
   7  Prefactor     .10000E-03    23.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     54.502        95.663        .54334E-04   -1.4230    
   9  Prefactor     14.029        21.563        .10692E-03   -1.4959    
  10  Prefactor     47.367        77.207        .58272E-04   -1.4330    
  11  Prefactor     .10000E-03    15.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.1471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.018        37.781        .12054E-03   -1.5044    
  14  norm          .86609        .87246        .75696E-04   -1.5522    
  15  Prefactor     5.4040        9.2301        .86435E-03   -1.5243    
  16  Prefactor     .10000E-03    21.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.0816        .14315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.919        17.827        .10736E-03   -1.4962    
  19  Prefactor     .10000E-03    3.8986        .16210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.1070        .11839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4456        .27537        .29727E-03   -.79318    
  22  Prefactor     .95690        .16176        .21511E-03   -.94180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48876e-09
Minuit parameter uncertainties:
  1  8.04385
  2  16.1974
  3  0.000167963
  4  2.92378e-05
  5  2.74188e-06
  6  7.29364
  7  0.000218946
  8  95.9341
  9  21.5748
  10  77.3708
  11  0.000149927
  12  3.36037e-06
  13  37.863
  14  0.872472
  15  9.23253
  16  0.000216168
  17  4.4453e-06
  18  17.8335
  19  1.71602e-06
  20  2.0877e-06
  21  0.275657
  22  0.161839
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  5.450e+01  9.593e+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:  9.569e-01  1.618e-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.446e+00  2.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 168.405 -19.336
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/617455/likelihoodResults_647308801_647568001_4FGL_J1113.6-1920_daily_bin1574.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) = 7073.28837353
delta logL = 0.161826159008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7073.28498053
delta logL = 0.165219156466

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.355       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7846       1.0000          .0000       10.000    
     3 'Normalizat'    1.4272       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96288       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=   7073.285     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      316 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.426        82.054        .70445E-04   -.87148E-05
   2  Index         2.7855        1.0806        .61977E-02    .39101E-03
   3  Normalizat    1.4274        .26779        .29882E-03    .36220E-04
   4  Prefactor     .96260        .16068        .21451E-03   -.26287E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.4261
  Index      = 2.78547
  Normalizat = 1.42738
  Prefactor  = 0.962602
 **********
 **   18 **HESSE 
 **********

 FCN=   7073.285     FROM HESSE     STATUS=OK            25 CALLS      341 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.426        70.100        .28178E-05   -1.4568    
   2  Index         2.7855        .92421        .12395E-02   -.45884    
   3  Normalizat    1.4274        .26804        .11953E-04   -.79840    
   4  Prefactor     .96260        .16077        .85805E-05   -.93987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83687e-11
Minuit parameter uncertainties:
  1  70.2788
  2  0.93089
  3  0.26831
  4  0.160848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617455': 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) = 7073.28497365
delta logL = 0.165226044807

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  3.243e+01  7.028e+01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.785e+00  9.309e-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:  9.626e-01  1.608e-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.427e+00  2.683e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
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/617455/cmap_HighResolution_647308801_647568001_4FGL_J1113.6-1920_daily_bin1574.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.11e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-03 13:42:20.429610', job_id='617455', GAL2='0.96', fit_tolerance='1e-08', EG2='1.43', EG='1.45', time_epoch_completed='1630701740.43', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.65e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1574' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:42:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 617455: <4FGL_J1113.6-1920_daily_bin1574> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1574> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 13:26:44 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:29:02 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:29:02 2021
Terminated at Fri Sep  3 13:42:21 2021
Results reported at Fri Sep  3 13:42:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1574 168.405 -19.3359 647308801 647568001 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 :                                   772.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            937 sec.

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

