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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin463
RA = 319.924, Dec = -11.091
tmin = 359337601, tmax = 359596801
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='449124', job_status='RUN', time_executed='2021-09-26 11:14:37.087466', time_epoch_executed='1632680077.09' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/449124

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/449124/ft1_4FGL_J2119.6-1105_daily_bin463.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/449124/ft2_4FGL_J2119.6-1105_daily_bin463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/449124/ft1_4FGL_J2119.6-1105_daily_bin463.fits outfile=/scratch/kocevski/449124/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin463.fits ra=319.924 dec=-11.091 rad=12.0 tmin=359337601.0 tmax=359596801.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.40
user 3.13
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/449124/ft2_4FGL_J2119.6-1105_daily_bin463.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/449124/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin463.fits evtable="EVENTS" outfile="/scratch/kocevski/449124/ft1_filtered_4FGL_J2119.6-1105_daily_bin463.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/449124/ft1_filtered_4FGL_J2119.6-1105_daily_bin463.fits" evtable="EVENTS" scfile=/scratch/kocevski/449124/ft2_4FGL_J2119.6-1105_daily_bin463.fits sctable="SC_DATA" outfile=/scratch/kocevski/449124/ltcube_359337601_359596801_4FGL_J2119.6-1105_daily_bin463.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/449124/ft2_4FGL_J2119.6-1105_daily_bin463.fits
.....................!
real 14.91
user 14.54
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/449124/ft1_filtered_4FGL_J2119.6-1105_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/449124/ft2_4FGL_J2119.6-1105_daily_bin463.fits sctable="SC_DATA" expcube=/scratch/kocevski/449124/ltcube_359337601_359596801_4FGL_J2119.6-1105_daily_bin463.fits outfile=/scratch/kocevski/449124/expmap_359337601_359596801_4FGL_J2119.6-1105_daily_bin463.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/449124/ltcube_359337601_359596801_4FGL_J2119.6-1105_daily_bin463.fits
.....................!
real 191.18
user 186.32
sys 4.07

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/449124/ft1_filtered_4FGL_J2119.6-1105_daily_bin463.fits scfile=/scratch/kocevski/449124/ft2_4FGL_J2119.6-1105_daily_bin463.fits outfile=/scratch/kocevski/449124/cmap_359337601_359596801_4FGL_J2119.6-1105_daily_bin463.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/449124/ft1_filtered_4FGL_J2119.6-1105_daily_bin463.fits scfile=/scratch/kocevski/449124/ft2_4FGL_J2119.6-1105_daily_bin463.fits outfile=/scratch/kocevski/449124/cmap_HighResolution_359337601_359596801_4FGL_J2119.6-1105_daily_bin463.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.55
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/449124/ft1_filtered_4FGL_J2119.6-1105_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/449124/ft2_4FGL_J2119.6-1105_daily_bin463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/449124/Model_4FGL_J2119.6-1105_daily_bin463.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/449124/ft1_filtered_4FGL_J2119.6-1105_daily_bin463.fits.....................!
real 75.26
user 73.09
sys 1.38

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4402       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4619       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.9888       1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.208       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10548E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.3609       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11674E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .26921E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7606       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14056E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.0836       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6074       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6505       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0542       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95315       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=   7859.645     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     1837 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4414        3.9041       -.63078E-06   -.78906E-03
   2  Prefactor     3.4637        3.8175       -.35482E-06   -.44222E-03
   3  Prefactor     5.9901        4.9500        .14409E-06   -.18890E-03
   4  Prefactor     34.227        18.136       -.35715E-05    .33521E-03
   5  Prefactor     .10000E-03    45.313       -.24086E-06** at limit **
   6  Prefactor     7.3709        14.468       -.63960E-05    .14329E-03
   7  Prefactor     .10000E-03    9.9651        .36728E-06** at limit **
   8  Prefactor     .10000E-03    117.47        .68887E-05** at limit **
   9  Prefactor     .10000E-03    3.0102        .12283E-07** at limit **
  10  Prefactor     1.7624        1.8041       -.20194E-06   -.52575E-03
  11  Prefactor     .13434        3.7345       -.61410E-06   -.42127E-04
  12  Prefactor     .10000E-03    13.365        .11295E-07** at limit **
  13  Prefactor     .10000E-03    5.7832        .12050E-07** at limit **
  14  norm          3.0835        3.9323       -.42143E-06   -.79175E-03
  15  Prefactor     2.6116        4.8081       -.10593E-05   -.75766E-03
  16  Prefactor     5.6521        8.9972       -.35615E-06   -.38768E-04
  17  Normalizat    1.0535        .20892        .20584E-05    .37616E-04
  18  Prefactor     .95329        .11098        .40558E-06    .13563E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44138
  Prefactor  = 3.46366
  Prefactor  = 5.99009
  Prefactor  = 34.2269
  Prefactor  = 0.0001
  Prefactor  = 7.37088
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 1.7624
  Prefactor  = 0.13434
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.08348
  Prefactor  = 2.61159
  Prefactor  = 5.65209
  Normalizat = 1.05352
  Prefactor  = 0.953286
 **********
 **   18 **HESSE 
 **********

 FCN=   7859.645     FROM HESSE     STATUS=OK           258 CALLS     2095 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4414        3.9912        .21721E-03   -1.5395    
   2  Prefactor     3.4637        3.8359        .17673E-03   -1.5336    
   3  Prefactor     5.9901        4.9439        .16408E-03   -1.5218    
   4  Prefactor     34.227        17.857        .68516E-04   -1.4537    
   5  Prefactor     .10000E-03    45.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.3709        14.350        .14783E-03   -1.5165    
   7  Prefactor     .10000E-03    10.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    118.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.7986        .50914E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7624        1.8000        .11657E-03   -1.5442    
  11  Prefactor     .13434        77.166        .32896E-02   -1.5635    
  12  Prefactor     .10000E-03    13.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.8009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.0835        3.9836        .98254E-03   -1.5357    
  15  Prefactor     2.6116        4.9779        .25263E-03   -1.5385    
  16  Prefactor     5.6521        8.9911        .16899E-03   -1.5232    
  17  Normalizat    1.0535        .25829        .31851E-03   -.91258    
  18  Prefactor     .95329        .13737        .18163E-03   -.94303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69656e-08
