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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1048
RA = 319.924, Dec = -11.091
tmin = 510969601, tmax = 511228801
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='453545', job_status='RUN', time_executed='2021-09-26 11:28:55.691499', time_epoch_executed='1632680935.69' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1048'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/453545

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/453545/ft1_4FGL_J2119.6-1105_daily_bin1048.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/453545/ft2_4FGL_J2119.6-1105_daily_bin1048.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/453545/ft1_4FGL_J2119.6-1105_daily_bin1048.fits outfile=/scratch/kocevski/453545/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1048.fits ra=319.924 dec=-11.091 rad=12.0 tmin=510969601.0 tmax=511228801.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.50
user 3.23
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/453545/ft2_4FGL_J2119.6-1105_daily_bin1048.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/453545/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1048.fits evtable="EVENTS" outfile="/scratch/kocevski/453545/ft1_filtered_4FGL_J2119.6-1105_daily_bin1048.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.56
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/453545/ft1_filtered_4FGL_J2119.6-1105_daily_bin1048.fits" evtable="EVENTS" scfile=/scratch/kocevski/453545/ft2_4FGL_J2119.6-1105_daily_bin1048.fits sctable="SC_DATA" outfile=/scratch/kocevski/453545/ltcube_510969601_511228801_4FGL_J2119.6-1105_daily_bin1048.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/453545/ft2_4FGL_J2119.6-1105_daily_bin1048.fits
.....................!
real 14.19
user 13.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/453545/ft1_filtered_4FGL_J2119.6-1105_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/453545/ft2_4FGL_J2119.6-1105_daily_bin1048.fits sctable="SC_DATA" expcube=/scratch/kocevski/453545/ltcube_510969601_511228801_4FGL_J2119.6-1105_daily_bin1048.fits outfile=/scratch/kocevski/453545/expmap_510969601_511228801_4FGL_J2119.6-1105_daily_bin1048.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/453545/ltcube_510969601_511228801_4FGL_J2119.6-1105_daily_bin1048.fits
.....................!
real 192.03
user 186.57
sys 4.74

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/453545/ft1_filtered_4FGL_J2119.6-1105_daily_bin1048.fits scfile=/scratch/kocevski/453545/ft2_4FGL_J2119.6-1105_daily_bin1048.fits outfile=/scratch/kocevski/453545/cmap_510969601_511228801_4FGL_J2119.6-1105_daily_bin1048.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/453545/ft1_filtered_4FGL_J2119.6-1105_daily_bin1048.fits scfile=/scratch/kocevski/453545/ft2_4FGL_J2119.6-1105_daily_bin1048.fits outfile=/scratch/kocevski/453545/cmap_HighResolution_510969601_511228801_4FGL_J2119.6-1105_daily_bin1048.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/453545/ft1_filtered_4FGL_J2119.6-1105_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/453545/ft2_4FGL_J2119.6-1105_daily_bin1048.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/453545/Model_4FGL_J2119.6-1105_daily_bin1048.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/453545/ft1_filtered_4FGL_J2119.6-1105_daily_bin1048.fits.....................!
real 68.32
user 66.47
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0262       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.7986       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .20520E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.371       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .17005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.727       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.564       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7329       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0018       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.538       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .88321       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93378       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=   7020.878     FROM MIGRAD    STATUS=CONVERGED    388 CALLS     1789 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0257        3.2719        .39274E-07   -.77058E-04
   2  Prefactor     3.7981        3.8288       -.20815E-06   -.33749E-03
   3  Prefactor     .10000E-03    2.9634        .25806E-06** at limit **
   4  Prefactor     11.382        15.060       -.12333E-04   -.37616E-04
   5  Prefactor     .10000E-03    17.333        .17285E-06** at limit **
   6  Prefactor     .10033E-03    14.707       -.47106E-06** at limit **
   7  Prefactor     .10000E-03    5.8720        .14668E-07** at limit **
   8  Prefactor     15.720        22.777        .91901E-05    .10393E-04
   9  Prefactor     .10000E-03    6.8112       -.60131E-06** at limit **
  10  Prefactor     .10000E-03    .62480       -.13475E-06** at limit **
  11  Prefactor     .10000E-03    7.1868        .63805E-06** at limit **
  12  Prefactor     .10000E-03    30.866       -.14808E-05** at limit **
  13  Prefactor     15.566        14.528       -.30877E-05    .12747E-04
  14  norm          1.7359        4.1024       -.41717E-06   -.59257E-03
  15  Prefactor     1.9992        6.4173       -.27947E-05   -.74790E-03
  16  Prefactor     12.535        17.166        .50866E-05    .18288E-04
  17  Normalizat    .88315        .20639        .34439E-05    .40865E-05
  18  Prefactor     .93387        .10580       -.32319E-06    .29753E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.02569
  Prefactor  = 3.7981
  Prefactor  = 0.000100001
  Prefactor  = 11.3821
  Prefactor  = 0.0001
  Prefactor  = 0.000100326
  Prefactor  = 0.0001
  Prefactor  = 15.7204
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.5657
  norm       = 1.73585
  Prefactor  = 1.99918
  Prefactor  = 12.5352
  Normalizat = 0.883147
  Prefactor  = 0.933873
 **********
 **   18 **HESSE 
 **********

 FCN=   7020.878     FROM HESSE     STATUS=OK           256 CALLS     2045 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0257        3.2722        .13245E-03   -1.5307    
   2  Prefactor     3.7981        3.8264        .15859E-03   -1.5318    
   3  Prefactor     .10000E-03    8.3503        .27943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.382        15.064        .11880E-03   -1.5033    
   5  Prefactor     .10000E-03    17.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10033E-03    19.813        .86731E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.8892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.720        22.670        .10099E-03   -1.4915    
   9  Prefactor     .10000E-03    7.0016        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .63206        .64662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.3684        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.566        14.525        .10152E-03   -1.4919    
  14  norm          1.7359        4.0740        .25448E-03   -1.5444    
  15  Prefactor     1.9992        6.5339        .29270E-03   -1.5425    
  16  Prefactor     12.535        17.160        .11313E-03   -1.5000    
  17  Normalizat    .88315        .25121        .31352E-03   -.97055    
  18  Prefactor     .93387        .12955        .16843E-03   -.94967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87343e-09
