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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1604
RA = 319.924, Dec = -11.091
tmin = 655084801, tmax = 655344001
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='9347', job_status='RUN', time_executed='2021-10-08 00:23:53.254438', time_epoch_executed='1633677833.25' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1604'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9347

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9347/ft1_4FGL_J2119.6-1105_daily_bin1604.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9347/ft2_4FGL_J2119.6-1105_daily_bin1604.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9347/ft1_4FGL_J2119.6-1105_daily_bin1604.fits outfile=/scratch/kocevski/9347/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1604.fits ra=319.924 dec=-11.091 rad=12.0 tmin=655084801.0 tmax=655344001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.91
user 2.68
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9347/ft2_4FGL_J2119.6-1105_daily_bin1604.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/9347/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1604.fits evtable="EVENTS" outfile="/scratch/kocevski/9347/ft1_filtered_4FGL_J2119.6-1105_daily_bin1604.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9347/ft1_filtered_4FGL_J2119.6-1105_daily_bin1604.fits" evtable="EVENTS" scfile=/scratch/kocevski/9347/ft2_4FGL_J2119.6-1105_daily_bin1604.fits sctable="SC_DATA" outfile=/scratch/kocevski/9347/ltcube_655084801_655344001_4FGL_J2119.6-1105_daily_bin1604.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/9347/ft2_4FGL_J2119.6-1105_daily_bin1604.fits
.....................!
real 14.11
user 13.77
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9347/ft1_filtered_4FGL_J2119.6-1105_daily_bin1604.fits evtable="EVENTS" scfile=/scratch/kocevski/9347/ft2_4FGL_J2119.6-1105_daily_bin1604.fits sctable="SC_DATA" expcube=/scratch/kocevski/9347/ltcube_655084801_655344001_4FGL_J2119.6-1105_daily_bin1604.fits outfile=/scratch/kocevski/9347/expmap_655084801_655344001_4FGL_J2119.6-1105_daily_bin1604.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/9347/ltcube_655084801_655344001_4FGL_J2119.6-1105_daily_bin1604.fits
.....................!
real 190.56
user 185.23
sys 4.65

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/9347/ft1_filtered_4FGL_J2119.6-1105_daily_bin1604.fits scfile=/scratch/kocevski/9347/ft2_4FGL_J2119.6-1105_daily_bin1604.fits outfile=/scratch/kocevski/9347/cmap_655084801_655344001_4FGL_J2119.6-1105_daily_bin1604.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9347/ft1_filtered_4FGL_J2119.6-1105_daily_bin1604.fits scfile=/scratch/kocevski/9347/ft2_4FGL_J2119.6-1105_daily_bin1604.fits outfile=/scratch/kocevski/9347/cmap_HighResolution_655084801_655344001_4FGL_J2119.6-1105_daily_bin1604.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/9347/ft1_filtered_4FGL_J2119.6-1105_daily_bin1604.fits evtable="EVENTS" scfile=/scratch/kocevski/9347/ft2_4FGL_J2119.6-1105_daily_bin1604.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/9347/Model_4FGL_J2119.6-1105_daily_bin1604.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/9347/ft1_filtered_4FGL_J2119.6-1105_daily_bin1604.fits.....................!
real 62.05
user 60.78
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .55157       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8381       1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.105       1.0000         .10000E-03   10000.    
     5 'Prefactor '    112.97       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12519E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.438       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.650       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.887       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.059       1.0000         .10000E-03   10000.    
    14 'norm      '    3.8454       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.817       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .66029       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1308       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=   6538.585     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     1812 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2735        .12102E-06** at limit **
   2  Prefactor     .55256        2.7778        .54914E-06   -.22020E-03
   3  Prefactor     1.8380        4.0190        .56390E-06   -.18504E-05
   4  Prefactor     39.099        19.158        .78492E-07   -.33543E-04
   5  Prefactor     112.87        105.84       -.33814E-06   -.35883E-04
   6  Prefactor     .10000E-03    87.200        .25988E-05** at limit **
   7  Prefactor     14.420        17.690        .20489E-06   -.40456E-04
   8  Prefactor     16.622        56.966        .27842E-05    .56012E-04
   9  Prefactor     .10000E-03    3.5194        .16916E-06** at limit **
  10  Prefactor     .10000E-03    2.8093       -.26717E-05** at limit **
  11  Prefactor     .10000E-03    2.4034        .12207E-06** at limit **
  12  Prefactor     16.896        24.457        .88202E-07    .32565E-04
  13  Prefactor     24.052        21.887        .70064E-07   -.18609E-04
  14  norm          3.8452        5.2276        .73405E-07   -.11636E-04
  15  Prefactor     15.816        9.1806        .71740E-07   -.22041E-05
  16  Prefactor     .10000E-03    9.4858        .56270E-07** at limit **
  17  Normalizat    .66058        .26717        .40919E-06   -.13401E-04
  18  Prefactor     1.1307        .13278       -.72431E-06    .42369E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.552558
  Prefactor  = 1.83797
  Prefactor  = 39.0986
  Prefactor  = 112.872
  Prefactor  = 0.0001
  Prefactor  = 14.4196
  Prefactor  = 16.6215
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.8963
  Prefactor  = 24.0517
  norm       = 3.84523
  Prefactor  = 15.8158
  Prefactor  = 0.0001
  Normalizat = 0.660582
  Prefactor  = 1.13067
 **********
 **   18 **HESSE 
 **********

 FCN=   6538.585     FROM HESSE     STATUS=OK           252 CALLS     2064 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2925        .89116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55256        5.0179        .25010E-02   -1.5559    
   3  Prefactor     1.8380        3.9884        .23127E-03   -1.5437    
   4  Prefactor     39.099        19.130        .64096E-04   -1.4457    
   5  Prefactor     112.87        105.48        .18924E-03   -1.3579    
   6  Prefactor     .10000E-03    89.042        .41215E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.420        17.519        .10541E-03   -1.4948    
   8  Prefactor     16.622        58.114        .98155E-04   -1.4892    
   9  Prefactor     .10000E-03    3.5503        .14813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.8436        .26113E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.4171        .12243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.896        24.449        .97463E-04   -1.4886    
  13  Prefactor     24.052        21.926        .81665E-04   -1.4727    
  14  norm          3.8452        5.2212        .20580E-03   -1.5316    
  15  Prefactor     15.816        9.1757        .10071E-03   -1.4912    
  16  Prefactor     .10000E-03    9.5032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .66058        .29927        .40691E-03   -1.0547    
  18  Prefactor     1.1307        .15121        .17057E-03   -.88492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74683e-08
