/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 2 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1187
RA = 168.405, Dec = -19.3359
tmin = 546998401, tmax = 547257601
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='615909', job_status='RUN', time_executed='2021-09-03 13:23:04.644741', time_epoch_executed='1630700584.64' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1187'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615909

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615909/ft1_4FGL_J1113.6-1920_daily_bin1187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615909/ft2_4FGL_J1113.6-1920_daily_bin1187.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615909/ft1_4FGL_J1113.6-1920_daily_bin1187.fits outfile=/scratch/kocevski/615909/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1187.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=546998401.0 tmax=547257601.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.64
user 3.43
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615909/ft1_filtered_4FGL_J1113.6-1920_daily_bin1187.fits" evtable="EVENTS" scfile=/scratch/kocevski/615909/ft2_4FGL_J1113.6-1920_daily_bin1187.fits sctable="SC_DATA" outfile=/scratch/kocevski/615909/ltcube_546998401_547257601_4FGL_J1113.6-1920_daily_bin1187.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/615909/ft2_4FGL_J1113.6-1920_daily_bin1187.fits
.....................!
real 16.12
user 15.70
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615909/ft1_filtered_4FGL_J1113.6-1920_daily_bin1187.fits evtable="EVENTS" scfile=/scratch/kocevski/615909/ft2_4FGL_J1113.6-1920_daily_bin1187.fits sctable="SC_DATA" expcube=/scratch/kocevski/615909/ltcube_546998401_547257601_4FGL_J1113.6-1920_daily_bin1187.fits outfile=/scratch/kocevski/615909/expmap_546998401_547257601_4FGL_J1113.6-1920_daily_bin1187.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/615909/ltcube_546998401_547257601_4FGL_J1113.6-1920_daily_bin1187.fits
.....................!
real 192.15
user 187.05
sys 4.59

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/615909/ft1_filtered_4FGL_J1113.6-1920_daily_bin1187.fits scfile=/scratch/kocevski/615909/ft2_4FGL_J1113.6-1920_daily_bin1187.fits outfile=/scratch/kocevski/615909/cmap_546998401_547257601_4FGL_J1113.6-1920_daily_bin1187.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/615909/ft1_filtered_4FGL_J1113.6-1920_daily_bin1187.fits scfile=/scratch/kocevski/615909/ft2_4FGL_J1113.6-1920_daily_bin1187.fits outfile=/scratch/kocevski/615909/cmap_HighResolution_546998401_547257601_4FGL_J1113.6-1920_daily_bin1187.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/615909/ft1_filtered_4FGL_J1113.6-1920_daily_bin1187.fits evtable="EVENTS" scfile=/scratch/kocevski/615909/ft2_4FGL_J1113.6-1920_daily_bin1187.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615909/Model_4FGL_J1113.6-1920_daily_bin1187.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/615909/ft1_filtered_4FGL_J1113.6-1920_daily_bin1187.fits.....................!
real 32.33
user 31.01
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2794       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    83.900       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    16.009       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    50.498       1.0000         .10000E-03   10000.    
     9 'Prefactor '    53.899       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    74.134       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    136.64       1.0000         .10000E-03   10000.    
    14 'norm      '    2.9788       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0067       1.0000         .10000E-03   10000.    
    16 'Prefactor '    59.661       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .68175E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11775E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.863       1.0000         .10000E-03   10000.    
    20 'norm      '    .40103E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68432       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98769       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=   2635.355     FROM MIGRAD    STATUS=CONVERGED    818 CALLS     3089 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2793        13.497        .19476E-03    .28574E-04
   2  Prefactor     .10000E-03    45.152        .18142E-02** at limit **
   3  Prefactor     .10000E-03    33.174        .18142E-02** at limit **
   4  Prefactor     83.895        75.170        .21927E-03   -.33809E-04
   5  Prefactor     .10000E-03    5.0252        .11239E-02** at limit **
   6  norm          16.010        11.861        .10010E-03   -.33106E-04
   7  Prefactor     .10000E-03    33.906        .18142E-02** at limit **
   8  Prefactor     50.440        172.85        .56434E-04   -.74134E-05
   9  Prefactor     53.904        28.255        .54634E-04   -.72227E-04
  10  Prefactor     .10000E-03    32.686        .18142E-02** at limit **
  11  Prefactor     74.125        96.000        .46631E-04   -.38520E-04
  12  Prefactor     .10000E-03    16.126        .18142E-02** at limit **
  13  Prefactor     136.66        112.02        .17228E-03    .89798E-04
  14  norm          2.9787        2.1536        .59891E-04    .16705E-04
  15  Prefactor     5.0059        14.089        .17972E-03    .77301E-04
  16  Prefactor     59.665        53.249        .51943E-04   -.13329E-04
  17  Prefactor     .82423E-01    29.453        .62388E-01    .83976E-04
  18  Prefactor     .10000E-03    104.57        .18142E-02** at limit **
  19  Prefactor     27.821        29.489        .75897E-04   -.61864E-04
  20  norm          .10000E-03    32.432        .22943E-02** at limit **
  21  Normalizat    .68412        .42607        .38578E-03   -.12731E-04
  22  Prefactor     .98777        .24918        .20073E-03   -.51678E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.27931
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 83.8952
  Prefactor  = 0.0001
  norm       = 16.0101
  Prefactor  = 0.0001
  Prefactor  = 50.4401
  Prefactor  = 53.9038
  Prefactor  = 0.0001
  Prefactor  = 74.1248
  Prefactor  = 0.0001
  Prefactor  = 136.656
  norm       = 2.97868
  Prefactor  = 5.00588
  Prefactor  = 59.6654
  Prefactor  = 0.0824234
  Prefactor  = 0.000100002
  Prefactor  = 27.8215
  norm       = 0.000100001
  Normalizat = 0.68412
  Prefactor  = 0.987771
 **********
 **   18 **HESSE 
 **********

 FCN=   2635.355     FROM HESSE     STATUS=OK           330 CALLS     3419 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2793        13.496        .77902E-05   -1.5294    
   2  Prefactor     .10000E-03    45.152        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.175        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     83.895        75.169        .43855E-04   -1.3874    
   5  Prefactor     .10000E-03    5.0252        .22477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.010        11.860        .40040E-05   -1.4907    
   7  Prefactor     .10000E-03    33.906        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     50.440        172.81        .11287E-04   -1.4286    
   9  Prefactor     53.904        28.253        .10927E-04   -1.4238    
  10  Prefactor     .10000E-03    32.686        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     74.125        95.997        .93263E-05   -1.3984    
  12  Prefactor     .10000E-03    16.127        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     136.66        112.02        .34456E-04   -1.3365    
  14  norm          2.9787        2.1535        .23956E-05   -1.5363    
  15  Prefactor     5.0059        14.085        .71888E-05   -1.5260    
  16  Prefactor     59.665        53.244        .10389E-04   -1.4162    
  17  Prefactor     .82423E-01    24.289        .70436E-01   -1.5651    
  18  Prefactor     .10000E-03    104.57        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.821        29.384        .30359E-05   -1.4653    
  20  norm          .10000E-03    32.534        .45887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .68412        .42624        .15431E-04   -1.0452    
  22  Prefactor     .98777        .24922        .40145E-04   -.93138    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02498e-09
