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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1341
RA = 319.924, Dec = -11.091
tmin = 586915201, tmax = 587174401
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='455964', job_status='RUN', time_executed='2021-09-26 11:38:46.355406', time_epoch_executed='1632681526.36' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1341'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/455964

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/455964/ft1_4FGL_J2119.6-1105_daily_bin1341.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/455964/ft2_4FGL_J2119.6-1105_daily_bin1341.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/455964/ft1_4FGL_J2119.6-1105_daily_bin1341.fits outfile=/scratch/kocevski/455964/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1341.fits ra=319.924 dec=-11.091 rad=12.0 tmin=586915201.0 tmax=587174401.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.44
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/455964/ft1_filtered_4FGL_J2119.6-1105_daily_bin1341.fits" evtable="EVENTS" scfile=/scratch/kocevski/455964/ft2_4FGL_J2119.6-1105_daily_bin1341.fits sctable="SC_DATA" outfile=/scratch/kocevski/455964/ltcube_586915201_587174401_4FGL_J2119.6-1105_daily_bin1341.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/455964/ft2_4FGL_J2119.6-1105_daily_bin1341.fits
.....................!
real 15.73
user 15.14
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/455964/ft1_filtered_4FGL_J2119.6-1105_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/455964/ft2_4FGL_J2119.6-1105_daily_bin1341.fits sctable="SC_DATA" expcube=/scratch/kocevski/455964/ltcube_586915201_587174401_4FGL_J2119.6-1105_daily_bin1341.fits outfile=/scratch/kocevski/455964/expmap_586915201_587174401_4FGL_J2119.6-1105_daily_bin1341.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/455964/ltcube_586915201_587174401_4FGL_J2119.6-1105_daily_bin1341.fits
.....................!
real 194.54
user 188.21
sys 5.66

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/455964/ft1_filtered_4FGL_J2119.6-1105_daily_bin1341.fits scfile=/scratch/kocevski/455964/ft2_4FGL_J2119.6-1105_daily_bin1341.fits outfile=/scratch/kocevski/455964/cmap_586915201_587174401_4FGL_J2119.6-1105_daily_bin1341.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.56
user 0.38
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4393       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.851       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.787       1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.800       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5873       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.639       1.0000         .10000E-03   10000.    
    14 'norm      '    5.8845       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4650       1.0000         .10000E-03   10000.    
    16 'Prefactor '    43.227       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .58758       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1286       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=   5201.761     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1762 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4390        3.1123       -.63476E-06   -.70307E-03
   2  Prefactor     .10000E-03    6.0359       -.30528E-05** at limit **
   3  Prefactor     .10000E-03    6.3955        .35466E-05** at limit **
   4  Prefactor     .10000E-03    7.6087       -.11556E-05** at limit **
   5  Prefactor     .10000E-03    25.010        .10613E-06** at limit **
   6  Prefactor     12.847        18.346       -.22885E-05   -.15757E-04
   7  Prefactor     25.784        19.462       -.18289E-05   -.69766E-05
   8  Prefactor     23.792        42.042       -.13522E-04   -.24631E-04
   9  Prefactor     .10000E-03    2.0396       -.11465E-08** at limit **
  10  Prefactor     1.5858        1.9419        .58924E-06    .10289E-03
  11  Prefactor     .10000E-03    4.9413        .56706E-07** at limit **
  12  Prefactor     .10000E-03    17.513        .18261E-06** at limit **
  13  Prefactor     16.630        25.620       -.13775E-04   -.16682E-04
  14  norm          5.8850        5.8334        .39463E-06    .16260E-03
  15  Prefactor     3.4617        8.8821       -.53338E-06   -.23102E-03
  16  Prefactor     43.230        26.666        .33891E-05    .83491E-05
  17  Normalizat    .58753        .27854        .92553E-05   -.34168E-04
  18  Prefactor     1.1288        .14159       -.11841E-05    .13832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.43896
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8474
  Prefactor  = 25.7841
  Prefactor  = 23.792
  Prefactor  = 0.0001
  Prefactor  = 1.58579
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.63
  norm       = 5.88497
  Prefactor  = 3.46168
  Prefactor  = 43.2297
  Normalizat = 0.587526
  Prefactor  = 1.12876
 **********
 **   18 **HESSE 
 **********

 FCN=   5201.761     FROM HESSE     STATUS=OK           246 CALLS     2008 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4390        3.1045        .18242E-03   -1.5468    
   2  Prefactor     .10000E-03    6.2376        .34624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.5160        .35450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.6379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.847        18.330        .11174E-03   -1.4991    
   7  Prefactor     25.784        19.432        .78886E-04   -1.4692    
   8  Prefactor     23.792        41.811        .82109E-04   -1.4732    
   9  Prefactor     .10000E-03    2.0437        .10059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5858        1.9160        .10235E-03   -1.5456    
  11  Prefactor     .10000E-03    4.9699        .15656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.630        25.489        .98187E-04   -1.4892    
  14  norm          5.8850        5.8423        .16555E-03   -1.5223    
  15  Prefactor     3.4617        8.8526        .21725E-03   -1.5336    
  16  Prefactor     43.230        26.661        .60975E-04   -1.4392    
  17  Normalizat    .58753        .30967        .40698E-03   -1.0852    
  18  Prefactor     1.1288        .16008        .16412E-03   -.88553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.31921e-10
