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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin959
RA = 31.2637, Dec = -17.0022
tmin = 487900801, tmax = 488160001
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='89750', job_status='RUN', time_executed='2021-08-15 05:55:02.410814', time_epoch_executed='1629032102.41' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='959'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89750

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89750/ft1_4FGL_J0205.0-1700_daily_bin959.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89750/ft2_4FGL_J0205.0-1700_daily_bin959.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89750/ft1_4FGL_J0205.0-1700_daily_bin959.fits outfile=/scratch/kocevski/89750/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin959.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=487900801.0 tmax=488160001.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.76
user 5.81
sys 5.86

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/89750/ft2_4FGL_J0205.0-1700_daily_bin959.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/89750/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin959.fits evtable="EVENTS" outfile="/scratch/kocevski/89750/ft1_filtered_4FGL_J0205.0-1700_daily_bin959.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 6.23
user 0.34
sys 5.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89750/ft1_filtered_4FGL_J0205.0-1700_daily_bin959.fits" evtable="EVENTS" scfile=/scratch/kocevski/89750/ft2_4FGL_J0205.0-1700_daily_bin959.fits sctable="SC_DATA" outfile=/scratch/kocevski/89750/ltcube_487900801_488160001_4FGL_J0205.0-1700_daily_bin959.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/89750/ft2_4FGL_J0205.0-1700_daily_bin959.fits
.....................!
real 22.25
user 15.37
sys 6.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89750/ft1_filtered_4FGL_J0205.0-1700_daily_bin959.fits evtable="EVENTS" scfile=/scratch/kocevski/89750/ft2_4FGL_J0205.0-1700_daily_bin959.fits sctable="SC_DATA" expcube=/scratch/kocevski/89750/ltcube_487900801_488160001_4FGL_J0205.0-1700_daily_bin959.fits outfile=/scratch/kocevski/89750/expmap_487900801_488160001_4FGL_J0205.0-1700_daily_bin959.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/89750/ltcube_487900801_488160001_4FGL_J0205.0-1700_daily_bin959.fits
.....................!
real 201.48
user 188.97
sys 11.95

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/89750/ft1_filtered_4FGL_J0205.0-1700_daily_bin959.fits scfile=/scratch/kocevski/89750/ft2_4FGL_J0205.0-1700_daily_bin959.fits outfile=/scratch/kocevski/89750/cmap_487900801_488160001_4FGL_J0205.0-1700_daily_bin959.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 6.03
user 0.40
sys 5.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89750/ft1_filtered_4FGL_J0205.0-1700_daily_bin959.fits scfile=/scratch/kocevski/89750/ft2_4FGL_J0205.0-1700_daily_bin959.fits outfile=/scratch/kocevski/89750/cmap_HighResolution_487900801_488160001_4FGL_J0205.0-1700_daily_bin959.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 6.04
user 0.40
sys 5.61

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/89750/ft1_filtered_4FGL_J0205.0-1700_daily_bin959.fits evtable="EVENTS" scfile=/scratch/kocevski/89750/ft2_4FGL_J0205.0-1700_daily_bin959.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/89750/Model_4FGL_J0205.0-1700_daily_bin959.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/89750/ft1_filtered_4FGL_J0205.0-1700_daily_bin959.fits.....................!
real 54.34
user 41.15
sys 8.64

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.8418       1.0000         .10000E-03   10000.    
     4 'norm      '    17.820       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5901       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.686       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2006       1.0000         .10000E-03   10000.    
    10 'norm      '    .34851       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.911       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.993       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10264E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.962       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.866       1.0000         .10000E-03   10000.    
    17 'norm      '    32.378       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    44.676       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .76784       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66169       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=   4062.517     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2161 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4582       -.23821E-06** at limit **
   2  norm          .10000E-03    1.4446        .44836E-06** at limit **
   3  Prefactor     6.8405        5.1262        .74263E-07   -.91130E-04
   4  norm          17.798        30.574       -.18604E-04   -.34009E-05
   5  norm          1.5902        1.4938       -.17845E-06   -.24670E-03
   6  norm          .10000E-03    .80493       -.22332E-06** at limit **
   7  norm          13.687        7.8255        .26794E-05    .29902E-04
   8  norm          .10000E-03    .89699        .63219E-07** at limit **
   9  Prefactor     8.1929        26.850       -.65276E-05   -.50246E-05
  10  norm          .34870        1.3752       -.90661E-06   -.13148E-02
  11  Prefactor     11.910        4.5081       -.15577E-06    .91906E-04
  12  Prefactor     12.994        11.600       -.18091E-05    .25373E-04
  13  Prefactor     .10000E-03    4.9656        .29779E-06** at limit **
  14  Prefactor     17.963        7.3415       -.28905E-05    .48212E-04
  15  Prefactor     .10000E-03    4.5415       -.47133E-07** at limit **
  16  Prefactor     18.851        21.752        .48136E-05    .20519E-05
  17  norm          32.375        39.483       -.32568E-05    .19550E-04
  18  Prefactor     .10000E-03    4.8701        .13438E-06** at limit **
  19  Prefactor     44.679        45.010        .19988E-05    .31364E-04
  20  Normalizat    .76776        .17075        .35395E-05    .60570E-05
  21  Prefactor     .66180        .17580        .14487E-06    .14299E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.84052
  norm       = 17.7983
  norm       = 1.59024
  norm       = 0.0001
  norm       = 13.6872
  norm       = 0.0001
  Prefactor  = 8.19294
  norm       = 0.348696
  Prefactor  = 11.9105
  Prefactor  = 12.9939
  Prefactor  = 0.0001
  Prefactor  = 17.9631
  Prefactor  = 0.0001
  Prefactor  = 18.8509
  norm       = 32.3753
  Prefactor  = 0.0001
  Prefactor  = 44.6789
  Normalizat = 0.767759
  Prefactor  = 0.661801
 **********
 **   18 **HESSE 
 **********

 FCN=   4062.517     FROM HESSE     STATUS=OK           323 CALLS     2484 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.4696        .15816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.4556        .74657E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.8405        5.1326        .11848E-03   -1.5185    
   4  norm          17.798        30.517        .94878E-04   -1.4864    
   5  norm          1.5902        1.4847        .70623E-04   -1.5456    
   6  norm          .10000E-03    .81385        .55798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.687        7.8079        .10827E-03   -1.4968    
   8  norm          .10000E-03    .89965        .58945E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.1929        26.858        .14000E-03   -1.5135    
  10  norm          .34870        1.3695        .14179E-03   -1.5590    
  11  Prefactor     11.910        4.5144        .79888E-04   -1.5018    
  12  Prefactor     12.994        11.602        .11112E-03   -1.4987    
  13  Prefactor     .10000E-03    4.9710        .13868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.963        7.3537        .94502E-04   -1.4860    
  15  Prefactor     .10000E-03    4.5585        .13243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.851        21.711        .92211E-04   -1.4839    
  17  norm          32.375        39.385        .70420E-04   -1.4569    
  18  Prefactor     .10000E-03    4.9757        .13727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     44.679        45.126        .59982E-04   -1.4370    
  20  Normalizat    .76776        .19726        .20970E-03   -1.0128    
  21  Prefactor     .66180        .20272        .24764E-03   -1.0504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10649e-09
