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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1011
RA = 319.924, Dec = -11.091
tmin = 501379201, tmax = 501638401
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='453491', job_status='RUN', time_executed='2021-09-26 11:27:27.252237', time_epoch_executed='1632680847.25' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1011'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/453491

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/453491/ft1_4FGL_J2119.6-1105_daily_bin1011.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/453491/ft2_4FGL_J2119.6-1105_daily_bin1011.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/453491/ft1_4FGL_J2119.6-1105_daily_bin1011.fits outfile=/scratch/kocevski/453491/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1011.fits ra=319.924 dec=-11.091 rad=12.0 tmin=501379201.0 tmax=501638401.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.70
user 3.37
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/453491/ft2_4FGL_J2119.6-1105_daily_bin1011.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/453491/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1011.fits evtable="EVENTS" outfile="/scratch/kocevski/453491/ft1_filtered_4FGL_J2119.6-1105_daily_bin1011.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.56
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/453491/ft1_filtered_4FGL_J2119.6-1105_daily_bin1011.fits" evtable="EVENTS" scfile=/scratch/kocevski/453491/ft2_4FGL_J2119.6-1105_daily_bin1011.fits sctable="SC_DATA" outfile=/scratch/kocevski/453491/ltcube_501379201_501638401_4FGL_J2119.6-1105_daily_bin1011.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/453491/ft2_4FGL_J2119.6-1105_daily_bin1011.fits
.....................!
real 15.42
user 14.83
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/453491/ft1_filtered_4FGL_J2119.6-1105_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/453491/ft2_4FGL_J2119.6-1105_daily_bin1011.fits sctable="SC_DATA" expcube=/scratch/kocevski/453491/ltcube_501379201_501638401_4FGL_J2119.6-1105_daily_bin1011.fits outfile=/scratch/kocevski/453491/expmap_501379201_501638401_4FGL_J2119.6-1105_daily_bin1011.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/453491/ltcube_501379201_501638401_4FGL_J2119.6-1105_daily_bin1011.fits
.....................!
real 194.75
user 186.84
sys 5.44

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/453491/ft1_filtered_4FGL_J2119.6-1105_daily_bin1011.fits scfile=/scratch/kocevski/453491/ft2_4FGL_J2119.6-1105_daily_bin1011.fits outfile=/scratch/kocevski/453491/cmap_501379201_501638401_4FGL_J2119.6-1105_daily_bin1011.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.16

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

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6908       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10622E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1535       1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.118       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.267       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0206       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1824       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.248       1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8297       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .97307       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .86630       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=   6012.823     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1823 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6904        2.7326        .13826E-07   -.12086E-04
   2  Prefactor     .10000E-03    1.7998        .28619E-07** at limit **
   3  Prefactor     .10000E-03    4.6326       -.14965E-06** at limit **
   4  Prefactor     .10000E-03    16.781        .77609E-08** at limit **
   5  Prefactor     2.0827        469.88        .15746E-04   -.34406E-04
   6  Prefactor     37.119        26.145        .39137E-06    .18419E-04
   7  Prefactor     16.264        19.285       -.20838E-06    .11302E-04
   8  Prefactor     .88969        62.117        .11973E-04   -.23263E-03
   9  Prefactor     .10000E-03    5.0786        .13255E-06** at limit **
  10  Prefactor     .10000E-03    2.3536       -.34952E-07** at limit **
  11  Prefactor     2.1795        8.7089        .97603E-05    .31430E-03
  12  Prefactor     .10000E-03    15.596        .57062E-07** at limit **
  13  Prefactor     26.224        19.340        .17709E-06   -.94651E-06
  14  norm          .10000E-03    2.4127        .14476E-08** at limit **
  15  Prefactor     1.8264        5.7449        .88395E-06    .38414E-04
  16  Prefactor     .10000E-03    10.418       -.10826E-07** at limit **
  17  Normalizat    .97312        .23114       -.28070E-05   -.51765E-04
  18  Prefactor     .86642        .11371        .65857E-06    .10264E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.69037
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.08266
  Prefactor  = 37.1193
  Prefactor  = 16.264
  Prefactor  = 0.88969
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.17947
  Prefactor  = 0.0001
  Prefactor  = 26.2235
  norm       = 0.0001
  Prefactor  = 1.82641
  Prefactor  = 0.0001
  Normalizat = 0.973121
  Prefactor  = 0.866417
 **********
 **   18 **HESSE 
 **********

 FCN=   6012.823     FROM HESSE     STATUS=OK           252 CALLS     2075 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6904        2.7339        .10741E-03   -1.5324    
   2  Prefactor     .10000E-03    1.8119        .10158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.8592        .32587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.0827        480.88        .28075E-03   -1.5419    
   6  Prefactor     37.119        26.119        .65783E-04   -1.4489    
   7  Prefactor     16.264        19.277        .99303E-04   -1.4901    
   8  Prefactor     .88969        57.081        .13134       -1.5519    
   9  Prefactor     .10000E-03    5.3226        .34117E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4225        .23024E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1795        8.8241        .13933E-02   -1.5413    
  12  Prefactor     .10000E-03    15.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.224        19.443        .78193E-04   -1.4683    
  14  norm          .10000E-03    2.4149        .11763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8264        5.7327        .30845E-03   -1.5438    
  16  Prefactor     .10000E-03    10.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .97312        .27950        .31235E-03   -.93936    
  18  Prefactor     .86642        .13867        .17473E-03   -.97325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.24152e-10
