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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1131
RA = 319.924, Dec = -11.091
tmin = 532483201, tmax = 532742401
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='454626', job_status='RUN', time_executed='2021-09-26 11:34:01.204801', time_epoch_executed='1632681241.2' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1131'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/454626

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/454626/ft1_4FGL_J2119.6-1105_daily_bin1131.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/454626/ft2_4FGL_J2119.6-1105_daily_bin1131.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/454626/ft1_4FGL_J2119.6-1105_daily_bin1131.fits outfile=/scratch/kocevski/454626/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1131.fits ra=319.924 dec=-11.091 rad=12.0 tmin=532483201.0 tmax=532742401.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.55
user 3.29
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/454626/ft1_filtered_4FGL_J2119.6-1105_daily_bin1131.fits" evtable="EVENTS" scfile=/scratch/kocevski/454626/ft2_4FGL_J2119.6-1105_daily_bin1131.fits sctable="SC_DATA" outfile=/scratch/kocevski/454626/ltcube_532483201_532742401_4FGL_J2119.6-1105_daily_bin1131.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/454626/ft2_4FGL_J2119.6-1105_daily_bin1131.fits
.....................!
real 15.53
user 15.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/454626/ft1_filtered_4FGL_J2119.6-1105_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/454626/ft2_4FGL_J2119.6-1105_daily_bin1131.fits sctable="SC_DATA" expcube=/scratch/kocevski/454626/ltcube_532483201_532742401_4FGL_J2119.6-1105_daily_bin1131.fits outfile=/scratch/kocevski/454626/expmap_532483201_532742401_4FGL_J2119.6-1105_daily_bin1131.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/454626/ltcube_532483201_532742401_4FGL_J2119.6-1105_daily_bin1131.fits
.....................!
real 193.88
user 188.66
sys 4.61

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/454626/ft1_filtered_4FGL_J2119.6-1105_daily_bin1131.fits scfile=/scratch/kocevski/454626/ft2_4FGL_J2119.6-1105_daily_bin1131.fits outfile=/scratch/kocevski/454626/cmap_532483201_532742401_4FGL_J2119.6-1105_daily_bin1131.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/454626/ft1_filtered_4FGL_J2119.6-1105_daily_bin1131.fits scfile=/scratch/kocevski/454626/ft2_4FGL_J2119.6-1105_daily_bin1131.fits outfile=/scratch/kocevski/454626/cmap_HighResolution_532483201_532742401_4FGL_J2119.6-1105_daily_bin1131.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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/454626/ft1_filtered_4FGL_J2119.6-1105_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/454626/ft2_4FGL_J2119.6-1105_daily_bin1131.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/454626/Model_4FGL_J2119.6-1105_daily_bin1131.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/454626/ft1_filtered_4FGL_J2119.6-1105_daily_bin1131.fits.....................!
real 57.17
user 55.72
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7740       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.7547       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.991       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    35.350       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.851       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6354       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8215       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.222       1.0000         .10000E-03   10000.    
    14 'norm      '    3.4543       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6549       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .90252       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0072       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=   5441.251     FROM MIGRAD    STATUS=CONVERGED    340 CALLS     1701 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.0118       -.75525E-07** at limit **
   2  Prefactor     2.7737        5.0442        .40218E-05   -.57006E-04
   3  Prefactor     7.7549        5.5561        .67066E-07    .42041E-05
   4  Prefactor     16.993        21.476        .14673E-06    .71506E-05
   5  Prefactor     .10000E-03    17.276       -.24755E-06** at limit **
   6  Prefactor     35.345        23.715        .94246E-06   -.27383E-04
   7  Prefactor     .10000E-03    12.033       -.76122E-07** at limit **
   8  Prefactor     27.848        36.775        .10613E-05   -.10893E-04
   9  Prefactor     .10000E-03    4.4779       -.14358E-06** at limit **
  10  Prefactor     3.6352        2.7702       -.10324E-07   -.16600E-04
  11  Prefactor     2.8203        7.5018        .43489E-06    .16387E-04
  12  Prefactor     .10000E-03    17.395       -.12798E-06** at limit **
  13  Prefactor     22.244        27.670       -.27769E-05    .12430E-03
  14  norm          3.4538        5.0617        .50424E-06    .44582E-06
  15  Prefactor     3.6528        6.8065        .10059E-05    .81002E-04
  16  Prefactor     .10000E-03    7.6369        .36390E-06** at limit **
  17  Normalizat    .90237        .28019       -.46653E-05   -.55235E-04
  18  Prefactor     1.0073        .13650        .18646E-05    .12421E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.77373
  Prefactor  = 7.75492
  Prefactor  = 16.9925
  Prefactor  = 0.0001
  Prefactor  = 35.3453
  Prefactor  = 0.0001
  Prefactor  = 27.8479
  Prefactor  = 0.0001
  Prefactor  = 3.63525
  Prefactor  = 2.82031
  Prefactor  = 0.0001
  Prefactor  = 22.2441
  norm       = 3.45377
  Prefactor  = 3.65283
  Prefactor  = 0.0001
  Normalizat = 0.902367
  Prefactor  = 1.00733
 **********
 **   18 **HESSE 
 **********

 FCN=   5441.251     FROM HESSE     STATUS=OK           248 CALLS     1949 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.0309        .10217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7737        5.1379        .10950E-02   -1.5375    
   3  Prefactor     7.7549        5.5553        .14171E-03   -1.5151    
   4  Prefactor     16.993        21.489        .97165E-04   -1.4883    
   5  Prefactor     .10000E-03    17.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     35.345        23.762        .67403E-04   -1.4518    
   7  Prefactor     .10000E-03    12.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.848        36.748        .75913E-04   -1.4652    
   9  Prefactor     .10000E-03    4.5357        .15241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.6352        2.7631        .99675E-04   -1.5327    
  11  Prefactor     2.8203        7.4860        .24213E-03   -1.5372    
  12  Prefactor     .10000E-03    17.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.244        28.024        .84969E-04   -1.4764    
  14  norm          3.4538        5.0574        .97998E-03   -1.5336    
  15  Prefactor     3.6528        6.8138        .21130E-03   -1.5326    
  16  Prefactor     .10000E-03    7.6475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .90237        .32986        .35180E-03   -.96377    
  18  Prefactor     1.0073        .16393        .17921E-03   -.92486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03001e-10
