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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1288
RA = 168.405, Dec = -19.3359
tmin = 573177601, tmax = 573436801
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='617048', job_status='RUN', time_executed='2021-09-03 13:27:24.883443', time_epoch_executed='1630700844.88' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1288'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617048

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617048/ft1_4FGL_J1113.6-1920_daily_bin1288.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617048/ft2_4FGL_J1113.6-1920_daily_bin1288.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617048/ft1_4FGL_J1113.6-1920_daily_bin1288.fits outfile=/scratch/kocevski/617048/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1288.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=573177601.0 tmax=573436801.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.52
user 5.25
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617048/ft1_filtered_4FGL_J1113.6-1920_daily_bin1288.fits" evtable="EVENTS" scfile=/scratch/kocevski/617048/ft2_4FGL_J1113.6-1920_daily_bin1288.fits sctable="SC_DATA" outfile=/scratch/kocevski/617048/ltcube_573177601_573436801_4FGL_J1113.6-1920_daily_bin1288.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/617048/ft2_4FGL_J1113.6-1920_daily_bin1288.fits
.....................!
real 15.33
user 14.95
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617048/ft1_filtered_4FGL_J1113.6-1920_daily_bin1288.fits evtable="EVENTS" scfile=/scratch/kocevski/617048/ft2_4FGL_J1113.6-1920_daily_bin1288.fits sctable="SC_DATA" expcube=/scratch/kocevski/617048/ltcube_573177601_573436801_4FGL_J1113.6-1920_daily_bin1288.fits outfile=/scratch/kocevski/617048/expmap_573177601_573436801_4FGL_J1113.6-1920_daily_bin1288.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/617048/ltcube_573177601_573436801_4FGL_J1113.6-1920_daily_bin1288.fits
.....................!
real 193.17
user 186.93
sys 5.47

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/617048/ft1_filtered_4FGL_J1113.6-1920_daily_bin1288.fits scfile=/scratch/kocevski/617048/ft2_4FGL_J1113.6-1920_daily_bin1288.fits outfile=/scratch/kocevski/617048/cmap_573177601_573436801_4FGL_J1113.6-1920_daily_bin1288.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.55
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/617048/ft1_filtered_4FGL_J1113.6-1920_daily_bin1288.fits scfile=/scratch/kocevski/617048/ft2_4FGL_J1113.6-1920_daily_bin1288.fits outfile=/scratch/kocevski/617048/cmap_HighResolution_573177601_573436801_4FGL_J1113.6-1920_daily_bin1288.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/617048/ft1_filtered_4FGL_J1113.6-1920_daily_bin1288.fits evtable="EVENTS" scfile=/scratch/kocevski/617048/ft2_4FGL_J1113.6-1920_daily_bin1288.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617048/Model_4FGL_J1113.6-1920_daily_bin1288.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/617048/ft1_filtered_4FGL_J1113.6-1920_daily_bin1288.fits.....................!
real 76.56
user 75.07
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.895       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9220       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10371E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .82128E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0055       1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.014       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.625       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5587       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.0005       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1714       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.3516       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4246       1.0000         .10000E-03   10000.    
    19 'Prefactor '    56.185       1.0000         .10000E-03   10000.    
    20 'norm      '    .12183E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75825       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0447       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=   8994.722     FROM MIGRAD    STATUS=CONVERGED    846 CALLS     2783 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7781        .12304E-02** at limit **
   2  Prefactor     10.894        8.9245        .12138E-03    .30721E-04
   3  Prefactor     6.9204        10.604        .15249E-03    .12376E-04
   4  Prefactor     .10000E-03    6.2403        .29976E-02** at limit **
   5  Prefactor     .10000E-03    3.9627        .25784E-02** at limit **
   6  norm          .45111E-01    4.8315        .52447E-01    .36032E-03
   7  Prefactor     .10000E-03    10.453        .18142E-02** at limit **
   8  Prefactor     .10000E-03    80.581        .18142E-02** at limit **
   9  Prefactor     3.0108        14.507        .23412E-03   -.34088E-04
  10  Prefactor     32.005        55.072        .70818E-04    .23759E-04
  11  Prefactor     .10000E-03    5.4208        .18142E-02** at limit **
  12  Prefactor     10.624        7.2890        .12292E-03    .10544E-04
  13  Prefactor     .10000E-03    11.691        .18142E-02** at limit **
  14  norm          1.5583        .93728        .68314E-04   -.40440E-03
  15  Prefactor     8.9993        6.6032        .13360E-03   -.54462E-04
  16  Prefactor     6.1700        16.782        .16160E-03   -.36582E-05
  17  Prefactor     5.3507        3.8962        .15054E-03   -.37760E-04
  18  Prefactor     3.4198        42.857        .21858E-03   -.52010E-05
  19  Prefactor     56.178        14.886        .53517E-04    .86494E-03
  20  norm          .10000E-03    5.3487        .27006E-02** at limit **
  21  Normalizat    .75838        .20867        .32317E-03    .20481E-03
  22  Prefactor     1.0447        .12805        .17901E-03    .17587E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.894
  Prefactor  = 6.92038
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0451111
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 3.01083
  Prefactor  = 32.0045
  Prefactor  = 0.0001
  Prefactor  = 10.6238
  Prefactor  = 0.0001
  norm       = 1.55834
  Prefactor  = 8.99932
  Prefactor  = 6.17004
  Prefactor  = 5.35066
  Prefactor  = 3.41978
  Prefactor  = 56.1784
  norm       = 0.000100002
  Normalizat = 0.758384
  Prefactor  = 1.04468
 **********
 **   18 **HESSE 
 **********

 FCN=   8994.722     FROM HESSE     STATUS=OK           330 CALLS     3113 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7784        .24607E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.894        8.9241        .48551E-05   -1.5048    
   3  Prefactor     6.9204        10.603        .60996E-05   -1.5182    
   4  Prefactor     .10000E-03    6.2738        .59952E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.9785        .51568E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .45111E-01    4.5355        .54659E-01   -1.5666    
   7  Prefactor     .10000E-03    10.454        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    80.597        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0108        14.500        .93650E-05   -1.5361    
  10  Prefactor     32.005        55.091        .28327E-05   -1.4576    
  11  Prefactor     .10000E-03    5.4209        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.624        7.2889        .49167E-05   -1.5056    
  13  Prefactor     .10000E-03    11.691        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5583        .93723        .27326E-05   -1.5458    
  15  Prefactor     8.9993        6.6028        .53439E-05   -1.5108    
  16  Prefactor     6.1700        16.782        .64641E-05   -1.5211    
  17  Prefactor     5.3507        3.8954        .60216E-05   -1.5245    
  18  Prefactor     3.4198        42.823        .87434E-05   -1.5338    
  19  Prefactor     56.178        14.872        .10703E-04   -1.4208    
  20  norm          .10000E-03    5.3795        .54012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75838        .20874        .12927E-04   -1.0163    
  22  Prefactor     1.0447        .12814        .35801E-04   -.91255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15331e-09
