/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 223 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 = 7491
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2119.6-1105_daily_bin225
RA = 319.924, Dec = -11.091
tmin = 297648001, tmax = 297907201
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='447592', job_status='RUN', time_executed='2021-09-26 11:10:42.984291', time_epoch_executed='1632679842.98' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='225'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447592

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447592/ft1_4FGL_J2119.6-1105_daily_bin225.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447592/ft2_4FGL_J2119.6-1105_daily_bin225.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447592/ft1_4FGL_J2119.6-1105_daily_bin225.fits outfile=/scratch/kocevski/447592/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin225.fits ra=319.924 dec=-11.091 rad=12.0 tmin=297648001.0 tmax=297907201.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.72
user 3.45
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/447592/ft2_4FGL_J2119.6-1105_daily_bin225.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/447592/ft2_4FGL_J2119.6-1105_daily_bin225.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/447592/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin225.fits evtable="EVENTS" outfile="/scratch/kocevski/447592/ft1_filtered_4FGL_J2119.6-1105_daily_bin225.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447592/ft1_filtered_4FGL_J2119.6-1105_daily_bin225.fits" evtable="EVENTS" scfile=/scratch/kocevski/447592/ft2_4FGL_J2119.6-1105_daily_bin225.fits sctable="SC_DATA" outfile=/scratch/kocevski/447592/ltcube_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.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/447592/ft2_4FGL_J2119.6-1105_daily_bin225.fits
.....................!
real 13.58
user 13.16
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447592/ft1_filtered_4FGL_J2119.6-1105_daily_bin225.fits evtable="EVENTS" scfile=/scratch/kocevski/447592/ft2_4FGL_J2119.6-1105_daily_bin225.fits sctable="SC_DATA" expcube=/scratch/kocevski/447592/ltcube_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.fits outfile=/scratch/kocevski/447592/expmap_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.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/447592/ltcube_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.fits
.....................!
real 191.53
user 185.05
sys 5.73

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 176 point sources and 0 extended sources

Setting source of interest to:
4FGL J2119.6-1105 @ 319.924 -11.091

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/447592/ft1_filtered_4FGL_J2119.6-1105_daily_bin225.fits scfile=/scratch/kocevski/447592/ft2_4FGL_J2119.6-1105_daily_bin225.fits outfile=/scratch/kocevski/447592/cmap_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.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=319.924 yref=-11.091 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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447592/ft1_filtered_4FGL_J2119.6-1105_daily_bin225.fits scfile=/scratch/kocevski/447592/ft2_4FGL_J2119.6-1105_daily_bin225.fits outfile=/scratch/kocevski/447592/cmap_HighResolution_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.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=319.924 yref=-11.091 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447592/ft1_filtered_4FGL_J2119.6-1105_daily_bin225.fits evtable="EVENTS" scfile=/scratch/kocevski/447592/ft2_4FGL_J2119.6-1105_daily_bin225.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447592/Model_4FGL_J2119.6-1105_daily_bin225.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/447592/ft1_filtered_4FGL_J2119.6-1105_daily_bin225.fits.....................!
real 55.88
user 54.45
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/447592/ft1_filtered_4FGL_J2119.6-1105_daily_bin225.fits', '/scratch/kocevski/447592/ft2_4FGL_J2119.6-1105_daily_bin225.fits', expMap='/scratch/kocevski/447592/expmap_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.fits', expCube='/scratch/kocevski/447592/ltcube_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/447592/Model_4FGL_J2119.6-1105_daily_bin225.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2119.6-1105'

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  3.738e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
306        Scale:  1.160e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/447592/ft1_filtered_4FGL_J2119.6-1105_daily_bin225.fits
Spacecraft file(s): /scratch/kocevski/447592/ft2_4FGL_J2119.6-1105_daily_bin225.fits
Exposure map: /scratch/kocevski/447592/expmap_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.fits
Exposure cube: /scratch/kocevski/447592/ltcube_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/447592/Model_4FGL_J2119.6-1105_daily_bin225.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) = 5628.41223682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7875       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.6477       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15654E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    62.933       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.9887       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.535       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6054       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6447       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.285       1.0000         .10000E-03   10000.    
    14 'norm      '    6.3563       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    42.980       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .46227       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99293       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5628.268     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1514 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7872        2.8161       -.42847E-07    .20847E-04
   2  Prefactor     4.6471        4.2037        .26737E-06   -.25672E-03
   3  Prefactor     .10000E-03    6.4664       -.79488E-06** at limit **
   4  Prefactor     .10000E-03    4.8770        .84932E-07** at limit **
   5  Prefactor     .10000E-03    22.552       -.23965E-05** at limit **
   6  Prefactor     62.917        29.425       -.14670E-04   -.83904E-04
   7  Prefactor     6.9943        17.552        .12975E-04   -.46748E-05
   8  Prefactor     .10000E-03    18.711        .39457E-05** at limit **
   9  Prefactor     20.534        9.9988        .13467E-05   -.13138E-03
  10  Prefactor     2.6055        2.1958       -.16680E-06   -.40480E-03
  11  Prefactor     7.6441        6.5767       -.10447E-06    .19606E-05
  12  Prefactor     .10000E-03    10.060       -.63365E-05** at limit **
  13  Prefactor     12.283        24.092       -.40699E-05   -.97537E-04
  14  norm          6.3565        7.1197       -.40545E-06   -.55059E-03
  15  Prefactor     .10000E-03    8.9344        .56074E-05** at limit **
  16  Prefactor     42.982        26.003        .19944E-05   -.90056E-04
  17  Normalizat    .46243        .24859        .29839E-05   -.11314E-03
  18  Prefactor     .99288        .12545        .52949E-08   -.14322E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.7872
  Prefactor  = 4.64714
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 62.9166
  Prefactor  = 6.99434
  Prefactor  = 0.0001
  Prefactor  = 20.5343
  Prefactor  = 2.60554
  Prefactor  = 7.64412
  Prefactor  = 0.0001
  Prefactor  = 12.2827
  norm       = 6.35652
  Prefactor  = 0.0001
  Prefactor  = 42.9821
  Normalizat = 0.462429
  Prefactor  = 0.99288
 **********
 **   18 **HESSE 
 **********

 FCN=   5628.268     FROM HESSE     STATUS=OK           246 CALLS     1760 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7872        2.8193        .12283E-03   -1.5374    
   2  Prefactor     4.6471        4.1943        .14096E-03   -1.5277    
   3  Prefactor     .10000E-03    6.7326        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.8882        .16180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     62.917        29.352        .50583E-04   -1.4120    
   7  Prefactor     6.9943        17.466        .15175E-03   -1.5179    
   8  Prefactor     .10000E-03    18.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.534        9.9767        .88388E-04   -1.4801    
  10  Prefactor     2.6055        2.1854        .98137E-04   -1.5385    
  11  Prefactor     7.6441        6.5756        .14504E-03   -1.5155    
  12  Prefactor     .10000E-03    10.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.283        24.101        .11429E-03   -1.5007    
  14  norm          6.3565        7.1364        .79602E-03   -1.5204    
  15  Prefactor     .10000E-03    9.0765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     42.982        25.945        .61149E-04   -1.4396    
  17  Normalizat    .46243        .27584        .42078E-03   -1.1419    
  18  Prefactor     .99288        .14255        .15996E-03   -.92967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75798e-10
