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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1140
RA = 168.405, Dec = -19.3359
tmin = 534816001, tmax = 535075201
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='615838', job_status='RUN', time_executed='2021-09-03 13:24:58.705394', time_epoch_executed='1630700698.71' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1140'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615838

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615838/ft1_4FGL_J1113.6-1920_daily_bin1140.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615838/ft2_4FGL_J1113.6-1920_daily_bin1140.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615838/ft1_4FGL_J1113.6-1920_daily_bin1140.fits outfile=/scratch/kocevski/615838/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1140.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=534816001.0 tmax=535075201.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.69
user 3.44
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615838/ft1_filtered_4FGL_J1113.6-1920_daily_bin1140.fits" evtable="EVENTS" scfile=/scratch/kocevski/615838/ft2_4FGL_J1113.6-1920_daily_bin1140.fits sctable="SC_DATA" outfile=/scratch/kocevski/615838/ltcube_534816001_535075201_4FGL_J1113.6-1920_daily_bin1140.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/615838/ft2_4FGL_J1113.6-1920_daily_bin1140.fits
.....................!
real 16.22
user 15.86
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615838/ft1_filtered_4FGL_J1113.6-1920_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/615838/ft2_4FGL_J1113.6-1920_daily_bin1140.fits sctable="SC_DATA" expcube=/scratch/kocevski/615838/ltcube_534816001_535075201_4FGL_J1113.6-1920_daily_bin1140.fits outfile=/scratch/kocevski/615838/expmap_534816001_535075201_4FGL_J1113.6-1920_daily_bin1140.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/615838/ltcube_534816001_535075201_4FGL_J1113.6-1920_daily_bin1140.fits
.....................!
real 193.38
user 188.60
sys 4.21

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/615838/ft1_filtered_4FGL_J1113.6-1920_daily_bin1140.fits scfile=/scratch/kocevski/615838/ft2_4FGL_J1113.6-1920_daily_bin1140.fits outfile=/scratch/kocevski/615838/cmap_534816001_535075201_4FGL_J1113.6-1920_daily_bin1140.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.844       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .44128E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.6282       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .84467       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    52.180       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .20312E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    100.89       1.0000         .10000E-03   10000.    
    14 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0194       1.0000         .10000E-03   10000.    
    20 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86661       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1363       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=   5164.591     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2338 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.440        .42554E-06** at limit **
   2  Prefactor     10.832        18.507        .34529E-08    .19036E-03
   3  Prefactor     .10039E-03    21.792       -.35550E-05** at limit **
   4  Prefactor     6.6283        8.1951        .27337E-06    .12487E-03
   5  Prefactor     .10000E-03    4.5893        .36166E-07** at limit **
   6  norm          .84270        9.9108        .58657E-05    .22093E-03
   7  Prefactor     .10000E-03    11.571        .10081E-06** at limit **
   8  Prefactor     .10000E-03    43.322        .31391E-07** at limit **
   9  Prefactor     .10000E-03    5.8378        .13989E-06** at limit **
  10  Prefactor     .10000E-03    21.080        .28011E-06** at limit **
  11  Prefactor     52.137        49.700       -.42621E-06   -.15343E-03
  12  Prefactor     .10000E-03    12.052       -.18174E-05** at limit **
  13  Prefactor     100.89        71.793        .32023E-06   -.12912E-04
  14  norm          .10000E-03    .61244        .82005E-07** at limit **
  15  Prefactor     .10000E-03    5.6638        .11275E-06** at limit **
  16  Prefactor     .10000E-03    16.496       -.17693E-06** at limit **
  17  Prefactor     .10000E-03    7.8075       -.81469E-07** at limit **
  18  Prefactor     .10000E-03    9.0452        .54557E-07** at limit **
  19  Prefactor     4.0192        9.6628        .45519E-06    .26072E-04
  20  norm          .10000E-03    1.6448        .32023E-07** at limit **
  21  Normalizat    .86678        .24530       -.22148E-05    .19168E-04
  22  Prefactor     1.1362        .15161        .36147E-06   -.14441E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.8321
  Prefactor  = 0.000100387
  Prefactor  = 6.62831
  Prefactor  = 0.0001
  norm       = 0.842701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.1369
  Prefactor  = 0.0001
  Prefactor  = 100.888
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.01925
  norm       = 0.0001
  Normalizat = 0.866782
  Prefactor  = 1.13618
 **********
 **   18 **HESSE 
 **********

 FCN=   5164.591     FROM HESSE     STATUS=OK           336 CALLS     2674 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.823        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.832        17.709        .12166E-03   -1.5050    
   3  Prefactor     .10039E-03    72.173        .53081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6283        8.1883        .15587E-03   -1.5193    
   5  Prefactor     .10000E-03    4.6389        .15027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .84270        10.308        .43489E-03   -1.5524    
   7  Prefactor     .10000E-03    11.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    43.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.8436        .16959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     52.137        49.705        .27761E-03   -1.4263    
  12  Prefactor     .10000E-03    12.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     100.89        71.699        .40026E-04   -1.3696    
  14  norm          .10000E-03    .62658        .10961E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.6977        .16701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.0009        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.0460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.0192        9.6477        .20115E-03   -1.5307    
  20  norm          .10000E-03    1.6531        .89936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .86678        .28505        .33189E-03   -.97637    
  22  Prefactor     1.1362        .17808        .18358E-03   -.88318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63862e-09
