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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin510
RA = 315.366, Dec = -29.5926
tmin = 371520001, tmax = 371779201
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='269376', job_status='RUN', time_executed='2021-09-26 00:56:21.832519', time_epoch_executed='1632642981.83' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/269376

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/269376/ft1_4FGL_J2101.4-2935_daily_bin510.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/269376/ft2_4FGL_J2101.4-2935_daily_bin510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/269376/ft1_4FGL_J2101.4-2935_daily_bin510.fits outfile=/scratch/kocevski/269376/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin510.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=371520001.0 tmax=371779201.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 4.57
user 4.34
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/269376/ft2_4FGL_J2101.4-2935_daily_bin510.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/269376/ft2_4FGL_J2101.4-2935_daily_bin510.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/269376/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin510.fits evtable="EVENTS" outfile="/scratch/kocevski/269376/ft1_filtered_4FGL_J2101.4-2935_daily_bin510.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.50
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/269376/ft1_filtered_4FGL_J2101.4-2935_daily_bin510.fits" evtable="EVENTS" scfile=/scratch/kocevski/269376/ft2_4FGL_J2101.4-2935_daily_bin510.fits sctable="SC_DATA" outfile=/scratch/kocevski/269376/ltcube_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.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/269376/ft2_4FGL_J2101.4-2935_daily_bin510.fits
.....................!
real 15.43
user 15.06
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/269376/ft1_filtered_4FGL_J2101.4-2935_daily_bin510.fits evtable="EVENTS" scfile=/scratch/kocevski/269376/ft2_4FGL_J2101.4-2935_daily_bin510.fits sctable="SC_DATA" expcube=/scratch/kocevski/269376/ltcube_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.fits outfile=/scratch/kocevski/269376/expmap_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.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/269376/ltcube_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.fits
.....................!
real 192.15
user 187.36
sys 4.41

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2101.4-2935 @ 315.366 -29.5926

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/269376/ft1_filtered_4FGL_J2101.4-2935_daily_bin510.fits scfile=/scratch/kocevski/269376/ft2_4FGL_J2101.4-2935_daily_bin510.fits outfile=/scratch/kocevski/269376/cmap_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.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=315.366 yref=-29.5926 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/269376/ft1_filtered_4FGL_J2101.4-2935_daily_bin510.fits scfile=/scratch/kocevski/269376/ft2_4FGL_J2101.4-2935_daily_bin510.fits outfile=/scratch/kocevski/269376/cmap_HighResolution_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.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=315.366 yref=-29.5926 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/269376/ft1_filtered_4FGL_J2101.4-2935_daily_bin510.fits evtable="EVENTS" scfile=/scratch/kocevski/269376/ft2_4FGL_J2101.4-2935_daily_bin510.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/269376/Model_4FGL_J2101.4-2935_daily_bin510.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/269376/ft1_filtered_4FGL_J2101.4-2935_daily_bin510.fits.....................!
real 54.18
user 52.88
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/269376/ft1_filtered_4FGL_J2101.4-2935_daily_bin510.fits', '/scratch/kocevski/269376/ft2_4FGL_J2101.4-2935_daily_bin510.fits', expMap='/scratch/kocevski/269376/expmap_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.fits', expCube='/scratch/kocevski/269376/ltcube_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/269376/Model_4FGL_J2101.4-2935_daily_bin510.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2101.4-2935'

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  4.572e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.807e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  4.062e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/269376/ft1_filtered_4FGL_J2101.4-2935_daily_bin510.fits
Spacecraft file(s): /scratch/kocevski/269376/ft2_4FGL_J2101.4-2935_daily_bin510.fits
Exposure map: /scratch/kocevski/269376/expmap_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.fits
Exposure cube: /scratch/kocevski/269376/ltcube_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/269376/Model_4FGL_J2101.4-2935_daily_bin510.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) = 5919.18601426

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.133       1.0000         .10000E-03   10000.    
     2 'Prefactor '    88.880       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.3471       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1415       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .63738       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.2454       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.4227       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .71945E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.4667       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1242       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0092       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5919.147     FROM MIGRAD    STATUS=CONVERGED    358 CALLS     1765 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.135        19.360       -.10239E-07   -.12171E-04
   2  Prefactor     88.896        89.512        .15909E-04    .27031E-05
   3  Prefactor     .10000E-03    6.4917       -.69169E-06** at limit **
   4  Prefactor     .10000E-03    40.942        .30355E-05** at limit **
   5  norm          .10000E-03    16.331        .62279E-07** at limit **
   6  Prefactor     9.3477        24.103        .12650E-05   -.16283E-05
   7  Prefactor     7.1419        31.686        .12384E-05    .30575E-07
   8  Prefactor     .10000E-03    4.0334       -.21620E-07** at limit **
   9  norm          .65259        .68127       -.12814E-06   -.20369E-03
  10  Prefactor     8.2451        7.9042        .13828E-06    .11103E-05
  11  Prefactor     7.4242        12.996        .65763E-06    .95753E-04
  12  Prefactor     .10000E-03    11.279       -.53959E-06** at limit **
  13  norm          .10056E-03    7.7884       -.16490E-05** at limit **
  14  Prefactor     .10000E-03    9.1441       -.61125E-06** at limit **
  15  Prefactor     .10000E-03    24.990       -.14888E-05** at limit **
  16  norm          6.4670        7.3117        .34131E-06    .12749E-03
  17  Normalizat    1.1244        .27328        .67558E-08    .83155E-04
  18  Prefactor     1.0092        .12422       -.11631E-05    .25644E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 40.1351
  Prefactor  = 88.8962
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.34769
  Prefactor  = 7.1419
  Prefactor  = 0.0001
  norm       = 0.652588
  Prefactor  = 8.24514
  Prefactor  = 7.42424
  Prefactor  = 0.0001
  norm       = 0.000100556
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.467
  Normalizat = 1.12437
  Prefactor  = 1.00916
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.147     FROM HESSE     STATUS=OK           250 CALLS     2015 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.135        19.373        .63273E-04   -1.4440    
   2  Prefactor     88.896        89.694        .42619E-04   -1.3819    
   3  Prefactor     .10000E-03    6.5989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    40.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    16.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.3477        24.136        .13108E-03   -1.5096    
   7  Prefactor     7.1419        31.682        .15011E-03   -1.5173    
   8  Prefactor     .10000E-03    4.0512        .15085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .65259        7.0323        .70247E-01   -1.5546    
  10  Prefactor     8.2451        7.9114        .13962E-03   -1.5134    
  11  Prefactor     7.4242        12.972        .73605E-03   -1.5163    
  12  Prefactor     .10000E-03    11.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10056E-03    67.450        .39936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.1480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    24.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.4670        7.3223        .78912E-03   -1.5199    
  17  Normalizat    1.1244        .31983        .36614E-03   -.88973    
  18  Prefactor     1.0092        .14536        .18087E-03   -.92425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.50894e-09
