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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin848
RA = 319.924, Dec = -11.091
tmin = 459129601, tmax = 459388801
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='452112', job_status='RUN', time_executed='2021-09-26 11:25:25.458115', time_epoch_executed='1632680725.46' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='848'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452112

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452112/ft1_4FGL_J2119.6-1105_daily_bin848.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452112/ft2_4FGL_J2119.6-1105_daily_bin848.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452112/ft1_4FGL_J2119.6-1105_daily_bin848.fits outfile=/scratch/kocevski/452112/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin848.fits ra=319.924 dec=-11.091 rad=12.0 tmin=459129601.0 tmax=459388801.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.05
user 3.82
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/452112/ft1_filtered_4FGL_J2119.6-1105_daily_bin848.fits" evtable="EVENTS" scfile=/scratch/kocevski/452112/ft2_4FGL_J2119.6-1105_daily_bin848.fits sctable="SC_DATA" outfile=/scratch/kocevski/452112/ltcube_459129601_459388801_4FGL_J2119.6-1105_daily_bin848.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/452112/ft2_4FGL_J2119.6-1105_daily_bin848.fits
.....................!
real 15.86
user 15.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452112/ft1_filtered_4FGL_J2119.6-1105_daily_bin848.fits evtable="EVENTS" scfile=/scratch/kocevski/452112/ft2_4FGL_J2119.6-1105_daily_bin848.fits sctable="SC_DATA" expcube=/scratch/kocevski/452112/ltcube_459129601_459388801_4FGL_J2119.6-1105_daily_bin848.fits outfile=/scratch/kocevski/452112/expmap_459129601_459388801_4FGL_J2119.6-1105_daily_bin848.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/452112/ltcube_459129601_459388801_4FGL_J2119.6-1105_daily_bin848.fits
.....................!
real 193.87
user 188.76
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/452112/ft1_filtered_4FGL_J2119.6-1105_daily_bin848.fits scfile=/scratch/kocevski/452112/ft2_4FGL_J2119.6-1105_daily_bin848.fits outfile=/scratch/kocevski/452112/cmap_459129601_459388801_4FGL_J2119.6-1105_daily_bin848.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.58
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452112/ft1_filtered_4FGL_J2119.6-1105_daily_bin848.fits scfile=/scratch/kocevski/452112/ft2_4FGL_J2119.6-1105_daily_bin848.fits outfile=/scratch/kocevski/452112/cmap_HighResolution_459129601_459388801_4FGL_J2119.6-1105_daily_bin848.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.58
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/452112/ft1_filtered_4FGL_J2119.6-1105_daily_bin848.fits evtable="EVENTS" scfile=/scratch/kocevski/452112/ft2_4FGL_J2119.6-1105_daily_bin848.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/452112/Model_4FGL_J2119.6-1105_daily_bin848.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/452112/ft1_filtered_4FGL_J2119.6-1105_daily_bin848.fits.....................!
real 59.97
user 58.28
sys 1.41

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    3.4588       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5675       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.821       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.729       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9412       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.8945       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.572       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.3513       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    38.205       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1241       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93398       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=   5614.125     FROM MIGRAD    STATUS=CONVERGED    332 CALLS     1755 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.6854       -.15152E-06** at limit **
   2  Prefactor     3.4588        3.2911       -.88874E-06    .11285E-03
   3  Prefactor     .10000E-03    3.1930        .39950E-06** at limit **
   4  Prefactor     5.5674        12.730       -.34265E-05   -.35765E-04
   5  Prefactor     30.673        81.554       -.25559E-03    .24103E-04
   6  Prefactor     20.731        18.182       -.98155E-07    .76759E-04
   7  Prefactor     5.9400        16.554       -.62807E-05   -.38040E-04
   8  Prefactor     9.9002        24.281        .15747E-04    .77496E-04
   9  Prefactor     .10000E-03    7.1513       -.51370E-06** at limit **
  10  Prefactor     .10000E-03    .82500        .23225E-06** at limit **
  11  Prefactor     29.572        14.752       -.18234E-05    .63977E-04
  12  Prefactor     9.3498        29.359       -.52329E-05   -.27638E-03
  13  Prefactor     .10001E-03    38.628       -.34444E-06** at limit **
  14  norm          .10000E-03    3.0414       -.50127E-06** at limit **
  15  Prefactor     .10000E-03    2.9332        .77324E-08** at limit **
  16  Prefactor     38.205        24.130       -.25187E-06    .57556E-04
  17  Normalizat    1.1241        .25291        .13036E-04   -.33504E-04
  18  Prefactor     .93404        .13055        .33015E-05    .22199E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.45879
  Prefactor  = 0.0001
  Prefactor  = 5.56737
  Prefactor  = 30.6735
  Prefactor  = 20.7305
  Prefactor  = 5.94004
  Prefactor  = 9.90015
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 29.5719
  Prefactor  = 9.3498
  Prefactor  = 0.000100007
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.2053
  Normalizat = 1.12407
  Prefactor  = 0.934036
 **********
 **   18 **HESSE 
 **********

 FCN=   5614.125     FROM HESSE     STATUS=OK           244 CALLS     1999 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6920        .94986E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4588        3.2969        .12908E-03   -1.5336    
   3  Prefactor     .10000E-03    3.2228        .13072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5674        12.724        .17027E-03   -1.5236    
   5  Prefactor     30.673        81.753        .36086E-03   -1.4600    
   6  Prefactor     20.731        18.139        .87972E-04   -1.4797    
   7  Prefactor     5.9400        16.528        .16474E-03   -1.5220    
   8  Prefactor     9.9002        24.266        .12739E-03   -1.5079    
   9  Prefactor     .10000E-03    7.3170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .83206        .66407E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     29.572        14.774        .73676E-04   -1.4620    
  12  Prefactor     9.3498        29.379        .65527E-03   -1.5096    
  13  Prefactor     .10001E-03    39.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.0453        .12762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.9501        .12528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     38.205        24.164        .64844E-04   -1.4471    
  17  Normalizat    1.1241        .30878        .31994E-03   -.88983    
  18  Prefactor     .93404        .15985        .18507E-03   -.94962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5939e-09
