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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1630
RA = 319.924, Dec = -11.091
tmin = 661824001, tmax = 662083201
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='498772', job_status='RUN', time_executed='2021-12-25 01:00:15.812031', time_epoch_executed='1640422815.81' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/498772

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/498772/ft1_4FGL_J2119.6-1105_daily_bin1630.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/498772/ft2_4FGL_J2119.6-1105_daily_bin1630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/498772/ft1_4FGL_J2119.6-1105_daily_bin1630.fits outfile=/scratch/kocevski/498772/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1630.fits ra=319.924 dec=-11.091 rad=12.0 tmin=661824001.0 tmax=662083201.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 4.69
user 4.44
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/498772/ft1_filtered_4FGL_J2119.6-1105_daily_bin1630.fits" evtable="EVENTS" scfile=/scratch/kocevski/498772/ft2_4FGL_J2119.6-1105_daily_bin1630.fits sctable="SC_DATA" outfile=/scratch/kocevski/498772/ltcube_661824001_662083201_4FGL_J2119.6-1105_daily_bin1630.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/498772/ft2_4FGL_J2119.6-1105_daily_bin1630.fits
.....................!
real 13.53
user 13.08
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/498772/ft1_filtered_4FGL_J2119.6-1105_daily_bin1630.fits evtable="EVENTS" scfile=/scratch/kocevski/498772/ft2_4FGL_J2119.6-1105_daily_bin1630.fits sctable="SC_DATA" expcube=/scratch/kocevski/498772/ltcube_661824001_662083201_4FGL_J2119.6-1105_daily_bin1630.fits outfile=/scratch/kocevski/498772/expmap_661824001_662083201_4FGL_J2119.6-1105_daily_bin1630.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/498772/ltcube_661824001_662083201_4FGL_J2119.6-1105_daily_bin1630.fits
.....................!
real 190.92
user 186.17
sys 4.02

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/498772/ft1_filtered_4FGL_J2119.6-1105_daily_bin1630.fits scfile=/scratch/kocevski/498772/ft2_4FGL_J2119.6-1105_daily_bin1630.fits outfile=/scratch/kocevski/498772/cmap_661824001_662083201_4FGL_J2119.6-1105_daily_bin1630.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/498772/ft1_filtered_4FGL_J2119.6-1105_daily_bin1630.fits scfile=/scratch/kocevski/498772/ft2_4FGL_J2119.6-1105_daily_bin1630.fits outfile=/scratch/kocevski/498772/cmap_HighResolution_661824001_662083201_4FGL_J2119.6-1105_daily_bin1630.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/498772/ft1_filtered_4FGL_J2119.6-1105_daily_bin1630.fits evtable="EVENTS" scfile=/scratch/kocevski/498772/ft2_4FGL_J2119.6-1105_daily_bin1630.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/498772/Model_4FGL_J2119.6-1105_daily_bin1630.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/498772/ft1_filtered_4FGL_J2119.6-1105_daily_bin1630.fits.....................!
real 71.72
user 70.34
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5932       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .25231E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.9269       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.775       1.0000         .10000E-03   10000.    
     5 'Prefactor '    81.726       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.445       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4932       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5583       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.302       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.144       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .51791       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2169       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7648.940     FROM MIGRAD    STATUS=CONVERGED    354 CALLS     1732 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5931        3.1264        .84026E-02    .77823E-03
   2  Prefactor     .10000E-03    2.2003        .75880E-01** at limit **
   3  Prefactor     4.9272        4.3105        .45300E-02    .85516E-04
   4  Prefactor     17.777        18.379        .23749E-02   -.64405E-03
   5  Prefactor     81.726        78.179        .11107E-02   -.52853E-03
   6  Prefactor     .10000E-03    3.2320        .90712E-02** at limit **
   7  Prefactor     .10000E-03    4.3851        .90712E-02** at limit **
   8  Prefactor     29.446        42.869        .18459E-02   -.93631E-03
   9  Prefactor     3.4936        4.1260        .54083E-02    .42104E-03
  10  Prefactor     3.5585        2.9599        .53565E-02    .38052E-03
  11  Prefactor     .10000E-03    2.8316        .90712E-02** at limit **
  12  Prefactor     .10000E-03    11.490        .90712E-02** at limit **
  13  Prefactor     .10000E-03    6.2466        .90712E-02** at limit **
  14  norm          .10000E-03    3.5777        .90712E-02** at limit **
  15  Prefactor     12.303        6.3050        .28552E-02    .27105E-02
  16  Prefactor     15.145        13.322        .25730E-02   -.10054E-03
  17  Normalizat    .51797        .23563        .97729E-01    .25412E-03
  18  Prefactor     1.2169        .12809        .34242E-01    .43913E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.5931
  Prefactor  = 0.0001
  Prefactor  = 4.92721
  Prefactor  = 17.7768
  Prefactor  = 81.7263
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.4457
  Prefactor  = 3.49356
  Prefactor  = 3.55848
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.3026
  Prefactor  = 15.145
  Normalizat = 0.517968
  Prefactor  = 1.21688
 **********
 **   18 **HESSE 
 **********

 FCN=   7648.940     FROM HESSE     STATUS=OK           244 CALLS     1976 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5931        3.0936        .20932E-03   -1.5456    
   2  Prefactor     .10000E-03    33.109        .24777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.9272        4.3120        .16459E-03   -1.5264    
   4  Prefactor     17.777        18.317        .94997E-04   -1.4864    
   5  Prefactor     81.726        78.105        .44429E-04   -1.3897    
   6  Prefactor     .10000E-03    3.2339        .15355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.3998        .17884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.446        42.718        .73834E-04   -1.4622    
   9  Prefactor     3.4936        4.1146        .18690E-03   -1.5334    
  10  Prefactor     3.5585        2.9439        .12282E-03   -1.5331    
  11  Prefactor     .10000E-03    2.8670        .14370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.6030        .16155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.303        6.2914        .57105E-03   -1.5006    
  16  Prefactor     15.145        13.307        .10292E-03   -1.4929    
  17  Normalizat    .51797        .25299        .43308E-03   -1.1159    
  18  Prefactor     1.2169        .14071        .16551E-03   -.85813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.58282e-09
