/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 200 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 = 7391
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2119.6-1105_daily_bin277
RA = 319.924, Dec = -11.091
tmin = 311126401, tmax = 311385601
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='447673', job_status='RUN', time_executed='2021-09-26 11:10:41.636921', time_epoch_executed='1632679841.64' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447673

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447673/ft1_4FGL_J2119.6-1105_daily_bin277.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447673/ft2_4FGL_J2119.6-1105_daily_bin277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447673/ft1_4FGL_J2119.6-1105_daily_bin277.fits outfile=/scratch/kocevski/447673/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin277.fits ra=319.924 dec=-11.091 rad=12.0 tmin=311126401.0 tmax=311385601.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.59
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447673/ft1_filtered_4FGL_J2119.6-1105_daily_bin277.fits" evtable="EVENTS" scfile=/scratch/kocevski/447673/ft2_4FGL_J2119.6-1105_daily_bin277.fits sctable="SC_DATA" outfile=/scratch/kocevski/447673/ltcube_311126401_311385601_4FGL_J2119.6-1105_daily_bin277.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/447673/ft2_4FGL_J2119.6-1105_daily_bin277.fits
.....................!
real 14.10
user 13.73
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447673/ft1_filtered_4FGL_J2119.6-1105_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/447673/ft2_4FGL_J2119.6-1105_daily_bin277.fits sctable="SC_DATA" expcube=/scratch/kocevski/447673/ltcube_311126401_311385601_4FGL_J2119.6-1105_daily_bin277.fits outfile=/scratch/kocevski/447673/expmap_311126401_311385601_4FGL_J2119.6-1105_daily_bin277.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/447673/ltcube_311126401_311385601_4FGL_J2119.6-1105_daily_bin277.fits
.....................!
real 193.02
user 185.53
sys 6.29

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/447673/ft1_filtered_4FGL_J2119.6-1105_daily_bin277.fits scfile=/scratch/kocevski/447673/ft2_4FGL_J2119.6-1105_daily_bin277.fits outfile=/scratch/kocevski/447673/cmap_311126401_311385601_4FGL_J2119.6-1105_daily_bin277.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447673/ft1_filtered_4FGL_J2119.6-1105_daily_bin277.fits scfile=/scratch/kocevski/447673/ft2_4FGL_J2119.6-1105_daily_bin277.fits outfile=/scratch/kocevski/447673/cmap_HighResolution_311126401_311385601_4FGL_J2119.6-1105_daily_bin277.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447673/ft1_filtered_4FGL_J2119.6-1105_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/447673/ft2_4FGL_J2119.6-1105_daily_bin277.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447673/Model_4FGL_J2119.6-1105_daily_bin277.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/447673/ft1_filtered_4FGL_J2119.6-1105_daily_bin277.fits.....................!
real 73.30
user 70.25
sys 1.96

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3072       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.7050       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0592       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.130       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.337       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8726       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10544E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3334       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.477       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.6329       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.779       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.6469       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .74159       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=   7397.071     FROM MIGRAD    STATUS=CONVERGED    356 CALLS     1813 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3072        3.1556        .35553E-06   -.47998E-03
   2  Prefactor     6.7046        5.5895        .12740E-05   -.99882E-03
   3  Prefactor     1.0593        3.0631       -.11345E-05   -.93945E-03
   4  Prefactor     20.129        15.440       -.21920E-06    .14352E-04
   5  Prefactor     .10000E-03    43.712       -.13535E-05** at limit **
   6  Prefactor     20.335        19.661       -.14591E-06    .40019E-04
   7  Prefactor     1.8699        15.604       -.20676E-05   -.16538E-03
   8  Prefactor     .10000E-03    14.395       -.68467E-06** at limit **
   9  Prefactor     .10001E-03    3.9823        .20282E-06** at limit **
  10  Prefactor     .10000E-03    1.4985        .50079E-07** at limit **
  11  Prefactor     1.3337        7.1513       -.11676E-04    .16446E-04
  12  Prefactor     18.477        32.840        .19525E-06   -.21746E-04
  13  Prefactor     8.6327        10.044       -.41462E-07    .18773E-04
  14  norm          .10000E-03    2.0614        .27704E-07** at limit **
  15  Prefactor     .10000E-03    2.3771       -.79936E-08** at limit **
  16  Prefactor     10.778        11.627       -.51628E-06   -.41184E-03
  17  Normalizat    1.6469        .23028        .67939E-06    .13755E-03
  18  Prefactor     .74157        .11801        .96299E-07    .18891E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.30723
  Prefactor  = 6.70459
  Prefactor  = 1.05925
  Prefactor  = 20.1293
  Prefactor  = 0.0001
  Prefactor  = 20.3351
  Prefactor  = 1.8699
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 1.33365
  Prefactor  = 18.4769
  Prefactor  = 8.63268
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7782
  Normalizat = 1.64695
  Prefactor  = 0.741568
 **********
 **   18 **HESSE 
 **********

 FCN=   7397.071     FROM HESSE     STATUS=OK           252 CALLS     2065 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3072        3.1487        .14419E-03   -1.5344    
   2  Prefactor     6.7046        5.5122        .15496E-03   -1.5190    
   3  Prefactor     1.0593        3.0863        .25433E-03   -1.5502    
   4  Prefactor     20.129        15.467        .89270E-04   -1.4810    
   5  Prefactor     .10000E-03    43.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.335        19.521        .88817E-04   -1.4806    
   7  Prefactor     1.8699        15.624        .30434E-03   -1.5434    
   8  Prefactor     .10000E-03    14.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    25.808        .33002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.5559        .20534E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.3337        8.4073        .38010E-03   -1.5477    
  12  Prefactor     18.477        32.830        .93177E-04   -1.4848    
  13  Prefactor     8.6327        10.049        .13643E-03   -1.5120    
  14  norm          .10000E-03    2.0633        .12060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4016        .12948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.778        11.695        .61018E-03   -1.5051    
  17  Normalizat    1.6469        .28238        .28353E-03   -.73729    
  18  Prefactor     .74157        .14427        .20910E-03   -1.0192    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33253e-09
