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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin925
RA = 319.924, Dec = -11.091
tmin = 479088001, tmax = 479347201
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='453366', job_status='RUN', time_executed='2021-09-26 11:29:48.958120', time_epoch_executed='1632680988.96' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='925'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/453366

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/453366/ft1_4FGL_J2119.6-1105_daily_bin925.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/453366/ft2_4FGL_J2119.6-1105_daily_bin925.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/453366/ft1_4FGL_J2119.6-1105_daily_bin925.fits outfile=/scratch/kocevski/453366/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin925.fits ra=319.924 dec=-11.091 rad=12.0 tmin=479088001.0 tmax=479347201.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.53
user 3.28
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/453366/ft1_filtered_4FGL_J2119.6-1105_daily_bin925.fits" evtable="EVENTS" scfile=/scratch/kocevski/453366/ft2_4FGL_J2119.6-1105_daily_bin925.fits sctable="SC_DATA" outfile=/scratch/kocevski/453366/ltcube_479088001_479347201_4FGL_J2119.6-1105_daily_bin925.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/453366/ft2_4FGL_J2119.6-1105_daily_bin925.fits
.....................!
real 15.04
user 14.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/453366/ft1_filtered_4FGL_J2119.6-1105_daily_bin925.fits evtable="EVENTS" scfile=/scratch/kocevski/453366/ft2_4FGL_J2119.6-1105_daily_bin925.fits sctable="SC_DATA" expcube=/scratch/kocevski/453366/ltcube_479088001_479347201_4FGL_J2119.6-1105_daily_bin925.fits outfile=/scratch/kocevski/453366/expmap_479088001_479347201_4FGL_J2119.6-1105_daily_bin925.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/453366/ltcube_479088001_479347201_4FGL_J2119.6-1105_daily_bin925.fits
.....................!
real 192.67
user 187.20
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/453366/ft1_filtered_4FGL_J2119.6-1105_daily_bin925.fits scfile=/scratch/kocevski/453366/ft2_4FGL_J2119.6-1105_daily_bin925.fits outfile=/scratch/kocevski/453366/cmap_479088001_479347201_4FGL_J2119.6-1105_daily_bin925.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=319.924 yref=-11.091 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/453366/ft1_filtered_4FGL_J2119.6-1105_daily_bin925.fits scfile=/scratch/kocevski/453366/ft2_4FGL_J2119.6-1105_daily_bin925.fits outfile=/scratch/kocevski/453366/cmap_HighResolution_479088001_479347201_4FGL_J2119.6-1105_daily_bin925.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.62
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/453366/ft1_filtered_4FGL_J2119.6-1105_daily_bin925.fits evtable="EVENTS" scfile=/scratch/kocevski/453366/ft2_4FGL_J2119.6-1105_daily_bin925.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/453366/Model_4FGL_J2119.6-1105_daily_bin925.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/453366/ft1_filtered_4FGL_J2119.6-1105_daily_bin925.fits.....................!
real 77.46
user 75.47
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0386       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.8111       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8074       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    46.824       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1060       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1920       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.0740       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6673       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1122       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .83302       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0576       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=   8120.346     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1493 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .96937        .60371E-08** at limit **
   2  Prefactor     1.0395        3.8678       -.30614E-06   -.37815E-03
   3  Prefactor     3.8106        2.1520        .44932E-06   -.30116E-02
   4  Prefactor     9.8059        16.677       -.19182E-05   -.41261E-04
   5  Prefactor     .10000E-03    19.262       -.72134E-05** at limit **
   6  Prefactor     46.826        20.899        .20688E-05    .11990E-03
   7  Prefactor     6.1023        10.882       -.15054E-05   -.53331E-04
   8  Prefactor     .10000E-03    13.249       -.10448E-05** at limit **
   9  Prefactor     6.1918        4.7224        .49738E-07    .22135E-05
  10  Prefactor     .10000E-03    .81208       -.46303E-10** at limit **
  11  Prefactor     5.0740        4.4056       -.28671E-07   -.74202E-05
  12  Prefactor     .10000E-03    17.853        .80346E-05** at limit **
  13  Prefactor     3.6676        10.017       -.60375E-07   -.36023E-04
  14  norm          .10000E-03    2.4681        .95660E-08** at limit **
  15  Prefactor     4.1122        3.7882       -.63631E-06   -.10950E-03
  16  Prefactor     .10000E-03    5.9491        .18176E-07** at limit **
  17  Normalizat    .83306        .20558        .26990E-06   -.31596E-07
  18  Prefactor     1.0575        .11029       -.66658E-07    .33373E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.03948
  Prefactor  = 3.81056
  Prefactor  = 9.80594
  Prefactor  = 0.0001
  Prefactor  = 46.8265
  Prefactor  = 6.1023
  Prefactor  = 0.0001
  Prefactor  = 6.19177
  Prefactor  = 0.0001
  Prefactor  = 5.07399
  Prefactor  = 0.0001
  Prefactor  = 3.66765
  norm       = 0.0001
  Prefactor  = 4.11222
  Prefactor  = 0.0001
  Normalizat = 0.833057
  Prefactor  = 1.05755
 **********
 **   18 **HESSE 
 **********

 FCN=   8120.346     FROM HESSE     STATUS=OK           244 CALLS     1737 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .97329        .86637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.0395        4.0005        .33121E-03   -1.5504    
   3  Prefactor     3.8106        4.5867        .10181E-02   -1.5318    
   4  Prefactor     9.8059        16.663        .12796E-03   -1.5082    
   5  Prefactor     .10000E-03    19.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     46.826        20.887        .58596E-04   -1.4338    
   7  Prefactor     6.1023        10.873        .16248E-03   -1.5214    
   8  Prefactor     .10000E-03    13.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1918        4.7224        .16133E-03   -1.5210    
  10  Prefactor     .10000E-03    .82605        .79267E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.0740        4.4055        .17153E-03   -1.5257    
  12  Prefactor     .10000E-03    17.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6676        10.033        .21092E-03   -1.5325    
  14  norm          .10000E-03    2.4733        .13825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1122        3.7955        .16224E-03   -1.5302    
  16  Prefactor     .10000E-03    5.9711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .83306        .24293        .34612E-03   -.98854    
  18  Prefactor     1.0575        .13160        .17254E-03   -.90835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.30648e-09
