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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin774
RA = 319.924, Dec = -11.091
tmin = 439948801, tmax = 440208001
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='452001', job_status='RUN', time_executed='2021-09-26 11:23:46.498016', time_epoch_executed='1632680626.5' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452001

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452001/ft1_4FGL_J2119.6-1105_daily_bin774.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452001/ft2_4FGL_J2119.6-1105_daily_bin774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452001/ft1_4FGL_J2119.6-1105_daily_bin774.fits outfile=/scratch/kocevski/452001/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin774.fits ra=319.924 dec=-11.091 rad=12.0 tmin=439948801.0 tmax=440208001.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.42
user 3.18
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/452001/ft1_filtered_4FGL_J2119.6-1105_daily_bin774.fits" evtable="EVENTS" scfile=/scratch/kocevski/452001/ft2_4FGL_J2119.6-1105_daily_bin774.fits sctable="SC_DATA" outfile=/scratch/kocevski/452001/ltcube_439948801_440208001_4FGL_J2119.6-1105_daily_bin774.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/452001/ft2_4FGL_J2119.6-1105_daily_bin774.fits
.....................!
real 15.57
user 15.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452001/ft1_filtered_4FGL_J2119.6-1105_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/452001/ft2_4FGL_J2119.6-1105_daily_bin774.fits sctable="SC_DATA" expcube=/scratch/kocevski/452001/ltcube_439948801_440208001_4FGL_J2119.6-1105_daily_bin774.fits outfile=/scratch/kocevski/452001/expmap_439948801_440208001_4FGL_J2119.6-1105_daily_bin774.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/452001/ltcube_439948801_440208001_4FGL_J2119.6-1105_daily_bin774.fits
.....................!
real 193.72
user 187.82
sys 4.81

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/452001/ft1_filtered_4FGL_J2119.6-1105_daily_bin774.fits scfile=/scratch/kocevski/452001/ft2_4FGL_J2119.6-1105_daily_bin774.fits outfile=/scratch/kocevski/452001/cmap_439948801_440208001_4FGL_J2119.6-1105_daily_bin774.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452001/ft1_filtered_4FGL_J2119.6-1105_daily_bin774.fits scfile=/scratch/kocevski/452001/ft2_4FGL_J2119.6-1105_daily_bin774.fits outfile=/scratch/kocevski/452001/cmap_HighResolution_439948801_440208001_4FGL_J2119.6-1105_daily_bin774.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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/452001/ft1_filtered_4FGL_J2119.6-1105_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/452001/ft2_4FGL_J2119.6-1105_daily_bin774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/452001/Model_4FGL_J2119.6-1105_daily_bin774.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/452001/ft1_filtered_4FGL_J2119.6-1105_daily_bin774.fits.....................!
real 59.29
user 57.80
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .55092       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5544       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.191       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0230       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.8032       1.0000         .10000E-03   10000.    
    14 'norm      '    12.301       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.6217       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1396       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .91247       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=   6063.685     FROM MIGRAD    STATUS=CONVERGED    353 CALLS     1704 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5357       -.29931E-07** at limit **
   2  Prefactor     .55156        2.7899        .22279E-06   -.97685E-04
   3  Prefactor     5.5542        5.0053        .25063E-06   -.15493E-04
   4  Prefactor     20.192        16.969        .83694E-07    .91051E-05
   5  Prefactor     .10000E-03    48.939        .30704E-05** at limit **
   6  Prefactor     .10000E-03    6.0000       -.24458E-07** at limit **
   7  Prefactor     .10000E-03    5.2108       -.37027E-07** at limit **
   8  Prefactor     .10000E-03    45.998       -.32892E-05** at limit **
   9  Prefactor     3.0239        6.9136        .49626E-05   -.11916E-03
  10  Prefactor     .10000E-03    1.5524       -.25170E-07** at limit **
  11  Prefactor     .10000E-03    1.8928       -.20644E-07** at limit **
  12  Prefactor     .10000E-03    13.366        .33232E-07** at limit **
  13  Prefactor     6.7926        20.364        .45046E-05    .92111E-04
  14  norm          12.301        8.8522       -.27345E-07    .15307E-04
  15  Prefactor     .10000E-03    3.1472        .20983E-06** at limit **
  16  Prefactor     4.6430        34.031       -.78067E-05   -.37700E-04
  17  Normalizat    1.1392        .24098       -.74072E-06    .80673E-04
  18  Prefactor     .91266        .12288       -.87955E-07    .10259E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.551557
  Prefactor  = 5.5542
  Prefactor  = 20.1919
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.02387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.79263
  norm       = 12.3009
  Prefactor  = 0.0001
  Prefactor  = 4.643
  Normalizat = 1.13918
  Prefactor  = 0.912663
 **********
 **   18 **HESSE 
 **********

 FCN=   6063.685     FROM HESSE     STATUS=OK           244 CALLS     1948 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5448        .94228E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55156        12.381        .24603E-02   -1.5559    
   3  Prefactor     5.5542        5.0068        .79887E-03   -1.5237    
   4  Prefactor     20.192        16.982        .89137E-04   -1.4809    
   5  Prefactor     .10000E-03    48.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.0064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2208        .17359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    45.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0239        6.9289        .11670E-02   -1.5360    
  10  Prefactor     .10000E-03    1.5899        .18931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.8940        .10463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.7926        20.583        .15383E-03   -1.5187    
  14  norm          12.301        8.8548        .11422E-03   -1.5006    
  15  Prefactor     .10000E-03    3.1627        .13490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.6430        34.461        .18722E-03   -1.5277    
  17  Normalizat    1.1392        .29804        .31316E-03   -.88504    
  18  Prefactor     .91266        .15254        .18222E-03   -.95700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21263e-08
