/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 236 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 = 7427
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2101.4-2935_daily_bin125
RA = 315.366, Dec = -29.5926
tmin = 271728001, tmax = 271987201
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='266619', job_status='RUN', time_executed='2021-09-26 00:49:26.375971', time_epoch_executed='1632642566.38' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='125'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266619

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266619/ft1_4FGL_J2101.4-2935_daily_bin125.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266619/ft2_4FGL_J2101.4-2935_daily_bin125.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266619/ft1_4FGL_J2101.4-2935_daily_bin125.fits outfile=/scratch/kocevski/266619/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin125.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=271728001.0 tmax=271987201.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.12
user 2.90
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/266619/ft2_4FGL_J2101.4-2935_daily_bin125.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/266619/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin125.fits evtable="EVENTS" outfile="/scratch/kocevski/266619/ft1_filtered_4FGL_J2101.4-2935_daily_bin125.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/266619/ft1_filtered_4FGL_J2101.4-2935_daily_bin125.fits" evtable="EVENTS" scfile=/scratch/kocevski/266619/ft2_4FGL_J2101.4-2935_daily_bin125.fits sctable="SC_DATA" outfile=/scratch/kocevski/266619/ltcube_271728001_271987201_4FGL_J2101.4-2935_daily_bin125.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/266619/ft2_4FGL_J2101.4-2935_daily_bin125.fits
.....................!
real 13.87
user 13.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266619/ft1_filtered_4FGL_J2101.4-2935_daily_bin125.fits evtable="EVENTS" scfile=/scratch/kocevski/266619/ft2_4FGL_J2101.4-2935_daily_bin125.fits sctable="SC_DATA" expcube=/scratch/kocevski/266619/ltcube_271728001_271987201_4FGL_J2101.4-2935_daily_bin125.fits outfile=/scratch/kocevski/266619/expmap_271728001_271987201_4FGL_J2101.4-2935_daily_bin125.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/266619/ltcube_271728001_271987201_4FGL_J2101.4-2935_daily_bin125.fits
.....................!
real 192.62
user 186.55
sys 5.44

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/266619/ft1_filtered_4FGL_J2101.4-2935_daily_bin125.fits scfile=/scratch/kocevski/266619/ft2_4FGL_J2101.4-2935_daily_bin125.fits outfile=/scratch/kocevski/266619/cmap_271728001_271987201_4FGL_J2101.4-2935_daily_bin125.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266619/ft1_filtered_4FGL_J2101.4-2935_daily_bin125.fits scfile=/scratch/kocevski/266619/ft2_4FGL_J2101.4-2935_daily_bin125.fits outfile=/scratch/kocevski/266619/cmap_HighResolution_271728001_271987201_4FGL_J2101.4-2935_daily_bin125.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/266619/ft1_filtered_4FGL_J2101.4-2935_daily_bin125.fits evtable="EVENTS" scfile=/scratch/kocevski/266619/ft2_4FGL_J2101.4-2935_daily_bin125.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/266619/Model_4FGL_J2101.4-2935_daily_bin125.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/266619/ft1_filtered_4FGL_J2101.4-2935_daily_bin125.fits.....................!
real 68.79
user 67.39
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.4590       1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.146       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.652       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0430       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12554E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.792       1.0000         .10000E-03   10000.    
    13 'norm      '    6.6929       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      '    38.577       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .93606       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96412       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=   7768.193     FROM MIGRAD    STATUS=CONVERGED    363 CALLS     1733 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.5653        .27949E-06** at limit **
   2  Prefactor     .10000E-03    36.979       -.44394E-05** at limit **
   3  Prefactor     .10000E-03    2.9230        .12545E-07** at limit **
   4  Prefactor     .10000E-03    25.302        .11566E-04** at limit **
   5  norm          1.4590        2.8604        .43259E-06   -.61814E-03
   6  Prefactor     30.139        21.445       -.34864E-05   -.90167E-05
   7  Prefactor     23.654        24.911        .11351E-05    .65388E-07
   8  Prefactor     1.0556        7.1836       -.61974E-06   -.90822E-04
   9  norm          .10000E-03    2.4532       -.29482E-07** at limit **
  10  Prefactor     .10000E-03    4.4449       -.92746E-07** at limit **
  11  Prefactor     .10001E-03    4.8600        .67160E-06** at limit **
  12  Prefactor     15.792        13.812       -.11262E-06    .17547E-04
  13  norm          6.6957        7.2289       -.23331E-06   -.40902E-04
  14  Prefactor     .10000E-03    6.4897       -.31026E-06** at limit **
  15  Prefactor     .10000E-03    21.526       -.82362E-05** at limit **
  16  norm          38.578        7.9074       -.31565E-07    .31615E-04
  17  Normalizat    .93604        .21807        .10352E-05   -.37767E-04
  18  Prefactor     .96413        .99655E-01   -.30309E-07    .84300E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.459
  Prefactor  = 30.1394
  Prefactor  = 23.6537
  Prefactor  = 1.05562
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 15.7916
  norm       = 6.69573
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 38.5779
  Normalizat = 0.936037
  Prefactor  = 0.964135
 **********
 **   18 **HESSE 
 **********

 FCN=   7768.193     FROM HESSE     STATUS=OK           246 CALLS     1979 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.6111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    37.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.9455        .14710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4590        15.739        .17814E-02   -1.5466    
   6  Prefactor     30.139        21.465        .72973E-04   -1.4609    
   7  Prefactor     23.654        24.927        .82364E-04   -1.4735    
   8  Prefactor     1.0556        7.4244        .44582E-03   -1.5502    
   9  norm          .10000E-03    2.4580        .13482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.5103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    14.984        .37454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.792        13.830        .10079E-03   -1.4913    
  13  norm          6.6957        7.2209        .15510E-03   -1.5190    
  14  Prefactor     .10000E-03    6.4927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          38.578        7.9320        .64532E-04   -1.4465    
  17  Normalizat    .93604        .25627        .35643E-03   -.95205    
  18  Prefactor     .96413        .11879        .16959E-03   -.93935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84523e-09
