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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin383
RA = 319.924, Dec = -11.091
tmin = 338601601, tmax = 338860801
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='449009', job_status='RUN', time_executed='2021-09-26 11:14:24.442293', time_epoch_executed='1632680064.44' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='383'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/449009

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/449009/ft1_4FGL_J2119.6-1105_daily_bin383.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/449009/ft2_4FGL_J2119.6-1105_daily_bin383.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/449009/ft1_4FGL_J2119.6-1105_daily_bin383.fits outfile=/scratch/kocevski/449009/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin383.fits ra=319.924 dec=-11.091 rad=12.0 tmin=338601601.0 tmax=338860801.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 5.19
user 4.90
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/449009/ft1_filtered_4FGL_J2119.6-1105_daily_bin383.fits" evtable="EVENTS" scfile=/scratch/kocevski/449009/ft2_4FGL_J2119.6-1105_daily_bin383.fits sctable="SC_DATA" outfile=/scratch/kocevski/449009/ltcube_338601601_338860801_4FGL_J2119.6-1105_daily_bin383.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/449009/ft2_4FGL_J2119.6-1105_daily_bin383.fits
.....................!
real 13.91
user 13.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/449009/ft1_filtered_4FGL_J2119.6-1105_daily_bin383.fits evtable="EVENTS" scfile=/scratch/kocevski/449009/ft2_4FGL_J2119.6-1105_daily_bin383.fits sctable="SC_DATA" expcube=/scratch/kocevski/449009/ltcube_338601601_338860801_4FGL_J2119.6-1105_daily_bin383.fits outfile=/scratch/kocevski/449009/expmap_338601601_338860801_4FGL_J2119.6-1105_daily_bin383.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/449009/ltcube_338601601_338860801_4FGL_J2119.6-1105_daily_bin383.fits
.....................!
real 191.94
user 185.44
sys 4.96

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/449009/ft1_filtered_4FGL_J2119.6-1105_daily_bin383.fits scfile=/scratch/kocevski/449009/ft2_4FGL_J2119.6-1105_daily_bin383.fits outfile=/scratch/kocevski/449009/cmap_338601601_338860801_4FGL_J2119.6-1105_daily_bin383.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/449009/ft1_filtered_4FGL_J2119.6-1105_daily_bin383.fits scfile=/scratch/kocevski/449009/ft2_4FGL_J2119.6-1105_daily_bin383.fits outfile=/scratch/kocevski/449009/cmap_HighResolution_338601601_338860801_4FGL_J2119.6-1105_daily_bin383.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/449009/ft1_filtered_4FGL_J2119.6-1105_daily_bin383.fits evtable="EVENTS" scfile=/scratch/kocevski/449009/ft2_4FGL_J2119.6-1105_daily_bin383.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/449009/Model_4FGL_J2119.6-1105_daily_bin383.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/449009/ft1_filtered_4FGL_J2119.6-1105_daily_bin383.fits.....................!
real 67.28
user 65.86
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6285       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2630       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.735       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1255       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10476E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4689       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1659       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8141       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16025       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3703       1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.950       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2178       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89140       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=   6754.051     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     1568 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6279        2.6854       -.28854E-07    .57967E-05
   2  Prefactor     5.2616        4.7330       -.15488E-06   -.50151E-04
   3  Prefactor     13.732        7.4329       -.13764E-05   -.58312E-04
   4  Prefactor     3.1168        5.2650        .60928E-06   -.31824E-03
   5  Prefactor     .10000E-03    67.080       -.21908E-06** at limit **
   6  Prefactor     .10000E-03    8.1058       -.20140E-07** at limit **
   7  Prefactor     .10000E-03    18.179        .69325E-07** at limit **
   8  Prefactor     .10000E-03    34.273        .35555E-06** at limit **
   9  Prefactor     4.4671        5.9498       -.18768E-06   -.34539E-04
  10  Prefactor     3.1496        3.2306       -.99496E-07   -.72122E-04
  11  Prefactor     8.8171        7.7754       -.25150E-06   -.78398E-05
  12  Prefactor     .10000E-03    44.432       -.47105E-06** at limit **
  13  Prefactor     .74749E-01    15.145       -.13828E-07   -.21634E-05
  14  norm          .10000E-03    1.9533       -.75574E-08** at limit **
  15  Prefactor     3.3751        7.0609       -.12229E-05   -.59015E-04
  16  Prefactor     22.979        17.297       -.50752E-06    .49843E-05
  17  Normalizat    1.2173        .24016        .10062E-05    .39852E-05
  18  Prefactor     .89176        .12105        .11084E-06    .55111E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62793
  Prefactor  = 5.26162
  Prefactor  = 13.7322
  Prefactor  = 3.11677
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.46709
  Prefactor  = 3.14963
  Prefactor  = 8.8171
  Prefactor  = 0.0001
  Prefactor  = 0.0747491
  norm       = 0.0001
  Prefactor  = 3.37509
  Prefactor  = 22.9788
  Normalizat = 1.21726
  Prefactor  = 0.891761
 **********
 **   18 **HESSE 
 **********

 FCN=   6754.051     FROM HESSE     STATUS=OK           258 CALLS     1826 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6279        2.6890        .13224E-03   -1.5384    
   2  Prefactor     5.2616        4.7490        .16296E-03   -1.5249    
   3  Prefactor     13.732        7.4501        .10808E-03   -1.4967    
   4  Prefactor     3.1168        18.853        .11466E-02   -1.5355    
   5  Prefactor     .10000E-03    67.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.1173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    34.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4671        5.9599        .19047E-03   -1.5285    
  10  Prefactor     3.1496        3.2523        .14191E-03   -1.5353    
  11  Prefactor     8.8171        7.7846        .13501E-03   -1.5114    
  12  Prefactor     .10000E-03    44.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .74749E-01    23.936        .83767E-01   -1.5653    
  14  norm          .10000E-03    1.9537        .11217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.3751        7.1260        .22042E-03   -1.5341    
  16  Prefactor     22.979        17.308        .83613E-04   -1.4749    
  17  Normalizat    1.2173        .29956        .31488E-03   -.86071    
  18  Prefactor     .89176        .15060        .19054E-03   -.96430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.91623e-10