Minuit parameter uncertainties:
  1  3.09388
  2  6.1234e-05
  3  4.31232
  4  18.3231
  5  78.2032
  6  2.7439e-05
  7  4.18953e-05
  8  42.7625
  9  4.11493
  10  2.94407
  11  9.32703e-06
  12  2.40718e-05
  13  1.15916e-07
  14  3.43096e-05
  15  6.29175
  16  13.31
  17  0.25355
  18  0.140757
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  2.744e-05  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.217e+00  1.408e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.180e-01  2.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 319.924 -11.091
Photon Flux Upper Limit: 4.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/498772/likelihoodResults_661824001_662083201_4FGL_J2119.6-1105_daily_bin1630.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): 102
logL (Free Index) = 7648.94170844
delta logL = -0.00145760046507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7648.94025109
delta logL = -2.54262886301e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10341E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3430       1.0000          .0000       10.000    
     3 'Normalizat'    .51789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2169       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=   7648.940     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      256 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.764        .15671E-01** at limit **
   2  Index         1.6995        7.8636        .50000       -.24397E-07
   3  Normalizat    .51797        .89210E-02    .43308E-03   -.32365E-03
   4  Prefactor     1.2169        .50945E-02    .16551E-03   -.84842E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.69948
  Normalizat = 0.517966
  Prefactor  = 1.21688
 **********
 **   18 **HESSE 
 **********

 FCN=   7648.940     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      285 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    136.06        .18299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6995        8.0709        .50000       -.72096    
   3  Normalizat    .51797        .27929E-01    .17323E-04   -1.1159    
   4  Prefactor     1.2169        .15950E-01    .33101E-04   -.85813    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.66665e-11
Minuit parameter uncertainties:
  1  4.99851e-06
  2  679.388
  3  0.0279293
  4  0.0159496
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/498772': 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): 102
logL (Free Index) = 7648.94024627
delta logL = 4.56971156382e-06

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  4.999e-06  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  1.699e+00  6.794e+02  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.217e+00  1.595e-02  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.180e-01  2.793e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/498772/cmap_HighResolution_661824001_662083201_4FGL_J2119.6-1105_daily_bin1630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-03', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2021-12-25 01:10:44.481954', job_id='498772', GAL2='1.22', fit_tolerance='1e-08', EG2='0.52', EG='0.52', time_epoch_completed='1640423444.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='4.57e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1630' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 25 01:10:44 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 498772: <4FGL_J2119.6-1105_daily_bin1630> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin1630> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Dec 25 00:55:34 2021
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 25 00:56:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 25 00:56:37 2021
Terminated at Sat Dec 25 01:10:45 2021
Results reported at Sat Dec 25 01:10:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1630 319.924 -11.091 661824001 662083201 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 :                                   630.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            911 sec.

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

