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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1614
RA = 319.924, Dec = -11.091
tmin = 657676801, tmax = 657936001
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='469633', job_status='RUN', time_executed='2021-12-08 07:38:23.557776', time_epoch_executed='1638977903.56' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1614'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469633

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469633/ft1_4FGL_J2119.6-1105_daily_bin1614.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469633/ft2_4FGL_J2119.6-1105_daily_bin1614.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469633/ft1_4FGL_J2119.6-1105_daily_bin1614.fits outfile=/scratch/kocevski/469633/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1614.fits ra=319.924 dec=-11.091 rad=12.0 tmin=657676801.0 tmax=657936001.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.59
user 3.34
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469633/ft1_filtered_4FGL_J2119.6-1105_daily_bin1614.fits" evtable="EVENTS" scfile=/scratch/kocevski/469633/ft2_4FGL_J2119.6-1105_daily_bin1614.fits sctable="SC_DATA" outfile=/scratch/kocevski/469633/ltcube_657676801_657936001_4FGL_J2119.6-1105_daily_bin1614.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/469633/ft2_4FGL_J2119.6-1105_daily_bin1614.fits
.....................!
real 13.35
user 12.95
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469633/ft1_filtered_4FGL_J2119.6-1105_daily_bin1614.fits evtable="EVENTS" scfile=/scratch/kocevski/469633/ft2_4FGL_J2119.6-1105_daily_bin1614.fits sctable="SC_DATA" expcube=/scratch/kocevski/469633/ltcube_657676801_657936001_4FGL_J2119.6-1105_daily_bin1614.fits outfile=/scratch/kocevski/469633/expmap_657676801_657936001_4FGL_J2119.6-1105_daily_bin1614.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/469633/ltcube_657676801_657936001_4FGL_J2119.6-1105_daily_bin1614.fits
.....................!
real 191.70
user 185.86
sys 5.44

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/469633/ft1_filtered_4FGL_J2119.6-1105_daily_bin1614.fits scfile=/scratch/kocevski/469633/ft2_4FGL_J2119.6-1105_daily_bin1614.fits outfile=/scratch/kocevski/469633/cmap_657676801_657936001_4FGL_J2119.6-1105_daily_bin1614.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469633/ft1_filtered_4FGL_J2119.6-1105_daily_bin1614.fits scfile=/scratch/kocevski/469633/ft2_4FGL_J2119.6-1105_daily_bin1614.fits outfile=/scratch/kocevski/469633/cmap_HighResolution_657676801_657936001_4FGL_J2119.6-1105_daily_bin1614.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469633/ft1_filtered_4FGL_J2119.6-1105_daily_bin1614.fits evtable="EVENTS" scfile=/scratch/kocevski/469633/ft2_4FGL_J2119.6-1105_daily_bin1614.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469633/Model_4FGL_J2119.6-1105_daily_bin1614.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/469633/ft1_filtered_4FGL_J2119.6-1105_daily_bin1614.fits.....................!
real 78.72
user 77.28
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6142       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .56229E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6602       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.2947       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2875       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.3265       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .97073E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.3147       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7373       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.329       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .68198       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0510       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=   8303.250     FROM MIGRAD    STATUS=CONVERGED    376 CALLS     1549 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .83385       -.21273E-08** at limit **
   2  Prefactor     1.6140        2.7852       -.70606E-08   -.18690E-04
   3  Prefactor     .10004E-03    2.0154       -.89891E-06** at limit **
   4  Prefactor     .10000E-03    6.4981       -.26728E-06** at limit **
   5  Prefactor     .10000E-03    33.382        .20234E-04** at limit **
   6  Prefactor     6.6557        11.841        .28266E-06    .18407E-04
   7  Prefactor     8.2965        9.1943        .14570E-06    .26420E-04
   8  Prefactor     .10000E-03    24.511       -.35035E-05** at limit **
   9  Prefactor     2.2879        3.8104       -.43721E-07   -.38846E-03
  10  Prefactor     5.3266        2.4023        .11414E-08    .38035E-04
  11  Prefactor     .10059E-03    3.6841       -.15517E-05** at limit **
  12  Prefactor     .10000E-03    7.8431        .11061E-05** at limit **
  13  Prefactor     .10000E-03    35.116       -.64837E-06** at limit **
  14  norm          5.3143        4.5469        .10186E-05    .18184E-03
  15  Prefactor     1.7350        1.9084        .29879E-07   -.67794E-03
  16  Prefactor     10.328        10.636       -.58520E-07    .84802E-05
  17  Normalizat    .68195        .17780        .87923E-07    .22652E-03
  18  Prefactor     1.0510        .10093        .40945E-07    .48932E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.61402
  Prefactor  = 0.00010004
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 6.65572
  Prefactor  = 8.29651
  Prefactor  = 0.0001
  Prefactor  = 2.28794
  Prefactor  = 5.32658
  Prefactor  = 0.000100587
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.31432
  Prefactor  = 1.73498
  Prefactor  = 10.3285
  Normalizat = 0.681954
  Prefactor  = 1.05101
 **********
 **   18 **HESSE 
 **********

 FCN=   8303.250     FROM HESSE     STATUS=OK           258 CALLS     1807 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .83884        .81254E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6140        2.7680        .19277E-03   -1.5454    
   3  Prefactor     .10004E-03    11.229        .24420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.5621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    33.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.6557        11.799        .15549E-03   -1.5192    
   7  Prefactor     8.2965        9.1737        .13920E-03   -1.5132    
   8  Prefactor     .10000E-03    24.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.2879        4.0828        .11887E-02   -1.5405    
  10  Prefactor     5.3266        2.4019        .91350E-04   -1.5246    
  11  Prefactor     .10059E-03    3.7175        .52570E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.8451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    36.508        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.3143        4.5487        .17434E-03   -1.5247    
  15  Prefactor     1.7350        5.0447        .15918E-02   -1.5445    
  16  Prefactor     10.328        10.642        .12467E-03   -1.5065    
  17  Normalizat    .68195        .21536        .34148E-03   -1.0461    
  18  Prefactor     1.0510        .11969        .16032E-03   -.91048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.80435e-09
