/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 18 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_bin1542
RA = 315.366, Dec = -29.5926
tmin = 639014401, tmax = 639273601
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='275324', job_status='RUN', time_executed='2021-09-26 01:16:50.611202', time_epoch_executed='1632644210.61' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1542'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/275324

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/275324/ft1_4FGL_J2101.4-2935_daily_bin1542.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/275324/ft2_4FGL_J2101.4-2935_daily_bin1542.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/275324/ft1_4FGL_J2101.4-2935_daily_bin1542.fits outfile=/scratch/kocevski/275324/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1542.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=639014401.0 tmax=639273601.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 5.57
user 5.23
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/275324/ft2_4FGL_J2101.4-2935_daily_bin1542.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/275324/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1542.fits evtable="EVENTS" outfile="/scratch/kocevski/275324/ft1_filtered_4FGL_J2101.4-2935_daily_bin1542.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.56
user 0.35
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/275324/ft1_filtered_4FGL_J2101.4-2935_daily_bin1542.fits" evtable="EVENTS" scfile=/scratch/kocevski/275324/ft2_4FGL_J2101.4-2935_daily_bin1542.fits sctable="SC_DATA" outfile=/scratch/kocevski/275324/ltcube_639014401_639273601_4FGL_J2101.4-2935_daily_bin1542.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/275324/ft2_4FGL_J2101.4-2935_daily_bin1542.fits
.....................!
real 20.45
user 19.90
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/275324/ft1_filtered_4FGL_J2101.4-2935_daily_bin1542.fits evtable="EVENTS" scfile=/scratch/kocevski/275324/ft2_4FGL_J2101.4-2935_daily_bin1542.fits sctable="SC_DATA" expcube=/scratch/kocevski/275324/ltcube_639014401_639273601_4FGL_J2101.4-2935_daily_bin1542.fits outfile=/scratch/kocevski/275324/expmap_639014401_639273601_4FGL_J2101.4-2935_daily_bin1542.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/275324/ltcube_639014401_639273601_4FGL_J2101.4-2935_daily_bin1542.fits
.....................!
real 197.79
user 191.65
sys 5.52

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/275324/ft1_filtered_4FGL_J2101.4-2935_daily_bin1542.fits scfile=/scratch/kocevski/275324/ft2_4FGL_J2101.4-2935_daily_bin1542.fits outfile=/scratch/kocevski/275324/cmap_639014401_639273601_4FGL_J2101.4-2935_daily_bin1542.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/275324/ft1_filtered_4FGL_J2101.4-2935_daily_bin1542.fits scfile=/scratch/kocevski/275324/ft2_4FGL_J2101.4-2935_daily_bin1542.fits outfile=/scratch/kocevski/275324/cmap_HighResolution_639014401_639273601_4FGL_J2101.4-2935_daily_bin1542.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.59
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/275324/ft1_filtered_4FGL_J2101.4-2935_daily_bin1542.fits evtable="EVENTS" scfile=/scratch/kocevski/275324/ft2_4FGL_J2101.4-2935_daily_bin1542.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/275324/Model_4FGL_J2101.4-2935_daily_bin1542.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/275324/ft1_filtered_4FGL_J2101.4-2935_daily_bin1542.fits.....................!
real 88.47
user 86.83
sys 1.43

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1215       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2513       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3684       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.201       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8257       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.4402       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14341E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.5931       1.0000         .10000E-03   10000.    
    13 'norm      '    2.7822       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.5406       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3803       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87935       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=   10425.05     FROM MIGRAD    STATUS=CONVERGED    347 CALLS     1718 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1218        7.6090       -.16165E-06   -.63706E-04
   2  Prefactor     .10000E-03    15.714        .12281E-04** at limit **
   3  Prefactor     3.2509        4.6787       -.43900E-07   -.21629E-03
   4  Prefactor     9.3593        77.323       -.18458E-04   -.45969E-04
   5  norm          .10000E-03    6.0945        .73866E-06** at limit **
   6  Prefactor     24.196        18.035       -.28418E-05   -.15344E-03
   7  Prefactor     8.8233        18.158       -.28632E-05   -.57174E-04
   8  Prefactor     .10000E-03    3.6636        .70981E-07** at limit **
   9  norm          5.4402        5.8978       -.65729E-07   -.27006E-04
  10  Prefactor     .10000E-03    2.2661       -.51479E-06** at limit **
  11  Prefactor     .10000E-03    6.0214        .52683E-06** at limit **
  12  Prefactor     7.5925        6.3079       -.78712E-07    .48513E-04
  13  norm          2.7815        2.7182        .12698E-05   -.35279E-02
  14  Prefactor     .10000E-03    12.350       -.56007E-05** at limit **
  15  Prefactor     .10000E-03    20.137       -.75921E-05** at limit **
  16  norm          2.5394        3.6807       -.29499E-06   -.14858E-03
  17  Normalizat    1.3804        .18490        .12812E-05    .14370E-05
  18  Prefactor     .87930        .87890E-01    .72239E-07    .11863E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.1218
  Prefactor  = 0.000100002
  Prefactor  = 3.25088
  Prefactor  = 9.35926
  norm       = 0.0001
  Prefactor  = 24.1959
  Prefactor  = 8.82333
  Prefactor  = 0.0001
  norm       = 5.44017
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 7.59255
  norm       = 2.78153
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.53944
  Normalizat = 1.38042
  Prefactor  = 0.879298
 **********
 **   18 **HESSE 
 **********

 FCN=   10425.05     FROM HESSE     STATUS=OK           250 CALLS     1968 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1218        7.6180        .17765E-03   -1.5255    
   2  Prefactor     .10000E-03    15.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2509        4.6742        .22461E-03   -1.5347    
   4  Prefactor     9.3593        77.977        .13093E-03   -1.5096    
   5  norm          .10000E-03    6.1007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.196        18.113        .81427E-04   -1.4724    
   7  Prefactor     8.8233        18.182        .13492E-03   -1.5114    
   8  Prefactor     .10000E-03    3.7128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.4402        5.8940        .17228E-03   -1.5241    
  10  Prefactor     .10000E-03    5.6503        .29883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.1168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.5925        6.3104        .14553E-03   -1.5157    
  13  norm          2.7815        5.1472        .12198E-02   -1.5374    
  14  Prefactor     .10000E-03    12.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.5394        3.6844        .22455E-03   -1.5389    
  17  Normalizat    1.3804        .22008        .30844E-03   -.81197    
  18  Prefactor     .87930        .10446        .18288E-03   -.96868    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22895e-08