Minuit parameter uncertainties:
  1  1.06986e-05
  2  4.85104e-06
  3  5.13291
  4  30.5439
  5  1.48477
  6  2.75288e-06
  7  7.8085
  8  3.1549e-07
  9  26.8976
  10  1.36963
  11  4.51453
  12  11.6035
  13  2.24596e-05
  14  7.35408
  15  8.53802e-06
  16  21.7198
  17  39.4163
  18  2.24223e-05
  19  45.1602
  20  0.19744
  21  0.20295
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  3.487e-01  1.370e+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:  6.618e-01  2.029e-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.678e-01  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 31.264 -17.002
Photon Flux Upper Limit: 8.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.07e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/89750/likelihoodResults_487900801_488160001_4FGL_J0205.0-1700_daily_bin959.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) = 4062.51571534
delta logL = 0.00103349173787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4062.51564876
delta logL = 0.00110006600607

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34160       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4146       1.0000          .0000       5.0000    
     3 'Normalizat'    .76892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66093       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4062.516     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      261 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34160        1.3344        .14096E-03   -.10730E-03
   2  alpha         2.4146        3.6376        .60368E-01    .26869E-04
   3  Normalizat    .76894        .18125        .20955E-03   -.51539E-06
   4  Prefactor     .66091        .19985        .24779E-03   -.80290E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.341604
  alpha      = 2.41461
  Normalizat = 0.768939
  Prefactor  = 0.660908
 **********
 **   18 **HESSE 
 **********

 FCN=   4062.516     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34160        1.3600        .56385E-05   -1.5591    
   2  alpha         2.4146        3.6485        .24147E-02   -.34161E-01
   3  Normalizat    .76894        .18149        .83821E-05   -1.0123    
   4  Prefactor     .66091        .19994        .99117E-05   -1.0508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38269e-09
Minuit parameter uncertainties:
  1  1.36015
  2  3.07017
  3  0.181631
  4  0.200155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89750': 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) = 4062.51564875
delta logL = 0.00110007358535

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  3.416e-01  1.360e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.415e+00  3.070e+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:  6.609e-01  2.002e-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.689e-01  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/89750/cmap_HighResolution_487900801_488160001_4FGL_J0205.0-1700_daily_bin959.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-05', job_status='DONE', photon_flux_upper_limit='8.11e-08', time_completed='2021-08-15 06:05:40.144702', job_id='89750', GAL2='0.66', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1629032740.14', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.10e-03', ts2='0.08', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='959' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:05:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 89750: <4FGL_J0205.0-1700_daily_bin959> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin959> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 05:51:12 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 05:53:13 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:53:13 2021
Terminated at Sun Aug 15 06:05:42 2021
Results reported at Sun Aug 15 06:05:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin959 31.2637 -17.0022 487900801 488160001 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 :                                   716.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            870 sec.

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

