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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1046
RA = 315.366, Dec = -29.5926
tmin = 510451201, tmax = 510710401
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='272416', job_status='RUN', time_executed='2021-09-26 01:06:52.786686', time_epoch_executed='1632643612.79' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1046'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272416

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272416/ft1_4FGL_J2101.4-2935_daily_bin1046.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272416/ft2_4FGL_J2101.4-2935_daily_bin1046.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272416/ft1_4FGL_J2101.4-2935_daily_bin1046.fits outfile=/scratch/kocevski/272416/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1046.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=510451201.0 tmax=510710401.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.05
user 3.81
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/272416/ft1_filtered_4FGL_J2101.4-2935_daily_bin1046.fits" evtable="EVENTS" scfile=/scratch/kocevski/272416/ft2_4FGL_J2101.4-2935_daily_bin1046.fits sctable="SC_DATA" outfile=/scratch/kocevski/272416/ltcube_510451201_510710401_4FGL_J2101.4-2935_daily_bin1046.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/272416/ft2_4FGL_J2101.4-2935_daily_bin1046.fits
.....................!
real 14.23
user 13.77
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272416/ft1_filtered_4FGL_J2101.4-2935_daily_bin1046.fits evtable="EVENTS" scfile=/scratch/kocevski/272416/ft2_4FGL_J2101.4-2935_daily_bin1046.fits sctable="SC_DATA" expcube=/scratch/kocevski/272416/ltcube_510451201_510710401_4FGL_J2101.4-2935_daily_bin1046.fits outfile=/scratch/kocevski/272416/expmap_510451201_510710401_4FGL_J2101.4-2935_daily_bin1046.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/272416/ltcube_510451201_510710401_4FGL_J2101.4-2935_daily_bin1046.fits
.....................!
real 191.41
user 186.07
sys 4.54

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/272416/ft1_filtered_4FGL_J2101.4-2935_daily_bin1046.fits scfile=/scratch/kocevski/272416/ft2_4FGL_J2101.4-2935_daily_bin1046.fits outfile=/scratch/kocevski/272416/cmap_510451201_510710401_4FGL_J2101.4-2935_daily_bin1046.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272416/ft1_filtered_4FGL_J2101.4-2935_daily_bin1046.fits scfile=/scratch/kocevski/272416/ft2_4FGL_J2101.4-2935_daily_bin1046.fits outfile=/scratch/kocevski/272416/cmap_HighResolution_510451201_510710401_4FGL_J2101.4-2935_daily_bin1046.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/272416/ft1_filtered_4FGL_J2101.4-2935_daily_bin1046.fits evtable="EVENTS" scfile=/scratch/kocevski/272416/ft2_4FGL_J2101.4-2935_daily_bin1046.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/272416/Model_4FGL_J2101.4-2935_daily_bin1046.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/272416/ft1_filtered_4FGL_J2101.4-2935_daily_bin1046.fits.....................!
real 58.15
user 56.70
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4468       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2354       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.228       1.0000         .10000E-03   10000.    
     5 'norm      '    7.9190       1.0000         .10000E-03   10000.    
     6 'Prefactor '    46.990       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.111       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .54970E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.747       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.4989       1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .30282E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    8.0879       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3207       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .85322       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6602.675     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     2268 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4457        27.576        .17918E-02    .46762E-04
   2  Prefactor     3.2230        84.745        .22519E-03    .30089E-04
   3  Prefactor     .10000E-03    8.3053        .36285E-03** at limit **
   4  Prefactor     43.211        57.651        .60974E-04    .10367E-04
   5  norm          7.9199        19.286        .14249E-03    .55533E-04
   6  Prefactor     47.000        26.525        .58493E-04    .27860E-03
   7  Prefactor     16.109        22.489        .99784E-04    .14811E-04
   8  Prefactor     .10000E-03    4.6742        .56009E-01** at limit **
   9  norm          .10000E-03    3.7393        .15328E-02** at limit **
  10  Prefactor     .10000E-03    2.2245        .11826E-02** at limit **
  11  Prefactor     16.745        12.647        .97870E-04    .51227E-04
  12  Prefactor     9.5198        17.606        .13003E-03    .77815E-05
  13  norm          .10000E-03    2.4154        .12323E-02** at limit **
  14  Prefactor     .10000E-03    11.707        .18142E-02** at limit **
  15  Prefactor     .10000E-03    72.153        .18253    ** at limit **
  16  norm          8.0948        6.4717        .14098E-03   -.18467E-03
  17  Normalizat    1.3207        .28652        .32304E-03    .35383E-03
  18  Prefactor     .85328        .12817        .18485E-03    .73260E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.44569
  Prefactor  = 3.22301
  Prefactor  = 0.000100001
  Prefactor  = 43.2109
  norm       = 7.91992
  Prefactor  = 46.9999
  Prefactor  = 16.109
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.7454
  Prefactor  = 9.51985
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 8.09478
  Normalizat = 1.32072
  Prefactor  = 0.853281
 **********
 **   18 **HESSE 
 **********

 FCN=   6602.675     FROM HESSE     STATUS=OK           248 CALLS     2516 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4457        27.476        .71671E-04   -1.5467    
   2  Prefactor     3.2230        84.717        .90077E-05   -1.5349    
   3  Prefactor     .10000E-03    8.3059        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     43.211        57.648        .12195E-04   -1.4392    
   5  norm          7.9199        19.285        .56994E-05   -1.5145    
   6  Prefactor     47.000        26.524        .11699E-04   -1.4336    
   7  Prefactor     16.109        22.488        .39914E-05   -1.4905    
   8  Prefactor     .10000E-03    4.6800        .55946E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.7395        .30657E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.2246        .23652E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.745        12.647        .39148E-05   -1.4889    
  12  Prefactor     9.5198        17.609        .52011E-05   -1.5091    
  13  norm          .10000E-03    2.4155        .24647E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.707        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    77.088        .17492       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.0948        6.4736        .56392E-05   -1.5139    
  17  Normalizat    1.3207        .28678        .64608E-04   -.82950    
  18  Prefactor     .85328        .12819        .36970E-04   -.97793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8225e-10