Minuit parameter uncertainties:
  1  7.61943
  2  0.00036715
  3  4.6747
  4  54.1254
  5  2.61046e-05
  6  18.1174
  7  18.193
  8  1.34089e-05
  9  5.8946
  10  0.000134569
  11  3.82637e-06
  12  6.31095
  13  5.14801
  14  0.000131489
  15  0.000252879
  16  3.68469
  17  0.220232
  18  0.104486
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  2.420e+01  1.812e+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.793e-01  1.045e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.380e+00  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.38
Ra Dec: 315.366 -29.593
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 6.85e-08 +/- 5.12e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.14e-05

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

Saving results to:
/scratch/kocevski/275324/likelihoodResults_639014401_639273601_4FGL_J2101.4-2935_daily_bin1542.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) = 10424.9816937
delta logL = 0.0642899279737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10424.9772273
delta logL = 0.0687563916235

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.658       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1783       1.0000          .0000       10.000    
     3 'Normalizat'    1.3604       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88630       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=   10424.98     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      268 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.679        301.31        .22031E-02    .69495E-03
   2  Index         3.1777        6.5561        .21727        .11331E-03
   3  Normalizat    1.3605        .76388E-01    .70129E-01   -.21855E-04
   4  Prefactor     .88608        .33777E-01    .44830E-01   -.67355E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.6787
  Index      = 3.17773
  Normalizat = 1.36048
  Prefactor  = 0.886082
 **********
 **   18 **HESSE 
 **********

 FCN=   10424.98     FROM HESSE     STATUS=OK            33 CALLS      301 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.679        25.435        .44062E-03   -1.4798    
   2  Index         3.1777        1.3453        .11893E-01   -.37305    
   3  Normalizat    1.3605        .22140        .31028E-03   -.81779    
   4  Prefactor     .88608        .10555        .18226E-03   -.96629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80018e-08
Minuit parameter uncertainties:
  1  25.4487
  2  1.36473
  3  0.22156
  4  0.105578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/275324': 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) = 10424.9772214
delta logL = 0.0687622630685

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  2.068e+01  2.545e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.178e+00  1.365e+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:  8.861e-01  1.056e-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.360e+00  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.54
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 3.18 +/- 1.36
Photon Flux (Free Index): 8.18e-08 +/- 6.22e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.13e-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/275324/cmap_HighResolution_639014401_639273601_4FGL_J2101.4-2935_daily_bin1542.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-02', comment='SUCCESS', photon_flux='6.85e-08', energy_flux2='1.51e-05', photon_flux_error='5.12e-08', dlogl='6.88e-02', energy_flux='1.53e-05', photon_flux2='8.18e-08', job_status='DONE', time_completed='2021-09-26 01:29:44.784207', photon_index_error2='1.36', photon_index2='3.18', ts='2.38', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.68e-07', energy_flux_error2='1.13e-05', EG='1.38', time_epoch_completed='1632644984.78', return_code='0', job_id='275324', GAL2='0.89', EG2='1.36', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='6.22e-08', ts2='2.54', photon_index='2.81' WHERE bin_id='1542' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:29:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 275324: <4FGL_J2101.4-2935_daily_bin1542> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1542> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 26 01:15:38 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:16:20 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:16:20 2021
Terminated at Sun Sep 26 01:29:45 2021
Results reported at Sun Sep 26 01:29:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1542 315.366 -29.5926 639014401 639273601 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 :                                   750.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            847 sec.

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