Minuit parameter uncertainties:
  1  3.14886
  2  5.51258
  3  3.08675
  4  15.4698
  5  0.000192371
  6  19.5276
  7  10.8138
  8  5.29913e-05
  9  0.00100495
  10  5.10264e-06
  11  6.69812
  12  32.8617
  13  10.0513
  14  1.01896e-06
  15  1.03573e-06
  16  11.6975
  17  0.282652
  18  0.144341
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  2.034e+01  1.953e+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:  7.416e-01  1.443e-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.647e+00  2.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.80
Ra Dec: 319.924 -11.091
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.90e-08 +/- 4.71e-08
Energy Flux (Fixed Index): 1.69e-05 +/- 1.62e-05

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

Saving results to:
/scratch/kocevski/447673/likelihoodResults_311126401_311385601_4FGL_J2119.6-1105_daily_bin277.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) = 7396.77593055
delta logL = 0.295187714395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7396.75719422
delta logL = 0.313924042289

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.878       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9964       1.0000          .0000       10.000    
     3 'Normalizat'    1.5932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75876       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=   7396.757     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      281 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.870        21.770        .11623E-03   -.50167E-03
   2  Index         2.9977        1.0788        .62467E-02   -.10601E-03
   3  Normalizat    1.5931        .28978        .28724E-03    .23031E-03
   4  Prefactor     .75860        .14686        .20692E-03   -.27691E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8703
  Index      = 2.99772
  Normalizat = 1.59305
  Prefactor  = 0.7586
 **********
 **   18 **HESSE 
 **********

 FCN=   7396.757     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.870        16.659        .46493E-05   -1.5019    
   2  Index         2.9977        .82626        .24987E-03   -.41201    
   3  Normalizat    1.5931        .28697        .57448E-04   -.75196    
   4  Prefactor     .75860        .14583        .82768E-05   -1.0127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.00499e-10
Minuit parameter uncertainties:
  1  16.6653
  2  0.830803
  3  0.287268
  4  0.145903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447673': 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) = 7396.75718737
delta logL = 0.313930895646

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.187e+01  1.667e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.998e+00  8.308e-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:  7.586e-01  1.459e-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.593e+00  2.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.46
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 3.00 +/- 0.83
Photon Flux (Free Index): 9.23e-08 +/- 8.05e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.39e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/447673/cmap_HighResolution_311126401_311385601_4FGL_J2119.6-1105_daily_bin277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', comment='SUCCESS', photon_flux='4.90e-08', energy_flux2='1.84e-05', photon_flux_error='4.71e-08', dlogl='3.14e-01', energy_flux='1.69e-05', photon_flux2='9.23e-08', job_status='DONE', time_completed='2021-09-26 11:21:30.826373', photon_index_error2='0.83', photon_index2='3.00', ts='1.80', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.39e-05', EG='1.65', time_epoch_completed='1632680490.83', return_code='0', job_id='447673', GAL2='0.76', EG2='1.59', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='8.05e-08', ts2='2.46', photon_index='2.37' WHERE bin_id='277' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:21:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 447673: <4FGL_J2119.6-1105_daily_bin277> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin277> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 26 11:05:39 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:07:12 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:07:12 2021
Terminated at Sun Sep 26 11:21:31 2021
Results reported at Sun Sep 26 11:21:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin277 319.924 -11.091 311126401 311385601 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 :                                   643.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            952 sec.

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