Minuit parameter uncertainties:
  1  2.81946
  2  4.1946
  3  9.2647e-06
  4  4.0197e-06
  5  5.39423e-06
  6  29.359
  7  17.4789
  8  2.40981e-06
  9  9.97746
  10  2.1855
  11  6.57624
  12  1.07228e-06
  13  24.1197
  14  7.13737
  15  4.97598e-05
  16  25.9519
  17  0.276661
  18  0.142608
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  6.292e+01  2.936e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
306        Scale:  1.160e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  9.929e-01  1.426e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.624e-01  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.24
Ra Dec: 319.924 -11.091
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.52e-07 +/- 7.07e-08
Energy Flux (Fixed Index): 5.21e-05 +/- 2.43e-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) = 5628.17255091
delta logL = 0.0949841860038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5628.16023933
delta logL = 0.107295765017

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.752       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5490       1.0000          .0000       10.000    
     3 'Normalizat'    .43670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+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=   5628.160     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      292 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.767        34.258        .55222E-04    .71314E-04
   2  Index         2.5492        .42734        .38525E-02    .30734E-04
   3  Normalizat    .43673        .26168        .43224E-03   -.32720E-04
   4  Prefactor     1.0010        .14037        .15933E-03    .12233E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.7671
  Index      = 2.54915
  Normalizat = 0.436725
  Prefactor  = 1.00099
 **********
 **   18 **HESSE 
 **********

 FCN=   5628.160     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.767        32.460        .11044E-04   -1.4254    
   2  Index         2.5492        .40438        .15410E-03   -.51228    
   3  Normalizat    .43673        .26116        .17289E-04   -1.1544    
   4  Prefactor     1.0010        .14021        .31865E-04   -.92696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.86182e-11
Minuit parameter uncertainties:
  1  32.471
  2  0.404962
  3  0.261889
  4  0.140264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447592': 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) = 5628.16023694
delta logL = 0.107298153561

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  5.277e+01  3.247e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.549e+00  4.050e-01  0.000e+00  1.000e+01 (-1.000e+00)
306        Scale:  1.160e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.001e+00  1.403e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.367e-01  2.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.54
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 2.55 +/- 0.40
Photon Flux (Free Index): 1.76e-07 +/- 8.77e-08
Energy Flux (Free Index): 4.85e-05 +/- 2.12e-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/447592/cmap_HighResolution_297648001_297907201_4FGL_J2119.6-1105_daily_bin225.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.52e-07', energy_flux2='4.85e-05', photon_flux_error='7.07e-08', dlogl='1.07e-01', energy_flux='5.21e-05', photon_flux2='1.76e-07', job_status='DONE', time_completed='2021-09-26 11:19:04.789121', photon_index_error2='0.40', photon_index2='2.55', ts='11.24', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='2.12e-05', EG='0.46', time_epoch_completed='1632680344.79', return_code='0', job_id='447592', GAL2='1.00', EG2='0.44', return_code2='0', energy_flux_error='2.43e-05', photon_flux_error2='8.77e-08', ts2='11.54', photon_index='2.37' WHERE bin_id='225' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:19:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 447592: <4FGL_J2119.6-1105_daily_bin225> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin225> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 26 11:05:33 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:06:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 11:06:49 2021
Terminated at Sun Sep 26 11:19:05 2021
Results reported at Sun Sep 26 11:19:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin225 319.924 -11.091 297648001 297907201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2119.6-1105 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   497.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            812 sec.

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

