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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1392
RA = 319.924, Dec = -11.091
tmin = 600134401, tmax = 600393601
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='456038', job_status='RUN', time_executed='2021-09-26 11:36:52.684134', time_epoch_executed='1632681412.68' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/456038

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/456038/ft1_4FGL_J2119.6-1105_daily_bin1392.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/456038/ft2_4FGL_J2119.6-1105_daily_bin1392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/456038/ft1_4FGL_J2119.6-1105_daily_bin1392.fits outfile=/scratch/kocevski/456038/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1392.fits ra=319.924 dec=-11.091 rad=12.0 tmin=600134401.0 tmax=600393601.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.88
user 4.63
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/456038/ft2_4FGL_J2119.6-1105_daily_bin1392.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/456038/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1392.fits evtable="EVENTS" outfile="/scratch/kocevski/456038/ft1_filtered_4FGL_J2119.6-1105_daily_bin1392.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.50
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/456038/ft1_filtered_4FGL_J2119.6-1105_daily_bin1392.fits" evtable="EVENTS" scfile=/scratch/kocevski/456038/ft2_4FGL_J2119.6-1105_daily_bin1392.fits sctable="SC_DATA" outfile=/scratch/kocevski/456038/ltcube_600134401_600393601_4FGL_J2119.6-1105_daily_bin1392.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/456038/ft2_4FGL_J2119.6-1105_daily_bin1392.fits
.....................!
real 13.34
user 12.93
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/456038/ft1_filtered_4FGL_J2119.6-1105_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/456038/ft2_4FGL_J2119.6-1105_daily_bin1392.fits sctable="SC_DATA" expcube=/scratch/kocevski/456038/ltcube_600134401_600393601_4FGL_J2119.6-1105_daily_bin1392.fits outfile=/scratch/kocevski/456038/expmap_600134401_600393601_4FGL_J2119.6-1105_daily_bin1392.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/456038/ltcube_600134401_600393601_4FGL_J2119.6-1105_daily_bin1392.fits
.....................!
real 191.11
user 186.57
sys 4.08

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/456038/ft1_filtered_4FGL_J2119.6-1105_daily_bin1392.fits scfile=/scratch/kocevski/456038/ft2_4FGL_J2119.6-1105_daily_bin1392.fits outfile=/scratch/kocevski/456038/cmap_600134401_600393601_4FGL_J2119.6-1105_daily_bin1392.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/456038/ft1_filtered_4FGL_J2119.6-1105_daily_bin1392.fits scfile=/scratch/kocevski/456038/ft2_4FGL_J2119.6-1105_daily_bin1392.fits outfile=/scratch/kocevski/456038/cmap_HighResolution_600134401_600393601_4FGL_J2119.6-1105_daily_bin1392.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=319.924 yref=-11.091 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/456038/ft1_filtered_4FGL_J2119.6-1105_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/456038/ft2_4FGL_J2119.6-1105_daily_bin1392.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/456038/Model_4FGL_J2119.6-1105_daily_bin1392.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/456038/ft1_filtered_4FGL_J2119.6-1105_daily_bin1392.fits.....................!
real 57.20
user 55.48
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    2.2842       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8752       1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.643       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.4618       1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.746       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.449       1.0000         .10000E-03   10000.    
     8 'Prefactor '    58.184       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1822       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10558E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18819E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.6213       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0215       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .97247       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=   5255.000     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1765 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.0052        .41625E-07** at limit **
   2  Prefactor     2.2805        7.2161       -.18020E-05   -.47705E-03
   3  Prefactor     2.8743        5.9227        .93495E-06   -.49415E-03
   4  Prefactor     39.632        25.921        .12101E-04   -.50466E-04
   5  Prefactor     9.2755        62.796       -.23723E-04   -.83326E-05
   6  Prefactor     32.745        37.154        .91529E-05   -.72590E-04
   7  Prefactor     15.436        31.513        .15786E-04   -.65548E-04
   8  Prefactor     58.163        49.742        .67215E-05   -.20261E-04
   9  Prefactor     2.1824        4.8761       -.16222E-05   -.56002E-03
  10  Prefactor     .10000E-03    .93862       -.60451E-07** at limit **
  11  Prefactor     .10000E-03    2.5115        .49439E-07** at limit **
  12  Prefactor     .10000E-03    22.410        .17588E-05** at limit **
  13  Prefactor     .10000E-03    5.0574        .35070E-07** at limit **
  14  norm          .10000E-03    3.1283        .45214E-07** at limit **
  15  Prefactor     .10011E-03    7.1155        .12734E-05** at limit **
  16  Prefactor     9.6228        15.586       -.94584E-05   -.78621E-04
  17  Normalizat    1.0218        .27623       -.92836E-05   -.73860E-04
  18  Prefactor     .97247        .13705       -.53160E-06   -.36988E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.28052
  Prefactor  = 2.87427
  Prefactor  = 39.6317
  Prefactor  = 9.2755
  Prefactor  = 32.7449
  Prefactor  = 15.436
  Prefactor  = 58.1633
  Prefactor  = 2.18244
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100111
  Prefactor  = 9.62279
  Normalizat = 1.02181
  Prefactor  = 0.972473
 **********
 **   18 **HESSE 
 **********

 FCN=   5255.000     FROM HESSE     STATUS=OK           248 CALLS     2013 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.0189        .10024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2805        7.2130        .27164E-03   -1.5406    
   3  Prefactor     2.8743        5.8969        .23971E-03   -1.5369    
   4  Prefactor     39.632        25.849        .63661E-04   -1.4448    
   5  Prefactor     9.2755        62.792        .13028E-03   -1.5099    
   6  Prefactor     32.745        36.887        .70024E-04   -1.4563    
   7  Prefactor     15.436        31.262        .10190E-03   -1.4922    
   8  Prefactor     58.163        49.639        .52595E-04   -1.4181    
   9  Prefactor     2.1824        4.8609        .23179E-03   -1.5412    
  10  Prefactor     .10000E-03    .95183        .68465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5136        .11220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    22.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.0603        .15921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.1311        .12522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10011E-03    30.647        .36554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.6228        15.612        .12919E-03   -1.5087    
  17  Normalizat    1.0218        .32255        .34217E-03   -.92303    
  18  Prefactor     .97247        .16463        .18485E-03   -.93653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83983e-09