Minuit parameter uncertainties:
  1  4.44193e-06
  2  5.13873
  3  5.5557
  4  21.4987
  5  2.08547e-07
  6  23.7681
  7  2.84796e-05
  8  36.778
  9  1.21158e-05
  10  2.76319
  11  7.48851
  12  1.25413e-05
  13  28.0406
  14  5.05804
  15  6.81527
  16  4.91795e-05
  17  0.330598
  18  0.164008
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  3.535e+01  2.377e+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.007e+00  1.640e-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:  9.024e-01  3.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.12
Ra Dec: 319.924 -11.091
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.52e-08 +/- 5.73e-08
Energy Flux (Fixed Index): 2.93e-05 +/- 1.97e-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) = 5441.23240423
delta logL = 0.0187100088851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5441.22015108
delta logL = 0.0309631582631

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.136       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5459       1.0000          .0000       10.000    
     3 'Normalizat'    .88117       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0136       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=   5441.220     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      225 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.107        433.56        .17952E-02    .12297E-03
   2  Index         2.5465        6.2681        .11946        .11317E-03
   3  Normalizat    .88098        .19979        .80330E-01    .20467E-04
   4  Prefactor     1.0138        .59234E-01    .42842E-01    .97219E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.1065
  Index      = 2.54645
  Normalizat = 0.880977
  Prefactor  = 1.01376
 **********
 **   18 **HESSE 
 **********

 FCN=   5441.220     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.107        30.582        .35903E-03   -1.4592    
   2  Index         2.5465        .80529        .65053E-02   -.51290    
   3  Normalizat    .88098        .31180        .35561E-03   -.97132    
   4  Prefactor     1.0138        .16130        .17868E-03   -.92272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.11376e-09
Minuit parameter uncertainties:
  1  30.5974
  2  0.809947
  3  0.312437
  4  0.161381
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/454626': 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) = 5441.22015024
delta logL = 0.0309639952338

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  3.111e+01  3.060e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.546e+00  8.099e-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.014e+00  1.614e-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.810e-01  3.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.18
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 2.55 +/- 0.81
Photon Flux (Free Index): 1.03e-07 +/- 9.90e-08
Energy Flux (Free Index): 2.85e-05 +/- 1.85e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/454626/cmap_HighResolution_532483201_532742401_4FGL_J2119.6-1105_daily_bin1131.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.52e-08', energy_flux2='2.85e-05', photon_flux_error='5.73e-08', dlogl='3.10e-02', energy_flux='2.93e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-09-26 11:42:37.289536', photon_index_error2='0.81', photon_index2='2.55', ts='5.12', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.85e-05', EG='0.90', time_epoch_completed='1632681757.29', return_code='0', job_id='454626', GAL2='1.01', EG2='0.88', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='9.90e-08', ts2='5.18', photon_index='2.37' WHERE bin_id='1131' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:42:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 454626: <4FGL_J2119.6-1105_daily_bin1131> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin1131> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 26 11:30:29 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:30:46 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:30:46 2021
Terminated at Sun Sep 26 11:42:38 2021
Results reported at Sun Sep 26 11:42:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1131 319.924 -11.091 532483201 532742401 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 :                                   507.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             220.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            729 sec.

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

