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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin878
RA = 315.366, Dec = -29.5926
tmin = 466905601, tmax = 467164801
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='272178', job_status='RUN', time_executed='2021-09-26 01:07:32.718538', time_epoch_executed='1632643652.72' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='878'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272178

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272178/ft1_4FGL_J2101.4-2935_daily_bin878.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272178/ft2_4FGL_J2101.4-2935_daily_bin878.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272178/ft1_4FGL_J2101.4-2935_daily_bin878.fits outfile=/scratch/kocevski/272178/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin878.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=466905601.0 tmax=467164801.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.38
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/272178/ft1_filtered_4FGL_J2101.4-2935_daily_bin878.fits" evtable="EVENTS" scfile=/scratch/kocevski/272178/ft2_4FGL_J2101.4-2935_daily_bin878.fits sctable="SC_DATA" outfile=/scratch/kocevski/272178/ltcube_466905601_467164801_4FGL_J2101.4-2935_daily_bin878.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/272178/ft2_4FGL_J2101.4-2935_daily_bin878.fits
.....................!
real 13.83
user 13.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272178/ft1_filtered_4FGL_J2101.4-2935_daily_bin878.fits evtable="EVENTS" scfile=/scratch/kocevski/272178/ft2_4FGL_J2101.4-2935_daily_bin878.fits sctable="SC_DATA" expcube=/scratch/kocevski/272178/ltcube_466905601_467164801_4FGL_J2101.4-2935_daily_bin878.fits outfile=/scratch/kocevski/272178/expmap_466905601_467164801_4FGL_J2101.4-2935_daily_bin878.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/272178/ltcube_466905601_467164801_4FGL_J2101.4-2935_daily_bin878.fits
.....................!
real 191.54
user 186.15
sys 4.99

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/272178/ft1_filtered_4FGL_J2101.4-2935_daily_bin878.fits scfile=/scratch/kocevski/272178/ft2_4FGL_J2101.4-2935_daily_bin878.fits outfile=/scratch/kocevski/272178/cmap_466905601_467164801_4FGL_J2101.4-2935_daily_bin878.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.65
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272178/ft1_filtered_4FGL_J2101.4-2935_daily_bin878.fits scfile=/scratch/kocevski/272178/ft2_4FGL_J2101.4-2935_daily_bin878.fits outfile=/scratch/kocevski/272178/cmap_HighResolution_466905601_467164801_4FGL_J2101.4-2935_daily_bin878.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=315.366 yref=-29.5926 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/272178/ft1_filtered_4FGL_J2101.4-2935_daily_bin878.fits evtable="EVENTS" scfile=/scratch/kocevski/272178/ft2_4FGL_J2101.4-2935_daily_bin878.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/272178/Model_4FGL_J2101.4-2935_daily_bin878.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/272178/ft1_filtered_4FGL_J2101.4-2935_daily_bin878.fits.....................!
real 76.36
user 74.98
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4619       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.500       1.0000         .10000E-03   10000.    
     5 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11396E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.766       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .38731       1.0000         .10000E-03   10000.    
     9 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3414       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.841       1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.2329       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1050       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96309       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=   9542.053     FROM MIGRAD    STATUS=CONVERGED    364 CALLS     1733 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.8778        .40438E-08** at limit **
   2  Prefactor     1.4002        100.50       -.10790E-03    .86915E-05
   3  Prefactor     .10000E-03    2.2322        .36710E-06** at limit **
   4  Prefactor     43.497        51.352       -.40940E-05    .83456E-04
   5  norm          .10000E-03    6.3285        .49107E-05** at limit **
   6  Prefactor     .10000E-03    35.736       -.69332E-05** at limit **
   7  Prefactor     22.764        21.213       -.24513E-05    .32794E-04
   8  Prefactor     .38326        2.6644       -.17186E-05    .84556E-03
   9  norm          .10000E-03    7.7320        .10670E-05** at limit **
  10  Prefactor     .10000E-03    6.3433       -.57693E-05** at limit **
  11  Prefactor     3.3457        9.2095        .12568E-05   -.24137E-03
  12  Prefactor     12.842        10.072        .10659E-06    .16732E-04
  13  norm          .10000E-03    4.5888       -.18380E-06** at limit **
  14  Prefactor     .10000E-03    10.479       -.29438E-06** at limit **
  15  Prefactor     .10000E-03    51.600        .20167E-04** at limit **
  16  norm          3.2330        4.1319        .83644E-06   -.96882E-03
  17  Normalizat    1.1049        .18933        .17734E-05    .80184E-03
  18  Prefactor     .96309        .88238E-01    .12937E-05    .11861E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.40018
  Prefactor  = 0.0001
  Prefactor  = 43.497
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.7639
  Prefactor  = 0.383255
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.34569
  Prefactor  = 12.8422
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.23303
  Normalizat = 1.10489
  Prefactor  = 0.963093
 **********
 **   18 **HESSE 
 **********

 FCN=   9542.053     FROM HESSE     STATUS=OK           238 CALLS     1971 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8981        .16181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4002        104.32        .35580E-03   -1.5471    
   3  Prefactor     .10000E-03    2.2602        .14252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     43.497        51.381        .60784E-04   -1.4388    
   5  norm          .10000E-03    6.3343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    36.638        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.764        21.244        .83949E-04   -1.4753    
   8  Prefactor     .38326        21.568        .29699E-02   -1.5584    
   9  norm          .10000E-03    8.0938        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.5314        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3457        9.2557        .22142E-03   -1.5342    
  12  Prefactor     12.842        10.086        .11178E-03   -1.4991    
  13  norm          .10000E-03    4.6648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    51.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.2330        4.1374        .21399E-03   -1.5348    
  17  Normalizat    1.1049        .22689        .32477E-03   -.89595    
  18  Prefactor     .96309        .10561        .16929E-03   -.93970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.55316e-09
