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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1684
RA = 31.2637, Dec = -17.0022
tmin = 675820801, tmax = 676080001
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='181026', job_status='RUN', time_executed='2022-06-05 00:10:52.710851', time_epoch_executed='1654413052.71' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/181026

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/181026/ft1_4FGL_J0205.0-1700_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/181026/ft1_4FGL_J0205.0-1700_daily_bin1684.fits outfile=/scratch/kocevski/181026/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1684.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=675820801.0 tmax=676080001.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.48
user 4.22
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.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/181026/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/181026/ft1_filtered_4FGL_J0205.0-1700_daily_bin1684.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.49
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 517

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/181026/ft1_filtered_4FGL_J0205.0-1700_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/181026/ltcube_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.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/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.fits
.....................!
real 13.53
user 13.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/181026/ft1_filtered_4FGL_J0205.0-1700_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/181026/ltcube_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.fits outfile=/scratch/kocevski/181026/expmap_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.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/181026/ltcube_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.fits
.....................!
real 193.22
user 187.08
sys 5.62

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 181 point sources and 0 extended sources

Setting source of interest to:
4FGL J0205.0-1700 @ 31.2637 -17.0022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/181026/ft1_filtered_4FGL_J0205.0-1700_daily_bin1684.fits scfile=/scratch/kocevski/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.fits outfile=/scratch/kocevski/181026/cmap_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.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=31.2637 yref=-17.0022 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/181026/ft1_filtered_4FGL_J0205.0-1700_daily_bin1684.fits scfile=/scratch/kocevski/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.fits outfile=/scratch/kocevski/181026/cmap_HighResolution_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.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=31.2637 yref=-17.0022 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/181026/ft1_filtered_4FGL_J0205.0-1700_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/181026/Model_4FGL_J0205.0-1700_daily_bin1684.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/181026/ft1_filtered_4FGL_J0205.0-1700_daily_bin1684.fits.....................!
real 52.97
user 51.54
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/181026/ft1_filtered_4FGL_J0205.0-1700_daily_bin1684.fits', '/scratch/kocevski/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.fits', expMap='/scratch/kocevski/181026/expmap_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.fits', expCube='/scratch/kocevski/181026/ltcube_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/181026/Model_4FGL_J0205.0-1700_daily_bin1684.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0205.0-1700'

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  1.877e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.165e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/181026/ft1_filtered_4FGL_J0205.0-1700_daily_bin1684.fits
Spacecraft file(s): /scratch/kocevski/181026/ft2_4FGL_J0205.0-1700_daily_bin1684.fits
Exposure map: /scratch/kocevski/181026/expmap_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.fits
Exposure cube: /scratch/kocevski/181026/ltcube_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/181026/Model_4FGL_J0205.0-1700_daily_bin1684.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) = 5740.95069035

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0122       1.0000         .10000E-03   10000.    
     2 'norm      '    .30045E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .89239       1.0000         .10000E-03   10000.    
     6 'norm      '    1.2249       1.0000         .10000E-03   10000.    
     7 'norm      '    11.549       1.0000         .10000E-03   10000.    
     8 'norm      '    .59729       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.694       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4873       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3526       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4268       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    45.569       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.167       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .62360       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0254       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5740.921     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2298 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9985        13.017        .33378E-02    .31398E-03
   2  norm          .10000E-03    1.6944        .47939E-01** at limit **
   3  Prefactor     .10000E-03    2.0013        .53000E-01** at limit **
   4  norm          .10000E-03    25.792        .90712E-02** at limit **
   5  norm          .89235        .83046        .12780E-01    .23385E-03
   6  norm          1.2249        1.2506        .10175E-01   -.10695E-03
   7  norm          11.549        5.3051        .29471E-02    .32706E-03
   8  norm          .59710        1.9582        .11662E-01    .12273E-02
   9  Prefactor     .10000E-03    102.94        .90712E-02** at limit **
  10  norm          10.694        2.6693        .30629E-02    .11585E-02
  11  Prefactor     3.4877        3.8791        .54131E-02    .31682E-03
  12  Prefactor     .10000E-03    5.3774        .90712E-02** at limit **
  13  Prefactor     .10000E-03    6.2546        .90712E-02** at limit **
  14  Prefactor     4.3525        4.8743        .48267E-02   -.74656E-03
  15  Prefactor     6.4262        7.2673        .39580E-02    .30571E-02
  16  Prefactor     .10000E-03    18.616        .90712E-02** at limit **
  17  norm          45.570        42.073        .14849E-02   -.52894E-03
  18  Prefactor     .10000E-03    3.8457        .90712E-02** at limit **
  19  Prefactor     22.164        26.743        .21269E-02    .33037E-03
  20  Normalizat    .62355        .15266        .41261E-01   -.20505E-04
  21  Prefactor     1.0254        .16566        .41643E-01   -.32471E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.99849
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.892347
  norm       = 1.22494
  norm       = 11.549
  norm       = 0.597099
  Prefactor  = 0.0001
  norm       = 10.6944
  Prefactor  = 3.48772
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.35245
  Prefactor  = 6.42621
  Prefactor  = 0.0001
  norm       = 45.5697
  Prefactor  = 0.0001
  Prefactor  = 22.1643
  Normalizat = 0.623553
  Prefactor  = 1.02542
 **********
 **   18 **HESSE 
 **********

 FCN=   5740.921     FROM HESSE     STATUS=OK           323 CALLS     2621 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9985        11.044        .13351E-03   -1.5108    
   2  norm          .10000E-03    11.629        .16296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.8562        .19649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    26.521        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .89235        .80473        .63707E-03   -1.5519    
   6  norm          1.2249        1.2427        .81156E-04   -1.5487    
   7  norm          11.549        5.3048        .11420E-03   -1.5028    
   8  norm          .59710        1.9060        .18266E-03   -1.5553    
   9  Prefactor     .10000E-03    104.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.694        2.6726        .29047E-03   -1.5054    
  11  Prefactor     3.4877        3.8676        .14772E-03   -1.5334    
  12  Prefactor     .10000E-03    5.4194        .17153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3525        4.8680        .16618E-03   -1.5291    
  15  Prefactor     6.4262        7.2568        .79159E-03   -1.5201    
  16  Prefactor     .10000E-03    18.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          45.570        42.069        .59394E-04   -1.4357    
  18  Prefactor     .10000E-03    3.8977        .14494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.164        26.730        .85076E-04   -1.4766    
  20  Normalizat    .62355        .17236        .24422E-03   -1.0699    
  21  Prefactor     1.0254        .18954        .22527E-03   -.91887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50564e-09
