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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1708
RA = 31.2637, Dec = -17.0022
tmin = 682041601, tmax = 682300801
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='2712', job_status='RUN', time_executed='2022-09-16 10:24:08.146382', time_epoch_executed='1663349048.15' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2712

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2712/ft1_4FGL_J0205.0-1700_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2712/ft2_4FGL_J0205.0-1700_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2712/ft1_4FGL_J0205.0-1700_daily_bin1708.fits outfile=/scratch/kocevski/2712/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1708.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=682041601.0 tmax=682300801.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.01
user 3.75
sys 0.21

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

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

Number of photons that the gtmktime cut: 355

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2712/ft1_filtered_4FGL_J0205.0-1700_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/2712/ft2_4FGL_J0205.0-1700_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/2712/ltcube_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.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/2712/ft2_4FGL_J0205.0-1700_daily_bin1708.fits
.....................!
real 11.90
user 11.49
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2712/ft1_filtered_4FGL_J0205.0-1700_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/2712/ft2_4FGL_J0205.0-1700_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/2712/ltcube_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.fits outfile=/scratch/kocevski/2712/expmap_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.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/2712/ltcube_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.fits
.....................!
real 191.17
user 185.54
sys 5.29

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/2712/ft1_filtered_4FGL_J0205.0-1700_daily_bin1708.fits scfile=/scratch/kocevski/2712/ft2_4FGL_J0205.0-1700_daily_bin1708.fits outfile=/scratch/kocevski/2712/cmap_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2712/ft1_filtered_4FGL_J0205.0-1700_daily_bin1708.fits scfile=/scratch/kocevski/2712/ft2_4FGL_J0205.0-1700_daily_bin1708.fits outfile=/scratch/kocevski/2712/cmap_HighResolution_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2712/ft1_filtered_4FGL_J0205.0-1700_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/2712/ft2_4FGL_J0205.0-1700_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2712/Model_4FGL_J0205.0-1700_daily_bin1708.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/2712/ft1_filtered_4FGL_J0205.0-1700_daily_bin1708.fits.....................!
real 42.44
user 41.13
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/2712/ft1_filtered_4FGL_J0205.0-1700_daily_bin1708.fits', '/scratch/kocevski/2712/ft2_4FGL_J0205.0-1700_daily_bin1708.fits', expMap='/scratch/kocevski/2712/expmap_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.fits', expCube='/scratch/kocevski/2712/ltcube_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/2712/Model_4FGL_J0205.0-1700_daily_bin1708.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  0.000e+00  1.000e+06 ( 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 -5.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/2712/ft1_filtered_4FGL_J0205.0-1700_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/2712/ft2_4FGL_J0205.0-1700_daily_bin1708.fits
Exposure map: /scratch/kocevski/2712/expmap_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.fits
Exposure cube: /scratch/kocevski/2712/ltcube_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/2712/Model_4FGL_J0205.0-1700_daily_bin1708.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) = 4045.23755541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5677       1.0000          .0000       .10000E+07
     2 'norm      '    1.8961       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13989E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .15166E-04   1.0000          .0000       .10000E+07
     5 'norm      '    1.6111       1.0000          .0000       .10000E+07
     6 'norm      '    .19418E-06   1.0000          .0000       .10000E+07
     7 'norm      '    42.638       1.0000          .0000       .10000E+07
     8 'norm      '    4.1150       1.0000          .0000       .10000E+07
     9 'Prefactor '    44.326       1.0000          .0000       .10000E+07
    10 'norm      '    6.6537       1.0000          .0000       .10000E+07
    11 'Prefactor '    .80769E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    11.769       1.0000          .0000       .10000E+07
    13 'Prefactor '    .51711E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .20182E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    19.485       1.0000          .0000       .10000E+07
    16 'norm      '    .97478E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .42089E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78272E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    .83021       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88495       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4045.203     FROM MIGRAD    STATUS=CONVERGED    212 CALLS     1592 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70725        1271.2       -.17264E-04    .87479E-03
   2  norm          2.6977        15.906        .17434E-05    .66342E-02
   3  Prefactor     .33307E-09    30.265       -.98903E-06** at limit **
   4  norm          .55511E-10    63.950       -.11577E-05** at limit **
   5  norm          1.6166        1.5212        .95229E-07    .16762E-02
   6  norm           .0000        1.9929       -.21450E-06** at limit **
   7  norm          42.616        11.171       -.69837E-07   -.19188E-02
   8  norm          4.1052        4.0351       -.11997E-06   -.15117E-02
   9  Prefactor     45.135        46.071       -.13138E-07   -.42254E-03
  10  norm          6.6521        3.0232        .47723E-07    .53262E-03
  11  Prefactor      .0000        2.2820        .28135E-07** at limit **
  12  Prefactor     11.656        16.909       -.21176E-06   -.74979E-03
  13  Prefactor      .0000        4.7880        .12601E-06** at limit **
  14  Prefactor     .38858E-09    23.380        .12087E-05** at limit **
  15  Prefactor     19.468        11.066        .12277E-06    .33566E-03
  16  norm          .38858E-09    23.492       -.65281E-06** at limit **
  17  Prefactor     .55511E-10    4.9049        .24562E-06** at limit **
  18  Prefactor     .61062E-09    36.553        .11486E-05** at limit **
  19  Normalizat    .83137        .23903        .38670E-05   -.80011E-04
  20  Prefactor     .88434        .24612       -.72633E-05   -.83004E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.707248
  norm       = 2.69772
  Prefactor  = 3.33067e-10
  norm       = 5.55112e-11
  norm       = 1.61665
  norm       = 0
  norm       = 42.6157
  norm       = 4.10516
  Prefactor  = 45.1351
  norm       = 6.65209
  Prefactor  = 0
  Prefactor  = 11.6565
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 19.4681
  norm       = 3.88578e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 6.10623e-10
  Normalizat = 0.831374
  Prefactor  = 0.884337
 **********
 **   18 **HESSE 
 **********

 FCN=   4045.203     FROM HESSE     STATUS=NOT POSDEF   333 CALLS     1925 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70725        19031.        .47076E-03   -1.5691    
   2  norm          2.6977        236.54        .75517E-03   -1.5675    
   3  Prefactor     .33307E-09    30.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    63.808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6166        1.5954        .83415E-03   -1.5683    
   6  norm           .0000        1.9769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          42.616        11.160        .15316E-03   -1.5577    
   8  norm          4.1052        4.0373        .49670E-03   -1.5667    
   9  Prefactor     45.135        46.017        .15021E-03   -1.5574    
  10  norm          6.6521        3.0163        .38878E-03   -1.5656    
  11  Prefactor      .0000        2.2783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.656        16.950        .29176E-03   -1.5640    
  13  Prefactor      .0000        4.7709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .38858E-09    22.574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.468        11.064        .22662E-03   -1.5620    
  16  norm          .38858E-09    23.574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    4.8971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .61062E-09    36.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .83137        .21602        .44003E-01   -.98915    
  20  Prefactor     .88434        .20943        .44813E-01   -.96691    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.01914e-09