Minuit parameter uncertainties:
  1  8.03177e-06
  2  24.2143
  3  5.75985e-05
  4  51.4334
  5  3.88295e-06
  6  2.43655e-05
  7  21.2515
  8  5.75158
  9  4.46443e-05
  10  1.60376e-05
  11  9.25966
  12  10.0868
  13  2.8898e-05
  14  4.87603e-05
  15  0.000229182
  16  4.13772
  17  0.227092
  18  0.105633
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  2.437e-05  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.631e-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.105e+00  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 315.366 -29.593
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/272178/likelihoodResults_466905601_467164801_4FGL_J2101.4-2935_daily_bin878.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): 102
logL (Free Index) = 9542.05278735
delta logL = -0.000130131285914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9542.05265963
delta logL = -2.41607995122e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3621       1.0000          .0000       10.000    
     3 'Normalizat'    1.1048       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96316       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=   9541.999     FROM MIGRAD    STATUS=CONVERGED    165 CALLS      357 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4353        22.242        .53530E-01    .14787E-02
   2  Index         4.2929        2.4016        .50000        .46801E-04
   3  Normalizat    1.0860        .15924E-01    .32477E-03    .74422E-04
   4  Prefactor     .96714        .78575E-02    .16929E-03    .34374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4353
  Index      = 4.29293
  Normalizat = 1.086
  Prefactor  = 0.967137
 **********
 **   18 **HESSE 
 **********

 FCN=   9541.999     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      388 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4353        630.21        .27120E-02   -1.5468    
   2  Index         4.2929        5.9103        .14559E-01   -.14189    
   3  Normalizat    1.0860        .20101        .12991E-04   -.90203    
   4  Prefactor     .96714        .80579E-01    .33859E-04   -.93833    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.24627e-08
Minuit parameter uncertainties:
  1  60.8041
  2  29.2862
  3  0.20115
  4  0.0805885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272178': 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): 102
logL (Free Index) = 9541.99883056
delta logL = 0.0538266541953

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.435e+00  6.080e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  4.293e+00  2.929e+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.671e-01  8.059e-02  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.086e+00  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 315.366 -29.593

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/272178/cmap_HighResolution_466905601_467164801_4FGL_J2101.4-2935_daily_bin878.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.92e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-09-26 01:19:05.896624', job_id='272178', GAL2='0.97', fit_tolerance='1e-08', EG2='1.09', EG='1.10', time_epoch_completed='1632644345.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.38e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='878' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:19:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 272178: <4FGL_J2101.4-2935_daily_bin878> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin878 315.366 -29.5926 466905601 467164801 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 :                                   689.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            830 sec.

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

