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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1273
RA = 31.2637, Dec = -17.0022
tmin = 569289601, tmax = 569548801
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='91264', job_status='RUN', time_executed='2021-08-15 06:00:39.569278', time_epoch_executed='1629032439.57' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91264

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91264/ft1_4FGL_J0205.0-1700_daily_bin1273.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91264/ft2_4FGL_J0205.0-1700_daily_bin1273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91264/ft1_4FGL_J0205.0-1700_daily_bin1273.fits outfile=/scratch/kocevski/91264/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1273.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=569289601.0 tmax=569548801.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 11.40
user 3.39
sys 7.97

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/91264/ft2_4FGL_J0205.0-1700_daily_bin1273.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/91264/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1273.fits evtable="EVENTS" outfile="/scratch/kocevski/91264/ft1_filtered_4FGL_J0205.0-1700_daily_bin1273.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 8.41
user 0.36
sys 7.94

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91264/ft1_filtered_4FGL_J0205.0-1700_daily_bin1273.fits" evtable="EVENTS" scfile=/scratch/kocevski/91264/ft2_4FGL_J0205.0-1700_daily_bin1273.fits sctable="SC_DATA" outfile=/scratch/kocevski/91264/ltcube_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.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/91264/ft2_4FGL_J0205.0-1700_daily_bin1273.fits
.....................!
real 25.54
user 15.57
sys 9.84

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91264/ft1_filtered_4FGL_J0205.0-1700_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/91264/ft2_4FGL_J0205.0-1700_daily_bin1273.fits sctable="SC_DATA" expcube=/scratch/kocevski/91264/ltcube_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.fits outfile=/scratch/kocevski/91264/expmap_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.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/91264/ltcube_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.fits
.....................!
real 203.59
user 188.31
sys 14.89

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/91264/ft1_filtered_4FGL_J0205.0-1700_daily_bin1273.fits scfile=/scratch/kocevski/91264/ft2_4FGL_J0205.0-1700_daily_bin1273.fits outfile=/scratch/kocevski/91264/cmap_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.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 8.28
user 0.40
sys 7.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91264/ft1_filtered_4FGL_J0205.0-1700_daily_bin1273.fits scfile=/scratch/kocevski/91264/ft2_4FGL_J0205.0-1700_daily_bin1273.fits outfile=/scratch/kocevski/91264/cmap_HighResolution_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.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 7.45
user 0.40
sys 7.00

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/91264/ft1_filtered_4FGL_J0205.0-1700_daily_bin1273.fits evtable="EVENTS" scfile=/scratch/kocevski/91264/ft2_4FGL_J0205.0-1700_daily_bin1273.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/91264/Model_4FGL_J0205.0-1700_daily_bin1273.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/91264/ft1_filtered_4FGL_J0205.0-1700_daily_bin1273.fits.....................!
real 55.69
user 45.11
sys 10.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/91264/ft1_filtered_4FGL_J0205.0-1700_daily_bin1273.fits', '/scratch/kocevski/91264/ft2_4FGL_J0205.0-1700_daily_bin1273.fits', expMap='/scratch/kocevski/91264/expmap_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.fits', expCube='/scratch/kocevski/91264/ltcube_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/91264/Model_4FGL_J0205.0-1700_daily_bin1273.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/91264/ft1_filtered_4FGL_J0205.0-1700_daily_bin1273.fits
Spacecraft file(s): /scratch/kocevski/91264/ft2_4FGL_J0205.0-1700_daily_bin1273.fits
Exposure map: /scratch/kocevski/91264/expmap_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.fits
Exposure cube: /scratch/kocevski/91264/ltcube_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/91264/Model_4FGL_J0205.0-1700_daily_bin1273.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) = 4820.61704119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.9988       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .73622       1.0000         .10000E-03   10000.    
     6 'norm      '    .12417E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    18.730       1.0000         .10000E-03   10000.    
     8 'norm      '    .64819       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.5855       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.6248       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.279       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    25.059       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .30570E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3708       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .86152       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93468       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4820.606     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2230 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0934        .13016E-07** at limit **
   2  norm          3.9999        2.8606       -.10857E-06    .24127E-03
   3  Prefactor     .10000E-03    3.3028       -.58294E-06** at limit **
   4  norm          .10000E-03    22.850        .72083E-07** at limit **
   5  norm          .73581        1.3739        .37722E-06    .12500E-03
   6  norm          .10000E-03    1.6669       -.57102E-07** at limit **
   7  norm          18.729        8.6423        .17849E-06   -.25645E-04
   8  norm          .64989        3.2115        .15774E-05   -.27851E-04
   9  Prefactor     .10000E-03    20.905       -.88684E-08** at limit **
  10  norm          3.5854        2.2105        .65660E-07   -.10073E-03
  11  Prefactor     3.6239        4.4925        .45971E-06   -.31127E-04
  12  Prefactor     .10000E-03    17.082       -.30412E-06** at limit **
  13  Prefactor     .10000E-03    3.9011        .70607E-07** at limit **
  14  Prefactor     10.281        5.9692        .73992E-06   -.10037E-03
  15  Prefactor     .10000E-03    4.9761        .20206E-05** at limit **
  16  Prefactor     .10000E-03    6.9373        .13244E-06** at limit **
  17  norm          25.164        56.577       -.60575E-05   -.11300E-04
  18  Prefactor     .10000E-03    3.3157       -.18431E-07** at limit **
  19  Prefactor     7.2877        68.830        .84586E-05   -.27222E-04
  20  Normalizat    .86146        .17864       -.36773E-06   -.65731E-04
  21  Prefactor     .93484        .18746       -.14185E-05   -.15978E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.99992
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.735807
  norm       = 0.0001
  norm       = 18.7291
  norm       = 0.649886
  Prefactor  = 0.0001
  norm       = 3.58541
  Prefactor  = 3.62391
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.281
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 25.1638
  Prefactor  = 0.000100001
  Prefactor  = 7.28773
  Normalizat = 0.861463
  Prefactor  = 0.934841
 **********
 **   18 **HESSE 
 **********

 FCN=   4820.606     FROM HESSE     STATUS=OK           323 CALLS     2553 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.1017        .16730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9999        2.8089        .94718E-04   -1.5308    
   3  Prefactor     .10000E-03    5.8705        .23463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    22.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .73581        1.3486        .10432E-03   -1.5536    
   6  norm          .10000E-03    3.5201        .16979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.729        8.6347        .92545E-04   -1.4842    
   8  norm          .64989        3.2229        .23367E-03   -1.5547    
   9  Prefactor     .10000E-03    20.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.5854        2.2069        .76758E-04   -1.5329    
  11  Prefactor     3.6239        4.4755        .15452E-03   -1.5327    
  12  Prefactor     .10000E-03    17.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.9044        .13393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.281        5.9230        .60593E-03   -1.5067    
  15  Prefactor     .10000E-03    5.0299        .15164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.9398        .17861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          25.164        56.310        .80022E-04   -1.4704    
  18  Prefactor     .10000E-03    30.165        .24023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.2877        67.983        .14773E-03   -1.5168    
  20  Normalizat    .86146        .20538        .22730E-03   -.97828    
  21  Prefactor     .93484        .21817        .24314E-03   -.94934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77379e-10
