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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1598
RA = 168.405, Dec = -19.3359
tmin = 653529601, tmax = 653788801
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='725345', job_status='RUN', time_executed='2021-09-20 00:26:58.690322', time_epoch_executed='1632122818.69' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/725345

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/725345/ft1_4FGL_J1113.6-1920_daily_bin1598.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/725345/ft2_4FGL_J1113.6-1920_daily_bin1598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/725345/ft1_4FGL_J1113.6-1920_daily_bin1598.fits outfile=/scratch/kocevski/725345/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1598.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=653529601.0 tmax=653788801.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.22
user 4.89
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/725345/ft1_filtered_4FGL_J1113.6-1920_daily_bin1598.fits" evtable="EVENTS" scfile=/scratch/kocevski/725345/ft2_4FGL_J1113.6-1920_daily_bin1598.fits sctable="SC_DATA" outfile=/scratch/kocevski/725345/ltcube_653529601_653788801_4FGL_J1113.6-1920_daily_bin1598.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/725345/ft2_4FGL_J1113.6-1920_daily_bin1598.fits
.....................!
real 11.27
user 10.93
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/725345/ft1_filtered_4FGL_J1113.6-1920_daily_bin1598.fits evtable="EVENTS" scfile=/scratch/kocevski/725345/ft2_4FGL_J1113.6-1920_daily_bin1598.fits sctable="SC_DATA" expcube=/scratch/kocevski/725345/ltcube_653529601_653788801_4FGL_J1113.6-1920_daily_bin1598.fits outfile=/scratch/kocevski/725345/expmap_653529601_653788801_4FGL_J1113.6-1920_daily_bin1598.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/725345/ltcube_653529601_653788801_4FGL_J1113.6-1920_daily_bin1598.fits
.....................!
real 190.64
user 185.04
sys 5.24

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/725345/ft1_filtered_4FGL_J1113.6-1920_daily_bin1598.fits scfile=/scratch/kocevski/725345/ft2_4FGL_J1113.6-1920_daily_bin1598.fits outfile=/scratch/kocevski/725345/cmap_653529601_653788801_4FGL_J1113.6-1920_daily_bin1598.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.54
user 0.41
sys 0.12

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/725345/ft1_filtered_4FGL_J1113.6-1920_daily_bin1598.fits evtable="EVENTS" scfile=/scratch/kocevski/725345/ft2_4FGL_J1113.6-1920_daily_bin1598.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/725345/Model_4FGL_J1113.6-1920_daily_bin1598.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/725345/ft1_filtered_4FGL_J1113.6-1920_daily_bin1598.fits.....................!
real 46.25
user 44.97
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11083E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .21493E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0019       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .42800E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.1221       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10529E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10614E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.721       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.7906       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11128E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11261E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5687       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7396       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11059E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .85027E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14450E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1375       1.0000         .10000E-03   10000.    
    20 'norm      '    5.0701       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4070       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92288       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=   4415.753     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2761 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.964        .36938E-06** at limit **
   2  Prefactor     .10000E-03    11.714        .86136E-07** at limit **
   3  Prefactor     .10428E-03    35.305       -.65380E-05** at limit **
   4  Prefactor     3.0088        5.1522       -.19828E-06   -.55101E-04
   5  Prefactor     .10000E-03    21.668       -.77153E-05** at limit **
   6  norm          8.1256        7.5724       -.14176E-06   -.82952E-04
   7  Prefactor     .10000E-03    21.386        .48623E-07** at limit **
   8  Prefactor     .10000E-03    37.471        .88659E-06** at limit **
   9  Prefactor     28.671        41.745       -.19771E-05   -.94795E-04
  10  Prefactor     6.0662        1459.6        .83659E-05   -.93274E-05
  11  Prefactor     .10000E-03    45.244        .74763E-07** at limit **
  12  Prefactor     .10000E-03    9.0213        .23595E-06** at limit **
  13  Prefactor     .10000E-03    18.303        .76510E-08** at limit **
  14  norm          1.5689        1.3344        .10702E-06    .26542E-03
  15  Prefactor     1.7341        44.189       -.26385E-05   -.28382E-04
  16  Prefactor     .10000E-03    44.707       -.26312E-06** at limit **
  17  Prefactor     .10000E-03    11.984        .51451E-05** at limit **
  18  Prefactor     .10000E-03    199.40       -.20814E-05** at limit **
  19  Prefactor     1.1671        115.02       -.29601E-05   -.10229E-04
  20  norm          5.0696        9.8065       -.27018E-06   -.32477E-04
  21  Normalizat    1.4070        .30500       -.13962E-05   -.30123E-03
  22  Prefactor     .92293        .16913        .16789E-06   -.53807E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000104283
  Prefactor  = 3.00879
  Prefactor  = 0.0001
  norm       = 8.12563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.6712
  Prefactor  = 6.06621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.56887
  Prefactor  = 1.73411
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.16714
  norm       = 5.06958
  Normalizat = 1.40697
  Prefactor  = 0.922932
 **********
 **   18 **HESSE 
 **********

 FCN=   4415.753     FROM HESSE     STATUS=OK           350 CALLS     3111 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10428E-03    20.505        .88592E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0088        5.1335        .19174E-03   -1.5361    
   5  Prefactor     .10000E-03    27.067        .25607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.1256        7.5669        .14068E-03   -1.5138    
   7  Prefactor     .10000E-03    21.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    37.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.671        41.450        .74757E-04   -1.4637    
  10  Prefactor     6.0662        1423.5        .16690E-03   -1.5215    
  11  Prefactor     .10000E-03    45.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.0661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5689        1.3435        .68002E-04   -1.5457    
  15  Prefactor     1.7341        42.818        .31810E-03   -1.5445    
  16  Prefactor     .10000E-03    44.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    37.767        .29488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    203.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.1671        116.84        .43655E-03   -1.5492    
  20  norm          5.0696        9.8892        .17857E-03   -1.5258    
  21  Normalizat    1.4070        .36085        .30353E-03   -.80427    
  22  Prefactor     .92293        .19875        .21194E-03   -.95344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00488e-09