Minuit parameter uncertainties:
  1  2.73397
  2  2.71311e-06
  3  2.18643e-05
  4  5.33576e-06
  5  63.8176
  6  26.1271
  7  19.2848
  8  14.2661
  9  1.55673e-05
  10  2.52796e-05
  11  8.7729
  12  3.78409e-07
  13  19.4472
  14  3.47022e-08
  15  5.73444
  16  2.08244e-06
  17  0.279921
  18  0.138723
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  3.712e+01  2.613e+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:  8.664e-01  1.387e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  9.731e-01  2.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.41
Ra Dec: 319.924 -11.091
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.95e-08 +/- 6.30e-08
Energy Flux (Fixed Index): 3.08e-05 +/- 2.17e-05

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) = 6012.0660812
delta logL = 0.756505291935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6012.05834091
delta logL = 0.764245585117

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.182       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0814       1.0000          .0000       10.000    
     3 'Normalizat'    .90329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88856       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=   6012.058     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      308 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.176        24.224        .96624E-04   -.46558E-03
   2  Index         3.0818        .78738        .38453E-02   -.19442E-03
   3  Normalizat    .90275        .26409        .32243E-03   -.11868E-03
   4  Prefactor     .88881        .13790        .17257E-03   -.70754E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1765
  Index      = 3.08177
  Normalizat = 0.902754
  Prefactor  = 0.888808
 **********
 **   18 **HESSE 
 **********

 FCN=   6012.058     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.176        19.306        .38650E-05   -1.4879    
   2  Index         3.0818        .62776        .15381E-03   -.39374    
   3  Normalizat    .90275        .26279        .12897E-04   -.96363    
   4  Prefactor     .88881        .13736        .34514E-04   -.96533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.03774e-10
Minuit parameter uncertainties:
  1  19.3126
  2  0.629708
  3  0.263169
  4  0.13741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/453491': 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) = 6012.0583387
delta logL = 0.764247793221

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.718e+01  1.931e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  3.082e+00  6.297e-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:  8.888e-01  1.374e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  9.028e-01  2.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.09
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 3.08 +/- 0.63
Photon Flux (Free Index): 1.57e-07 +/- 8.85e-08
Energy Flux (Free Index): 3.02e-05 +/- 1.55e-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/453491/cmap_HighResolution_501379201_501638401_4FGL_J2119.6-1105_daily_bin1011.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.95e-08', energy_flux2='3.02e-05', photon_flux_error='6.30e-08', dlogl='7.64e-01', energy_flux='3.08e-05', photon_flux2='1.57e-07', job_status='DONE', time_completed='2021-09-26 11:36:35.600464', photon_index_error2='0.63', photon_index2='3.08', ts='4.41', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.97', time_epoch_completed='1632681395.6', return_code='0', job_id='453491', GAL2='0.89', EG2='0.90', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='8.85e-08', ts2='6.09', photon_index='2.37' WHERE bin_id='1011' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:36:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 453491: <4FGL_J2119.6-1105_daily_bin1011> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1011 319.924 -11.091 501379201 501638401 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 :                                   538.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   579 sec.
    Turnaround time :                            671 sec.

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