Minuit parameter uncertainties:
  1  19.3759
  2  89.831
  3  0.000121935
  4  1.17115e-05
  5  3.08374e-06
  6  24.1612
  7  30.111
  8  8.79242e-07
  9  4.28478
  10  7.91241
  11  12.9771
  12  8.41257e-06
  13  0.0122631
  14  5.38174e-07
  15  1.59196e-06
  16  7.3233
  17  0.320388
  18  0.145414
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  9.348e+00  2.416e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.807e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  4.062e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.009e+00  1.454e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.124e+00  3.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 315.366 -29.593
Photon Flux Upper Limit: 1.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.46e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/269376/likelihoodResults_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.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) = 5917.12526083
delta logL = 2.02141968381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5916.8174891
delta logL = 2.32919141059

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7171       1.0000         .10000E-03   10000.    
     2 'Index     '    .92068       1.0000          .0000       10.000    
     3 'Normalizat'    1.1397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5916.817     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      223 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7171        1.9576        .80165E-02    .25769E-02
   2  Index         .92058        .30508        .17025       -.60187E-04
   3  Normalizat    1.1396        .25641        .82114E-01    .11235E-04
   4  Prefactor     1.0060        .12143        .43999E-01    .39939E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71708
  Index      = 0.92058
  Normalizat = 1.13962
  Prefactor  = 1.006
 **********
 **   18 **HESSE 
 **********

 FCN=   5916.817     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7171        3.7828        .10092E-03   -1.5446    
   2  Index         .92058        .61493        .71410E-02   -.95426    
   3  Normalizat    1.1396        .29963        .36354E-03   -.88490    
   4  Prefactor     1.0060        .14219        .18093E-03   -.92530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71155e-09
Minuit parameter uncertainties:
  1  3.78334
  2  0.619667
  3  0.300075
  4  0.142247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/269376': 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) = 5916.81748899
delta logL = 2.32919151978

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.717e+00  3.783e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  9.206e-01  6.197e-01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  4.062e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.006e+00  1.422e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.140e+00  3.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.83
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 0.92 +/- 0.62
Photon Flux (Free Index): 5.74e-09 +/- 6.54e-09
Energy Flux (Free Index): 1.00e-04 +/- 1.37e-04

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/269376/cmap_HighResolution_371520001_371779201_4FGL_J2101.4-2935_daily_bin510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.46e-02', comment='SUCCESS', energy_flux2='1.00e-04', dlogl='2.33e+00', photon_flux2='5.74e-09', job_status='DONE', time_completed='2021-09-26 01:05:22.817262', photon_index_error2='0.62', photon_index2='0.92', ts='0.17', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.85e-07', energy_flux_error2='1.37e-04', EG='1.12', time_epoch_completed='1632643522.82', return_code='0', job_id='269376', GAL2='1.01', EG2='1.14', return_code2='0', photon_flux_error2='6.54e-09', ts2='4.83', photon_index='2.81' WHERE bin_id='510' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:05:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 269376: <4FGL_J2101.4-2935_daily_bin510> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin510> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 00:55:20 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 00:56:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 00:56:10 2021
Terminated at Sun Sep 26 01:05:23 2021
Results reported at Sun Sep 26 01:05:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin510 315.366 -29.5926 371520001 371779201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2101.4-2935 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   539.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   554 sec.
    Turnaround time :                            603 sec.

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