Minuit parameter uncertainties:
  1  3.98561e-05
  2  1.56562e-05
  3  0.018748
  4  5.13427
  5  0.000139101
  6  7.56779
  7  1.92291e-05
  8  0.000158779
  9  41.4912
  10  190.634
  11  4.03616e-05
  12  2.47068e-05
  13  3.45373e-06
  14  1.34352
  15  17.2472
  16  5.1835e-05
  17  0.000194952
  18  0.000274493
  19  23.4014
  20  9.89239
  21  0.361504
  22  0.198905
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  1.588e-04  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.229e-01  1.989e-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.407e+00  3.615e-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: 8.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/725345/likelihoodResults_653529601_653788801_4FGL_J1113.6-1920_daily_bin1598.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) = 4415.75346275
delta logL = -0.000126415011437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4415.75333803
delta logL = -1.69674240169e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15526E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6016       1.0000          .0000       10.000    
     3 'Normalizat'    1.4070       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92291       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=   4415.753     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10322E-03    15.814        .18142E-01** at limit **
   2  Index         2.5190        6.1858        .50000        .10052E-04
   3  Normalizat    1.4070        .53830E-02    .30354E-03   -.81275E-05
   4  Prefactor     .92293        .31419E-02    .21194E-03    .12840E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103218
  Index      = 2.51904
  Normalizat = 1.40698
  Prefactor  = 0.92293
 **********
 **   18 **HESSE 
 **********

 FCN=   4415.753     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10322E-03    106.33        .34701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5190        8.6158        .50000       -.51921    
   3  Normalizat    1.4070        .14019E-01    .12142E-04   -.80427    
   4  Prefactor     .92293        .81824E-02    .42388E-04   -.95344    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.73913e-09
Minuit parameter uncertainties:
  1  0.0370603
  2  292.337
  3  0.0140191
  4  0.0081824
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/725345': 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) = 4415.75333681
delta logL = -4.72409737995e-07

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.032e-04  3.706e-02  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.519e+00  2.923e+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:  9.229e-01  8.182e-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:  1.407e+00  1.402e-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/725345/cmap_HighResolution_653529601_653788801_4FGL_J1113.6-1920_daily_bin1598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.58e-03', job_status='DONE', photon_flux_upper_limit='8.59e-08', time_completed='2021-09-20 00:36:34.597329', job_id='725345', GAL2='0.92', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1632123394.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-4.72e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1598' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 20 00:36:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 725345: <4FGL_J1113.6-1920_daily_bin1598> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1598> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 20 00:25:15 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 20 00:25:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 20 00:25:17 2021
Terminated at Mon Sep 20 00:36:35 2021
Results reported at Mon Sep 20 00:36:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1598 168.405 -19.3359 653529601 653788801 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 :                                   578.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             305.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            680 sec.

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