Minuit parameter uncertainties:
  1  4.43501e-05
  2  17.7174
  3  0.0105762
  4  8.18964
  5  1.62403e-05
  6  5.89549
  7  2.3074e-05
  8  2.69926e-07
  9  2.33934e-05
  10  0.000110573
  11  49.745
  12  0.000103828
  13  71.761
  14  2.75787e-06
  15  1.56252e-06
  16  9.30633e-05
  17  3.42321e-06
  18  1.67196e-05
  19  9.65142
  20  1.19043e-06
  21  0.285541
  22  0.178178
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  2.699e-07  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.136e+00  1.782e-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.668e-01  2.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 168.405 -19.336
Photon Flux Upper Limit: 8.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/615838/likelihoodResults_534816001_535075201_4FGL_J1113.6-1920_daily_bin1140.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) = 5164.59152512
delta logL = -0.000109852667265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5164.59141633
delta logL = -1.06782499643e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10480E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9260       1.0000          .0000       10.000    
     3 'Normalizat'    .86678       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1362       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=   5164.591     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      274 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10530E-03    3.1989        .18142E-01** at limit **
   2  Index         2.8027        6.8832        .50000        .93545E-05
   3  Normalizat    .86678        .20362E-02    .33189E-03    .20004E-04
   4  Prefactor     1.1362        .12802E-02    .18358E-03    .34951E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105304
  Index      = 2.80269
  Normalizat = 0.866781
  Prefactor  = 1.13618
 **********
 **   18 **HESSE 
 **********

 FCN=   5164.591     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10530E-03    93.057        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8027        7.1492        .50000       -.45500    
   3  Normalizat    .86678        .11005E-01    .13276E-04   -.97637    
   4  Prefactor     1.1362        .69193E-02    .36717E-04   -.88318    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.07491e-09
Minuit parameter uncertainties:
  1  0.0445004
  2  437.31
  3  0.0110055
  4  0.0069193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615838': 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) = 5164.59141606
delta logL = -7.97238499217e-07

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.053e-04  4.450e-02  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.803e+00  4.373e+02  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.136e+00  6.919e-03  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  8.668e-01  1.101e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 168.405 -19.336

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/615838/cmap_HighResolution_534816001_535075201_4FGL_J1113.6-1920_daily_bin1140.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.51e-03', job_status='DONE', photon_flux_upper_limit='8.49e-08', time_completed='2021-09-03 13:35:24.278348', job_id='615838', GAL2='1.14', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1630701324.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='-7.97e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1140' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:35:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 615838: <4FGL_J1113.6-1920_daily_bin1140> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1140 168.405 -19.3359 534816001 535075201 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 :                                   618.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            817 sec.

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