Minuit parameter uncertainties:
  1  1.51326e-06
  2  5.22718
  3  5.0072
  4  16.9862
  5  0.000108481
  6  4.92323e-06
  7  7.65065e-06
  8  6.81449e-05
  9  6.93078
  10  1.22305e-06
  11  1.26485e-06
  12  2.96921e-06
  13  20.604
  14  8.8557
  15  1.70837e-05
  16  25.3184
  17  0.298479
  18  0.152607
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  4.923e-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:  9.127e-01  1.526e-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.139e+00  2.985e-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: 7.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/452001/likelihoodResults_439948801_440208001_4FGL_J2119.6-1105_daily_bin774.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) = 6063.68623102
delta logL = -0.000792414650277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6063.68543858
delta logL = 2.9853254091e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3527       1.0000          .0000       10.000    
     3 'Normalizat'    1.1392       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91267       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=   6063.685     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10094E-03    77.051        .18142E-02** at limit **
   2  Index         2.2975        5.1735        .50000        .14945E-04
   3  Normalizat    1.1392        .20772E-01    .31316E-03   -.26066E-04
   4  Prefactor     .91266        .11016E-01    .18222E-03   -.16408E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100942
  Index      = 2.29754
  Normalizat = 1.13918
  Prefactor  = 0.912663
 **********
 **   18 **HESSE 
 **********

 FCN=   6063.685     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10094E-03    325.23        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2975        6.1781        .50000       -.57102    
   3  Normalizat    1.1392        .44992E-01    .12526E-04   -.88504    
   4  Prefactor     .91266        .23860E-01    .72889E-05   -.95700    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.27223e-08
Minuit parameter uncertainties:
  1  0.0352069
  2  817.274
  3  0.0449933
  4  0.0238605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452001': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6063.68543842
delta logL = 1.85984390555e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  9.127e-01  2.386e-02  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.139e+00  4.499e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 319.924 -11.091

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.49e-03', job_status='DONE', photon_flux_upper_limit='7.12e-08', time_completed='2021-09-26 11:33:09.803650', job_id='452001', GAL2='0.91', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632681189.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='774' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:33:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 452001: <4FGL_J2119.6-1105_daily_bin774> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin774> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 11:20:32 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:21:45 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:45 2021
Terminated at Sun Sep 26 11:33:10 2021
Results reported at Sun Sep 26 11:33:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin774 319.924 -11.091 439948801 440208001 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 :                                   560.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            758 sec.

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

