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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1438
RA = 319.924, Dec = -11.091
tmin = 612057601, tmax = 612316801
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='456105', job_status='RUN', time_executed='2021-09-26 11:39:12.907971', time_epoch_executed='1632681552.91' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1438'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/456105

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/456105/ft1_4FGL_J2119.6-1105_daily_bin1438.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/456105/ft2_4FGL_J2119.6-1105_daily_bin1438.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/456105/ft1_4FGL_J2119.6-1105_daily_bin1438.fits outfile=/scratch/kocevski/456105/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1438.fits ra=319.924 dec=-11.091 rad=12.0 tmin=612057601.0 tmax=612316801.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.59
user 4.31
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/456105/ft2_4FGL_J2119.6-1105_daily_bin1438.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/456105/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1438.fits evtable="EVENTS" outfile="/scratch/kocevski/456105/ft1_filtered_4FGL_J2119.6-1105_daily_bin1438.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/456105/ft1_filtered_4FGL_J2119.6-1105_daily_bin1438.fits" evtable="EVENTS" scfile=/scratch/kocevski/456105/ft2_4FGL_J2119.6-1105_daily_bin1438.fits sctable="SC_DATA" outfile=/scratch/kocevski/456105/ltcube_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.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/456105/ft2_4FGL_J2119.6-1105_daily_bin1438.fits
.....................!
real 15.80
user 13.64
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/456105/ft1_filtered_4FGL_J2119.6-1105_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/456105/ft2_4FGL_J2119.6-1105_daily_bin1438.fits sctable="SC_DATA" expcube=/scratch/kocevski/456105/ltcube_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.fits outfile=/scratch/kocevski/456105/expmap_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.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/456105/ltcube_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.fits
.....................!
real 194.03
user 187.32
sys 5.70

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/456105/ft1_filtered_4FGL_J2119.6-1105_daily_bin1438.fits scfile=/scratch/kocevski/456105/ft2_4FGL_J2119.6-1105_daily_bin1438.fits outfile=/scratch/kocevski/456105/cmap_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/456105/ft1_filtered_4FGL_J2119.6-1105_daily_bin1438.fits scfile=/scratch/kocevski/456105/ft2_4FGL_J2119.6-1105_daily_bin1438.fits outfile=/scratch/kocevski/456105/cmap_HighResolution_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.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.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/456105/ft1_filtered_4FGL_J2119.6-1105_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/456105/ft2_4FGL_J2119.6-1105_daily_bin1438.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/456105/Model_4FGL_J2119.6-1105_daily_bin1438.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/456105/ft1_filtered_4FGL_J2119.6-1105_daily_bin1438.fits.....................!
real 85.73
user 83.97
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/456105/ft1_filtered_4FGL_J2119.6-1105_daily_bin1438.fits', '/scratch/kocevski/456105/ft2_4FGL_J2119.6-1105_daily_bin1438.fits', expMap='/scratch/kocevski/456105/expmap_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.fits', expCube='/scratch/kocevski/456105/ltcube_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/456105/Model_4FGL_J2119.6-1105_daily_bin1438.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/456105/ft1_filtered_4FGL_J2119.6-1105_daily_bin1438.fits
Spacecraft file(s): /scratch/kocevski/456105/ft2_4FGL_J2119.6-1105_daily_bin1438.fits
Exposure map: /scratch/kocevski/456105/expmap_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.fits
Exposure cube: /scratch/kocevski/456105/ltcube_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/456105/Model_4FGL_J2119.6-1105_daily_bin1438.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) = 9476.28185291

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96279       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1971       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13775E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3805       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.9484       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.7697       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2439       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1899       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5563       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11293E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.189       1.0000         .10000E-03   10000.    
    14 'norm      '    4.7089       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.674       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .42173       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1918       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=   9476.243     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1570 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96285        2.1052       -.72530E-07   -.21418E-03
   2  Prefactor     1.1972        1.8923       -.65707E-07   -.98446E-04
   3  Prefactor     .10000E-03    4.0640        .77756E-07** at limit **
   4  Prefactor     3.3799        7.6861        .91107E-06   -.23683E-04
   5  Prefactor     .10000E-03    21.055        .52505E-06** at limit **
   6  Prefactor     4.9487        9.1026       -.47182E-06   -.11326E-04
   7  Prefactor     4.7710        9.2403       -.47332E-06   -.17999E-04
   8  Prefactor     .10000E-03    19.899       -.64811E-06** at limit **
   9  Prefactor     2.2444        4.7382       -.11981E-05   -.12855E-03
  10  Prefactor     2.1892        .75741        .11194E-06   -.16438E-02
  11  Prefactor     2.5566        4.0458       -.26202E-06   -.85216E-04
  12  Prefactor     .10000E-03    80.801       -.44399E-06** at limit **
  13  Prefactor     15.191        13.241       -.46757E-06   -.20982E-04
  14  norm          4.7089        4.2051       -.78412E-06   -.16296E-04
  15  Prefactor     .10000E-03    2.3002        .14515E-06** at limit **
  16  Prefactor     23.675        13.364       -.85629E-07   -.15812E-04
  17  Normalizat    .42169        .19782        .10415E-05    .72488E-05
  18  Prefactor     1.1918        .10915       -.67287E-07    .13847E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.962854
  Prefactor  = 1.1972
  Prefactor  = 0.0001
  Prefactor  = 3.37994
  Prefactor  = 0.0001
  Prefactor  = 4.94867
  Prefactor  = 4.77095
  Prefactor  = 0.0001
  Prefactor  = 2.24438
  Prefactor  = 2.18923
  Prefactor  = 2.55657
  Prefactor  = 0.0001
  Prefactor  = 15.1912
  norm       = 4.7089
  Prefactor  = 0.0001
  Prefactor  = 23.6746
  Normalizat = 0.421695
  Prefactor  = 1.19179
 **********
 **   18 **HESSE 
 **********

 FCN=   9476.243     FROM HESSE     STATUS=OK           256 CALLS     1826 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96285        2.0830        .20466E-03   -1.5512    
   2  Prefactor     1.1972        1.8560        .16390E-03   -1.5489    
   3  Prefactor     .10000E-03    4.2279        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3799        7.6695        .22007E-03   -1.5340    
   5  Prefactor     .10000E-03    21.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.9487        9.0700        .18080E-03   -1.5263    
   7  Prefactor     4.7710        9.2138        .18423E-03   -1.5271    
   8  Prefactor     .10000E-03    19.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.2444        4.8169        .27435E-03   -1.5408    
  10  Prefactor     2.1892        1.7451        .55361E-03   -1.5412    
  11  Prefactor     2.5566        4.0578        .24050E-03   -1.5388    
  12  Prefactor     .10000E-03    82.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.191        13.232        .10277E-03   -1.4928    
  14  norm          4.7089        4.2016        .18344E-03   -1.5274    
  15  Prefactor     .10000E-03    6.1035        .28275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.675        13.348        .82326E-04   -1.4734    
  17  Normalizat    .42169        .20859        .43211E-03   -1.1619    
  18  Prefactor     1.1918        .11704        .15405E-03   -.86584    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41732e-10
