aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 75 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7488
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1746
RA = 315.366, Dec = -29.5926
tmin = 691891201, tmax = 692150401
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='739063', job_status='RUN', time_executed='2022-12-08 01:41:40.701743', time_epoch_executed='1670492500.7' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/739063

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/739063/ft1_4FGL_J2101.4-2935_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/739063/ft2_4FGL_J2101.4-2935_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/739063/ft1_4FGL_J2101.4-2935_daily_bin1746.fits outfile=/scratch/kocevski/739063/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1746.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.71
user 4.45
sys 0.24

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

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

Number of photons that the gtmktime cut: 512

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/739063/ft1_filtered_4FGL_J2101.4-2935_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/739063/ft2_4FGL_J2101.4-2935_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/739063/ltcube_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.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/739063/ft2_4FGL_J2101.4-2935_daily_bin1746.fits
.....................!
real 12.08
user 11.68
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/739063/ft1_filtered_4FGL_J2101.4-2935_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/739063/ft2_4FGL_J2101.4-2935_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/739063/ltcube_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.fits outfile=/scratch/kocevski/739063/expmap_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.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/739063/ltcube_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.fits
.....................!
real 190.62
user 185.38
sys 4.88

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/739063/ft1_filtered_4FGL_J2101.4-2935_daily_bin1746.fits scfile=/scratch/kocevski/739063/ft2_4FGL_J2101.4-2935_daily_bin1746.fits outfile=/scratch/kocevski/739063/cmap_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/739063/ft1_filtered_4FGL_J2101.4-2935_daily_bin1746.fits scfile=/scratch/kocevski/739063/ft2_4FGL_J2101.4-2935_daily_bin1746.fits outfile=/scratch/kocevski/739063/cmap_HighResolution_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/739063/ft1_filtered_4FGL_J2101.4-2935_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/739063/ft2_4FGL_J2101.4-2935_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/739063/Model_4FGL_J2101.4-2935_daily_bin1746.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/739063/ft1_filtered_4FGL_J2101.4-2935_daily_bin1746.fits.....................!
real 54.23
user 52.83
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/739063/ft1_filtered_4FGL_J2101.4-2935_daily_bin1746.fits', '/scratch/kocevski/739063/ft2_4FGL_J2101.4-2935_daily_bin1746.fits', expMap='/scratch/kocevski/739063/expmap_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.fits', expCube='/scratch/kocevski/739063/ltcube_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/739063/Model_4FGL_J2101.4-2935_daily_bin1746.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  0.000e+00  1.000e+06 ( 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/739063/ft1_filtered_4FGL_J2101.4-2935_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/739063/ft2_4FGL_J2101.4-2935_daily_bin1746.fits
Exposure map: /scratch/kocevski/739063/expmap_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.fits
Exposure cube: /scratch/kocevski/739063/ltcube_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/739063/Model_4FGL_J2101.4-2935_daily_bin1746.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) = 5765.11298702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8967       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.2022       1.0000          .0000       .10000E+07
     3 'Prefactor '    .61060E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .17237E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    40.360       1.0000          .0000       .10000E+07
     6 'Prefactor '    25.847       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15872E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .10623E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .18032E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .19887E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15523E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .20955E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20888E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.733       1.0000          .0000       .10000E+07
    15 'norm      '    .23179E-05   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0737       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1177       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5765.081     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1209 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8905        14.704        .59627E-07   -.27244E-02
   2  Prefactor     2.2428        20.658        .53223E-06   -.20250E-01
   3  Prefactor      .0000        7.7906       -.75672E-08** at limit **
   4  norm          .93259E-08    26.760       -.48906E-06** at limit **
   5  Prefactor     40.793        26.660        .13778E-07   -.79053E-01
   6  Prefactor     26.448        21.942        .24186E-06    .37895E-01
   7  Prefactor      .0000        4.4308       -.21767E-06** at limit **
   8  norm           .0000        4.6862       -.15937E-06** at limit **
   9  Prefactor      .0000        6.3253        .90140E-07** at limit **
  10  Prefactor     .18319E-08    21.868        .32558E-06** at limit **
  11  Prefactor      .0000        4.7930       -.76253E-07** at limit **
  12  norm           .0000        3.9454       -.15259E-06** at limit **
  13  Prefactor      .0000        28.234        .15069E-06** at limit **
  14  Prefactor     43.394        53.986        .16869E-05    .40402E-03
  15  norm           .0000        2.5704        .11126E-06** at limit **
  16  Normalizat    1.0711        .31930        .14628E-05    .97925E-06
  17  Prefactor     1.1180        .14993       -.17486E-05    .13771E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.89054
  Prefactor  = 2.24285
  Prefactor  = 0
  norm       = 9.32587e-09
  Prefactor  = 40.7933
  Prefactor  = 26.4482
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.83187e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 43.3937
  norm       = 0
  Normalizat = 1.07111
  Prefactor  = 1.11802
 **********
 **   18 **HESSE 
 **********

 FCN=   5765.081     FROM HESSE     STATUS=OK           253 CALLS     1462 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8905        14.759        .41331E-03   -1.5659    
   2  Prefactor     2.2428        771.37        .69303E-03   -1.5678    
   3  Prefactor      .0000        7.7782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .93259E-08    26.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     40.793        31.612        .15742E-03   -1.5580    
   6  Prefactor     26.448        42.052        .19674E-03   -1.5605    
   7  Prefactor      .0000        4.4261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        4.6806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        6.3120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18319E-08    21.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.7900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        3.9454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        28.120        .16979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     43.394        55.088        .15670E-03   -1.5576    
  15  norm           .0000        2.5634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0711        .27882        .85990E-01   -.90685    
  17  Prefactor     1.1180        .13041        .36950E-01   -.88893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47596e-06
