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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1409
RA = 319.924, Dec = -11.091
tmin = 604540801, tmax = 604800001
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='456063', job_status='RUN', time_executed='2021-09-26 11:38:50.145500', time_epoch_executed='1632681530.15' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1409'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/456063

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/456063/ft1_4FGL_J2119.6-1105_daily_bin1409.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/456063/ft2_4FGL_J2119.6-1105_daily_bin1409.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/456063/ft1_4FGL_J2119.6-1105_daily_bin1409.fits outfile=/scratch/kocevski/456063/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1409.fits ra=319.924 dec=-11.091 rad=12.0 tmin=604540801.0 tmax=604800001.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.72
user 3.41
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/456063/ft1_filtered_4FGL_J2119.6-1105_daily_bin1409.fits" evtable="EVENTS" scfile=/scratch/kocevski/456063/ft2_4FGL_J2119.6-1105_daily_bin1409.fits sctable="SC_DATA" outfile=/scratch/kocevski/456063/ltcube_604540801_604800001_4FGL_J2119.6-1105_daily_bin1409.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/456063/ft2_4FGL_J2119.6-1105_daily_bin1409.fits
.....................!
real 14.35
user 13.95
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/456063/ft1_filtered_4FGL_J2119.6-1105_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/456063/ft2_4FGL_J2119.6-1105_daily_bin1409.fits sctable="SC_DATA" expcube=/scratch/kocevski/456063/ltcube_604540801_604800001_4FGL_J2119.6-1105_daily_bin1409.fits outfile=/scratch/kocevski/456063/expmap_604540801_604800001_4FGL_J2119.6-1105_daily_bin1409.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/456063/ltcube_604540801_604800001_4FGL_J2119.6-1105_daily_bin1409.fits
.....................!
real 192.51
user 186.39
sys 5.35

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/456063/ft1_filtered_4FGL_J2119.6-1105_daily_bin1409.fits scfile=/scratch/kocevski/456063/ft2_4FGL_J2119.6-1105_daily_bin1409.fits outfile=/scratch/kocevski/456063/cmap_604540801_604800001_4FGL_J2119.6-1105_daily_bin1409.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/456063/ft1_filtered_4FGL_J2119.6-1105_daily_bin1409.fits scfile=/scratch/kocevski/456063/ft2_4FGL_J2119.6-1105_daily_bin1409.fits outfile=/scratch/kocevski/456063/cmap_HighResolution_604540801_604800001_4FGL_J2119.6-1105_daily_bin1409.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.62
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/456063/ft1_filtered_4FGL_J2119.6-1105_daily_bin1409.fits evtable="EVENTS" scfile=/scratch/kocevski/456063/ft2_4FGL_J2119.6-1105_daily_bin1409.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/456063/Model_4FGL_J2119.6-1105_daily_bin1409.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/456063/ft1_filtered_4FGL_J2119.6-1105_daily_bin1409.fits.....................!
real 67.62
user 66.04
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0087       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .20332E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.396       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.863       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.343       1.0000         .10000E-03   10000.    
     8 'Prefactor '    64.144       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6849       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17663E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0002       1.0000         .10000E-03   10000.    
    12 'Prefactor '    42.723       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.026       1.0000         .10000E-03   10000.    
    14 'norm      '    5.1925       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.746       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .63840       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2052       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6673.881     FROM MIGRAD    STATUS=CONVERGED     84 CALLS     1503 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0082        2.8960       -.53741E-06   -.28798E-04
   2  Prefactor     .10000E-03    17.551       -.25938E-05** at limit **
   3  Prefactor     .10000E-03    4.0553       -.38328E-06** at limit **
   4  Prefactor     14.386        3.5261        .76680E-06   -.85623E-03
   5  Prefactor     .10000E-03    21.365       -.91882E-06** at limit **
   6  Prefactor     12.894        8.0724       -.15608E-06    .58816E-02
   7  Prefactor     21.311        17.792        .41542E-05   -.54421E-03
   8  Prefactor     64.011        32.989       -.27167E-05    .58232E-02
   9  Prefactor     7.6833        6.6109       -.32579E-05   -.13992E-02
  10  Prefactor     .10000E-03    5.1816        .37229E-05** at limit **
  11  Prefactor     1.9939        2.4149       -.26196E-05    .11922E-02
  12  Prefactor     42.606        28.380       -.16926E-05   -.21584E-02
  13  Prefactor     10.023        3.9283       -.11129E-05   -.15254E-02
  14  norm          5.1922        5.5556       -.69586E-05   -.18052E-02
  15  Prefactor     .10000E-03    5.7794        .82097E-06** at limit **
  16  Prefactor     25.745        3.7021       -.92666E-06   -.14821E-03
  17  Normalizat    .63840        .29786       -.79601E-06   -.98574E-05
  18  Prefactor     1.2053        .15768        .11526E-05   -.28968E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.00823
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.3861
  Prefactor  = 0.0001
  Prefactor  = 12.8937
  Prefactor  = 21.3112
  Prefactor  = 64.0107
  Prefactor  = 7.68334
  Prefactor  = 0.0001
  Prefactor  = 1.99392
  Prefactor  = 42.6065
  Prefactor  = 10.0232
  norm       = 5.19224
  Prefactor  = 0.0001
  Prefactor  = 25.7446
  Normalizat = 0.638405
  Prefactor  = 1.20531
 **********
 **   18 **HESSE 
 **********

 FCN=   6673.881     FROM HESSE     STATUS=OK           300 CALLS     1803 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0082        2.9179        .73031E-02   -1.5425    
   2  Prefactor     .10000E-03    4.5496        .54671E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.9691        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.386        20.484        .26391E-02   -1.4949    
   5  Prefactor     .10000E-03    21.366        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.894        27.601        .27921E-02   -1.4990    
   7  Prefactor     21.311        21.564        .21675E-02   -1.4784    
   8  Prefactor     64.011        56.176        .12527E-02   -1.4106    
   9  Prefactor     7.6833        6.7138        .36164E-02   -1.5154    
  10  Prefactor     .10000E-03    1.8274        .54394E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9939        10.242        .73210E-02   -1.5426    
  12  Prefactor     42.606        47.383        .15333E-02   -1.4402    
  13  Prefactor     10.023        16.920        .31637E-02   -1.5075    
  14  norm          5.1922        5.6260        .44103E-02   -1.5252    
  15  Prefactor     .10000E-03    5.6726        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.745        21.753        .19737E-02   -1.4693    
  17  Normalizat    .63840        .28990        .97168E-01   -1.0638    
  18  Prefactor     1.2053        .14097        .34508E-01   -.86168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51861e-07
