aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 99 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7724
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1753
RA = 168.405, Dec = -19.3359
tmin = 693705601, tmax = 693964801
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='452603', job_status='RUN', time_executed='2022-12-29 00:50:17.712169', time_epoch_executed='1672303817.71' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452603

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452603/ft1_4FGL_J1113.6-1920_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452603/ft2_4FGL_J1113.6-1920_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452603/ft1_4FGL_J1113.6-1920_daily_bin1753.fits outfile=/scratch/kocevski/452603/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1753.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=693705601.0 tmax=693964801.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.67
user 4.41
sys 0.24

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

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

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

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

Number of photons that the gtmktime cut: 536

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/452603/ft1_filtered_4FGL_J1113.6-1920_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/452603/ft2_4FGL_J1113.6-1920_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/452603/ltcube_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.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/452603/ft2_4FGL_J1113.6-1920_daily_bin1753.fits
.....................!
real 14.69
user 14.26
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452603/ft1_filtered_4FGL_J1113.6-1920_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/452603/ft2_4FGL_J1113.6-1920_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/452603/ltcube_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.fits outfile=/scratch/kocevski/452603/expmap_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.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/452603/ltcube_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.fits
.....................!
real 194.71
user 188.08
sys 6.13

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/452603/ft1_filtered_4FGL_J1113.6-1920_daily_bin1753.fits scfile=/scratch/kocevski/452603/ft2_4FGL_J1113.6-1920_daily_bin1753.fits outfile=/scratch/kocevski/452603/cmap_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452603/ft1_filtered_4FGL_J1113.6-1920_daily_bin1753.fits scfile=/scratch/kocevski/452603/ft2_4FGL_J1113.6-1920_daily_bin1753.fits outfile=/scratch/kocevski/452603/cmap_HighResolution_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.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/452603/ft1_filtered_4FGL_J1113.6-1920_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/452603/ft2_4FGL_J1113.6-1920_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/452603/Model_4FGL_J1113.6-1920_daily_bin1753.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/452603/ft1_filtered_4FGL_J1113.6-1920_daily_bin1753.fits.....................!
real 58.99
user 57.62
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/452603/ft1_filtered_4FGL_J1113.6-1920_daily_bin1753.fits', '/scratch/kocevski/452603/ft2_4FGL_J1113.6-1920_daily_bin1753.fits', expMap='/scratch/kocevski/452603/expmap_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.fits', expCube='/scratch/kocevski/452603/ltcube_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/452603/Model_4FGL_J1113.6-1920_daily_bin1753.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  0.000e+00  1.000e+06 ( 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/452603/ft1_filtered_4FGL_J1113.6-1920_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/452603/ft2_4FGL_J1113.6-1920_daily_bin1753.fits
Exposure map: /scratch/kocevski/452603/expmap_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.fits
Exposure cube: /scratch/kocevski/452603/ltcube_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/452603/Model_4FGL_J1113.6-1920_daily_bin1753.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) = 5956.09140074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18201E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    25.044       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.8713       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11700E-02   1.0000          .0000       .10000E+07
     5 'norm      '    2.0449       1.0000          .0000       .10000E+07
     6 'Prefactor '    15.368       1.0000          .0000       .10000E+07
     7 'Prefactor '    171.59       1.0000          .0000       .10000E+07
     8 'Prefactor '    .19984E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    41.358       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79970E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    74.703       1.0000          .0000       .10000E+07
    13 'Prefactor '    .39380E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17310E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    20.980       1.0000          .0000       .10000E+07
    16 'norm      '    .19517E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .93034       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5956.045     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1346 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.2490       -.17152E-05** at limit **
   2  Prefactor     25.478        21.486        .21980E-07   -.20567E-01
   3  Prefactor     8.9033        9.1348        .84795E-06   -.30333E-02
   4  Prefactor      .0000        2.6399       -.11442E-05** at limit **
   5  norm          2.0600        5.6573        .79566E-06   -.61574E-03
   6  Prefactor     15.306        6.2432       -.28750E-06    .15593    
   7  Prefactor     176.92        116.91        .67480E-05    .10918E-01
   8  Prefactor     .71125E-05    182.34        .28853E-04** at limit **
   9  Prefactor     41.902        58.358       -.16134E-05    .19819E-01
  10  Prefactor     .16653E-09    8.9874        .65231E-06** at limit **
  11  norm           .0000        .32703        .23372E-07** at limit **
  12  Prefactor     74.755        6.8573        .61372E-06   -.30771    
  13  Prefactor     .46074E-08    76.394       -.44959E-05** at limit **
  14  Prefactor     .99920E-09    9.3527        .15697E-05** at limit **
  15  Prefactor     21.067        15.182        .23413E-06   -.24538E-01
  16  norm           .0000        1.7461       -.11956E-06** at limit **
  17  Normalizat    .92779        .27438       -.33637E-04   -.21896E-03
  18  Prefactor     1.0099        .16412       -.14282E-04   -.32781E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 25.4782
  Prefactor  = 8.90333
  Prefactor  = 0
  norm       = 2.06001
  Prefactor  = 15.3064
  Prefactor  = 176.92
  Prefactor  = 7.11253e-06
  Prefactor  = 41.9017
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 74.7546
  Prefactor  = 4.60743e-09
  Prefactor  = 9.99201e-10
  Prefactor  = 21.0671
  norm       = 0
  Normalizat = 0.927791
  Prefactor  = 1.00995
 **********
 **   18 **HESSE 
 **********

 FCN=   5956.045     FROM HESSE     STATUS=OK           286 CALLS     1632 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.2533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.478        21.968        .19987E-03   -1.5607    
   3  Prefactor     8.9033        9.1705        .33628E-03   -1.5648    
   4  Prefactor      .0000        2.6355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0600        5.6632        .72276E-03   -1.5679    
   6  Prefactor     15.306        21.780        .25523E-03   -1.5630    
   7  Prefactor     176.92        117.00        .76347E-04   -1.5442    
   8  Prefactor     .71125E-05    9.8753        .13469E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     41.902        60.080        .15551E-03   -1.5578    
  10  Prefactor     .16653E-09    8.9886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .32615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     74.755        16.560        .11571E-03   -1.5535    
  13  Prefactor     .46074E-08    76.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99920E-09    9.2391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.067        15.349        .21838E-03   -1.5616    
  16  norm           .0000        1.7466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .92779        .23920        .77137E-01   -.95490    
  18  Prefactor     1.0099        .14008        .43353E-01   -.92399    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64288e-06
