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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1067
RA = 315.366, Dec = -29.5926
tmin = 515894401, tmax = 516153601
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='273572', job_status='RUN', time_executed='2021-09-26 01:11:57.660211', time_epoch_executed='1632643917.66' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1067'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/273572

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/273572/ft1_4FGL_J2101.4-2935_daily_bin1067.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/273572/ft2_4FGL_J2101.4-2935_daily_bin1067.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/273572/ft1_4FGL_J2101.4-2935_daily_bin1067.fits outfile=/scratch/kocevski/273572/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1067.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=515894401.0 tmax=516153601.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.83
user 3.53
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/273572/ft2_4FGL_J2101.4-2935_daily_bin1067.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/273572/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1067.fits evtable="EVENTS" outfile="/scratch/kocevski/273572/ft1_filtered_4FGL_J2101.4-2935_daily_bin1067.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.53
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/273572/ft1_filtered_4FGL_J2101.4-2935_daily_bin1067.fits" evtable="EVENTS" scfile=/scratch/kocevski/273572/ft2_4FGL_J2101.4-2935_daily_bin1067.fits sctable="SC_DATA" outfile=/scratch/kocevski/273572/ltcube_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.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/273572/ft2_4FGL_J2101.4-2935_daily_bin1067.fits
.....................!
real 15.80
user 15.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/273572/ft1_filtered_4FGL_J2101.4-2935_daily_bin1067.fits evtable="EVENTS" scfile=/scratch/kocevski/273572/ft2_4FGL_J2101.4-2935_daily_bin1067.fits sctable="SC_DATA" expcube=/scratch/kocevski/273572/ltcube_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.fits outfile=/scratch/kocevski/273572/expmap_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.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/273572/ltcube_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.fits
.....................!
real 193.11
user 186.76
sys 5.72

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/273572/ft1_filtered_4FGL_J2101.4-2935_daily_bin1067.fits scfile=/scratch/kocevski/273572/ft2_4FGL_J2101.4-2935_daily_bin1067.fits outfile=/scratch/kocevski/273572/cmap_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/273572/ft1_filtered_4FGL_J2101.4-2935_daily_bin1067.fits scfile=/scratch/kocevski/273572/ft2_4FGL_J2101.4-2935_daily_bin1067.fits outfile=/scratch/kocevski/273572/cmap_HighResolution_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.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.61
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/273572/ft1_filtered_4FGL_J2101.4-2935_daily_bin1067.fits evtable="EVENTS" scfile=/scratch/kocevski/273572/ft2_4FGL_J2101.4-2935_daily_bin1067.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/273572/Model_4FGL_J2101.4-2935_daily_bin1067.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/273572/ft1_filtered_4FGL_J2101.4-2935_daily_bin1067.fits.....................!
real 83.72
user 81.56
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/273572/ft1_filtered_4FGL_J2101.4-2935_daily_bin1067.fits', '/scratch/kocevski/273572/ft2_4FGL_J2101.4-2935_daily_bin1067.fits', expMap='/scratch/kocevski/273572/expmap_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.fits', expCube='/scratch/kocevski/273572/ltcube_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/273572/Model_4FGL_J2101.4-2935_daily_bin1067.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/273572/ft1_filtered_4FGL_J2101.4-2935_daily_bin1067.fits
Spacecraft file(s): /scratch/kocevski/273572/ft2_4FGL_J2101.4-2935_daily_bin1067.fits
Exposure map: /scratch/kocevski/273572/expmap_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.fits
Exposure cube: /scratch/kocevski/273572/ltcube_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/273572/Model_4FGL_J2101.4-2935_daily_bin1067.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) = 10158.7019043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.9251       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8368       1.0000         .10000E-03   10000.    
     4 'Prefactor '    45.351       1.0000         .10000E-03   10000.    
     5 'norm      '    4.8714       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.5161       1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.750       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.8697       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.0653       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.0039       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1759       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92256       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=   10158.70     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1706 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.9245        8.0655        .11508E-05   -.88475E-03
   2  Prefactor     .10000E-03    32.227        .24725E-06** at limit **
   3  Prefactor     1.8355        5.5724        .34056E-07   -.39549E-03
   4  Prefactor     45.351        70.135        .34610E-06    .34362E-05
   5  norm          4.8711        13.994       -.36092E-07   -.28825E-04
   6  Prefactor     9.5157        10.455        .55874E-06   -.40354E-03
   7  Prefactor     34.750        20.215        .10943E-07   -.13815E-04
   8  Prefactor     .10000E-03    1.4307        .11602E-06** at limit **
   9  norm          1.8698        3.1029        .16684E-05    .71540E-03
  10  Prefactor     4.0654        5.8454        .11651E-06   -.13819E-03
  11  Prefactor     .10000E-03    4.5692       -.70393E-06** at limit **
  12  Prefactor     .10000E-03    3.2830       -.45406E-07** at limit **
  13  norm          .10000E-03    2.5783        .26596E-07** at limit **
  14  Prefactor     .10000E-03    4.5356        .69306E-06** at limit **
  15  Prefactor     .10000E-03    11.757        .29441E-06** at limit **
  16  norm          8.0035        4.7074        .61999E-07   -.15145E-03
  17  Normalizat    1.1759        .18358       -.19254E-06   -.29922E-04
  18  Prefactor     .92252        .87456E-01   -.22251E-06   -.89628E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.92452
  Prefactor  = 0.0001
  Prefactor  = 1.8355
  Prefactor  = 45.3513
  norm       = 4.87113
  Prefactor  = 9.51569
  Prefactor  = 34.75
  Prefactor  = 0.0001
  norm       = 1.86981
  Prefactor  = 4.06536
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.00352
  Normalizat = 1.17593
  Prefactor  = 0.92252
 **********
 **   18 **HESSE 
 **********

 FCN=   10158.70     FROM HESSE     STATUS=OK           246 CALLS     1952 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.9245        9.5001        .71215E-03   -1.5145    
   2  Prefactor     .10000E-03    32.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8355        5.7923        .30785E-03   -1.5437    
   4  Prefactor     45.351        70.120        .59536E-04   -1.4360    
   5  norm          4.8711        13.969        .18225E-03   -1.5267    
   6  Prefactor     9.5157        10.817        .64955E-03   -1.5091    
   7  Prefactor     34.750        20.247        .67980E-04   -1.4528    
   8  Prefactor     .10000E-03    1.4378        .11774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.8698        3.2243        .23409E-03   -1.5434    
  10  Prefactor     4.0654        5.8719        .19997E-03   -1.5305    
  11  Prefactor     .10000E-03    4.7389        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.2936        .17836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5899        .15803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.5648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.0035        4.7597        .14172E-03   -1.5142    
  17  Normalizat    1.1759        .21924        .31909E-03   -.87350    
  18  Prefactor     .92252        .10446        .17496E-03   -.95359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70478e-09