Minuit parameter uncertainties:
  1  11.0469
  2  6.24443e-05
  3  5.73455e-05
  4  5.67354e-05
  5  0.804739
  6  1.2427
  7  5.30503
  8  1.90619
  9  3.72553e-05
  10  2.67261
  11  3.8679
  12  2.26918e-05
  13  3.39389e-05
  14  4.86841
  15  7.25778
  16  1.27726e-05
  17  42.0962
  18  3.1732e-06
  19  26.7443
  20  0.172511
  21  0.189668
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  1.069e+01  2.673e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.165e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.025e+00  1.897e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  6.236e-01  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 42.03
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 2.03e-07 +/- 5.07e-08
Energy Flux (Fixed Index): 5.17e-05 +/- 1.29e-05

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) = 5739.38861401
delta logL = 1.53198390335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5739.383269
delta logL = 1.53732891403

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.061       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0755       1.0000          .0000       5.0000    
     3 'Normalizat'    .68606       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97393       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5739.383     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      200 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.061        2.8885        .30116E-02    .39869E-02
   2  alpha         2.0755        .24988        .17164       -.13281E-03
   3  Normalizat    .68605        .14225        .42104E-01    .14455E-04
   4  Prefactor     .97394        .16292        .45940E-01    .16376E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.0608
  alpha      = 2.07545
  Normalizat = 0.686052
  Prefactor  = 0.97394
 **********
 **   18 **HESSE 
 **********

 FCN=   5739.383     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.061        2.9592        .62606E-04   -1.5043    
   2  alpha         2.0755        .26433        .73638E-02   -.17065    
   3  Normalizat    .68605        .16544        .23412E-03   -1.0445    
   4  Prefactor     .97394        .18846        .23039E-03   -.93603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29671e-09
Minuit parameter uncertainties:
  1  2.95919
  2  0.264837
  3  0.16556
  4  0.188587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/181026': 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) = 5739.383269
delta logL = 1.53732891915

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  1.106e+01  2.959e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.075e+00  2.648e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.165e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  9.739e-01  1.886e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  6.861e-01  1.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 45.00
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 2.08 +/- 0.26
Photon Flux (Free Index): 1.57e-07 +/- 4.99e-08
Energy Flux (Free Index): 6.58e-05 +/- 2.10e-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/181026/cmap_HighResolution_675820801_676080001_4FGL_J0205.0-1700_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.03e-07', energy_flux2='6.58e-05', photon_flux_error='5.07e-08', dlogl='1.54e+00', energy_flux='5.17e-05', photon_flux2='1.57e-07', job_status='DONE', time_completed='2022-06-05 00:20:14.279806', photon_index_error2='0.26', photon_index2='2.08', ts='42.03', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.10e-05', EG='0.62', time_epoch_completed='1654413614.28', return_code='0', job_id='181026', GAL2='0.97', EG2='0.69', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='4.99e-08', ts2='45.00', photon_index='2.56' WHERE bin_id='1684' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:20:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 181026: <4FGL_J0205.0-1700_daily_bin1684> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin1684> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jun  5 00:04:50 2022
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:07:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:07:05 2022
Terminated at Sun Jun  5 00:20:15 2022
Results reported at Sun Jun  5 00:20:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1684 31.2637 -17.0022 675820801 676080001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0205.0-1700 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   563.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             277.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            925 sec.

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

