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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1060
RA = 31.2637, Dec = -17.0022
tmin = 514080001, tmax = 514339201
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='90943', job_status='RUN', time_executed='2021-08-15 05:58:36.622738', time_epoch_executed='1629032316.62' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90943

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90943/ft1_4FGL_J0205.0-1700_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90943/ft2_4FGL_J0205.0-1700_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90943/ft1_4FGL_J0205.0-1700_daily_bin1060.fits outfile=/scratch/kocevski/90943/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1060.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=514080001.0 tmax=514339201.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 5.00
user 3.39
sys 1.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90943/ft1_filtered_4FGL_J0205.0-1700_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/90943/ft2_4FGL_J0205.0-1700_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/90943/ltcube_514080001_514339201_4FGL_J0205.0-1700_daily_bin1060.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/90943/ft2_4FGL_J0205.0-1700_daily_bin1060.fits
.....................!
real 15.19
user 13.28
sys 1.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90943/ft1_filtered_4FGL_J0205.0-1700_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/90943/ft2_4FGL_J0205.0-1700_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/90943/ltcube_514080001_514339201_4FGL_J0205.0-1700_daily_bin1060.fits outfile=/scratch/kocevski/90943/expmap_514080001_514339201_4FGL_J0205.0-1700_daily_bin1060.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/90943/ltcube_514080001_514339201_4FGL_J0205.0-1700_daily_bin1060.fits
.....................!
real 193.56
user 186.15
sys 6.63

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/90943/ft1_filtered_4FGL_J0205.0-1700_daily_bin1060.fits scfile=/scratch/kocevski/90943/ft2_4FGL_J0205.0-1700_daily_bin1060.fits outfile=/scratch/kocevski/90943/cmap_514080001_514339201_4FGL_J0205.0-1700_daily_bin1060.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 1.88
user 0.38
sys 1.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90943/ft1_filtered_4FGL_J0205.0-1700_daily_bin1060.fits scfile=/scratch/kocevski/90943/ft2_4FGL_J0205.0-1700_daily_bin1060.fits outfile=/scratch/kocevski/90943/cmap_HighResolution_514080001_514339201_4FGL_J0205.0-1700_daily_bin1060.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 1.85
user 0.39
sys 1.44

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90943/ft1_filtered_4FGL_J0205.0-1700_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/90943/ft2_4FGL_J0205.0-1700_daily_bin1060.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90943/Model_4FGL_J0205.0-1700_daily_bin1060.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/90943/ft1_filtered_4FGL_J0205.0-1700_daily_bin1060.fits.....................!
real 45.27
user 42.06
sys 2.90

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.057       1.0000         .10000E-03   10000.    
     2 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .28503       1.0000         .10000E-03   10000.    
     4 'norm      '    .10162E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.9594       1.0000         .10000E-03   10000.    
     6 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    12.830       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.616       1.0000         .10000E-03   10000.    
    10 'norm      '    4.7977       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.5442       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.0988       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23966E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.3719       1.0000         .10000E-03   10000.    
    17 'norm      '    .10979E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .82499       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98221       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=   4094.371     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2257 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.215        31.826       -.65268E-05   -.73128E-03
   2  norm          .10000E-03    2.8039        .46352E-06** at limit **
   3  Prefactor     .18931        7.4273        .30566E-05   -.14851E-03
   4  norm          .10000E-03    20.866       -.42034E-06** at limit **
   5  norm          4.9592        2.2695       -.41764E-07   -.10944E-02
   6  norm          .10000E-03    1.9496       -.89933E-09** at limit **
   7  norm          12.827        8.5124       -.75541E-06   -.48383E-04
   8  norm          .10000E-03    1.1441        .18043E-07** at limit **
   9  Prefactor     34.542        58.490       -.54049E-04   -.33861E-04
  10  norm          4.7983        2.9250       -.41645E-06   -.35074E-03
  11  Prefactor     8.5432        7.2109        .41353E-05   -.15492E-03
  12  Prefactor     .10000E-03    8.7663        .10046E-05** at limit **
  13  Prefactor     8.0989        17.703       -.30298E-05   -.59837E-04
  14  Prefactor     .10000E-03    6.2305        .77390E-06** at limit **
  15  Prefactor     .10000E-03    5.6375       -.25513E-06** at limit **
  16  Prefactor     6.3697        20.227       -.18938E-05   -.30459E-04
  17  norm          .10000E-03    64.125        .44771E-05** at limit **
  18  Prefactor     .10000E-03    5.3876       -.14017E-06** at limit **
  19  Prefactor     .10000E-03    11.949       -.12931E-06** at limit **
  20  Normalizat    .82473        .21184        .20119E-05   -.56957E-03
  21  Prefactor     .98267        .21077        .16866E-05   -.36282E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.2148
  norm       = 0.0001
  Prefactor  = 0.189308
  norm       = 0.0001
  norm       = 4.95917
  norm       = 0.0001
  norm       = 12.8273
  norm       = 0.0001
  Prefactor  = 34.5424
  norm       = 4.79827
  Prefactor  = 8.54317
  Prefactor  = 0.000100001
  Prefactor  = 8.09887
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.36974
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.824725
  Prefactor  = 0.982667
 **********
 **   18 **HESSE 
 **********

 FCN=   4094.371     FROM HESSE     STATUS=OK           313 CALLS     2570 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.215        36.975        .70770E-04   -1.4572    
   2  norm          .10000E-03    2.8102        .10421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .18931        187.09        .26718E-02   -1.5621    
   4  norm          .10000E-03    20.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.9592        2.2676        .60740E-04   -1.5263    
   6  norm          .10000E-03    1.9893        .17374E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          12.827        8.5152        .11183E-03   -1.4992    
   8  norm          .10000E-03    1.1467        .66839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     34.542        58.136        .68111E-04   -1.4532    
  10  norm          4.7983        2.9322        .80161E-04   -1.5270    
  11  Prefactor     8.5432        7.2081        .13714E-03   -1.5123    
  12  Prefactor     .10000E-03    8.8041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.0989        17.627        .14088E-03   -1.5139    
  14  Prefactor     .10000E-03    14.314        .30123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.6826        .14835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.3697        20.194        .15901E-03   -1.5203    
  17  norm          .10000E-03    64.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.4402        .14493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .82473        .24683        .24737E-03   -.99158    
  21  Prefactor     .98267        .24603        .24745E-03   -.93310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61674e-09