Minuit parameter uncertainties:
  1  1.57347e-07
  2  8.92514
  3  10.606
  4  9.37893e-05
  5  0.000108944
  6  0.903727
  7  1.05334e-05
  8  0.000724101
  9  13.2197
  10  55.1789
  11  4.11062e-06
  12  7.2895
  13  6.03458e-06
  14  0.937241
  15  6.60335
  16  16.7947
  17  3.89555
  18  24.224
  19  14.8732
  20  0.000195861
  21  0.208957
  22  0.128173
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  7.241e-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:  1.045e+00  1.282e-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:  7.584e-01  2.090e-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: 5.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/617048/likelihoodResults_573177601_573436801_4FGL_J1113.6-1920_daily_bin1288.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) = 8994.722154
delta logL = -5.90174877289e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8994.72209412
delta logL = 8.66884874995e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45089E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6747       1.0000          .0000       10.000    
     3 'Normalizat'    .75838       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0447       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.

 FCN=   8994.722     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      245 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45091E-03    99.521        .13809    ** at limit **
   2  Index         2.6747        5.0576        .22965       -.45756E-04
   3  Normalizat    .75838        .88518E-02    .73019E-01    .43002E-04
   4  Prefactor     1.0447        .57025E-02    .40232E-01    .87715E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000450909
  Index      = 2.67471
  Normalizat = 0.758382
  Prefactor  = 1.04468
 **********
 **   18 **HESSE 
 **********

 FCN=   8994.722     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      280 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45091E-03    1380.2        .12647       -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6747        6.2291        .91862E-02   -.48370    
   3  Normalizat    .75838        .38327E-01    .32317E-03   -1.0163    
   4  Prefactor     1.0447        .23163E-01    .17901E-03   -.91255    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.85322e-07
Minuit parameter uncertainties:
  1  1.42605
  2  33.9312
  3  0.0383279
  4  0.023163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617048': 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) = 8994.72209412
delta logL = 8.66912159836e-07

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  4.509e-04  1.426e+00  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.675e+00  3.393e+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:  1.045e+00  2.316e-02  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:  7.584e-01  3.833e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/617048/cmap_HighResolution_573177601_573436801_4FGL_J1113.6-1920_daily_bin1288.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.44e-08', time_completed='2021-09-03 13:42:46.989335', job_id='617048', GAL2='1.04', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1630701766.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='8.67e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1288' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:42:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0129>
Subject: Job 617048: <4FGL_J1113.6-1920_daily_bin1288> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1288 168.405 -19.3359 573177601 573436801 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 :                                   915.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            992 sec.

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