Minuit parameter uncertainties:
  1  8.41091e-08
  2  2.76826
  3  0.00134079
  4  2.96539e-06
  5  0.000756913
  6  11.8034
  7  9.17527
  8  0.000112782
  9  4.08329
  10  2.40189
  11  0.00295424
  12  2.01419e-05
  13  8.30749e-05
  14  4.54903
  15  5.04592
  16  10.6443
  17  0.215627
  18  0.119721
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  6.656e+00  1.180e+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:  1.051e+00  1.197e-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.820e-01  2.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/469633/likelihoodResults_657676801_657936001_4FGL_J2119.6-1105_daily_bin1614.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) = 8303.20093665
delta logL = 0.0492811789354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8303.17907525
delta logL = 0.0711425790651

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2842       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8608       1.0000          .0000       10.000    
     3 'Normalizat'    .67003       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0549       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=   8303.179     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2609        137.49        .48661E-02    .54813E-03
   2  Index         2.8626        3.0919        .22446        .11043E-03
   3  Normalizat    .67006        .39575E-01    .77762E-01    .39790E-03
   4  Prefactor     1.0548        .21428E-01    .39634E-01    .82217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.26087
  Index      = 2.86258
  Normalizat = 0.670057
  Prefactor  = 1.05482
 **********
 **   18 **HESSE 
 **********

 FCN=   8303.179     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2609        14.643        .19464E-03   -1.5295    
   2  Index         2.8626        1.9428        .84199E-02   -.44171    
   3  Normalizat    .67006        .21134        .34428E-03   -1.0509    
   4  Prefactor     1.0548        .11987        .16005E-03   -.90924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9084e-10
Minuit parameter uncertainties:
  1  14.6551
  2  2.00823
  3  0.211595
  4  0.119897
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469633': 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) = 8303.17907207
delta logL = 0.0711457562957

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  4.261e+00  1.466e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.863e+00  2.008e+00  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.055e+00  1.199e-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.701e-01  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.44
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/469633/cmap_HighResolution_657676801_657936001_4FGL_J2119.6-1105_daily_bin1614.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-03', job_status='DONE', photon_flux_upper_limit='8.56e-08', time_completed='2021-12-08 07:49:08.465535', job_id='469633', GAL2='1.05', fit_tolerance='1e-08', EG2='0.67', EG='0.68', time_epoch_completed='1638978548.47', return_code2='0', ts='0.44', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='7.11e-02', ts2='0.58', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1614' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 07:49:08 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 469633: <4FGL_J2119.6-1105_daily_bin1614> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin1614> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec  8 07:35:19 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 07:35:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 07:35:24 2021
Terminated at Wed Dec  8 07:49:09 2021
Results reported at Wed Dec  8 07:49:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1614 319.924 -11.091 657676801 657936001 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 :                                   644.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            830 sec.

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

