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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1440
RA = 168.405, Dec = -19.3359
tmin = 612576001, tmax = 612835201
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='617266', job_status='RUN', time_executed='2021-09-03 13:28:12.000471', time_epoch_executed='1630700892.0' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1440'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/617266

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/617266/ft1_4FGL_J1113.6-1920_daily_bin1440.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/617266/ft2_4FGL_J1113.6-1920_daily_bin1440.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/617266/ft1_4FGL_J1113.6-1920_daily_bin1440.fits outfile=/scratch/kocevski/617266/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1440.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=612576001.0 tmax=612835201.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 2.78
user 2.59
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/617266/ft1_filtered_4FGL_J1113.6-1920_daily_bin1440.fits" evtable="EVENTS" scfile=/scratch/kocevski/617266/ft2_4FGL_J1113.6-1920_daily_bin1440.fits sctable="SC_DATA" outfile=/scratch/kocevski/617266/ltcube_612576001_612835201_4FGL_J1113.6-1920_daily_bin1440.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/617266/ft2_4FGL_J1113.6-1920_daily_bin1440.fits
.....................!
real 18.16
user 16.14
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/617266/ft1_filtered_4FGL_J1113.6-1920_daily_bin1440.fits evtable="EVENTS" scfile=/scratch/kocevski/617266/ft2_4FGL_J1113.6-1920_daily_bin1440.fits sctable="SC_DATA" expcube=/scratch/kocevski/617266/ltcube_612576001_612835201_4FGL_J1113.6-1920_daily_bin1440.fits outfile=/scratch/kocevski/617266/expmap_612576001_612835201_4FGL_J1113.6-1920_daily_bin1440.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/617266/ltcube_612576001_612835201_4FGL_J1113.6-1920_daily_bin1440.fits
.....................!
real 193.23
user 186.48
sys 5.88

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/617266/ft1_filtered_4FGL_J1113.6-1920_daily_bin1440.fits scfile=/scratch/kocevski/617266/ft2_4FGL_J1113.6-1920_daily_bin1440.fits outfile=/scratch/kocevski/617266/cmap_612576001_612835201_4FGL_J1113.6-1920_daily_bin1440.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/617266/ft1_filtered_4FGL_J1113.6-1920_daily_bin1440.fits scfile=/scratch/kocevski/617266/ft2_4FGL_J1113.6-1920_daily_bin1440.fits outfile=/scratch/kocevski/617266/cmap_HighResolution_612576001_612835201_4FGL_J1113.6-1920_daily_bin1440.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/617266/ft1_filtered_4FGL_J1113.6-1920_daily_bin1440.fits evtable="EVENTS" scfile=/scratch/kocevski/617266/ft2_4FGL_J1113.6-1920_daily_bin1440.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/617266/Model_4FGL_J1113.6-1920_daily_bin1440.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/617266/ft1_filtered_4FGL_J1113.6-1920_daily_bin1440.fits.....................!
real 59.16
user 57.80
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0686       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14457E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.9222       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16061E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    91.425       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.357       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .28611E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.729       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.170       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11046E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.059       1.0000         .10000E-03   10000.    
    19 'Prefactor '    49.103       1.0000         .10000E-03   10000.    
    20 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97748       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92857       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=   6226.427     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2389 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6391        .86636E-07** at limit **
   2  Prefactor     4.0927        34.416        .64399E-05   -.10329E-03
   3  Prefactor     .10043E-03    16.080        .72911E-06** at limit **
   4  Prefactor     .10000E-03    2.7283        .27410E-07** at limit **
   5  Prefactor     .10000E-03    2.5646        .29519E-07** at limit **
   6  norm          3.9269        4.8864       -.28307E-07   -.33479E-03
   7  Prefactor     .10001E-03    60.286       -.64639E-05** at limit **
   8  Prefactor     91.452        105.00        .23886E-04    .11001E-04
   9  Prefactor     10.354        12.419        .11719E-04   -.56866E-04
  10  Prefactor     .10000E-03    22.258       -.26550E-06** at limit **
  11  Prefactor     .10000E-03    209.64       -.98394E-05** at limit **
  12  Prefactor     .10000E-03    3.7156        .25275E-07** at limit **
  13  Prefactor     11.749        43.162        .11201E-04   -.96042E-05
  14  norm          .10000E-03    .30778       -.75690E-07** at limit **
  15  Prefactor     18.169        10.254        .28159E-05   -.99558E-04
  16  Prefactor     .10000E-03    7.4904        .58984E-08** at limit **
  17  Prefactor     6.1348        7.4719        .11689E-06   -.20671E-03
  18  Prefactor     29.082        33.190        .10592E-05   -.23122E-05
  19  Prefactor     49.109        19.978        .21681E-06   -.18157E-04
  20  norm          .10000E-03    2.6196        .25349E-07** at limit **
  21  Normalizat    .97737        .22007       -.67035E-05    .66505E-04
  22  Prefactor     .92860        .13018        .29204E-07   -.28853E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.09271
  Prefactor  = 0.000100427
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.92685
  Prefactor  = 0.000100011
  Prefactor  = 91.4524
  Prefactor  = 10.3538
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 11.7492
  norm       = 0.0001
  Prefactor  = 18.1694
  Prefactor  = 0.0001
  Prefactor  = 6.13481
  Prefactor  = 29.0822
  Prefactor  = 49.1089
  norm       = 0.0001
  Normalizat = 0.977366
  Prefactor  = 0.9286
 **********
 **   18 **HESSE 
 **********

 FCN=   6226.427     FROM HESSE     STATUS=OK           342 CALLS     2731 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6610        .14700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0927        25.930        .19989E-03   -1.5303    
   3  Prefactor     .10043E-03    109.78        .52281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.7379        .12726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.5935        .12335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.9269        4.8797        .18750E-03   -1.5312    
   7  Prefactor     .10001E-03    61.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     91.452        105.19        .42027E-04   -1.3792    
   9  Prefactor     10.354        12.361        .12450E-03   -1.5064    
  10  Prefactor     .10000E-03    22.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    217.36        .36661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.7198        .14854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.749        43.097        .11697E-03   -1.5022    
  14  norm          .10000E-03    .31077        .42709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.169        10.257        .93959E-04   -1.4855    
  16  Prefactor     .10000E-03    7.4915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.1348        7.4611        .16208E-03   -1.5213    
  18  Prefactor     29.082        33.195        .74322E-04   -1.4629    
  19  Prefactor     49.109        19.942        .57226E-04   -1.4305    
  20  norm          .10000E-03    2.6284        .12449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .97737        .26597        .30181E-03   -.93793    
  22  Prefactor     .92860        .15923        .19151E-03   -.95149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.52074e-09