Minuit parameter uncertainties:
  1  14.7587
  2  83.199
  3  7.81661e-06
  4  0.000999284
  5  31.6124
  6  42.0526
  7  1.30986e-05
  8  6.18812e-06
  9  1.08533e-05
  10  0.000401071
  11  1.84567e-05
  12  4.86836e-06
  13  1.39254e-05
  14  55.0886
  15  2.1607e-06
  16  0.279201
  17  0.130451
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  4.079e+01  3.161e+01  0.000e+00  1.000e+06 ( 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:  1.118e+00  1.305e-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.071e+00  2.792e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.17
Ra Dec: 315.366 -29.593
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 1.16e-07 +/- 8.94e-08
Energy Flux (Fixed Index): 2.58e-05 +/- 2.00e-05

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

Saving results to:
/scratch/kocevski/739063/likelihoodResults_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.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) = 5764.65484755
delta logL = 0.426230955578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5764.63855072
delta logL = 0.442527783653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.020       1.0000          .0000       .10000E+07
     2 'Index     '    3.8981       1.0000          .0000       10.000    
     3 'Normalizat'    1.0194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1388       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=   5764.639     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      302 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.016        56.697        .91751E-05   -.57905E-02
   2  Index         3.8984        2.5129        .74876E-02   -.12034E-03
   3  Normalizat    1.0193        .32036        .38891E-03   -.17609E-03
   4  Prefactor     1.1389        .15247        .17552E-03   -.40190E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.0164
  Index      = 3.89844
  Normalizat = 1.01926
  Prefactor  = 1.13887
 **********
 **   18 **HESSE 
 **********

 FCN=   5764.639     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.016        34.434        .18350E-05   -1.5621    
   2  Index         3.8984        1.5737        .29950E-03   -.22213    
   3  Normalizat    1.0193        .32006        .15556E-04   -.92388    
   4  Prefactor     1.1389        .15089        .35105E-04   -.88234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18942e-10
Minuit parameter uncertainties:
  1  34.4347
  2  1.60239
  3  0.320665
  4  0.150947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/739063': 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) = 5764.63855059
delta logL = 0.442527918874

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.902e+01  3.443e+01  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  3.898e+00  1.602e+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:  1.139e+00  1.509e-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.019e+00  3.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.14
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 3.90 +/- 1.60
Photon Flux (Free Index): 1.55e-07 +/- 1.06e-07
Energy Flux (Free Index): 2.37e-05 +/- 1.74e-05

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/739063/cmap_HighResolution_691891201_692150401_4FGL_J2101.4-2935_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-02', comment='SUCCESS', photon_flux='1.16e-07', energy_flux2='2.37e-05', photon_flux_error='8.94e-08', dlogl='4.43e-01', energy_flux='2.58e-05', photon_flux2='1.55e-07', job_status='DONE', time_completed='2022-12-08 01:49:51.628859', photon_index_error2='1.60', photon_index2='3.90', ts='2.17', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='2.92e-07', energy_flux_error2='1.74e-05', EG='1.07', time_epoch_completed='1670492991.63', return_code='0', job_id='739063', GAL2='1.14', EG2='1.02', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='1.06e-07', ts2='3.14', photon_index='2.81' WHERE bin_id='1746' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:49:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 739063: <4FGL_J2101.4-2935_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 01:40:15 2022
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:40:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:40:16 2022
Terminated at Thu Dec  8 01:49:52 2022
Results reported at Thu Dec  8 01:49:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1746 315.366 -29.5926 691891201 692150401 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 :                                   493.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             296.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   575 sec.
    Turnaround time :                            577 sec.

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

