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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1021
RA = 31.2637, Dec = -17.0022
tmin = 503971201, tmax = 504230401
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='90887', job_status='RUN', time_executed='2021-08-15 05:58:47.779545', time_epoch_executed='1629032327.78' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1021'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90887

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90887/ft1_4FGL_J0205.0-1700_daily_bin1021.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90887/ft2_4FGL_J0205.0-1700_daily_bin1021.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90887/ft1_4FGL_J0205.0-1700_daily_bin1021.fits outfile=/scratch/kocevski/90887/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1021.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=503971201.0 tmax=504230401.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 9.75
user 3.81
sys 5.13

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90887/ft1_filtered_4FGL_J0205.0-1700_daily_bin1021.fits" evtable="EVENTS" scfile=/scratch/kocevski/90887/ft2_4FGL_J0205.0-1700_daily_bin1021.fits sctable="SC_DATA" outfile=/scratch/kocevski/90887/ltcube_503971201_504230401_4FGL_J0205.0-1700_daily_bin1021.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/90887/ft2_4FGL_J0205.0-1700_daily_bin1021.fits
.....................!
real 20.40
user 14.52
sys 5.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90887/ft1_filtered_4FGL_J0205.0-1700_daily_bin1021.fits evtable="EVENTS" scfile=/scratch/kocevski/90887/ft2_4FGL_J0205.0-1700_daily_bin1021.fits sctable="SC_DATA" expcube=/scratch/kocevski/90887/ltcube_503971201_504230401_4FGL_J0205.0-1700_daily_bin1021.fits outfile=/scratch/kocevski/90887/expmap_503971201_504230401_4FGL_J0205.0-1700_daily_bin1021.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/90887/ltcube_503971201_504230401_4FGL_J0205.0-1700_daily_bin1021.fits
.....................!
real 198.99
user 186.13
sys 10.79

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/90887/ft1_filtered_4FGL_J0205.0-1700_daily_bin1021.fits scfile=/scratch/kocevski/90887/ft2_4FGL_J0205.0-1700_daily_bin1021.fits outfile=/scratch/kocevski/90887/cmap_503971201_504230401_4FGL_J0205.0-1700_daily_bin1021.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 5.47
user 0.40
sys 4.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90887/ft1_filtered_4FGL_J0205.0-1700_daily_bin1021.fits scfile=/scratch/kocevski/90887/ft2_4FGL_J0205.0-1700_daily_bin1021.fits outfile=/scratch/kocevski/90887/cmap_HighResolution_503971201_504230401_4FGL_J0205.0-1700_daily_bin1021.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 5.48
user 0.41
sys 4.93

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90887/ft1_filtered_4FGL_J0205.0-1700_daily_bin1021.fits evtable="EVENTS" scfile=/scratch/kocevski/90887/ft2_4FGL_J0205.0-1700_daily_bin1021.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90887/Model_4FGL_J0205.0-1700_daily_bin1021.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/90887/ft1_filtered_4FGL_J0205.0-1700_daily_bin1021.fits.....................!
real 48.74
user 40.29
sys 7.49

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.338       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14974E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10313E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10238E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.2589       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.2743       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0781       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4692       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.694       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.337       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .29067E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    43.576       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1034       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2882       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81126       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3913.741     FROM MIGRAD    STATUS=CONVERGED    807 CALLS     2883 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.348        20.486        .12462E-03   -.28084E-03
   2  norm          .10000E-03    3.3145        .21959E-03** at limit **
   3  Prefactor     .10000E-03    15.679        .30581E-02** at limit **
   4  norm          .10000E-03    16.654        .18142E-02** at limit **
   5  norm          .10000E-03    .58804        .46453E-03** at limit **
   6  norm          .10000E-03    2.0798        .17297E-03** at limit **
   7  norm          1.2471        11.623        .39322E-03   -.44437E-04
   8  norm          .10000E-03    2.0082        .86302E-03** at limit **
   9  Prefactor     .10000E-03    21.492        .18142E-02** at limit **
  10  norm          3.2729        3.3554        .10774E-03   -.22930E-03
  11  Prefactor     7.0776        4.9039        .11039E-03   -.61843E-04
  12  Prefactor     6.4666        12.604        .15779E-03    .17508E-04
  13  Prefactor     17.695        14.734        .95216E-04   -.96713E-05
  14  Prefactor     11.339        8.9374        .11898E-03   -.79976E-04
  15  Prefactor     .10060E-03    19.653        .63596E-01** at limit **
  16  Prefactor     .10000E-03    9.5956        .18142E-02** at limit **
  17  norm          43.598        64.820        .60731E-04   -.54362E-04
  18  Prefactor     .10000E-03    8.7818        .18003E-02** at limit **
  19  Prefactor     1.1763        467.94        .87091E-02    .95967E-04
  20  Normalizat    1.2879        .27666        .22326E-03   -.63100E-03
  21  Prefactor     .81167        .27693        .29033E-03   -.17815E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.3481
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.24711
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.27286
  Prefactor  = 7.07756
  Prefactor  = 6.46664
  Prefactor  = 17.6951
  Prefactor  = 11.3392
  Prefactor  = 0.000100596
  Prefactor  = 0.0001
  norm       = 43.5985
  Prefactor  = 0.0001
  Prefactor  = 1.17629
  Normalizat = 1.28794
  Prefactor  = 0.811674
 **********
 **   18 **HESSE 
 **********

 FCN=   3913.741     FROM HESSE     STATUS=OK           307 CALLS     3190 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.348        20.452        .49848E-05   -1.5064    
   2  norm          .10000E-03    3.3145        .43919E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.726        .61161E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    16.655        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .58807        .92906E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.0798        .34594E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.2471        11.602        .15729E-04   -1.5485    
   8  norm          .10000E-03    2.0083        .17260E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    21.492        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.2729        3.3553        .43096E-05   -1.5346    
  11  Prefactor     7.0776        4.9034        .44156E-05   -1.5176    
  12  Prefactor     6.4666        12.603        .63117E-05   -1.5199    
  13  Prefactor     17.695        14.733        .38086E-05   -1.4866    
  14  Prefactor     11.339        8.9346        .47592E-05   -1.5034    
  15  Prefactor     .10060E-03    18.646        .65830E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.5957        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          43.598        64.044        .12146E-04   -1.4386    
  18  Prefactor     .10000E-03    8.7854        .36006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.1763        464.16        .34836E-03   -1.5491    
  20  Normalizat    1.2879        .27625        .44652E-04   -.83927    
  21  Prefactor     .81167        .27710        .11613E-04   -.99299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34664e-09