Minuit parameter uncertainties:
  1  2.68911
  2  4.7493
  3  7.45056
  4  15.338
  5  3.91585e-06
  6  4.45313e-06
  7  2.63034e-05
  8  2.70778e-06
  9  5.96066
  10  3.25247
  11  7.78548
  12  1.65237e-05
  13  2.67452
  14  2.88309e-07
  15  7.12776
  16  17.3121
  17  0.299982
  18  0.150672
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  4.453e-06  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
306        Scale:  1.160e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.918e-01  1.507e-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.217e+00  3.000e-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: 8.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/449009/likelihoodResults_338601601_338860801_4FGL_J2119.6-1105_daily_bin383.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) = 6754.05191021
delta logL = -0.000586960938563

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6754.05132349
delta logL = -2.35257175518e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3546       1.0000          .0000       10.000    
     3 'Normalizat'    1.2171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89186       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=   6754.051     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      275 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    87.672        .18142E-02** at limit **
   2  Index         2.3401        7.9238        .50000        .15298E-04
   3  Normalizat    1.2173        .27448        .31488E-03    .29858E-04
   4  Prefactor     .89176        .14569        .19054E-03    .41288E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.34011
  Normalizat = 1.21726
  Prefactor  = 0.89176
 **********
 **   18 **HESSE 
 **********

 FCN=   6754.051     FROM HESSE     STATUS=OK            29 CALLS      304 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.5407        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3401        6.1699        .50000       -.56093    
   3  Normalizat    1.2173        .27479        .12595E-04   -.86071    
   4  Prefactor     .89176        .14585        .76217E-05   -.96430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93191e-10
Minuit parameter uncertainties:
  1  0.000257527
  2  4.31785
  3  0.275115
  4  0.145917
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/449009': 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) = 6754.05132316
delta logL = 9.02309693629e-08

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  2.575e-04  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.340e+00  4.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
306        Scale:  1.160e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.918e-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.217e+00  2.751e-01  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 -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/449009/cmap_HighResolution_338601601_338860801_4FGL_J2119.6-1105_daily_bin383.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-03', job_status='DONE', photon_flux_upper_limit='8.46e-08', time_completed='2021-09-26 11:24:25.107185', job_id='449009', GAL2='0.89', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1632680665.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='9.02e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='383' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:24:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 449009: <4FGL_J2119.6-1105_daily_bin383> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin383> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 26 11:10:35 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:10:56 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:10:56 2021
Terminated at Sun Sep 26 11:24:27 2021
Results reported at Sun Sep 26 11:24:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin383 319.924 -11.091 338601601 338860801 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 :                                   593.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            832 sec.

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