Minuit parameter uncertainties:
  1  1.49688e-05
  2  20.6161
  3  0.0137222
  4  5.61023e-06
  5  6.31797e-06
  6  4.8802
  7  0.00160711
  8  105.404
  9  12.3641
  10  6.80886e-05
  11  0.00198574
  12  5.00305e-06
  13  43.2116
  14  4.3247e-06
  15  10.2577
  16  1.62229e-06
  17  7.46223
  18  33.2161
  19  19.9449
  20  6.67873e-06
  21  0.266327
  22  0.159315
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  9.145e+01  1.054e+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.286e-01  1.593e-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:  9.774e-01  2.663e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 168.405 -19.336
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 3.96e-08 +/- 4.56e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.77e-05

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

Saving results to:
/scratch/kocevski/617266/likelihoodResults_612576001_612835201_4FGL_J1113.6-1920_daily_bin1440.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) = 6225.83518628
delta logL = 0.591601165483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6225.81115129
delta logL = 0.615636155609

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.402       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2111       1.0000          .0000       10.000    
     3 'Normalizat'    .89229       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96208       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=   6225.811     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      323 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.381        230.98        .72666E-04    .13142E-04
   2  Index         3.2118        2.4063        .39217E-02    .38857E-04
   3  Normalizat    .89067        .28825        .31458E-03    .13397E-03
   4  Prefactor     .96305        .17402        .18838E-03   -.30165E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.3806
  Index      = 3.21183
  Normalizat = 0.890668
  Prefactor  = 0.963052
 **********
 **   18 **HESSE 
 **********

 FCN=   6225.811     FROM HESSE     STATUS=OK            25 CALLS      348 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.381        62.405        .29066E-05   -1.4605    
   2  Index         3.2118        .93004        .15687E-03   -.36573    
   3  Normalizat    .89067        .27060        .12583E-04   -.96789    
   4  Prefactor     .96305        .16319        .37676E-04   -.93971    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.067e-10
Minuit parameter uncertainties:
  1  62.5391
  2  0.9363
  3  0.271012
  4  0.163269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/617266': 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) = 6225.81113218
delta logL = 0.615655271604

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  9.631e-01  1.633e-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:  8.907e-01  2.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.41
Ra Dec: 168.405 -19.336
Photon Index (Free Index): 3.21 +/- 0.94
Photon Flux (Free Index): 9.94e-08 +/- 7.77e-08
Energy Flux (Free Index): 1.81e-05 +/- 1.36e-05

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/617266/cmap_HighResolution_612576001_612835201_4FGL_J1113.6-1920_daily_bin1440.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', photon_flux='3.96e-08', energy_flux2='1.81e-05', photon_flux_error='4.56e-08', dlogl='6.16e-01', energy_flux='1.54e-05', photon_flux2='9.94e-08', job_status='DONE', time_completed='2021-09-03 13:39:44.389956', photon_index_error2='0.94', photon_index2='3.21', ts='1.03', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='1.36e-05', EG='0.98', time_epoch_completed='1630701584.39', return_code='0', job_id='617266', GAL2='0.96', EG2='0.89', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='7.77e-08', ts2='2.41', photon_index='2.29' WHERE bin_id='1440' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:39:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 617266: <4FGL_J1113.6-1920_daily_bin1440> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1440> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 13:26:31 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:27:30 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:27:30 2021
Terminated at Fri Sep  3 13:39:45 2021
Results reported at Fri Sep  3 13:39:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1440 168.405 -19.3359 612576001 612835201 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 :                                   687.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            794 sec.

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