Minuit parameter uncertainties:
  1  2.80676e-06
  2  7.21571
  3  5.89809
  4  25.8564
  5  48.34
  6  36.9123
  7  31.2953
  8  49.6739
  9  4.86181
  10  3.46978e-06
  11  4.72427e-06
  12  2.67235e-05
  13  1.40737e-05
  14  7.3111e-06
  15  0.003696
  16  15.6189
  17  0.323167
  18  0.164713
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  3.274e+01  3.691e+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.725e-01  1.647e-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.022e+00  3.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.50
Ra Dec: 319.924 -11.091
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 7.90e-08 +/- 8.89e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 3.06e-05

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

Saving results to:
/scratch/kocevski/456038/likelihoodResults_600134401_600393601_4FGL_J2119.6-1105_daily_bin1392.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) = 5253.50847577
delta logL = 1.49103391406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5253.42058602
delta logL = 1.57892366405

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39016       1.0000         .10000E-03   10000.    
     2 'Index     '    5.0706       1.0000          .0000       10.000    
     3 'Normalizat'    .82113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0518       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=   5253.421     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      295 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38579        2.8856        .50458E-02    .10889E-02
   2  Index         5.0757        2.1613        .72622E-01    .17781E-03
   3  Normalizat    .82084        .83346E-01    .84972E-01    .22857E-04
   4  Prefactor     1.0520        .44086E-01    .39806E-01    .40022E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.385792
  Index      = 5.07568
  Normalizat = 0.820837
  Prefactor  = 1.052
 **********
 **   18 **HESSE 
 **********

 FCN=   5253.421     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      328 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38579        4.9799        .22593E-04   -1.5584    
   2  Index         5.0757        3.0085        .29711E-02    .15137E-01
   3  Normalizat    .82084        .28256        .37627E-03   -.99300    
   4  Prefactor     1.0520        .14741        .17839E-03   -.91016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.60284e-10
Minuit parameter uncertainties:
  1  2.77209
  2  3.22824
  3  0.283068
  4  0.147469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/456038': 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) = 5253.4205831
delta logL = 1.57892658564

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  3.858e-01  2.772e+00  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  5.076e+00  3.228e+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.052e+00  1.475e-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.208e-01  2.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.19
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 5.08 +/- 3.23
Photon Flux (Free Index): 2.40e-07 +/- 1.27e-07
Energy Flux (Free Index): 3.18e-05 +/- 1.93e-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/456038/cmap_HighResolution_600134401_600393601_4FGL_J2119.6-1105_daily_bin1392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-02', comment='SUCCESS', photon_flux='7.90e-08', energy_flux2='3.18e-05', photon_flux_error='8.89e-08', dlogl='1.58e+00', energy_flux='2.71e-05', photon_flux2='2.40e-07', job_status='DONE', time_completed='2021-09-26 11:46:08.423628', photon_index_error2='3.23', photon_index2='5.08', ts='1.50', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='2.28e-07', energy_flux_error2='1.93e-05', EG='1.02', time_epoch_completed='1632681968.42', return_code='0', job_id='456038', GAL2='1.05', EG2='0.82', return_code2='102', energy_flux_error='3.06e-05', photon_flux_error2='1.27e-07', ts2='5.19', photon_index='2.37' WHERE bin_id='1392' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:46:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 456038: <4FGL_J2119.6-1105_daily_bin1392> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin1392> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 11:35:18 2021
Job was executed on host(s) <bullet0138>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:36:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 11:36:14 2021
Terminated at Sun Sep 26 11:46:09 2021
Results reported at Sun Sep 26 11:46:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1392 319.924 -11.091 600134401 600393601 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 :                                   546.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            651 sec.

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

