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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1130
RA = 315.366, Dec = -29.5926
tmin = 532224001, tmax = 532483201
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='273663', job_status='RUN', time_executed='2021-09-26 01:11:45.727401', time_epoch_executed='1632643905.73' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1130'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/273663

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/273663/ft1_4FGL_J2101.4-2935_daily_bin1130.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/273663/ft2_4FGL_J2101.4-2935_daily_bin1130.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/273663/ft1_4FGL_J2101.4-2935_daily_bin1130.fits outfile=/scratch/kocevski/273663/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1130.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=532224001.0 tmax=532483201.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.54
user 3.31
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/273663/ft1_filtered_4FGL_J2101.4-2935_daily_bin1130.fits" evtable="EVENTS" scfile=/scratch/kocevski/273663/ft2_4FGL_J2101.4-2935_daily_bin1130.fits sctable="SC_DATA" outfile=/scratch/kocevski/273663/ltcube_532224001_532483201_4FGL_J2101.4-2935_daily_bin1130.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/273663/ft2_4FGL_J2101.4-2935_daily_bin1130.fits
.....................!
real 14.02
user 13.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/273663/ft1_filtered_4FGL_J2101.4-2935_daily_bin1130.fits evtable="EVENTS" scfile=/scratch/kocevski/273663/ft2_4FGL_J2101.4-2935_daily_bin1130.fits sctable="SC_DATA" expcube=/scratch/kocevski/273663/ltcube_532224001_532483201_4FGL_J2101.4-2935_daily_bin1130.fits outfile=/scratch/kocevski/273663/expmap_532224001_532483201_4FGL_J2101.4-2935_daily_bin1130.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/273663/ltcube_532224001_532483201_4FGL_J2101.4-2935_daily_bin1130.fits
.....................!
real 193.25
user 187.26
sys 4.64

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/273663/ft1_filtered_4FGL_J2101.4-2935_daily_bin1130.fits scfile=/scratch/kocevski/273663/ft2_4FGL_J2101.4-2935_daily_bin1130.fits outfile=/scratch/kocevski/273663/cmap_532224001_532483201_4FGL_J2101.4-2935_daily_bin1130.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/273663/ft1_filtered_4FGL_J2101.4-2935_daily_bin1130.fits scfile=/scratch/kocevski/273663/ft2_4FGL_J2101.4-2935_daily_bin1130.fits outfile=/scratch/kocevski/273663/cmap_HighResolution_532224001_532483201_4FGL_J2101.4-2935_daily_bin1130.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/273663/ft1_filtered_4FGL_J2101.4-2935_daily_bin1130.fits evtable="EVENTS" scfile=/scratch/kocevski/273663/ft2_4FGL_J2101.4-2935_daily_bin1130.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/273663/Model_4FGL_J2101.4-2935_daily_bin1130.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/273663/ft1_filtered_4FGL_J2101.4-2935_daily_bin1130.fits.....................!
real 55.88
user 54.07
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.297       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10662E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    167.51       1.0000         .10000E-03   10000.    
     5 'norm      '    .55416       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.419       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10674E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.3035       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.823       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.905       1.0000         .10000E-03   10000.    
    13 'norm      '    5.9619       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.054       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3655       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87820       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=   5796.669     FROM MIGRAD    STATUS=CONVERGED    618 CALLS     2036 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.294        13.059        .10593E-03    .79848E-04
   2  Prefactor     .10000E-03    44.107        .18142E-02** at limit **
   3  Prefactor     .10000E-03    14.932        .33195E-02** at limit **
   4  Prefactor     167.67        136.33        .15584E-03   -.65655E-05
   5  norm          .49519        49.794        .12560        .13032E-03
   6  Prefactor     .10000E-03    9.9602        .18142E-02** at limit **
   7  Prefactor     25.401        33.975        .79455E-04   -.20418E-03
   8  Prefactor     .10000E-03    16.498        .36285E-03** at limit **
   9  norm          .10000E-03    6.2386        .18142E-02** at limit **
  10  Prefactor     4.3027        5.7472        .19420E-03    .12879E-04
  11  Prefactor     10.821        14.954        .12179E-03    .17270E-04
  12  Prefactor     32.906        21.217        .69854E-04    .30434E-04
  13  norm          5.9598        11.461        .82227E-03   -.63060E-04
  14  Prefactor     .10000E-03    6.5518        .18142E-02** at limit **
  15  Prefactor     .10000E-03    18.074        .18142E-02** at limit **
  16  norm          10.054        7.7827        .12637E-03    .31757E-04
  17  Normalizat    1.3655        .33660        .34191E-03    .17051E-03
  18  Prefactor     .87826        .14797        .18981E-03   -.36716E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.294
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 167.674
  norm       = 0.495187
  Prefactor  = 0.0001
  Prefactor  = 25.4009
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.30269
  Prefactor  = 10.8206
  Prefactor  = 32.9057
  norm       = 5.9598
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.0544
  Normalizat = 1.36553
  Prefactor  = 0.878258
 **********
 **   18 **HESSE 
 **********

 FCN=   5796.669     FROM HESSE     STATUS=OK           238 CALLS     2274 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.294        13.059        .42372E-05   -1.4952    
   2  Prefactor     .10000E-03    44.110        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.039        .66390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     167.67        135.95        .62337E-05   -1.3111    
   5  norm          .49519        47.103        .13011       -1.5567    
   6  Prefactor     .10000E-03    9.9608        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.401        33.975        .15891E-04   -1.4700    
   8  Prefactor     .10000E-03    16.499        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.2396        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.3027        5.7471        .77678E-05   -1.5293    
  11  Prefactor     10.821        14.953        .48714E-05   -1.5050    
  12  Prefactor     32.906        21.214        .27942E-05   -1.4560    
  13  norm          5.9598        11.458        .32891E-04   -1.5220    
  14  Prefactor     .10000E-03    6.5518        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.074        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.054        7.7822        .50547E-05   -1.5074    
  17  Normalizat    1.3655        .33687        .13677E-04   -.81631    
  18  Prefactor     .87826        .14808        .75924E-05   -.96905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69589e-10
