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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin786
RA = 319.924, Dec = -11.091
tmin = 443059201, tmax = 443318401
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='452018', job_status='RUN', time_executed='2021-09-26 11:24:09.110515', time_epoch_executed='1632680649.11' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='786'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452018

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452018/ft1_4FGL_J2119.6-1105_daily_bin786.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452018/ft2_4FGL_J2119.6-1105_daily_bin786.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452018/ft1_4FGL_J2119.6-1105_daily_bin786.fits outfile=/scratch/kocevski/452018/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin786.fits ra=319.924 dec=-11.091 rad=12.0 tmin=443059201.0 tmax=443318401.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.83
user 3.56
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/452018/ft1_filtered_4FGL_J2119.6-1105_daily_bin786.fits" evtable="EVENTS" scfile=/scratch/kocevski/452018/ft2_4FGL_J2119.6-1105_daily_bin786.fits sctable="SC_DATA" outfile=/scratch/kocevski/452018/ltcube_443059201_443318401_4FGL_J2119.6-1105_daily_bin786.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/452018/ft2_4FGL_J2119.6-1105_daily_bin786.fits
.....................!
real 14.40
user 13.98
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452018/ft1_filtered_4FGL_J2119.6-1105_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/452018/ft2_4FGL_J2119.6-1105_daily_bin786.fits sctable="SC_DATA" expcube=/scratch/kocevski/452018/ltcube_443059201_443318401_4FGL_J2119.6-1105_daily_bin786.fits outfile=/scratch/kocevski/452018/expmap_443059201_443318401_4FGL_J2119.6-1105_daily_bin786.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/452018/ltcube_443059201_443318401_4FGL_J2119.6-1105_daily_bin786.fits
.....................!
real 192.03
user 185.71
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/452018/ft1_filtered_4FGL_J2119.6-1105_daily_bin786.fits scfile=/scratch/kocevski/452018/ft2_4FGL_J2119.6-1105_daily_bin786.fits outfile=/scratch/kocevski/452018/cmap_443059201_443318401_4FGL_J2119.6-1105_daily_bin786.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452018/ft1_filtered_4FGL_J2119.6-1105_daily_bin786.fits scfile=/scratch/kocevski/452018/ft2_4FGL_J2119.6-1105_daily_bin786.fits outfile=/scratch/kocevski/452018/cmap_HighResolution_443059201_443318401_4FGL_J2119.6-1105_daily_bin786.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/452018/ft1_filtered_4FGL_J2119.6-1105_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/452018/ft2_4FGL_J2119.6-1105_daily_bin786.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/452018/Model_4FGL_J2119.6-1105_daily_bin786.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/452018/ft1_filtered_4FGL_J2119.6-1105_daily_bin786.fits.....................!
real 79.93
user 78.13
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14899E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5172       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.376       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2406       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14450E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .75460       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.8392       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .30687E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.425       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .89785       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92051       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=   9015.308     FROM MIGRAD    STATUS=CONVERGED    353 CALLS     1486 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4780        .40515E-01** at limit **
   2  Prefactor     .10000E-03    .90404        .90712E-02** at limit **
   3  Prefactor     4.5173        3.7882        .47356E-02    .33380E-03
   4  Prefactor     .10000E-03    3.2501        .90712E-02** at limit **
   5  Prefactor     .10000E-03    15.746        .90712E-02** at limit **
   6  Prefactor     17.384        12.879        .24021E-02    .13480E-02
   7  Prefactor     3.2386        5.0045        .56251E-02    .14989E-02
   8  Prefactor     .10001E-03    39.755        .90712E-02** at limit **
   9  Prefactor     .10000E-03    1.3970        .90712E-02** at limit **
  10  Prefactor     .75436        1.4020        .32041E-01    .38138E-04
  11  Prefactor     5.8398        4.1194        .41549E-02   -.15860E-04
  12  Prefactor     .10676E-03    10.919        .16651    ** at limit **
  13  Prefactor     10.420        9.9753        .31024E-02   -.12783E-02
  14  norm          .10000E-03    1.4189        .90712E-02** at limit **
  15  Prefactor     .10000E-03    2.2337        .90712E-02** at limit **
  16  Prefactor     .10000E-03    3.9185        .90712E-02** at limit **
  17  Normalizat    .89756        .16756        .67884E-01   -.15882E-03
  18  Prefactor     .92062        .93084E-01    .45266E-01   -.43906E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.5173
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 17.3843
  Prefactor  = 3.23859
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.754356
  Prefactor  = 5.83976
  Prefactor  = 0.00010676
  Prefactor  = 10.42
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.897561
  Prefactor  = 0.92062
 **********
 **   18 **HESSE 
 **********

 FCN=   9015.308     FROM HESSE     STATUS=OK           244 CALLS     1730 TOTAL
                     EDM=   .85E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0702        .22403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    .91385        .88146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.5173        3.7865        .16363E-03   -1.5283    
   4  Prefactor     .10000E-03    3.2593        .16716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.384        12.873        .96083E-04   -1.4874    
   7  Prefactor     3.2386        4.9879        .22500E-03   -1.5348    
   8  Prefactor     .10001E-03    40.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.4056        .10958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .75436        1.2960        .14695E-02   -1.5534    
  11  Prefactor     5.8398        4.1192        .15753E-03   -1.5225    
  12  Prefactor     .10676E-03    81.471        .60616E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.420        10.008        .12410E-03   -1.5062    
  14  norm          .10000E-03    1.4215        .11045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.2661        .13850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.9276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .89756        .20618        .30032E-03   -.96546    
  18  Prefactor     .92062        .11507        .16674E-03   -.95424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.48473e-08
