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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1148
RA = 31.2637, Dec = -17.0022
tmin = 536889601, tmax = 537148801
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='91070', job_status='RUN', time_executed='2021-08-15 05:59:27.201487', time_epoch_executed='1629032367.2' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1148'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91070

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91070/ft1_4FGL_J0205.0-1700_daily_bin1148.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91070/ft2_4FGL_J0205.0-1700_daily_bin1148.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91070/ft1_4FGL_J0205.0-1700_daily_bin1148.fits outfile=/scratch/kocevski/91070/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1148.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=536889601.0 tmax=537148801.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 13.16
user 3.52
sys 9.56

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/91070/ft2_4FGL_J0205.0-1700_daily_bin1148.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/91070/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1148.fits evtable="EVENTS" outfile="/scratch/kocevski/91070/ft1_filtered_4FGL_J0205.0-1700_daily_bin1148.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 9.90
user 0.35
sys 9.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91070/ft1_filtered_4FGL_J0205.0-1700_daily_bin1148.fits" evtable="EVENTS" scfile=/scratch/kocevski/91070/ft2_4FGL_J0205.0-1700_daily_bin1148.fits sctable="SC_DATA" outfile=/scratch/kocevski/91070/ltcube_536889601_537148801_4FGL_J0205.0-1700_daily_bin1148.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/91070/ft2_4FGL_J0205.0-1700_daily_bin1148.fits
.....................!
real 26.73
user 15.82
sys 10.78

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91070/ft1_filtered_4FGL_J0205.0-1700_daily_bin1148.fits evtable="EVENTS" scfile=/scratch/kocevski/91070/ft2_4FGL_J0205.0-1700_daily_bin1148.fits sctable="SC_DATA" expcube=/scratch/kocevski/91070/ltcube_536889601_537148801_4FGL_J0205.0-1700_daily_bin1148.fits outfile=/scratch/kocevski/91070/expmap_536889601_537148801_4FGL_J0205.0-1700_daily_bin1148.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/91070/ltcube_536889601_537148801_4FGL_J0205.0-1700_daily_bin1148.fits
.....................!
real 206.18
user 188.39
sys 17.14

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/91070/ft1_filtered_4FGL_J0205.0-1700_daily_bin1148.fits scfile=/scratch/kocevski/91070/ft2_4FGL_J0205.0-1700_daily_bin1148.fits outfile=/scratch/kocevski/91070/cmap_536889601_537148801_4FGL_J0205.0-1700_daily_bin1148.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 9.91
user 0.38
sys 9.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91070/ft1_filtered_4FGL_J0205.0-1700_daily_bin1148.fits scfile=/scratch/kocevski/91070/ft2_4FGL_J0205.0-1700_daily_bin1148.fits outfile=/scratch/kocevski/91070/cmap_HighResolution_536889601_537148801_4FGL_J0205.0-1700_daily_bin1148.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 9.85
user 0.40
sys 9.39

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/91070/ft1_filtered_4FGL_J0205.0-1700_daily_bin1148.fits evtable="EVENTS" scfile=/scratch/kocevski/91070/ft2_4FGL_J0205.0-1700_daily_bin1148.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/91070/Model_4FGL_J0205.0-1700_daily_bin1148.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/91070/ft1_filtered_4FGL_J0205.0-1700_daily_bin1148.fits.....................!
real 55.14
user 41.35
sys 13.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.9394       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    15.286       1.0000         .10000E-03   10000.    
     5 'norm      '    7.7299       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4463       1.0000         .10000E-03   10000.    
     7 'norm      '    6.9148       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4302       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .46825       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.7154       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.789       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.8779       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .29848       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .74906       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0919       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=   4252.440     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     1907 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    8.1592        .90712E-02** at limit **
   2  norm          4.9396        3.4475        .45241E-02   -.17940E-02
   3  Prefactor     .10000E-03    4.8290        .90712E-02** at limit **
   4  norm          15.286        33.239        .25611E-02    .12298E-03
   5  norm          7.7301        2.4840        .36058E-02    .15183E-03
   6  norm          1.4480        2.8316        .89609E-02    .69765E-03
   7  norm          6.9150        5.5288        .38142E-02   -.79088E-05
   8  norm          2.4284        4.8727        .65626E-02    .45760E-03
   9  Prefactor     .10000E-03    21.242        .90712E-02** at limit **
  10  norm          .46795        1.9121        .32309E-01    .16161E-02
  11  Prefactor     8.7158        5.3830        .33944E-02    .14973E-03
  12  Prefactor     17.788        13.156        .23740E-02    .19440E-03
  13  Prefactor     5.8779        11.248        .41410E-02    .16875E-02
  14  Prefactor     .29530        4.1747        .41830E-01    .57287E-03
  15  Prefactor     .10000E-03    3.6285        .90712E-02** at limit **
  16  Prefactor     .10002E-03    8.5302        .90712E-02** at limit **
  17  norm          .10001E-03    13.471        .90712E-02** at limit **
  18  Prefactor     .10000E-03    2.2573        .90712E-02** at limit **
  19  Prefactor     .10000E-03    13.048        .90712E-02** at limit **
  20  Normalizat    .74894        .20416        .42942E-01    .97017E-05
  21  Prefactor     1.0920        .20922        .54661E-01   -.79027E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100018
  norm       = 4.93962
  Prefactor  = 0.0001
  norm       = 15.2857
  norm       = 7.73013
  norm       = 1.44803
  norm       = 6.915
  norm       = 2.42837
  Prefactor  = 0.000100001
  norm       = 0.467952
  Prefactor  = 8.71581
  Prefactor  = 17.7879
  Prefactor  = 5.87792
  Prefactor  = 0.295302
  Prefactor  = 0.0001
  Prefactor  = 0.000100024
  norm       = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Normalizat = 0.748941
  Prefactor  = 1.092
 **********
 **   18 **HESSE 
 **********

 FCN=   4252.440     FROM HESSE     STATUS=OK           323 CALLS     2230 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    8.1699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.9396        3.4461        .49065E-03   -1.5263    
   3  Prefactor     .10000E-03    4.9050        .13971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.286        33.192        .10244E-03   -1.4926    
   5  norm          7.7301        2.4872        .55058E-04   -1.5152    
   6  norm          1.4480        2.7800        .14093E-03   -1.5467    
   7  norm          6.9150        5.5238        .13075E-03   -1.5182    
   8  norm          2.4284        4.8207        .18788E-03   -1.5396    
   9  Prefactor     .10000E-03    21.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .46795        2.8630        .16401E-02   -1.5571    
  11  Prefactor     8.7158        5.3788        .11291E-03   -1.5117    
  12  Prefactor     17.788        13.139        .94961E-04   -1.4864    
  13  Prefactor     5.8779        11.245        .82821E-03   -1.5223    
  14  Prefactor     .29530        10.155        .25432E-02   -1.5599    
  15  Prefactor     .10000E-03    3.6437        .12130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    8.5335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10001E-03    13.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.2615        .95676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .74894        .23520        .26146E-03   -1.0199    
  21  Prefactor     1.0920        .24558        .24168E-03   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49964e-08