Minuit parameter uncertainties:
  1  1.71812e-05
  2  21.9679
  3  9.17055
  4  8.10797e-06
  5  5.66325
  6  21.7797
  7  116.998
  8  0.0167617
  9  60.0804
  10  7.26303e-05
  11  4.70941e-07
  12  16.5595
  13  0.00118845
  14  0.000191479
  15  15.3491
  16  2.15136e-06
  17  0.23948
  18  0.140135
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.769e+02  1.170e+02  0.000e+00  1.000e+06 ( 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.010e+00  1.401e-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.278e-01  2.395e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.90
Ra Dec: 168.405 -19.336
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 7.67e-08 +/- 5.07e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 1.96e-05

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) = 5955.74685174
delta logL = 0.298410787076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5955.74356582
delta logL = 0.301696709009

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    100.51       1.0000          .0000       .10000E+07
     2 'Index     '    2.7245       1.0000          .0000       10.000    
     3 'Normalizat'    .89125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0233       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=   5955.744     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      295 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     100.48        131.85        .39900E-05   -.90379E-03
   2  Index         2.7248        .68016        .41590E-02   -.39672E-04
   3  Normalizat    .89113        .27383        .34742E-03    .18325E-04
   4  Prefactor     1.0234        .16454        .19852E-03   -.10087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 100.48
  Index      = 2.72479
  Normalizat = 0.891131
  Prefactor  = 1.02343
 **********
 **   18 **HESSE 
 **********

 FCN=   5955.744     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     100.48        113.89        .79801E-06   -1.5507    
   2  Index         2.7248        .58745        .16636E-03   -.47242    
   3  Normalizat    .89113        .27328        .13897E-04   -.96772    
   4  Prefactor     1.0234        .16436        .39705E-04   -.91953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44862e-11
Minuit parameter uncertainties:
  1  113.895
  2  0.589163
  3  0.273705
  4  0.164437
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452603': 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) = 5955.74356496
delta logL = 0.301697560332

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.005e+02  1.139e+02  0.000e+00  1.000e+06 ( 1.000e-14)
275        Index:  2.725e+00  5.892e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.023e+00  1.644e-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.911e-01  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.55
Ra Dec: 168.405 -19.336
Photon Index (Free Index): 2.72 +/- 0.59
Photon Flux (Free Index): 1.10e-07 +/- 7.33e-08
Energy Flux (Free Index): 2.59e-05 +/- 1.56e-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/452603/cmap_HighResolution_693705601_693964801_4FGL_J1113.6-1920_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.67e-08', energy_flux2='2.59e-05', photon_flux_error='5.07e-08', dlogl='3.02e-01', energy_flux='2.97e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2022-12-29 00:59:20.952982', photon_index_error2='0.59', photon_index2='2.72', ts='4.90', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.56e-05', EG='0.93', time_epoch_completed='1672304360.95', return_code='0', job_id='452603', GAL2='1.02', EG2='0.89', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='7.33e-08', ts2='5.55', photon_index='2.29' WHERE bin_id='1753' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 00:59:20 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 452603: <4FGL_J1113.6-1920_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 00:45:17 2022
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:48:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:48:29 2022
Terminated at Thu Dec 29 00:59:21 2022
Results reported at Thu Dec 29 00:59:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1753 168.405 -19.3359 693705601 693964801 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 :                                   530.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             306.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            844 sec.

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