Minuit parameter uncertainties:
  1  2.02535e-05
  2  3.29706
  3  3.1098e-05
  4  12.7306
  5  82.0542
  6  18.1442
  7  16.5411
  8  24.2902
  9  0.00015375
  10  2.24366e-05
  11  14.7762
  12  29.4241
  13  0.00101329
  14  1.18026e-05
  15  4.52248e-05
  16  24.1705
  17  0.309278
  18  0.159932
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  2.073e+01  1.814e+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.340e-01  1.599e-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:  1.124e+00  3.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.53
Ra Dec: 319.924 -11.091
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 5.00e-08 +/- 4.37e-08
Energy Flux (Fixed Index): 1.72e-05 +/- 1.50e-05

TS (Fixed Index): 3.53
Ra Dec: 319.924 -11.091
Photon Flux Upper Limit: 1.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/452112/likelihoodResults_459129601_459388801_4FGL_J2119.6-1105_daily_bin848.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) = 5614.06960974
delta logL = 0.0557061437412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5614.06454663
delta logL = 0.0607692479589

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.743       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1036       1.0000          .0000       10.000    
     3 'Normalizat'    1.1382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92937       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=   5614.065     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      294 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.744        23.331        .80531E-04   -.33556E-03
   2  Index         2.1036        .73117        .96427E-02   -.13165E-03
   3  Normalizat    1.1383        .30002        .31821E-03    .85674E-04
   4  Prefactor     .92932        .15991        .18549E-03    .19063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.7438
  Index      = 2.1036
  Normalizat = 1.13828
  Prefactor  = 0.929319
 **********
 **   18 **HESSE 
 **********

 FCN=   5614.065     FROM HESSE     STATUS=OK            23 CALLS      317 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.744        22.918        .16106E-04   -1.4713    
   2  Index         2.1036        .71800        .38571E-03   -.61785    
   3  Normalizat    1.1383        .30011        .12728E-04   -.88532    
   4  Prefactor     .92932        .16002        .37098E-04   -.95124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.35603e-10
Minuit parameter uncertainties:
  1  22.9263
  2  0.721763
  3  0.300567
  4  0.160097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452112': 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) = 5614.06454657
delta logL = 0.0607693098655

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  2.474e+01  2.293e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.104e+00  7.218e-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.293e-01  1.601e-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:  1.138e+00  3.006e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.65
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 2.10 +/- 0.72
Photon Flux (Free Index): 3.89e-08 +/- 4.62e-08
Energy Flux (Free Index): 2.12e-05 +/- 2.42e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/452112/cmap_HighResolution_459129601_459388801_4FGL_J2119.6-1105_daily_bin848.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='5.00e-08', energy_flux2='2.12e-05', photon_flux_error='4.37e-08', dlogl='6.08e-02', energy_flux='1.72e-05', photon_flux2='3.89e-08', job_status='DONE', time_completed='2021-09-26 11:34:54.904298', photon_index_error2='0.72', photon_index2='2.10', ts='3.53', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.53e-07', energy_flux_error2='2.42e-05', EG='1.12', time_epoch_completed='1632681294.9', return_code='0', job_id='452112', GAL2='0.93', EG2='1.14', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='4.62e-08', ts2='3.65', photon_index='2.37' WHERE bin_id='848' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:34:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 452112: <4FGL_J2119.6-1105_daily_bin848> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin848> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 11:20:40 2021
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:22:22 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:22:22 2021
Terminated at Sun Sep 26 11:34:55 2021
Results reported at Sun Sep 26 11:34:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin848 319.924 -11.091 459129601 459388801 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 :                                   568.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             237.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            855 sec.

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