Minuit parameter uncertainties:
  1  12.6114
  2  33.0998
  3  0.000153706
  4  57.7223
  5  19.2998
  6  26.531
  7  22.4996
  8  4.62362e-05
  9  3.85339e-06
  10  2.94858e-06
  11  12.6487
  12  17.6185
  13  1.63506e-06
  14  8.59313e-06
  15  0.000851352
  16  6.47415
  17  0.287128
  18  0.128238
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  4.700e+01  2.653e+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:  8.533e-01  1.282e-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.321e+00  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.92
Ra Dec: 315.366 -29.593
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 1.33e-07 +/- 7.50e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 1.67e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6602.48713068
delta logL = 0.187627449534

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6602.48431083
delta logL = 0.190447299456

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.371       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1930       1.0000          .0000       10.000    
     3 'Normalizat'    1.2948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86127       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=   6602.484     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      263 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.328        401.25        .15970E-02   -.39877E-03
   2  Index         3.1906        6.5927        .18877       -.14928E-03
   3  Normalizat    1.2951        .11065        .73584E-01   -.95670E-04
   4  Prefactor     .86135        .55110E-01    .44509E-01    .19288E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.3283
  Index      = 3.19065
  Normalizat = 1.29511
  Prefactor  = 0.861346
 **********
 **   18 **HESSE 
 **********

 FCN=   6602.484     FROM HESSE     STATUS=OK            29 CALLS      292 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.328        28.615        .63880E-04   -1.4453    
   2  Index         3.1906        .69467        .72524E-02   -.37027    
   3  Normalizat    1.2951        .26602        .32563E-03   -.83712    
   4  Prefactor     .86135        .12402        .18407E-03   -.97505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76599e-10
Minuit parameter uncertainties:
  1  28.6246
  2  0.697263
  3  0.266302
  4  0.124061
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272416': 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) = 6602.48429017
delta logL = 0.190467954697

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  3.933e+01  2.862e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.191e+00  6.973e-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:  8.613e-01  1.241e-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.295e+00  2.663e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.32
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 3.19 +/- 0.70
Photon Flux (Free Index): 1.57e-07 +/- 8.73e-08
Energy Flux (Free Index): 2.89e-05 +/- 1.57e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/272416/cmap_HighResolution_510451201_510710401_4FGL_J2101.4-2935_daily_bin1046.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-07', energy_flux2='2.89e-05', photon_flux_error='7.50e-08', dlogl='1.90e-01', energy_flux='2.97e-05', photon_flux2='1.57e-07', job_status='DONE', time_completed='2021-09-26 01:16:10.708601', photon_index_error2='0.70', photon_index2='3.19', ts='4.92', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.57e-05', EG='1.32', time_epoch_completed='1632644170.71', return_code='0', job_id='272416', GAL2='0.86', EG2='1.30', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='8.73e-08', ts2='5.32', photon_index='2.81' WHERE bin_id='1046' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:16:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 272416: <4FGL_J2101.4-2935_daily_bin1046> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1046> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 01:05:34 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:06:28 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:06:28 2021
Terminated at Sun Sep 26 01:16:11 2021
Results reported at Sun Sep 26 01:16:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1046 315.366 -29.5926 510451201 510710401 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 :                                   552.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   585 sec.
    Turnaround time :                            637 sec.

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

