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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1063
RA = 315.366, Dec = -29.5926
tmin = 514857601, tmax = 515116801
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='272440', job_status='RUN', time_executed='2021-09-26 01:10:08.501053', time_epoch_executed='1632643808.5' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1063'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272440

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272440/ft1_4FGL_J2101.4-2935_daily_bin1063.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272440/ft2_4FGL_J2101.4-2935_daily_bin1063.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272440/ft1_4FGL_J2101.4-2935_daily_bin1063.fits outfile=/scratch/kocevski/272440/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1063.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=514857601.0 tmax=515116801.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.66
user 3.34
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/272440/ft1_filtered_4FGL_J2101.4-2935_daily_bin1063.fits" evtable="EVENTS" scfile=/scratch/kocevski/272440/ft2_4FGL_J2101.4-2935_daily_bin1063.fits sctable="SC_DATA" outfile=/scratch/kocevski/272440/ltcube_514857601_515116801_4FGL_J2101.4-2935_daily_bin1063.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/272440/ft2_4FGL_J2101.4-2935_daily_bin1063.fits
.....................!
real 16.62
user 16.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272440/ft1_filtered_4FGL_J2101.4-2935_daily_bin1063.fits evtable="EVENTS" scfile=/scratch/kocevski/272440/ft2_4FGL_J2101.4-2935_daily_bin1063.fits sctable="SC_DATA" expcube=/scratch/kocevski/272440/ltcube_514857601_515116801_4FGL_J2101.4-2935_daily_bin1063.fits outfile=/scratch/kocevski/272440/expmap_514857601_515116801_4FGL_J2101.4-2935_daily_bin1063.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/272440/ltcube_514857601_515116801_4FGL_J2101.4-2935_daily_bin1063.fits
.....................!
real 194.62
user 187.78
sys 5.19

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/272440/ft1_filtered_4FGL_J2101.4-2935_daily_bin1063.fits scfile=/scratch/kocevski/272440/ft2_4FGL_J2101.4-2935_daily_bin1063.fits outfile=/scratch/kocevski/272440/cmap_514857601_515116801_4FGL_J2101.4-2935_daily_bin1063.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272440/ft1_filtered_4FGL_J2101.4-2935_daily_bin1063.fits scfile=/scratch/kocevski/272440/ft2_4FGL_J2101.4-2935_daily_bin1063.fits outfile=/scratch/kocevski/272440/cmap_HighResolution_514857601_515116801_4FGL_J2101.4-2935_daily_bin1063.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8338       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15218E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2500       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    27.806       1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.362       1.0000         .10000E-03   10000.    
     7 'Prefactor '    60.491       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.6692       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3944       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.4734       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.439       1.0000         .10000E-03   10000.    
    16 'norm      '    2.5827       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1538       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0012       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=   7795.640     FROM MIGRAD    STATUS=CONVERGED    364 CALLS     2017 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8349        10.105        .67073E-06    .48272E-05
   2  Prefactor     .10000E-03    259.86        .29144E-05** at limit **
   3  Prefactor     6.2520        6.3050        .37543E-06   -.26049E-04
   4  Prefactor     .10000E-03    747.37       -.10782E-04** at limit **
   5  norm          27.799        24.457       -.42318E-05    .43622E-04
   6  Prefactor     34.362        24.553       -.67407E-07   -.45858E-05
   7  Prefactor     60.493        34.012        .51826E-06   -.17166E-04
   8  Prefactor     .10000E-03    4.0911        .78001E-07** at limit **
   9  norm          5.6693        7.8976        .21747E-06   -.23495E-04
  10  Prefactor     .10000E-03    2.3501        .50620E-07** at limit **
  11  Prefactor     1.3957        10.986        .26160E-05   -.31065E-04
  12  Prefactor     .10000E-03    8.3678        .15630E-06** at limit **
  13  norm          1.4739        7.9739        .19859E-05   -.30379E-04
  14  Prefactor     .10000E-03    96.776        .18966E-05** at limit **
  15  Prefactor     29.441        58.301       -.10577E-05   -.25820E-04
  16  norm          2.5837        4.8507        .81951E-06   -.45871E-04
  17  Normalizat    1.1538        .23599       -.24906E-05   -.48290E-04
  18  Prefactor     1.0012        .10782       -.26509E-06   -.20711E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.83486
  Prefactor  = 0.000100004
  Prefactor  = 6.25202
  Prefactor  = 0.0001
  norm       = 27.7985
  Prefactor  = 34.3618
  Prefactor  = 60.4926
  Prefactor  = 0.0001
  norm       = 5.66933
  Prefactor  = 0.0001
  Prefactor  = 1.3957
  Prefactor  = 0.0001
  norm       = 1.4739
  Prefactor  = 0.0001
  Prefactor  = 29.4411
  norm       = 2.58369
  Normalizat = 1.15383
  Prefactor  = 1.00121
 **********
 **   18 **HESSE 
 **********

 FCN=   7795.640     FROM HESSE     STATUS=OK           246 CALLS     2263 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8349        10.115        .15348E-03   -1.5185    
   2  Prefactor     .10000E-03    263.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2520        6.2995        .16057E-03   -1.5208    
   4  Prefactor     .10000E-03    746.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          27.799        24.292        .75974E-04   -1.4653    
   6  Prefactor     34.362        24.593        .68362E-04   -1.4535    
   7  Prefactor     60.493        34.064        .51588E-04   -1.4151    
   8  Prefactor     .10000E-03    4.1346        .17438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.6693        7.8941        .16871E-03   -1.5232    
  10  Prefactor     .10000E-03    2.3539        .13219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.3957        10.992        .36779E-03   -1.5472    
  12  Prefactor     .10000E-03    8.3913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4739        7.9370        .35391E-03   -1.5465    
  14  Prefactor     .10000E-03    98.434        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.441        57.715        .73841E-04   -1.4622    
  16  norm          2.5837        4.8256        .24707E-03   -1.5386    
  17  Normalizat    1.1538        .27697        .35318E-03   -.88042    
  18  Prefactor     1.0012        .12814        .18223E-03   -.92689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.30813e-11