Minuit parameter uncertainties:
  1  2.08314
  2  1.85612
  3  9.26174e-06
  4  7.67176
  5  2.71354e-06
  6  9.07256
  7  9.21658
  8  2.05126e-05
  9  4.81772
  10  1.74515
  11  4.05821
  12  6.63496e-05
  13  13.235
  14  4.20186
  15  3.79109e-05
  16  13.35
  17  0.208977
  18  0.117064
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  4.949e+00  9.073e+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

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.192e+00  1.171e-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.217e-01  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 319.924 -11.091
Photon Flux Upper Limit: 6.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/456105/likelihoodResults_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.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) = 9476.14965883
delta logL = 0.0935170908397

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9476.1482626
delta logL = 0.094913314957

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9594       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9572       1.0000          .0000       10.000    
     3 'Normalizat'    .42617       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1896       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=   9476.148     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      303 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9592        12.930        .14212E-03    .81113E-04
   2  Index         1.9572        .84884        .14250E-01    .12869E-04
   3  Normalizat    .42627        .19683        .42984E-03   -.47820E-04
   4  Prefactor     1.1895        .11504        .15416E-03   -.15516E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.95916
  Index      = 1.95716
  Normalizat = 0.426269
  Prefactor  = 1.18951
 **********
 **   18 **HESSE 
 **********

 FCN=   9476.148     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9592        12.680        .56848E-05   -1.5144    
   2  Index         1.9572        .83312        .56998E-03   -.65425    
   3  Normalizat    .42627        .19682        .17193E-04   -1.1596    
   4  Prefactor     1.1895        .11504        .61665E-05   -.86655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14074e-11
Minuit parameter uncertainties:
  1  12.684
  2  0.839371
  3  0.197145
  4  0.115066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/456105': 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) = 9476.14826247
delta logL = 0.0949134445891

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  7.959e+00  1.268e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  1.957e+00  8.394e-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.190e+00  1.151e-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.263e-01  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
Ra Dec: 319.924 -11.091

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/456105/cmap_HighResolution_612057601_612316801_4FGL_J2119.6-1105_daily_bin1438.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.94e-08', time_completed='2021-09-26 11:51:58.918214', job_id='456105', GAL2='1.19', fit_tolerance='1e-08', EG2='0.43', EG='0.42', time_epoch_completed='1632682318.92', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='9.49e-02', ts2='0.59', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1438' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:51:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 456105: <4FGL_J2119.6-1105_daily_bin1438> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin1438> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 11:35:23 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:36:57 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:36:57 2021
Terminated at Sun Sep 26 11:51:59 2021
Results reported at Sun Sep 26 11:51:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1438 319.924 -11.091 612057601 612316801 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 :                                   704.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            996 sec.

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