Minuit parameter uncertainties:
  1  2.78397e-06
  2  1.57542e-05
  3  2.38458e-06
  4  3.24372e-05
  5  9.58695
  6  21.4703
  7  24.9377
  8  5.59977
  9  1.49635e-07
  10  2.69831e-06
  11  0.000675513
  12  13.8328
  13  7.22181
  14  2.56122e-07
  15  2.0403e-05
  16  7.93219
  17  0.256608
  18  0.118819
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  3.014e+01  2.147e+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.641e-01  1.188e-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:  9.360e-01  2.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.66
Ra Dec: 315.366 -29.593
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 8.54e-08 +/- 6.07e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.35e-05

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

Saving results to:
/scratch/kocevski/266619/likelihoodResults_271728001_271987201_4FGL_J2101.4-2935_daily_bin125.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) = 7767.78045832
delta logL = 0.412114639253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7767.76346636
delta logL = 0.4291065987

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.348       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5248       1.0000          .0000       10.000    
     3 'Normalizat'    .90062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97577       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=   7767.763     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      301 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.335        22.923        .88792E-04    .16530E-03
   2  Index         3.5245        .98933        .79520E-02    .25938E-04
   3  Normalizat    .90111        .24843        .36248E-03   -.19195E-04
   4  Prefactor     .97581        .11860        .16865E-03    .18516E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.3354
  Index      = 3.52447
  Normalizat = 0.901109
  Prefactor  = 0.975809
 **********
 **   18 **HESSE 
 **********

 FCN=   7767.763     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.335        20.545        .35517E-05   -1.4806    
   2  Index         3.5245        .88712        .31808E-03   -.29957    
   3  Normalizat    .90111        .24860        .14499E-04   -.96421    
   4  Prefactor     .97581        .11857        .33731E-04   -.93540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17507e-10
Minuit parameter uncertainties:
  1  20.5518
  2  0.892296
  3  0.248922
  4  0.118606
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266619': 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) = 7767.76345631
delta logL = 0.429116647386

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  2.034e+01  2.055e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.524e+00  8.923e-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.758e-01  1.186e-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:  9.011e-01  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.57
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 3.52 +/- 0.89
Photon Flux (Free Index): 1.13e-07 +/- 7.14e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.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/266619/cmap_HighResolution_271728001_271987201_4FGL_J2101.4-2935_daily_bin125.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.61e-02', comment='SUCCESS', photon_flux='8.54e-08', energy_flux2='1.87e-05', photon_flux_error='6.07e-08', dlogl='4.29e-01', energy_flux='1.90e-05', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-09-26 00:59:33.152060', photon_index_error2='0.89', photon_index2='3.52', ts='2.66', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='2.03e-07', energy_flux_error2='1.19e-05', EG='0.94', time_epoch_completed='1632643173.15', return_code='0', job_id='266619', GAL2='0.98', EG2='0.90', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='7.14e-08', ts2='3.57', photon_index='2.81' WHERE bin_id='125' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 00:59:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 266619: <4FGL_J2101.4-2935_daily_bin125> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin125> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 00:45:14 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 00:45:21 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:45:21 2021
Terminated at Sun Sep 26 00:59:33 2021
Results reported at Sun Sep 26 00:59:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin125 315.366 -29.5926 271728001 271987201 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 :                                   604.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             273.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            859 sec.

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

