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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin783
RA = 319.924, Dec = -11.091
tmin = 442281601, tmax = 442540801
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='452014', job_status='RUN', time_executed='2021-09-26 11:24:29.222060', time_epoch_executed='1632680669.22' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='783'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452014

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452014/ft1_4FGL_J2119.6-1105_daily_bin783.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452014/ft2_4FGL_J2119.6-1105_daily_bin783.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452014/ft1_4FGL_J2119.6-1105_daily_bin783.fits outfile=/scratch/kocevski/452014/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin783.fits ra=319.924 dec=-11.091 rad=12.0 tmin=442281601.0 tmax=442540801.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.54
user 3.24
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/452014/ft1_filtered_4FGL_J2119.6-1105_daily_bin783.fits" evtable="EVENTS" scfile=/scratch/kocevski/452014/ft2_4FGL_J2119.6-1105_daily_bin783.fits sctable="SC_DATA" outfile=/scratch/kocevski/452014/ltcube_442281601_442540801_4FGL_J2119.6-1105_daily_bin783.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/452014/ft2_4FGL_J2119.6-1105_daily_bin783.fits
.....................!
real 15.24
user 14.81
sys 0.36

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

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

This is gtbin version HEAD
real 0.59
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452014/ft1_filtered_4FGL_J2119.6-1105_daily_bin783.fits scfile=/scratch/kocevski/452014/ft2_4FGL_J2119.6-1105_daily_bin783.fits outfile=/scratch/kocevski/452014/cmap_HighResolution_442281601_442540801_4FGL_J2119.6-1105_daily_bin783.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/452014/ft1_filtered_4FGL_J2119.6-1105_daily_bin783.fits evtable="EVENTS" scfile=/scratch/kocevski/452014/ft2_4FGL_J2119.6-1105_daily_bin783.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/452014/Model_4FGL_J2119.6-1105_daily_bin783.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/452014/ft1_filtered_4FGL_J2119.6-1105_daily_bin783.fits.....................!
real 66.98
user 65.62
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.5814       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .50591E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24662       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10628E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10296E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.297       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12174E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.1210       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1403       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.253       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1749       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .85471       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=   7136.472     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     1536 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .81049       -.23600E-07** at limit **
   2  Prefactor     1.5804        2.8934       -.48908E-06   -.60019E-03
   3  Prefactor     .10001E-03    2.9466       -.31035E-07** at limit **
   4  Prefactor     .20125E-01    13.925       -.13294E-05    .24218E-04
   5  Prefactor     .10000E-03    68.214        .96095E-06** at limit **
   6  Prefactor     .10000E-03    6.1867        .78576E-07** at limit **
   7  Prefactor     .10000E-03    3.9831        .11140E-06** at limit **
   8  Prefactor     .10000E-03    26.204        .80518E-06** at limit **
   9  Prefactor     11.293        5.8579       -.15456E-06    .37008E-06
  10  Prefactor     .10000E-03    .78733       -.39623E-07** at limit **
  11  Prefactor     .10000E-03    7.9932        .38322E-06** at limit **
  12  Prefactor     .10000E-03    11.315       -.11570E-06** at limit **
  13  Prefactor     .10000E-03    5.5491       -.38581E-07** at limit **
  14  norm          4.1196        4.0034        .98826E-07    .22769E-03
  15  Prefactor     2.1373        4.2711       -.69993E-06   -.72529E-03
  16  Prefactor     16.238        13.794       -.51786E-05    .34710E-03
  17  Normalizat    1.1752        .20538        .19031E-05    .80069E-04
  18  Prefactor     .85481        .10889       -.20047E-07    .29266E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.58035
  Prefactor  = 0.000100005
  Prefactor  = 0.0201254
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2935
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.11957
  Prefactor  = 2.1373
  Prefactor  = 16.2376
  Normalizat = 1.17523
  Prefactor  = 0.854808
 **********
 **   18 **HESSE 
 **********

 FCN=   7136.472     FROM HESSE     STATUS=OK           248 CALLS     1784 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .81245        .74272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5804        2.9065        .19138E-03   -1.5457    
   3  Prefactor     .10001E-03    18.691        .27771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .20125E-01    21.778        .78606E-01   -1.5680    
   5  Prefactor     .10000E-03    68.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.1970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9886        .16463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    26.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.293        5.8598        .11920E-03   -1.5036    
  10  Prefactor     .10000E-03    .79985        .73188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.2269        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.5668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.1196        4.0150        .16285E-03   -1.5302    
  15  Prefactor     2.1373        4.3875        .24359E-03   -1.5416    
  16  Prefactor     16.238        13.340        .99346E-04   -1.4902    
  17  Normalizat    1.1752        .25401        .29048E-03   -.87372    
  18  Prefactor     .85481        .13483        .18106E-03   -.97739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30783e-09
Minuit parameter uncertainties:
  1  4.36687e-07
  2  2.90672
  3  0.000624619
  4  1.32125
  5  0.000130168
  6  7.54427e-06
  7  6.31472e-06
  8  6.70724e-05
  9  5.86014
  10  1.92791e-06
  11  3.70311e-05
  12  2.55046e-06
  13  2.06126e-05
  14  4.01524
  15  4.38821
  16  13.342
  17  0.254275
  18  0.134887
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  7.544e-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.548e-01  1.349e-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.175e+00  2.543e-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: 6.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/452014/likelihoodResults_442281601_442540801_4FGL_J2119.6-1105_daily_bin783.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) = 7136.47321569
delta logL = -0.000768801371123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7136.47244687
delta logL = 2.24490577239e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3559       1.0000          .0000       10.000    
     3 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85481       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=   7136.472     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.4349        .18142E-02** at limit **
   2  Index         2.3468        6.1651        .50000        .12344E-04
   3  Normalizat    1.1752        .24627        .29048E-03   -.19764E-04
   4  Prefactor     .85481        .13407        .18106E-03   -.20344E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.34677
  Normalizat = 1.17524
  Prefactor  = 0.854807
 **********
 **   18 **HESSE 
 **********

 FCN=   7136.472     FROM HESSE     STATUS=OK            29 CALLS      271 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2737        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3468        6.1733        .50000       -.55936    
   3  Normalizat    1.1752        .24656        .11619E-04   -.87372    
   4  Prefactor     .85481        .13423        .72424E-05   -.97739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35899e-10
Minuit parameter uncertainties:
  1  0.000155042
  2  4.25482
  3  0.246805
  4  0.134281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452014': 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) = 7136.47244683
delta logL = 5.45460352441e-08

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  1.550e-04  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.347e+00  4.255e+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.548e-01  1.343e-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.175e+00  2.468e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/452014/cmap_HighResolution_442281601_442540801_4FGL_J2119.6-1105_daily_bin783.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-03', job_status='DONE', photon_flux_upper_limit='6.65e-08', time_completed='2021-09-26 11:34:32.303665', job_id='452014', GAL2='0.85', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1632681272.3', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='5.45e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='783' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:34:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 452014: <4FGL_J2119.6-1105_daily_bin783> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin783> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 11:20:33 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:21:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 11:21:49 2021
Terminated at Sun Sep 26 11:34:32 2021
Results reported at Sun Sep 26 11:34:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin783 319.924 -11.091 442281601 442540801 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 :                                   598.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            839 sec.

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