Minuit parameter uncertainties:
  1  3.19812e-07
  2  4.00151
  3  4.58713
  4  16.6712
  5  0.000161134
  6  20.8898
  7  10.8769
  8  2.1022e-05
  9  4.72264
  10  4.88916e-07
  11  4.40581
  12  0.000166409
  13  10.0376
  14  5.2724e-07
  15  3.79569
  16  2.05816e-06
  17  0.243244
  18  0.13164
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  4.683e+01  2.089e+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.058e+00  1.316e-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.331e-01  2.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.08
Ra Dec: 319.924 -11.091
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.13e-07 +/- 5.03e-08
Energy Flux (Fixed Index): 3.88e-05 +/- 1.73e-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) = 8120.31556601
delta logL = 0.0300459813125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8120.30776575
delta logL = 0.0378462425615

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.272       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2676       1.0000          .0000       10.000    
     3 'Normalizat'    .84196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0548       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=   8120.308     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      273 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.273        27.635        .56009E-04   -.19027E-03
   2  Index         2.2676        .36018        .50353E-02   -.52807E-04
   3  Normalizat    .84230        .23678        .34445E-03   -.10281E-03
   4  Prefactor     1.0545        .13116        .17278E-03   -.53705E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.2729
  Index      = 2.2676
  Normalizat = 0.842296
  Prefactor  = 1.05451
 **********
 **   18 **HESSE 
 **********

 FCN=   8120.308     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.273        26.901        .11202E-04   -1.4275    
   2  Index         2.2676        .35035        .20141E-03   -.57816    
   3  Normalizat    .84230        .23682        .13778E-04   -.98518    
   4  Prefactor     1.0545        .13122        .34556E-04   -.90934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43623e-11
Minuit parameter uncertainties:
  1  26.9075
  2  0.350763
  3  0.237111
  4  0.131262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/453366': 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) = 8120.30776381
delta logL = 0.0378481839398

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  5.127e+01  2.691e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.268e+00  3.508e-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.055e+00  1.313e-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.423e-01  2.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.18
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 2.27 +/- 0.35
Photon Flux (Free Index): 1.05e-07 +/- 5.49e-08
Energy Flux (Free Index): 4.18e-05 +/- 2.19e-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/453366/cmap_HighResolution_479088001_479347201_4FGL_J2119.6-1105_daily_bin925.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='4.18e-05', photon_flux_error='5.03e-08', dlogl='3.78e-02', energy_flux='3.88e-05', photon_flux2='1.05e-07', job_status='DONE', time_completed='2021-09-26 11:39:34.373238', photon_index_error2='0.35', photon_index2='2.27', ts='12.08', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.19e-05', EG='0.83', time_epoch_completed='1632681574.37', return_code='0', job_id='453366', GAL2='1.05', EG2='0.84', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='5.49e-08', ts2='12.18', photon_index='2.37' WHERE bin_id='925' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:39:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 453366: <4FGL_J2119.6-1105_daily_bin925> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin925> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 11:25:16 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:26:03 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:26:03 2021
Terminated at Sun Sep 26 11:39:35 2021
Results reported at Sun Sep 26 11:39:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin925 319.924 -11.091 479088001 479347201 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 :                                   582.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             247.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            859 sec.

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

