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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1022
RA = 315.366, Dec = -29.5926
tmin = 504230401, tmax = 504489601
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='272383', job_status='RUN', time_executed='2021-09-26 01:08:10.246152', time_epoch_executed='1632643690.25' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1022'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272383

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272383/ft1_4FGL_J2101.4-2935_daily_bin1022.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272383/ft2_4FGL_J2101.4-2935_daily_bin1022.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272383/ft1_4FGL_J2101.4-2935_daily_bin1022.fits outfile=/scratch/kocevski/272383/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1022.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=504230401.0 tmax=504489601.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.61
user 3.39
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/272383/ft1_filtered_4FGL_J2101.4-2935_daily_bin1022.fits" evtable="EVENTS" scfile=/scratch/kocevski/272383/ft2_4FGL_J2101.4-2935_daily_bin1022.fits sctable="SC_DATA" outfile=/scratch/kocevski/272383/ltcube_504230401_504489601_4FGL_J2101.4-2935_daily_bin1022.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/272383/ft2_4FGL_J2101.4-2935_daily_bin1022.fits
.....................!
real 15.14
user 14.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272383/ft1_filtered_4FGL_J2101.4-2935_daily_bin1022.fits evtable="EVENTS" scfile=/scratch/kocevski/272383/ft2_4FGL_J2101.4-2935_daily_bin1022.fits sctable="SC_DATA" expcube=/scratch/kocevski/272383/ltcube_504230401_504489601_4FGL_J2101.4-2935_daily_bin1022.fits outfile=/scratch/kocevski/272383/expmap_504230401_504489601_4FGL_J2101.4-2935_daily_bin1022.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/272383/ltcube_504230401_504489601_4FGL_J2101.4-2935_daily_bin1022.fits
.....................!
real 190.87
user 185.78
sys 4.29

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/272383/ft1_filtered_4FGL_J2101.4-2935_daily_bin1022.fits scfile=/scratch/kocevski/272383/ft2_4FGL_J2101.4-2935_daily_bin1022.fits outfile=/scratch/kocevski/272383/cmap_504230401_504489601_4FGL_J2101.4-2935_daily_bin1022.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.67
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272383/ft1_filtered_4FGL_J2101.4-2935_daily_bin1022.fits scfile=/scratch/kocevski/272383/ft2_4FGL_J2101.4-2935_daily_bin1022.fits outfile=/scratch/kocevski/272383/cmap_HighResolution_504230401_504489601_4FGL_J2101.4-2935_daily_bin1022.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.57
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/272383/ft1_filtered_4FGL_J2101.4-2935_daily_bin1022.fits evtable="EVENTS" scfile=/scratch/kocevski/272383/ft2_4FGL_J2101.4-2935_daily_bin1022.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/272383/Model_4FGL_J2101.4-2935_daily_bin1022.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/272383/ft1_filtered_4FGL_J2101.4-2935_daily_bin1022.fits.....................!
real 63.84
user 62.50
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18841E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.3348       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .43103E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.445       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0574       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1144       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.742       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .84766E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11670E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .50092       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3566       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99395       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=   7601.748     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     2059 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    7.1191        .19162E-05** at limit **
   2  Prefactor     4.3166        166.67       -.52841E-04    .32697E-05
   3  Prefactor     .10000E-03    1.8402        .14986E-06** at limit **
   4  Prefactor     .10178E-03    1084.2       -.64582E-03** at limit **
   5  norm          .10000E-03    9.6756        .17161E-06** at limit **
   6  Prefactor     32.418        24.481        .21403E-04    .28000E-03
   7  Prefactor     4.0330        55.149        .24850E-04   -.32896E-04
   8  Prefactor     .10000E-03    3.0410        .21057E-07** at limit **
   9  norm          3.1163        4.4087       -.12638E-06   -.65019E-04
  10  Prefactor     15.738        10.848        .10048E-04    .11215E-04
  11  Prefactor     .10000E-03    8.3713        .40777E-05** at limit **
  12  Prefactor     .10000E-03    14.254       -.29682E-06** at limit **
  13  norm          .10000E-03    6.9713        .10344E-06** at limit **
  14  Prefactor     .10000E-03    8.4208       -.35121E-05** at limit **
  15  Prefactor     .10000E-03    33.535       -.12249E-05** at limit **
  16  norm          .49408        2.9851       -.84347E-06    .45000E-03
  17  Normalizat    1.3567        .24153       -.56223E-05    .10587E-02
  18  Prefactor     .99385        .10792        .38288E-06    .15387E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100014
  Prefactor  = 4.31656
  Prefactor  = 0.0001
  Prefactor  = 0.000101781
  norm       = 0.0001
  Prefactor  = 32.4177
  Prefactor  = 4.03301
  Prefactor  = 0.0001
  norm       = 3.11627
  Prefactor  = 15.7383
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.494081
  Normalizat = 1.35673
  Prefactor  = 0.993852
 **********
 **   18 **HESSE 
 **********

 FCN=   7601.748     FROM HESSE     STATUS=OK           250 CALLS     2309 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    69.474        .44242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3166        166.95        .19347E-03   -1.5292    
   3  Prefactor     .10000E-03    1.8445        .11546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10178E-03    1090.1        .38800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    9.6812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     32.418        24.581        .70347E-04   -1.4569    
   7  Prefactor     4.0330        55.025        .20017E-03   -1.5306    
   8  Prefactor     .10000E-03    3.0542        .14845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1163        4.3991        .21257E-03   -1.5355    
  10  Prefactor     15.738        10.848        .10095E-03   -1.4914    
  11  Prefactor     .10000E-03    8.4318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.851        .92808E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.0481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.4249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    33.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .49408        19.475        .28266E-02   -1.5567    
  17  Normalizat    1.3567        .28994        .33935E-03   -.81889    
  18  Prefactor     .99385        .12877        .18343E-03   -.92935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0946e-09