Minuit parameter uncertainties:
  1  5.94638e-07
  2  3.33035
  3  3.98896
  4  19.1327
  5  105.654
  6  4.71161e-05
  7  17.5257
  8  58.3131
  9  9.37769e-07
  10  1.4438e-05
  11  4.35168e-07
  12  24.4634
  13  21.9334
  14  5.22179
  15  9.17651
  16  8.31924e-07
  17  0.300006
  18  0.151272
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  4.712e-05  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.131e+00  1.513e-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:  6.606e-01  3.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 319.924 -11.091
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/9347/likelihoodResults_655084801_655344001_4FGL_J2119.6-1105_daily_bin1604.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) = 6538.58485942
delta logL = -5.34612408956e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6538.5799535
delta logL = 0.00485245902564

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80833       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0559       1.0000          .0000       10.000    
     3 'Normalizat'    .65858       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1299       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.

 FCN=   6538.580     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      291 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81258        8.6278        .92170E-01   -.21535E-02
   2  Index         3.0662        .51116        .50000        .61969E-04
   3  Normalizat    .65459        .87389E-02    .92230E-01    .11681E-03
   4  Prefactor     1.1316        .47066E-02    .36547E-01    .15033E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.812581
  Index      = 3.06621
  Normalizat = 0.654588
  Prefactor  = 1.13164
 **********
 **   18 **HESSE 
 **********

 FCN=   6538.580     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81258        6642.2        .30207E-02   -1.5528    
   2  Index         3.0662        8.2181        .57107E-02   -.39711    
   3  Normalizat    .65459        .28506        .40861E-03   -1.0571    
   4  Prefactor     1.1316        .13000        .17050E-03   -.88462    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.31559e-05
Minuit parameter uncertainties:
  1  111.654
  2  46.7938
  3  0.285706
  4  0.130039
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9347': 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) = 6538.57985075
delta logL = 0.00495520497407

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  8.126e-01  1.117e+02  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  3.066e+00  4.679e+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.132e+00  1.300e-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:  6.546e-01  2.857e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/9347/cmap_HighResolution_655084801_655344001_4FGL_J2119.6-1105_daily_bin1604.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.88e-03', job_status='DONE', photon_flux_upper_limit='1.28e-07', time_completed='2021-10-08 00:33:37.068201', job_id='9347', GAL2='1.13', fit_tolerance='1e-08', EG2='0.65', EG='0.66', time_epoch_completed='1633678417.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='4.96e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1604' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  8 00:33:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 9347: <4FGL_J2119.6-1105_daily_bin1604> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin1604> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Oct  8 00:20:21 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct  8 00:21:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct  8 00:21:49 2021
Terminated at Fri Oct  8 00:33:37 2021
Results reported at Fri Oct  8 00:33:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1604 319.924 -11.091 655084801 655344001 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 :                                   586.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            796 sec.

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