Minuit parameter uncertainties:
  1  6.86755e-06
  2  2.80904
  3  0.000207982
  4  1.90186e-05
  5  1.34869
  6  6.63745e-06
  7  8.63527
  8  2.89452
  9  6.07002e-06
  10  2.20692
  11  4.47593
  12  2.09148e-05
  13  8.05137e-07
  14  5.92337
  15  2.73418e-06
  16  4.33629e-06
  17  56.4289
  18  0.000280707
  19  44.5837
  20  0.205566
  21  0.218379
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  3.585e+00  2.207e+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:  9.348e-01  2.184e-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.615e-01  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.70
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 6.80e-08 +/- 4.18e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 1.07e-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) = 4820.60521412
delta logL = 0.00100066417053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4820.60511584
delta logL = 0.00109894326761

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6095       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5333       1.0000          .0000       5.0000    
     3 'Normalizat'    .86291       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93360       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=   4820.605     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      193 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6095        68.407        .53169E-02   -.10776E-02
   2  alpha         2.5333        2.5830        .38406       -.10833E-04
   3  Normalizat    .86297        .14764        .44426E-01    .34857E-03
   4  Prefactor     .93353        .22396        .45432E-01    .35120E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.60945
  alpha      = 2.53327
  Normalizat = 0.862972
  Prefactor  = 0.933531
 **********
 **   18 **HESSE 
 **********

 FCN=   4820.605     FROM HESSE     STATUS=OK            31 CALLS      224 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6095        2.2805        .77139E-04   -1.5328    
   2  alpha         2.5333        .65074        .15142E-01    .13308E-01
   3  Normalizat    .86297        .19793        .22712E-03   -.97774    
   4  Prefactor     .93353        .21800        .24329E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03937e-10
Minuit parameter uncertainties:
  1  2.28058
  2  0.658322
  3  0.198098
  4  0.218202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91264': 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) = 4820.6051158
delta logL = 0.00109899001291

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  3.609e+00  2.281e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.533e+00  6.583e-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.335e-01  2.182e-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.630e-01  1.981e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.69
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 2.53 +/- 0.66
Photon Flux (Free Index): 6.70e-08 +/- 4.60e-08
Energy Flux (Free Index): 1.75e-05 +/- 1.12e-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/91264/cmap_HighResolution_569289601_569548801_4FGL_J0205.0-1700_daily_bin1273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.80e-08', energy_flux2='1.75e-05', photon_flux_error='4.18e-08', dlogl='1.10e-03', energy_flux='1.73e-05', photon_flux2='6.70e-08', job_status='DONE', time_completed='2021-08-15 06:11:18.427939', photon_index_error2='0.66', photon_index2='2.53', ts='4.70', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='0.86', time_epoch_completed='1629033078.43', return_code='0', job_id='91264', GAL2='0.93', EG2='0.86', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='4.60e-08', ts2='4.69', photon_index='2.56' WHERE bin_id='1273' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:11:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0140>
Subject: Job 91264: <4FGL_J0205.0-1700_daily_bin1273> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin1273> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 15 05:55:45 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 05:58:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 05:58:12 2021
Terminated at Sun Aug 15 06:11:20 2021
Results reported at Sun Aug 15 06:11:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1273 31.2637 -17.0022 569289601 569548801 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 :                                   753.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            935 sec.

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