Minuit parameter uncertainties:
  1  0.00198984
  2  53.8523
  3  2.26773e-05
  4  0.089795
  5  5.07216e-05
  6  24.589
  7  29.8266
  8  8.94056e-06
  9  4.39953
  10  10.8491
  11  1.75841e-05
  12  0.000430194
  13  3.33499e-05
  14  1.21025e-05
  15  4.0058e-05
  16  6.20546
  17  0.290289
  18  0.12881
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  3.242e+01  2.459e+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.939e-01  1.288e-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.357e+00  2.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.32
Ra Dec: 315.366 -29.593
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 9.18e-08 +/- 6.96e-08
Energy Flux (Fixed Index): 2.05e-05 +/- 1.55e-05

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

Saving results to:
/scratch/kocevski/272383/likelihoodResults_504230401_504489601_4FGL_J2101.4-2935_daily_bin1022.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) = 7601.74506118
delta logL = 0.00260127956972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7601.7444652
delta logL = 0.00319726613452

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.534       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8614       1.0000          .0000       10.000    
     3 'Normalizat'    1.3542       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99486       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=   7601.744     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      265 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.544        27.251        .71353E-04    .38239E-04
   2  Index         2.8610        .70265        .96232E-02    .17390E-03
   3  Normalizat    1.3543        .26853        .33960E-03    .49545E-04
   4  Prefactor     .99476        .12623        .18336E-03   -.86827E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.5438
  Index      = 2.86098
  Normalizat = 1.35434
  Prefactor  = 0.994759
 **********
 **   18 **HESSE 
 **********

 FCN=   7601.744     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.544        26.668        .28541E-05   -1.4584    
   2  Index         2.8610        .68762        .19246E-02   -.44206    
   3  Normalizat    1.3543        .26875        .13584E-04   -.81958    
   4  Prefactor     .99476        .12629        .36672E-04   -.92904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.09946e-11
Minuit parameter uncertainties:
  1  26.6782
  2  0.690301
  3  0.26903
  4  0.126325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272383': 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) = 7601.74446459
delta logL = 0.00319787415538

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  3.154e+01  2.668e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.861e+00  6.903e-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.948e-01  1.263e-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.354e+00  2.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.32
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 2.86 +/- 0.69
Photon Flux (Free Index): 9.36e-08 +/- 7.32e-08
Energy Flux (Free Index): 2.02e-05 +/- 1.57e-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/272383/cmap_HighResolution_504230401_504489601_4FGL_J2101.4-2935_daily_bin1022.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.81e-02', comment='SUCCESS', photon_flux='9.18e-08', energy_flux2='2.02e-05', photon_flux_error='6.96e-08', dlogl='3.20e-03', energy_flux='2.05e-05', photon_flux2='9.36e-08', job_status='DONE', time_completed='2021-09-26 01:18:35.908518', photon_index_error2='0.69', photon_index2='2.86', ts='2.32', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='2.28e-07', energy_flux_error2='1.57e-05', EG='1.36', time_epoch_completed='1632644315.91', return_code='0', job_id='272383', GAL2='0.99', EG2='1.35', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='7.32e-08', ts2='2.32', photon_index='2.81' WHERE bin_id='1022' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:18:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 272383: <4FGL_J2101.4-2935_daily_bin1022> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1022> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 01:05:31 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:06: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 01:06:21 2021
Terminated at Sun Sep 26 01:18:36 2021
Results reported at Sun Sep 26 01:18:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1022 315.366 -29.5926 504230401 504489601 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 :                                   621.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            785 sec.

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