Minuit parameter uncertainties:
  1  10.1173
  2  0.00218016
  3  6.30017
  4  0.000457099
  5  24.3003
  6  24.5998
  7  34.0748
  8  2.06839e-05
  9  7.89556
  10  2.85631e-06
  11  7.83519
  12  1.50285e-05
  13  6.84175
  14  0.000337209
  15  57.8249
  16  4.8263
  17  0.277324
  18  0.12818
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  3.436e+01  2.460e+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.001e+00  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.154e+00  2.773e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.53
Ra Dec: 315.366 -29.593
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 9.73e-08 +/- 6.96e-08
Energy Flux (Fixed Index): 2.17e-05 +/- 1.55e-05

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

Saving results to:
/scratch/kocevski/272440/likelihoodResults_514857601_515116801_4FGL_J2101.4-2935_daily_bin1063.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) = 7795.52111808
delta logL = 0.118451363227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7795.51666202
delta logL = 0.122907428593

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.029       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2669       1.0000          .0000       10.000    
     3 'Normalizat'    1.1306       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0106       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=   7795.517     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      293 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.036        33.897        .78520E-04    .29826E-04
   2  Index         3.2669        1.2286        .93734E-02    .35862E-03
   3  Normalizat    1.1306        .26382        .35623E-03    .91810E-03
   4  Prefactor     1.0105        .12719        .18149E-03    .21198E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0362
  Index      = 3.26687
  Normalizat = 1.13063
  Prefactor  = 1.01051
 **********
 **   18 **HESSE 
 **********

 FCN=   7795.517     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.036        30.036        .31408E-05   -1.4687    
   2  Index         3.2669        1.0904        .18747E-02   -.35397    
   3  Normalizat    1.1306        .26359        .71246E-04   -.88774    
   4  Prefactor     1.0105        .12684        .36298E-04   -.92380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0842e-09
Minuit parameter uncertainties:
  1  30.0531
  2  1.10052
  3  0.263902
  4  0.126881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272440': 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) = 7795.51666102
delta logL = 0.122908420843

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  2.604e+01  3.005e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.267e+00  1.101e+00  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.011e+00  1.269e-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.131e+00  2.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.81
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 3.27 +/- 1.10
Photon Flux (Free Index): 1.12e-07 +/- 7.83e-08
Energy Flux (Free Index): 2.00e-05 +/- 1.47e-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/272440/cmap_HighResolution_514857601_515116801_4FGL_J2101.4-2935_daily_bin1063.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.82e-02', comment='SUCCESS', photon_flux='9.73e-08', energy_flux2='2.00e-05', photon_flux_error='6.96e-08', dlogl='1.23e-01', energy_flux='2.17e-05', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-09-26 01:20:52.966272', photon_index_error2='1.10', photon_index2='3.27', ts='2.53', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='2.30e-07', energy_flux_error2='1.47e-05', EG='1.15', time_epoch_completed='1632644452.97', return_code='0', job_id='272440', GAL2='1.01', EG2='1.13', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='7.83e-08', ts2='2.81', photon_index='2.81' WHERE bin_id='1063' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:20:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 272440: <4FGL_J2101.4-2935_daily_bin1063> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1063> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 01:05:35 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:06:33 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:33 2021
Terminated at Sun Sep 26 01:20:53 2021
Results reported at Sun Sep 26 01:20:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1063 315.366 -29.5926 514857601 515116801 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 :                                   637.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             259.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            918 sec.

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

