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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1101
RA = 319.924, Dec = -11.091
tmin = 524707201, tmax = 524966401
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='453625', job_status='RUN', time_executed='2021-09-26 11:30:02.958289', time_epoch_executed='1632681002.96' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/453625

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/453625/ft1_4FGL_J2119.6-1105_daily_bin1101.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/453625/ft2_4FGL_J2119.6-1105_daily_bin1101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/453625/ft1_4FGL_J2119.6-1105_daily_bin1101.fits outfile=/scratch/kocevski/453625/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1101.fits ra=319.924 dec=-11.091 rad=12.0 tmin=524707201.0 tmax=524966401.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.51
user 3.19
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/453625/ft2_4FGL_J2119.6-1105_daily_bin1101.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/453625/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1101.fits evtable="EVENTS" outfile="/scratch/kocevski/453625/ft1_filtered_4FGL_J2119.6-1105_daily_bin1101.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/453625/ft1_filtered_4FGL_J2119.6-1105_daily_bin1101.fits" evtable="EVENTS" scfile=/scratch/kocevski/453625/ft2_4FGL_J2119.6-1105_daily_bin1101.fits sctable="SC_DATA" outfile=/scratch/kocevski/453625/ltcube_524707201_524966401_4FGL_J2119.6-1105_daily_bin1101.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/453625/ft2_4FGL_J2119.6-1105_daily_bin1101.fits
.....................!
real 15.44
user 15.06
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/453625/ft1_filtered_4FGL_J2119.6-1105_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/453625/ft2_4FGL_J2119.6-1105_daily_bin1101.fits sctable="SC_DATA" expcube=/scratch/kocevski/453625/ltcube_524707201_524966401_4FGL_J2119.6-1105_daily_bin1101.fits outfile=/scratch/kocevski/453625/expmap_524707201_524966401_4FGL_J2119.6-1105_daily_bin1101.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/453625/ltcube_524707201_524966401_4FGL_J2119.6-1105_daily_bin1101.fits
.....................!
real 193.07
user 187.68
sys 4.86

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/453625/ft1_filtered_4FGL_J2119.6-1105_daily_bin1101.fits scfile=/scratch/kocevski/453625/ft2_4FGL_J2119.6-1105_daily_bin1101.fits outfile=/scratch/kocevski/453625/cmap_524707201_524966401_4FGL_J2119.6-1105_daily_bin1101.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.59
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/453625/ft1_filtered_4FGL_J2119.6-1105_daily_bin1101.fits scfile=/scratch/kocevski/453625/ft2_4FGL_J2119.6-1105_daily_bin1101.fits outfile=/scratch/kocevski/453625/cmap_HighResolution_524707201_524966401_4FGL_J2119.6-1105_daily_bin1101.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/453625/ft1_filtered_4FGL_J2119.6-1105_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/453625/ft2_4FGL_J2119.6-1105_daily_bin1101.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/453625/Model_4FGL_J2119.6-1105_daily_bin1101.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/453625/ft1_filtered_4FGL_J2119.6-1105_daily_bin1101.fits.....................!
real 70.70
user 69.36
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6615       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0131       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.575       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.005       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10320E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4778       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9660       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .60913       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14682       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.2770       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.5395       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.906       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .86728       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0257       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=   7542.008     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     1803 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6611        3.8903        .58940E-06   -.12214E-02
   2  Prefactor     1.0129        2.9160        .68047E-06   -.39611E-03
   3  Prefactor     .10000E-03    8.8300        .28060E-07** at limit **
   4  Prefactor     16.575        14.679        .20860E-05    .62159E-03
   5  Prefactor     .10000E-03    63.021        .28377E-06** at limit **
   6  Prefactor     39.998        19.179        .11185E-05    .47771E-03
   7  Prefactor     .10000E-03    10.708        .17814E-06** at limit **
   8  Prefactor     .10000E-03    22.120       -.18318E-06** at limit **
   9  Prefactor     1.4781        4.4553        .90424E-06   -.35053E-03
  10  Prefactor     2.9659        1.9376        .50489E-06   -.19994E-02
  11  Prefactor     .60751        5.0219        .21075E-05   -.68603E-03
  12  Prefactor     .10001E-03    22.429       -.20662E-06** at limit **
  13  Prefactor     .10000E-03    5.5179       -.46301E-08** at limit **
  14  norm          5.2770        4.5422        .11707E-05    .12772E-02
  15  Prefactor     9.5396        5.2088       -.12700E-06   -.43199E-03
  16  Prefactor     11.906        10.850        .39933E-06    .11431E-03
  17  Normalizat    .86710        .20975       -.15601E-05   -.16854E-03
  18  Prefactor     1.0258        .11343       -.26619E-06   -.28059E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.66108
  Prefactor  = 1.01294
  Prefactor  = 0.0001
  Prefactor  = 16.5754
  Prefactor  = 0.0001
  Prefactor  = 39.9978
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.47808
  Prefactor  = 2.9659
  Prefactor  = 0.607506
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 5.27698
  Prefactor  = 9.53965
  Prefactor  = 11.9062
  Normalizat = 0.867099
  Prefactor  = 1.0258
 **********
 **   18 **HESSE 
 **********

 FCN=   7542.008     FROM HESSE     STATUS=OK           256 CALLS     2059 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6611        4.0883        .72033E-03   -1.5232    
   2  Prefactor     1.0129        2.9271        .24707E-03   -1.5507    
   3  Prefactor     .10000E-03    9.2020        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.575        15.159        .98378E-04   -1.4893    
   5  Prefactor     .10000E-03    63.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     39.998        19.420        .63374E-04   -1.4442    
   7  Prefactor     .10000E-03    10.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.4781        4.5385        .31245E-03   -1.5465    
  10  Prefactor     2.9659        2.0700        .50238E-03   -1.5364    
  11  Prefactor     .60751        10.275        .35136E-02   -1.5552    
  12  Prefactor     .10001E-03    24.176        .13130       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.5328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.2770        4.7536        .17497E-03   -1.5248    
  15  Prefactor     9.5396        5.2398        .12975E-03   -1.5090    
  16  Prefactor     11.906        10.869        .11610E-03   -1.5018    
  17  Normalizat    .86710        .24989        .34044E-03   -.97626    
  18  Prefactor     1.0258        .13639        .17446E-03   -.91875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06358e-09
