/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 174 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 = 7350
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2101.4-2935_daily_bin398
RA = 315.366, Dec = -29.5926
tmin = 342489601, tmax = 342748801
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='268127', job_status='RUN', time_executed='2021-09-26 00:54:56.993970', time_epoch_executed='1632642896.99' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='398'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/268127

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/268127/ft1_4FGL_J2101.4-2935_daily_bin398.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/268127/ft2_4FGL_J2101.4-2935_daily_bin398.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/268127/ft1_4FGL_J2101.4-2935_daily_bin398.fits outfile=/scratch/kocevski/268127/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin398.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=342489601.0 tmax=342748801.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.68
user 3.40
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/268127/ft2_4FGL_J2101.4-2935_daily_bin398.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/268127/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin398.fits evtable="EVENTS" outfile="/scratch/kocevski/268127/ft1_filtered_4FGL_J2101.4-2935_daily_bin398.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.59
user 0.39
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/268127/ft1_filtered_4FGL_J2101.4-2935_daily_bin398.fits" evtable="EVENTS" scfile=/scratch/kocevski/268127/ft2_4FGL_J2101.4-2935_daily_bin398.fits sctable="SC_DATA" outfile=/scratch/kocevski/268127/ltcube_342489601_342748801_4FGL_J2101.4-2935_daily_bin398.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/268127/ft2_4FGL_J2101.4-2935_daily_bin398.fits
.....................!
real 20.90
user 20.37
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/268127/ft1_filtered_4FGL_J2101.4-2935_daily_bin398.fits evtable="EVENTS" scfile=/scratch/kocevski/268127/ft2_4FGL_J2101.4-2935_daily_bin398.fits sctable="SC_DATA" expcube=/scratch/kocevski/268127/ltcube_342489601_342748801_4FGL_J2101.4-2935_daily_bin398.fits outfile=/scratch/kocevski/268127/expmap_342489601_342748801_4FGL_J2101.4-2935_daily_bin398.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/268127/ltcube_342489601_342748801_4FGL_J2101.4-2935_daily_bin398.fits
.....................!
real 197.47
user 192.51
sys 4.33

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/268127/ft1_filtered_4FGL_J2101.4-2935_daily_bin398.fits scfile=/scratch/kocevski/268127/ft2_4FGL_J2101.4-2935_daily_bin398.fits outfile=/scratch/kocevski/268127/cmap_342489601_342748801_4FGL_J2101.4-2935_daily_bin398.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.60
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/268127/ft1_filtered_4FGL_J2101.4-2935_daily_bin398.fits scfile=/scratch/kocevski/268127/ft2_4FGL_J2101.4-2935_daily_bin398.fits outfile=/scratch/kocevski/268127/cmap_HighResolution_342489601_342748801_4FGL_J2101.4-2935_daily_bin398.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.60
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/268127/ft1_filtered_4FGL_J2101.4-2935_daily_bin398.fits evtable="EVENTS" scfile=/scratch/kocevski/268127/ft2_4FGL_J2101.4-2935_daily_bin398.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/268127/Model_4FGL_J2101.4-2935_daily_bin398.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/268127/ft1_filtered_4FGL_J2101.4-2935_daily_bin398.fits.....................!
real 87.36
user 85.12
sys 1.48

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.066       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.520       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.4288       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11995E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0927       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2514       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.091       1.0000         .10000E-03   10000.    
    13 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.9139       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21168E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.5486       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .89147       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96864       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=   10558.57     FROM MIGRAD    STATUS=CONVERGED    373 CALLS     1552 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.6741       -.14089E-06** at limit **
   2  Prefactor     12.935        36.857       -.27508E-06   -.94941E-04
   3  Prefactor     15.524        5.6178        .60822E-08   -.35768E-04
   4  Prefactor     .10000E-03    47.068       -.10879E-06** at limit **
   5  norm          5.4280        9.3964        .19503E-07   -.21241E-04
   6  Prefactor     .10000E-03    23.554        .32981E-06** at limit **
   7  Prefactor     .10000E-03    27.211        .71309E-06** at limit **
   8  Prefactor     1.0900        4.3646        .37654E-05   -.76193E-04
   9  norm          .10000E-03    2.4163        .35082E-07** at limit **
  10  Prefactor     .10000E-03    1.5520        .33241E-07** at limit **
  11  Prefactor     3.2496        7.6006        .89798E-06   -.69346E-05
  12  Prefactor     15.092        12.049        .24700E-06   -.42568E-04
  13  norm          .10000E-03    3.1293        .10750E-06** at limit **
  14  Prefactor     7.9316        13.397        .11695E-05   -.29516E-04
  15  Prefactor     .10000E-03    142.55        .16656E-05** at limit **
  16  norm          3.5481        4.2434        .78518E-06   -.48722E-04
  17  Normalizat    .89174        .17571       -.22408E-05   -.87309E-04
  18  Prefactor     .96852        .82097E-01    .41446E-06   -.42811E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 12.935
  Prefactor  = 15.5241
  Prefactor  = 0.0001
  norm       = 5.42798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.09001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.24958
  Prefactor  = 15.0919
  norm       = 0.0001
  Prefactor  = 7.93157
  Prefactor  = 0.0001
  norm       = 3.54813
  Normalizat = 0.891738
  Prefactor  = 0.968519
 **********
 **   18 **HESSE 
 **********

 FCN=   10558.57     FROM HESSE     STATUS=OK           244 CALLS     1796 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6805        .16403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.935        36.879        .11081E-03   -1.4989    
   3  Prefactor     15.524        5.6115        .10167E-03   -1.4920    
   4  Prefactor     .10000E-03    47.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.4280        9.3870        .17246E-03   -1.5242    
   6  Prefactor     .10000E-03    24.242        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    27.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0900        4.4013        .40185E-03   -1.5499    
   9  norm          .10000E-03    2.4266        .15599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.5577        .12501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2496        7.6117        .22461E-03   -1.5347    
  12  Prefactor     15.092        12.062        .10310E-03   -1.4931    
  13  norm          .10000E-03    3.1514        .17744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9316        13.319        .14253E-03   -1.5145    
  15  Prefactor     .10000E-03    143.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.5481        4.2444        .21430E-03   -1.5331    
  17  Normalizat    .89174        .20440        .33624E-03   -.96751    
  18  Prefactor     .96852        .96918E-01    .16148E-03   -.93786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80779e-10