Minuit parameter uncertainties:
  1  3.27236
  2  3.82663
  3  0.000149
  4  15.069
  5  1.54748e-05
  6  0.00508466
  7  5.13473e-07
  8  22.6822
  9  1.84007e-05
  10  9.85684e-06
  11  2.95717e-05
  12  0.000110209
  13  14.5279
  14  4.0747
  15  6.53621
  16  17.1664
  17  0.251543
  18  0.129589
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.003e-04  5.085e-03  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.339e-01  1.296e-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.831e-01  2.515e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/453545/likelihoodResults_510969601_511228801_4FGL_J2119.6-1105_daily_bin1048.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) = 7020.87795667
delta logL = -1.78864020199e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7019.69712232
delta logL = 1.18081646789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23116E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.8940       1.0000          .0000       10.000    
     3 'Normalizat'    .77095       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97343       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=   7019.697     FROM MIGRAD    STATUS=CONVERGED    257 CALLS      514 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22126E-03    .10677E-01    .20967E-03** at limit **
   2  Index         7.9137        3.2588        .13992        .14562E-03
   3  Normalizat    .77160        .21496        .75298E-01    .98361E-05
   4  Prefactor     .97309        .68334E-01    .45934E-01   -.17918E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000221256
  Index      = 7.91374
  Normalizat = 0.771602
  Prefactor  = 0.973086
 **********
 **   18 **HESSE 
 **********

 FCN=   7019.697     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      547 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22126E-03    .11049E-01    .12067E-05   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.9137        7.6086        .53349E-02    .62211    
   3  Normalizat    .77160        .20057        .33329E-03   -1.0113    
   4  Prefactor     .97309        .10913        .16527E-03   -.93632    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.81291e-07
Minuit parameter uncertainties:
  1  0.00231501
  2  4.47311
  3  0.200759
  4  0.109153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/453545': 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) = 7019.69710501
delta logL = 1.18083378283

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  2.213e-04  2.315e-03  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  7.914e+00  4.473e+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:  9.731e-01  1.092e-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:  7.716e-01  2.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.56
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 7.91 +/- 4.47
Photon Flux (Free Index): 8.63e-08 +/- 1.76e-06
Energy Flux (Free Index): 1.00e-05 +/- 2.04e-04

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/453545/cmap_HighResolution_510969601_511228801_4FGL_J2119.6-1105_daily_bin1048.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.92e-03', comment='SUCCESS', energy_flux2='1.00e-05', dlogl='1.18e+00', photon_flux2='8.63e-08', job_status='DONE', time_completed='2021-09-26 11:39:44.444973', photon_index_error2='4.47', photon_index2='7.91', ts='-0.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='2.04e-04', EG='0.88', time_epoch_completed='1632681584.45', return_code='0', job_id='453545', GAL2='0.97', EG2='0.77', return_code2='102', photon_flux_error2='1.76e-06', ts2='2.56', photon_index='2.37' WHERE bin_id='1048' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:39:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 453545: <4FGL_J2119.6-1105_daily_bin1048> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1048 319.924 -11.091 510969601 511228801 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 :                                   638.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            856 sec.

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