Minuit parameter uncertainties:
  1  9.50194
  2  6.22544e-05
  3  5.79407
  4  70.2478
  5  13.9783
  6  10.8194
  7  20.251
  8  3.75528e-06
  9  3.22462
  10  5.87278
  11  3.5673e-05
  12  2.89631e-06
  13  1.31418e-06
  14  4.10734e-05
  15  2.76889e-05
  16  4.75994
  17  0.219415
  18  0.104483
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  9.516e+00  1.082e+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:  9.225e-01  1.045e-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.176e+00  2.194e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.19
Ra Dec: 315.366 -29.593
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 2.70e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 6.01e-06 +/- 6.83e-06

TS (Fixed Index): 1.19
Ra Dec: 315.366 -29.593
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/273572/likelihoodResults_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.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) = 10158.1064422
delta logL = 0.594968657422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10158.0905727
delta logL = 0.610838151488

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7351       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8109       1.0000          .0000       10.000    
     3 'Normalizat'    1.1967       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91628       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=   10158.09     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      218 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7472        8.3025        .36045E-02    .13834E-03
   2  Index         1.8112        .40773        .27005       -.13592E-03
   3  Normalizat    1.1963        .17482        .71582E-01    .19155E-03
   4  Prefactor     .91644        .86493E-01    .45212E-01    .29076E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.74723
  Index      = 1.81122
  Normalizat = 1.19626
  Prefactor  = 0.916441
 **********
 **   18 **HESSE 
 **********

 FCN=   10158.09     FROM HESSE     STATUS=OK            29 CALLS      247 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7472        10.770        .14418E-03   -1.5151    
   2  Index         1.8112        .72625        .10431E-01   -.69158    
   3  Normalizat    1.1963        .20711        .31675E-03   -.86718    
   4  Prefactor     .91644        .10255        .17544E-03   -.95569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06366e-10
Minuit parameter uncertainties:
  1  10.7727
  2  0.730627
  3  0.207257
  4  0.102571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/273572': 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) = 10158.0905697
delta logL = 0.610841227575

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  7.747e+00  1.077e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.811e+00  7.306e-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:  9.164e-01  1.026e-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.196e+00  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.42
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 1.81 +/- 0.73
Photon Flux (Free Index): 1.21e-08 +/- 1.79e-08
Energy Flux (Free Index): 1.39e-05 +/- 2.19e-05

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/273572/cmap_HighResolution_515894401_516153601_4FGL_J2101.4-2935_daily_bin1067.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', comment='SUCCESS', photon_flux='2.70e-08', energy_flux2='1.39e-05', photon_flux_error='3.06e-08', dlogl='6.11e-01', energy_flux='6.01e-06', photon_flux2='1.21e-08', job_status='DONE', time_completed='2021-09-26 01:24:00.955735', photon_index_error2='0.73', photon_index2='1.81', ts='1.19', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='2.19e-05', EG='1.18', time_epoch_completed='1632644640.96', return_code='0', job_id='273572', GAL2='0.92', EG2='1.20', return_code2='0', energy_flux_error='6.83e-06', photon_flux_error2='1.79e-08', ts2='2.42', photon_index='2.81' WHERE bin_id='1067' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:24:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 273572: <4FGL_J2101.4-2935_daily_bin1067> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1067> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 26 01:10:21 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:10:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 01:10:24 2021
Terminated at Sun Sep 26 01:24:01 2021
Results reported at Sun Sep 26 01:24:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1067 315.366 -29.5926 515894401 516153601 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 :                                   693.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             330.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            820 sec.

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