Minuit parameter uncertainties:
  1  232.771
  2  50.5245
  3  0.000206455
  4  0.000144091
  5  1.5954
  6  9.73191e-06
  7  11.1605
  8  4.03731
  9  46.0176
  10  3.01628
  11  2.2076e-06
  12  16.9504
  13  2.00833e-05
  14  0.000192156
  15  11.0642
  16  0.000189103
  17  3.00066e-05
  18  0.000300148
  19  0.216248
  20  0.209625
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4045.20293216

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  6.652e+00  3.016e+00  0.000e+00  1.000e+06 ( 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 -5.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:  8.843e-01  2.096e-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:  8.314e-01  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.54
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 5.72e-08
Energy Flux (Fixed Index): 3.21e-05 +/- 1.46e-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) = 4045.15778888
delta logL = 0.0451432740788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4045.15289956
delta logL = 0.0500325976755

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4182       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7341       1.0000          .0000       5.0000    
     3 'Normalizat'    .81548       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89745       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=   4045.153     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4176        61.032        .39594E-03    .19794E-03
   2  alpha         2.7342        3.2313        .27815        .98582E-05
   3  Normalizat    .81549        .22836        .43812E-01    .10343E-04
   4  Prefactor     .89745        .30246        .44973E-01    .72268E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.41764
  alpha      = 2.73418
  Normalizat = 0.815487
  Prefactor  = 0.897449
 **********
 **   18 **HESSE 
 **********

 FCN=   4045.153     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4176        3.0676        .67220E-05   -1.5657    
   2  alpha         2.7342        .54922        .11697E-01    .93812E-01
   3  Normalizat    .81549        .23280        .24204E-03   -.99497    
   4  Prefactor     .89745        .24846        .25151E-03   -.96230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.30954e-11
Minuit parameter uncertainties:
  1  3.06765
  2  0.553781
  3  0.233081
  4  0.248774
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2712': 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) = 4045.15289954
delta logL = 0.050032621326

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  6.418e+00  3.068e+00  0.000e+00  1.000e+06 ( 1.000e-11)
281        alpha:  2.734e+00  5.538e-01  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.165e-02  0.000e+00 -5.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:  8.974e-01  2.488e-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:  8.155e-01  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.60
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 2.73 +/- 0.55
Photon Flux (Free Index): 1.38e-07 +/- 6.97e-08
Energy Flux (Free Index): 3.14e-05 +/- 1.42e-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/2712/cmap_HighResolution_682041601_682300801_4FGL_J0205.0-1700_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='3.14e-05', photon_flux_error='5.72e-08', dlogl='5.00e-02', energy_flux='3.21e-05', photon_flux2='1.38e-07', job_status='DONE', time_completed='2022-09-16 10:31:35.314299', photon_index_error2='0.55', photon_index2='2.73', ts='10.54', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.42e-05', EG='0.83', time_epoch_completed='1663349495.31', return_code='102', job_id='2712', GAL2='0.90', EG2='0.82', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='6.97e-08', ts2='10.60', photon_index='2.56' WHERE bin_id='1708' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:31:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 2712: <4FGL_J0205.0-1700_daily_bin1708> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin1708> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 10:21:08 2022
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:23:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 10:23:00 2022
Terminated at Fri Sep 16 10:31:36 2022
Results reported at Fri Sep 16 10:31:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1708 31.2637 -17.0022 682041601 682300801 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 :                                   449.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   515 sec.
    Turnaround time :                            628 sec.

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