Minuit parameter uncertainties:
  1  0.000772997
  2  3.44619
  3  1.42484e-05
  4  33.2318
  5  2.48723
  6  2.78024
  7  5.52416
  8  4.82146
  9  0.000252598
  10  2.31486
  11  5.37906
  12  13.1412
  13  11.2489
  14  3.46349
  15  1.67903e-06
  16  0.000897661
  17  0.000753098
  18  1.63408e-06
  19  0.000428043
  20  0.235518
  21  0.245835
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  4.680e-01  2.315e+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.092e+00  2.458e-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:  7.489e-01  2.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 31.264 -17.002
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/91070/likelihoodResults_536889601_537148801_4FGL_J0205.0-1700_daily_bin1148.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) = 4252.40987427
delta logL = 0.0304521286926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4252.40779597
delta logL = 0.0325304264907

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57111       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1535       1.0000          .0000       5.0000    
     3 'Normalizat'    .73966       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0974       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=   4252.408     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      225 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .56856        130.03        .11558E-01    .10467E-02
   2  alpha         3.1502        4.0745        .43087        .37514E-04
   3  Normalizat    .73959        .69056E-01    .42818E-01    .66698E-04
   4  Prefactor     1.0976        .73317E-01    .54537E-01    .90863E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.568559
  alpha      = 3.15025
  Normalizat = 0.739589
  Prefactor  = 1.09762
 **********
 **   18 **HESSE 
 **********

 FCN=   4252.408     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .56856        2.1061        .14267E-03   -1.5557    
   2  alpha         3.1502        3.6861        .51073E-01    .26312    
   3  Normalizat    .73959        .22611        .26298E-03   -1.0235    
   4  Prefactor     1.0976        .24418        .24113E-03   -.89543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.46602e-10
Minuit parameter uncertainties:
  1  2.1064
  2  2.46942
  3  0.226397
  4  0.244424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91070': 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) = 4252.40779233
delta logL = 0.0325340674272

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  5.686e-01  2.106e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  3.150e+00  2.469e+00  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:  1.098e+00  2.444e-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:  7.396e-01  2.264e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 31.264 -17.002

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/91070/cmap_HighResolution_536889601_537148801_4FGL_J0205.0-1700_daily_bin1148.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-05', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-08-15 06:11:08.566844', job_id='91070', GAL2='1.10', fit_tolerance='1e-08', EG2='0.74', EG='0.75', time_epoch_completed='1629033068.57', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.25e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1148' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:11:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 91070: <4FGL_J0205.0-1700_daily_bin1148> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin1148> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 15 05:55:33 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 05:56:44 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:56:44 2021
Terminated at Sun Aug 15 06:11:10 2021
Results reported at Sun Aug 15 06:11:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1148 31.2637 -17.0022 536889601 537148801 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 :                                   802.07 sec.
    Max Memory :                                 1029 MB
    Average Memory :                             251.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            937 sec.

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

