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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1293
RA = 168.405, Dec = -19.3359
tmin = 574473601, tmax = 574732801
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='617055', job_status='RUN', time_executed='2021-09-03 13:29:37.767762', time_epoch_executed='1630700977.77' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1293'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617055

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617055/ft1_4FGL_J1113.6-1920_daily_bin1293.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617055/ft2_4FGL_J1113.6-1920_daily_bin1293.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617055/ft1_4FGL_J1113.6-1920_daily_bin1293.fits outfile=/scratch/kocevski/617055/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1293.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=574473601.0 tmax=574732801.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 4.15
user 3.85
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617055/ft1_filtered_4FGL_J1113.6-1920_daily_bin1293.fits" evtable="EVENTS" scfile=/scratch/kocevski/617055/ft2_4FGL_J1113.6-1920_daily_bin1293.fits sctable="SC_DATA" outfile=/scratch/kocevski/617055/ltcube_574473601_574732801_4FGL_J1113.6-1920_daily_bin1293.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/617055/ft2_4FGL_J1113.6-1920_daily_bin1293.fits
.....................!
real 15.63
user 15.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617055/ft1_filtered_4FGL_J1113.6-1920_daily_bin1293.fits evtable="EVENTS" scfile=/scratch/kocevski/617055/ft2_4FGL_J1113.6-1920_daily_bin1293.fits sctable="SC_DATA" expcube=/scratch/kocevski/617055/ltcube_574473601_574732801_4FGL_J1113.6-1920_daily_bin1293.fits outfile=/scratch/kocevski/617055/expmap_574473601_574732801_4FGL_J1113.6-1920_daily_bin1293.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/617055/ltcube_574473601_574732801_4FGL_J1113.6-1920_daily_bin1293.fits
.....................!
real 192.48
user 187.20
sys 4.62

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/617055/ft1_filtered_4FGL_J1113.6-1920_daily_bin1293.fits scfile=/scratch/kocevski/617055/ft2_4FGL_J1113.6-1920_daily_bin1293.fits outfile=/scratch/kocevski/617055/cmap_574473601_574732801_4FGL_J1113.6-1920_daily_bin1293.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=168.405 yref=-19.3359 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/617055/ft1_filtered_4FGL_J1113.6-1920_daily_bin1293.fits scfile=/scratch/kocevski/617055/ft2_4FGL_J1113.6-1920_daily_bin1293.fits outfile=/scratch/kocevski/617055/cmap_HighResolution_574473601_574732801_4FGL_J1113.6-1920_daily_bin1293.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.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/617055/ft1_filtered_4FGL_J1113.6-1920_daily_bin1293.fits evtable="EVENTS" scfile=/scratch/kocevski/617055/ft2_4FGL_J1113.6-1920_daily_bin1293.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617055/Model_4FGL_J1113.6-1920_daily_bin1293.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/617055/ft1_filtered_4FGL_J1113.6-1920_daily_bin1293.fits.....................!
real 55.88
user 54.45
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11472E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .29508       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.132       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.436       1.0000         .10000E-03   10000.    
    10 'Prefactor '    65.222       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9762       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.412       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.928       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.921       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.829       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0627       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.605       1.0000         .10000E-03   10000.    
    20 'norm      '    5.8353       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1368       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93176       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=   5785.204     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2418 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7072       -.57795E-07** at limit **
   2  Prefactor     .10028E-03    14.382       -.27175E-05** at limit **
   3  Prefactor     .10000E-03    17.383       -.66450E-07** at limit **
   4  Prefactor     .10000E-03    2.1074       -.30940E-07** at limit **
   5  Prefactor     .29425        2.6307        .38739E-06   -.10106E-03
   6  norm          .10000E-03    6.3768       -.14699E-06** at limit **
   7  Prefactor     .10001E-03    34.584        .86306E-05** at limit **
   8  Prefactor     14.200        125.62        .47495E-07   -.59622E-05
   9  Prefactor     19.435        23.878        .44649E-06   -.67448E-05
  10  Prefactor     65.199        57.771       -.12579E-06   -.33942E-04
  11  Prefactor     2.9735        75.086       -.11805E-06   -.10573E-05
  12  Prefactor     .10000E-03    20.076       -.23528E-06** at limit **
  13  Prefactor     25.418        32.107        .73897E-07    .41105E-05
  14  norm          .10000E-03    .34563        .19476E-06** at limit **
  15  Prefactor     21.934        15.220        .32373E-06   -.21860E-04
  16  Prefactor     23.922        29.001        .68602E-07   -.95580E-06
  17  Prefactor     18.827        9.9267       -.30064E-07   -.78457E-04
  18  Prefactor     7.0313        58.158       -.16274E-06   -.20961E-04
  19  Prefactor     17.599        46.238       -.14701E-05   -.21838E-04
  20  norm          5.8296        13.180        .87582E-06    .45590E-04
  21  Normalizat    1.1367        .25621       -.27587E-05    .12648E-04
  22  Prefactor     .93183        .14494        .13310E-05   -.62330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.00010028
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.294248
  norm       = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 14.1997
  Prefactor  = 19.4346
  Prefactor  = 65.199
  Prefactor  = 2.9735
  Prefactor  = 0.0001
  Prefactor  = 25.4178
  norm       = 0.0001
  Prefactor  = 21.9336
  Prefactor  = 23.9224
  Prefactor  = 18.8272
  Prefactor  = 7.03128
  Prefactor  = 17.5993
  norm       = 5.8296
  Normalizat = 1.13669
  Prefactor  = 0.931834
 **********
 **   18 **HESSE 
 **********

 FCN=   5785.204     FROM HESSE     STATUS=OK           350 CALLS     2768 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7639        .17742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10028E-03    58.225        .45924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.1205        .10782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .29425        11.298        .23226E-02   -1.5599    
   6  norm          .10000E-03    6.4341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    36.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.200        124.77        .10654E-03   -1.4954    
   9  Prefactor     19.435        23.972        .90850E-04   -1.4826    
  10  Prefactor     65.199        57.781        .24847E-03   -1.4091    
  11  Prefactor     2.9735        75.228        .23534E-03   -1.5363    
  12  Prefactor     .10000E-03    20.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.418        32.101        .79465E-04   -1.4699    
  14  norm          .10000E-03    .35012        .43708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.934        15.264        .85536E-04   -1.4771    
  16  Prefactor     23.922        28.995        .81900E-04   -1.4729    
  17  Prefactor     18.827        9.9084        .92302E-04   -1.4840    
  18  Prefactor     7.0313        58.384        .15095E-03   -1.5178    
  19  Prefactor     17.599        45.903        .95456E-04   -1.4869    
  20  norm          5.8296        13.080        .16625E-03   -1.5225    
  21  Normalizat    1.1367        .29477        .30878E-03   -.88582    
  22  Prefactor     .93183        .16916        .20104E-03   -.95037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30252e-08