Minuit parameter uncertainties:
  1  4.0885
  2  2.92751
  3  4.08737e-06
  4  15.162
  5  0.000129735
  6  19.4234
  7  1.76111e-05
  8  2.16411e-05
  9  4.53955
  10  2.07007
  11  4.99745
  12  0.00083794
  13  3.45409e-07
  14  4.75389
  15  5.24007
  16  10.8706
  17  0.250225
  18  0.136435
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
561   Normalization:  8.671e-01  2.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.36
Ra Dec: 319.924 -11.091
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 9.65e-08 +/- 4.68e-08
Energy Flux (Fixed Index): 3.31e-05 +/- 1.61e-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) = 7542.00273491
delta logL = 0.00525862013274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7541.99679259
delta logL = 0.0112009372278

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.163       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4443       1.0000          .0000       10.000    
     3 'Normalizat'    .85833       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0289       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=   7541.997     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      244 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.159        28.967        .65744E-04    .54440E-03
   2  Index         2.4443        .58225        .55531E-02    .18132E-03
   3  Normalizat    .85833        .25175        .34196E-03   -.34556E-03
   4  Prefactor     1.0289        .13679        .17422E-03   -.11092E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.1587
  Index      = 2.44433
  Normalizat = 0.858333
  Prefactor  = 1.02886
 **********
 **   18 **HESSE 
 **********

 FCN=   7541.997     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.159        26.526        .13149E-04   -1.4488    
   2  Index         2.4443        .53266        .22212E-03   -.53650    
   3  Normalizat    .85833        .25077        .13678E-04   -.97940    
   4  Prefactor     1.0289        .13655        .34843E-04   -.91774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04781e-09
Minuit parameter uncertainties:
  1  26.5347
  2  0.534036
  3  0.251107
  4  0.136594
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/453625': 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) = 7541.99679258
delta logL = 0.0112009512859

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  3.716e+01  2.653e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.444e+00  5.340e-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.029e+00  1.366e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  8.583e-01  2.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.38
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 2.44 +/- 0.53
Photon Flux (Free Index): 1.03e-07 +/- 6.40e-08
Energy Flux (Free Index): 3.19e-05 +/- 1.70e-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/453625/cmap_HighResolution_524707201_524966401_4FGL_J2119.6-1105_daily_bin1101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.65e-08', energy_flux2='3.19e-05', photon_flux_error='4.68e-08', dlogl='1.12e-02', energy_flux='3.31e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-09-26 11:39:59.921309', photon_index_error2='0.53', photon_index2='2.44', ts='9.36', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.70e-05', EG='0.87', time_epoch_completed='1632681599.92', return_code='0', job_id='453625', GAL2='1.03', EG2='0.86', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='6.40e-08', ts2='9.38', photon_index='2.37' WHERE bin_id='1101' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:39:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 453625: <4FGL_J2119.6-1105_daily_bin1101> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1101 319.924 -11.091 524707201 524966401 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 :                                   592.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            866 sec.

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