Minuit parameter uncertainties:
  1  3.97674e-06
  2  36.9438
  3  5.61172
  4  8.56095e-05
  5  9.38955
  6  1.50378e-05
  7  7.57345e-05
  8  4.38098
  9  7.4941e-08
  10  4.64887e-07
  11  7.614
  12  12.0643
  13  1.63124e-06
  14  13.3237
  15  0.000228908
  16  4.24471
  17  0.204581
  18  0.0969354
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.504e-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.685e-01  9.694e-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:  8.917e-01  2.046e-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: 7.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/268127/likelihoodResults_342489601_342748801_4FGL_J2101.4-2935_daily_bin398.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) = 10558.5727326
delta logL = -0.000196798624529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10558.5725358
delta logL = -4.39285940956e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10271E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8254       1.0000          .0000       10.000    
     3 'Normalizat'    .89176       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96852       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=   10558.57     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      252 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10183E-03    333.03        .36285E-02** at limit **
   2  Index         2.9008        5.9973        .50000       -.54206E-05
   3  Normalizat    .89174        .15519E-01    .33624E-03    .10191E-03
   4  Prefactor     .96852        .77916E-02    .16148E-03    .18198E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101832
  Index      = 2.90077
  Normalizat = 0.891737
  Prefactor  = 0.968519
 **********
 **   18 **HESSE 
 **********

 FCN=   10558.57     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10183E-03    1569.2        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9008        8.4849        .50000       -.43328    
   3  Normalizat    .89174        .36571E-01    .13450E-04   -.96751    
   4  Prefactor     .96852        .18361E-01    .32295E-04   -.93786    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.55685e-08
Minuit parameter uncertainties:
  1  0.110244
  2  1645.69
  3  0.0365719
  4  0.0183611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/268127': 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) = 10558.5725357
delta logL = 9.62045305641e-08

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.018e-04  1.102e-01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.901e+00  1.646e+03  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.685e-01  1.836e-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:  8.917e-01  3.657e-02  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/268127/cmap_HighResolution_342489601_342748801_4FGL_J2101.4-2935_daily_bin398.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.16e-03', job_status='DONE', photon_flux_upper_limit='7.78e-08', time_completed='2021-09-26 01:07:03.917648', job_id='268127', GAL2='0.97', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632643623.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='9.62e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='398' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:07:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 268127: <4FGL_J2101.4-2935_daily_bin398> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin398> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 26 00:50:28 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 00:51:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 00:51:49 2021
Terminated at Sun Sep 26 01:07:04 2021
Results reported at Sun Sep 26 01:07:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin398 315.366 -29.5926 342489601 342748801 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 :                                   726.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            996 sec.

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