Minuit parameter uncertainties:
  1  13.0613
  2  2.77087e-05
  3  0.00013509
  4  136.208
  5  9.66598
  6  4.69733e-05
  7  34.0006
  8  6.86556e-05
  9  2.92894e-05
  10  5.74785
  11  14.9577
  12  21.2185
  13  11.4618
  14  5.95746e-06
  15  7.25709e-05
  16  7.78297
  17  0.337419
  18  0.148146
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  4.697e-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:  8.783e-01  1.481e-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.366e+00  3.374e-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.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/273663/likelihoodResults_532224001_532483201_4FGL_J2101.4-2935_daily_bin1130.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) = 5796.66977444
delta logL = -0.000478252737594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5796.66929639
delta logL = -2.00767317438e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8009       1.0000          .0000       10.000    
     3 'Normalizat'    1.3654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87831       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5796.669     FROM MIGRAD    STATUS=FAILED        93 CALLS      246 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    837.92        .18142E-02** at limit **
   2  Index         2.5732        8.3075        .50000       -.14250E-06
   3  Normalizat    1.3655        .71672E-01    .34192E-03   -.33000E-03
   4  Prefactor     .87826        .32955E-01    .18981E-03   -.60261E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5796.669     FROM SIMPLEX   STATUS=UNCHANGED    179 CALLS      425 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    837.92        .51044E-03** at limit **
   2  Index         2.5732        8.3075        .21966E-05   -.14250E-06
   3  Normalizat    1.3655        .71672E-01    .15248E-06   -.33000E-03
   4  Prefactor     .87826        .32955E-01    .27642E-07   -.60261E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5796.669     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      459 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    810.82        .36285E-03** at limit **
   2  Index         2.5766        8.2384        .50000       -.54843E-07
   3  Normalizat    1.3655        .31577        .68384E-04   -.32914E-03
   4  Prefactor     .87826        .14533        .37962E-04   -.60063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.57664
  Normalizat = 1.36552
  Prefactor  = 0.87826
 **********
 **   18 **HESSE 
 **********

 FCN=   5796.669     FROM HESSE     STATUS=OK            29 CALLS      488 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.668        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5766        6.0340        .50000       -.50599    
   3  Normalizat    1.3655        .31583        .13677E-04   -.81631    
   4  Prefactor     .87826        .14535        .75923E-05   -.96905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57179e-10
Minuit parameter uncertainties:
  1  3.85534e-05
  2  222.502
  3  0.31628
  4  0.145418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/273663': 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) = 5796.66929605
delta logL = 1.40903466672e-07

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  3.855e-05  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.577e+00  2.225e+02  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.783e-01  1.454e-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.366e+00  3.163e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/273663/cmap_HighResolution_532224001_532483201_4FGL_J2101.4-2935_daily_bin1130.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.38e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2021-09-26 01:21:22.944107', job_id='273663', GAL2='0.88', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1632644482.94', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.41e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1130' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:21:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 273663: <4FGL_J2101.4-2935_daily_bin1130> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1130> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 26 01:10:27 2021
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:10:41 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:10:41 2021
Terminated at Sun Sep 26 01:21:23 2021
Results reported at Sun Sep 26 01:21:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1130 315.366 -29.5926 532224001 532483201 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 :                                   551.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            656 sec.

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