Minuit parameter uncertainties:
  1  13.506
  2  0.000138267
  3  9.89867e-05
  4  75.2547
  5  1.86356e-05
  6  11.8614
  7  0.000236006
  8  174.572
  9  28.2604
  10  0.000199403
  11  96.1984
  12  6.86304e-05
  13  112.19
  14  2.15359
  15  14.0942
  16  53.2862
  17  2.82929
  18  0.000897571
  19  29.3995
  20  0.000346778
  21  0.428318
  22  0.249514
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  5.044e+01  1.746e+02  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.878e-01  2.495e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  6.841e-01  4.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 168.405 -19.336
Photon Flux Upper Limit: 2.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.71e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/615909/likelihoodResults_546998401_547257601_4FGL_J1113.6-1920_daily_bin1187.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) = 2635.35364783
delta logL = 0.0016963439316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2635.35329799
delta logL = 0.00204618795169

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.320       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3817       1.0000          .0000       10.000    
     3 'Normalizat'    .68239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98779       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=   2635.353     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      246 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.242        181.42        .58913E-04    .23053E-03
   2  Index         2.3783        1.5135        .93296E-02    .26635E-03
   3  Normalizat    .68261        .38457        .38617E-03   -.88024E-03
   4  Prefactor     .98818        .23948        .20069E-03   -.18773E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.2418
  Index      = 2.37832
  Normalizat = 0.682611
  Prefactor  = 0.988182
 **********
 **   18 **HESSE 
 **********

 FCN=   2635.353     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.242        172.47        .11783E-04   -1.4347    
   2  Index         2.3783        1.4401        .37318E-03   -.55193    
   3  Normalizat    .68261        .38469        .77234E-04   -1.0458    
   4  Prefactor     .98818        .23952        .40137E-04   -.93125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46324e-08
Minuit parameter uncertainties:
  1  174.388
  2  1.46907
  3  0.386216
  4  0.239776
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615909': 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) = 2635.35328586
delta logL = 0.0020583091241

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  4.624e+01  1.744e+02  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.378e+00  1.469e+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.882e-01  2.398e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  6.826e-01  3.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/615909/cmap_HighResolution_546998401_547257601_4FGL_J1113.6-1920_daily_bin1187.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.71e-02', job_status='DONE', photon_flux_upper_limit='2.23e-07', time_completed='2021-09-03 13:31:25.325391', job_id='615909', GAL2='0.99', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1630701085.33', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.06e-03', ts2='0.10', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1187' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:31:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 615909: <4FGL_J1113.6-1920_daily_bin1187> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1187> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 13:21:52 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:22:53 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:22:53 2021
Terminated at Fri Sep  3 13:31:26 2021
Results reported at Fri Sep  3 13:31:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1187 168.405 -19.3359 546998401 547257601 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 :                                   497.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             373.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   512 sec.
    Turnaround time :                            574 sec.

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