Minuit parameter uncertainties:
  1  5.87684e-07
  2  0.00808544
  3  6.77653e-05
  4  8.20415e-07
  5  3.64666
  6  2.106e-06
  7  0.00127591
  8  84.4194
  9  23.9837
  10  57.8309
  11  29.9543
  12  2.12625e-05
  13  32.1231
  14  2.84074e-06
  15  15.2664
  16  29.0118
  17  9.90928
  18  40.5757
  19  45.9951
  20  13.0861
  21  0.295197
  22  0.169257
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.420e+01  8.442e+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.318e-01  1.693e-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.137e+00  2.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/617055/likelihoodResults_574473601_574732801_4FGL_J1113.6-1920_daily_bin1293.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) = 5785.18691218
delta logL = 0.017074653947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5785.18671363
delta logL = 0.0172732057454

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.810       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6328       1.0000          .0000       10.000    
     3 'Normalizat'    1.1304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93331       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=   5785.187     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      264 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.798        99.431        .10778E-03   -.44617E-04
   2  Index         2.6315        1.9408        .12854E-01    .90065E-05
   3  Normalizat    1.1307        .27779        .30951E-03   -.21065E-03
   4  Prefactor     .93323        .16476        .20090E-03   -.20062E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7981
  Index      = 2.63149
  Normalizat = 1.13069
  Prefactor  = 0.93323
 **********
 **   18 **HESSE 
 **********

 FCN=   5785.187     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.798        78.230        .43113E-05   -1.4965    
   2  Index         2.6315        1.7338        .51415E-03   -.49349    
   3  Normalizat    1.1307        .27811        .12380E-04   -.88773    
   4  Prefactor     .93323        .16484        .40180E-04   -.94989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5046e-10
Minuit parameter uncertainties:
  1  65.8405
  2  1.78209
  3  0.278475
  4  0.164926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617055': 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) = 5785.18671241
delta logL = 0.0172744221818

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.380e+01  6.584e+01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.631e+00  1.782e+00  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  9.332e-01  1.649e-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.131e+00  2.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/617055/cmap_HighResolution_574473601_574732801_4FGL_J1113.6-1920_daily_bin1293.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.32e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-03 13:40:51.746567', job_id='617055', GAL2='0.93', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1630701651.75', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.73e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1293' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:40:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 617055: <4FGL_J1113.6-1920_daily_bin1293> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1293> 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) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:26:39 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:39 2021
Terminated at Fri Sep  3 13:40:52 2021
Results reported at Fri Sep  3 13:40:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1293 168.405 -19.3359 574473601 574732801 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 :                                   658.58 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             287.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            877 sec.

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