Minuit parameter uncertainties:
  1  3.10481
  2  3.35417e-05
  3  6.07744e-05
  4  2.0154e-05
  5  2.42392e-06
  6  18.3382
  7  19.437
  8  41.8621
  9  9.56472e-07
  10  1.91609
  11  8.09837e-06
  12  7.97409e-06
  13  25.5059
  14  5.84286
  15  8.85592
  16  26.6681
  17  0.310589
  18  0.160148
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.285e+01  1.834e+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.129e+00  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:  5.875e-01  3.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/455964/likelihoodResults_586915201_587174401_4FGL_J2119.6-1105_daily_bin1341.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) = 5201.64569199
delta logL = 0.115219958684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5201.63573025
delta logL = 0.125181701253

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.163       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9133       1.0000          .0000       10.000    
     3 'Normalizat'    .60072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1241       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=   5201.636     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      234 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.163        1132.0        .24169E-02    .17201E-03
   2  Index         1.9131        5.3185        .26313       -.17945E-05
   3  Normalizat    .60073        .16194        .90905E-01    .30693E-04
   4  Prefactor     1.1241        .57695E-01    .36734E-01   -.43426E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1626
  Index      = 1.9131
  Normalizat = 0.600734
  Prefactor  = 1.12414
 **********
 **   18 **HESSE 
 **********

 FCN=   5201.636     FROM HESSE     STATUS=OK            31 CALLS      265 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.163        22.572        .96678E-04   -1.4879    
   2  Index         1.9131        .81599        .10816E-01   -.66541    
   3  Normalizat    .60073        .28483        .40275E-03   -1.0795    
   4  Prefactor     1.1241        .15658        .16441E-03   -.88699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85129e-11
Minuit parameter uncertainties:
  1  22.5833
  2  0.821961
  3  0.285532
  4  0.156643
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/455964': 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) = 5201.63573021
delta logL = 0.125181737249

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.716e+01  2.258e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  1.913e+00  8.220e-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:  1.124e+00  1.566e-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.007e-01  2.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 1.91 +/- 0.82
Photon Flux (Free Index): 2.04e-08 +/- 3.42e-08
Energy Flux (Free Index): 1.77e-05 +/- 3.13e-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/455964/cmap_HighResolution_586915201_587174401_4FGL_J2119.6-1105_daily_bin1341.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', comment='SUCCESS', energy_flux2='1.77e-05', dlogl='1.25e-01', photon_flux2='2.04e-08', job_status='DONE', time_completed='2021-09-26 11:48:39.941937', photon_index_error2='0.82', photon_index2='1.91', ts='0.85', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='3.13e-05', EG='0.59', time_epoch_completed='1632682119.94', return_code='0', job_id='455964', GAL2='1.12', EG2='0.60', return_code2='0', photon_flux_error2='3.42e-08', ts2='1.11', photon_index='2.37' WHERE bin_id='1341' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:48:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 455964: <4FGL_J2119.6-1105_daily_bin1341> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin1341> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 11:35:14 2021
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:35:23 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:35:23 2021
Terminated at Sun Sep 26 11:48:40 2021
Results reported at Sun Sep 26 11:48:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1341 319.924 -11.091 586915201 587174401 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 :                                   537.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            806 sec.

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