Minuit parameter uncertainties:
  1  20.466
  2  3.26548e-05
  3  0.000208229
  4  0.000134607
  5  5.62184e-06
  6  6.93316e-06
  7  7.60912
  8  4.15164e-06
  9  1.88909e-05
  10  3.35552
  11  4.90368
  12  12.608
  13  14.7357
  14  8.93569
  15  0.00667041
  16  8.27825e-06
  17  64.1455
  18  6.20451e-05
  19  47.1032
  20  0.276564
  21  0.277577
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  3.273e+00  3.356e+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:  8.117e-01  2.776e-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:  1.288e+00  2.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.24
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 6.21e-08 +/- 6.36e-08
Energy Flux (Fixed Index): 1.58e-05 +/- 1.62e-05

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

Saving results to:
/scratch/kocevski/90887/likelihoodResults_503971201_504230401_4FGL_J0205.0-1700_daily_bin1021.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) = 3913.20522437
delta logL = 0.535500438467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3913.20336252
delta logL = 0.53736228822

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1060       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6923       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2347       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85545       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3913.203     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      274 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1061        3.1479        .66483E-04   -.14197E-02
   2  alpha         3.6922        1.2923        .19730E-02   -.49346E-04
   3  Normalizat    1.2347        .26531        .22706E-03    .75473E-04
   4  Prefactor     .85544        .27610        .28359E-03    .88095E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10612
  alpha      = 3.69222
  Normalizat = 1.23466
  Prefactor  = 0.855442
 **********
 **   18 **HESSE 
 **********

 FCN=   3913.203     FROM HESSE     STATUS=OK            23 CALLS      297 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1061        3.0764        .26593E-05   -1.5418    
   2  alpha         3.6922        1.2667        .78921E-04    .49711    
   3  Normalizat    1.2347        .26561        .45412E-04   -.85538    
   4  Prefactor     .85544        .27637        .11344E-04   -.97716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16074e-10
Minuit parameter uncertainties:
  1  3.07659
  2  1.35004
  3  0.265902
  4  0.276821
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90887': 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) = 3913.20336251
delta logL = 0.537362291494

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  2.106e+00  3.077e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  3.692e+00  1.350e+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:  8.554e-01  2.768e-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:  1.235e+00  2.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.40
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 3.69 +/- 1.35
Photon Flux (Free Index): 1.05e-07 +/- 8.29e-08
Energy Flux (Free Index): 1.69e-05 +/- 1.38e-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/90887/cmap_HighResolution_503971201_504230401_4FGL_J0205.0-1700_daily_bin1021.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.92e-05', comment='SUCCESS', photon_flux='6.21e-08', energy_flux2='1.69e-05', photon_flux_error='6.36e-08', dlogl='5.37e-01', energy_flux='1.58e-05', photon_flux2='1.05e-07', job_status='DONE', time_completed='2021-08-15 06:09:29.806498', photon_index_error2='1.35', photon_index2='3.69', ts='1.24', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.93e-07', energy_flux_error2='1.38e-05', EG='1.29', time_epoch_completed='1629032969.81', return_code='0', job_id='90887', GAL2='0.86', EG2='1.23', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='8.29e-08', ts2='2.40', photon_index='2.56' WHERE bin_id='1021' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:09:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0181>
Subject: Job 90887: <4FGL_J0205.0-1700_daily_bin1021> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin1021> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 15 05:55:20 2021
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 05:55:39 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:55:39 2021
Terminated at Sun Aug 15 06:09:31 2021
Results reported at Sun Aug 15 06:09:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1021 31.2637 -17.0022 503971201 504230401 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 :                                   699.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            851 sec.

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