Minuit parameter uncertainties:
  1  37.0015
  2  5.06409e-05
  3  11.937
  4  2.81876e-05
  5  2.2676
  6  2.24627e-05
  7  8.51595
  8  1.14132e-05
  9  58.2312
  10  2.93229
  11  7.2088
  12  0.000151613
  13  17.6379
  14  2.28638e-05
  15  2.77369e-05
  16  20.2154
  17  0.000205241
  18  9.28808e-06
  19  8.43059e-06
  20  0.247171
  21  0.246311
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  4.798e+00  2.932e+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.827e-01  2.463e-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.247e-01  2.472e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.58
Ra Dec: 31.264 -17.002
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 9.11e-08 +/- 5.56e-08
Energy Flux (Fixed Index): 2.32e-05 +/- 1.42e-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) = 4094.16024025
delta logL = 0.210353005776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4094.13257361
delta logL = 0.238019652533

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0184       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0862       1.0000          .0000       5.0000    
     3 'Normalizat'    .86242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95969       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=   4094.133     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      204 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0064        2.7616        .50293E-02    .23072E-03
   2  alpha         2.0848        .49918        .31709        .42524E-06
   3  Normalizat    .86272        .19281        .44420E-01    .30203E-04
   4  Prefactor     .95957        .20725        .45761E-01    .13210E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.00641
  alpha      = 2.08482
  Normalizat = 0.862721
  Prefactor  = 0.95957
 **********
 **   18 **HESSE 
 **********

 FCN=   4094.133     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0064        3.6201        .84151E-04   -1.5308    
   2  alpha         2.0848        .72300        .12597E-01   -.16685    
   3  Normalizat    .86272        .22690        .24255E-03   -.97783    
   4  Prefactor     .95957        .23933        .25013E-03   -.94090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61098e-11
Minuit parameter uncertainties:
  1  3.62032
  2  0.733783
  3  0.227151
  4  0.23959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90943': 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) = 4094.1325681
delta logL = 0.2380251554

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  4.006e+00  3.620e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.085e+00  7.338e-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.596e-01  2.396e-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.627e-01  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.00
Ra Dec: 31.264 -17.002
Photon Index (Free Index): 2.08 +/- 0.73
Photon Flux (Free Index): 5.72e-08 +/- 6.60e-08
Energy Flux (Free Index): 2.36e-05 +/- 1.63e-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/90943/cmap_HighResolution_514080001_514339201_4FGL_J0205.0-1700_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.11e-08', energy_flux2='2.36e-05', photon_flux_error='5.56e-08', dlogl='2.38e-01', energy_flux='2.32e-05', photon_flux2='5.72e-08', job_status='DONE', time_completed='2021-08-15 06:07:17.246140', photon_index_error2='0.73', photon_index2='2.08', ts='5.58', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.63e-05', EG='0.82', time_epoch_completed='1629032837.25', return_code='0', job_id='90943', GAL2='0.96', EG2='0.86', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='6.60e-08', ts2='6.00', photon_index='2.56' WHERE bin_id='1060' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:07:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0119>
Subject: Job 90943: <4FGL_J0205.0-1700_daily_bin1060> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1060 31.2637 -17.0022 514080001 514339201 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 :                                   535.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             302.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            714 sec.

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