Minuit parameter uncertainties:
  1  2.91813
  2  3.487e-05
  3  1.20636e-06
  4  20.4936
  5  6.33925e-05
  6  27.6284
  7  21.5718
  8  56.2228
  9  6.71447
  10  2.32593e-06
  11  9.04032
  12  47.4248
  13  16.9283
  14  5.62653
  15  1.28205e-05
  16  21.7601
  17  0.290592
  18  0.141016
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.289e+01  2.763e+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.205e+00  1.410e-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.384e-01  2.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/456063/likelihoodResults_604540801_604800001_4FGL_J2119.6-1105_daily_bin1409.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) = 6672.61885367
delta logL = 1.2616898758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6672.13137424
delta logL = 1.74916930855

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.5365       1.0000          .0000       10.000    
     3 'Normalizat'    .46285       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2759       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6672.131     FROM MIGRAD    STATUS=CONVERGED    169 CALLS      558 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .20289E-02    .21610E-07** at limit **
   2  Index         8.5362        .25571       -.63261E-05    .26701E-04
   3  Normalizat    .46258        .30503       -.79974E-08    .80721E-04
   4  Prefactor     1.2761        .16175        .36494E-06    .24754E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.53624
  Normalizat = 0.462583
  Prefactor  = 1.27606
 **********
 **   18 **HESSE 
 **********

 FCN=   6672.131     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      601 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .20775E-02    .30547E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.5362        2.0974        .12348        .78560    
   3  Normalizat    .46258        .68076E-01    .11300       -1.1418    
   4  Prefactor     1.2761        .35729E-01    .33043E-01   -.84022    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.77781e-09
Minuit parameter uncertainties:
  1  2.63485e-08
  2  2.24536
  3  0.0680878
  4  0.0357297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/456063': 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) = 6672.13137223
delta logL = 1.74917131608

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  2.635e-08  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  8.536e+00  2.245e+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.276e+00  3.573e-02  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:  4.626e-01  6.809e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.27
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 8.54 +/- 2.25
Photon Flux (Free Index): 1.65e-07 +/- 8.40e-07
Energy Flux (Free Index): 1.89e-05 +/- 9.60e-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/456063/cmap_HighResolution_604540801_604800001_4FGL_J2119.6-1105_daily_bin1409.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', comment='SUCCESS', energy_flux2='1.89e-05', dlogl='1.75e+00', photon_flux2='1.65e-07', job_status='DONE', time_completed='2021-09-26 11:49:51.859663', photon_index_error2='2.25', photon_index2='8.54', ts='0.33', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.56e-07', energy_flux_error2='9.60e-05', EG='0.64', time_epoch_completed='1632682191.86', return_code='0', job_id='456063', GAL2='1.28', EG2='0.46', return_code2='102', photon_flux_error2='8.40e-07', ts2='4.27', photon_index='2.37' WHERE bin_id='1409' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:49:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 456063: <4FGL_J2119.6-1105_daily_bin1409> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1409 319.924 -11.091 604540801 604800001 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 :                                   605.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            872 sec.

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