Minuit parameter uncertainties:
  1  3.71736e-05
  2  1.49519e-05
  3  3.78673
  4  7.26497e-05
  5  0.000290699
  6  12.8755
  7  4.98857
  8  0.00137215
  9  1.85685e-05
  10  1.29602
  11  4.11937
  12  0.0470014
  13  10.0093
  14  1.04765e-05
  15  8.28531e-07
  16  7.26862e-05
  17  0.206365
  18  0.115104
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.738e+01  1.288e+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.206e-01  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:  8.976e-01  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.17
Ra Dec: 319.924 -11.091
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.19e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.07e-05

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

Saving results to:
/scratch/kocevski/452018/likelihoodResults_443059201_443318401_4FGL_J2119.6-1105_daily_bin786.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) = 9015.23482538
delta logL = 0.0734241181126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9015.19166078
delta logL = 0.116588715611

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.217       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0454       1.0000          .0000       10.000    
     3 'Normalizat'    .91173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91558       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=   9015.192     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      225 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.188        489.76        .21245E-02    .11933E-04
   2  Index         2.0453        5.7439        .17613        .56465E-04
   3  Normalizat    .91191        .11789        .67404E-01    .28327E-04
   4  Prefactor     .91556        .42411E-01    .45203E-01    .20444E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.1885
  Index      = 2.04528
  Normalizat = 0.911914
  Prefactor  = 0.915559
 **********
 **   18 **HESSE 
 **********

 FCN=   9015.192     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.188        17.816        .84978E-04   -1.4766    
   2  Index         2.0453        .62197        .10142E-01   -.63223    
   3  Normalizat    .91191        .20385        .29818E-03   -.96043    
   4  Prefactor     .91556        .11455        .16714E-03   -.95600    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10293e-12
Minuit parameter uncertainties:
  1  17.8206
  2  0.624464
  3  0.204025
  4  0.11458
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452018': 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) = 9015.19165826
delta logL = 0.116591235765

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  2.219e+01  1.782e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.045e+00  6.245e-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:  9.156e-01  1.146e-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:  9.119e-01  2.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.40
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 2.05 +/- 0.62
Photon Flux (Free Index): 3.19e-08 +/- 3.15e-08
Energy Flux (Free Index): 1.98e-05 +/- 2.17e-05

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/452018/cmap_HighResolution_443059201_443318401_4FGL_J2119.6-1105_daily_bin786.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.41e-03', comment='SUCCESS', photon_flux='4.19e-08', energy_flux2='1.98e-05', photon_flux_error='3.10e-08', dlogl='1.17e-01', energy_flux='1.44e-05', photon_flux2='3.19e-08', job_status='DONE', time_completed='2021-09-26 11:35:27.103256', photon_index_error2='0.62', photon_index2='2.05', ts='3.17', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='2.17e-05', EG='0.90', time_epoch_completed='1632681327.1', return_code='0', job_id='452018', GAL2='0.92', EG2='0.91', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='3.15e-08', ts2='3.40', photon_index='2.37' WHERE bin_id='786' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:35:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 452018: <4FGL_J2119.6-1105_daily_bin786> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin786> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 11:20:33 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:21: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:21:49 2021
Terminated at Sun Sep 26 11:35:28 2021
Results reported at Sun Sep 26 11:35:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin786 319.924 -11.091 443059201 443318401 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 :                                   670.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             302.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            895 sec.

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