Minuit parameter uncertainties:
  1  3.9916
  2  3.8362
  3  4.94423
  4  17.8602
  5  2.21258e-05
  6  14.3568
  7  0.000102941
  8  0.000961684
  9  4.96152e-05
  10  1.80007
  11  6.44534
  12  8.73124e-06
  13  5.71309e-06
  14  3.98397
  15  4.9787
  16  8.99324
  17  0.258601
  18  0.137418
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  7.371e+00  1.436e+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:  9.533e-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:  1.054e+00  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.32
Ra Dec: 319.924 -11.091
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/449124/likelihoodResults_359337601_359596801_4FGL_J2119.6-1105_daily_bin463.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) = 7859.44718949
delta logL = 0.197814819968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7859.44637797
delta logL = 0.198626334738

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.921       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7625       1.0000          .0000       10.000    
     3 'Normalizat'    1.0649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94792       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=   7859.446     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      313 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.921        19.173        .11143E-03    .51011E-06
   2  Index         1.7625        .80125        .12836E-01    .22538E-04
   3  Normalizat    1.0649        .24650        .31696E-03    .37338E-04
   4  Prefactor     .94789        .13547        .18206E-03   -.16174E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9212
  Index      = 1.76249
  Normalizat = 1.06492
  Prefactor  = 0.947889
 **********
 **   18 **HESSE 
 **********

 FCN=   7859.446     FROM HESSE     STATUS=OK            25 CALLS      338 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.921        19.423        .44573E-05   -1.4989    
   2  Index         1.7625        .81200        .51343E-03   -.70430    
   3  Normalizat    1.0649        .24673        .12678E-04   -.90886    
   4  Prefactor     .94789        .13561        .72822E-05   -.94487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.44842e-11
Minuit parameter uncertainties:
  1  19.4329
  2  0.818273
  3  0.246994
  4  0.135658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/449124': 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) = 7859.44637795
delta logL = 0.198626356063

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.292e+01  1.943e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  1.762e+00  8.183e-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:  9.479e-01  1.357e-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.065e+00  2.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
Ra Dec: 319.924 -11.091

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/449124/cmap_HighResolution_359337601_359596801_4FGL_J2119.6-1105_daily_bin463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.78e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-26 11:25:44.366519', job_id='449124', GAL2='0.95', fit_tolerance='1e-08', EG2='1.06', EG='1.05', time_epoch_completed='1632680744.37', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.99e-01', ts2='0.71', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='463' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:25:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 449124: <4FGL_J2119.6-1105_daily_bin463> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin463> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 26 11:10:43 2021
Job was executed on host(s) <bullet0191>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:11:39 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:11:39 2021
Terminated at Sun Sep 26 11:25:45 2021
Results reported at Sun Sep 26 11:25:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin463 319.924 -11.091 359337601 359596801 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 :                                   664.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            902 sec.

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

