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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1480
RA = 31.2637, Dec = -17.0022
tmin = 622944001, tmax = 623203201
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='92713', job_status='RUN', time_executed='2021-08-15 06:02:31.887100', time_epoch_executed='1629032551.89' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1480'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92713

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92713/ft1_4FGL_J0205.0-1700_daily_bin1480.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92713/ft2_4FGL_J0205.0-1700_daily_bin1480.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92713/ft1_4FGL_J0205.0-1700_daily_bin1480.fits outfile=/scratch/kocevski/92713/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1480.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=622944001.0 tmax=623203201.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 4.37
user 2.81
sys 1.52

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/92713/ft2_4FGL_J0205.0-1700_daily_bin1480.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/92713/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1480.fits evtable="EVENTS" outfile="/scratch/kocevski/92713/ft1_filtered_4FGL_J0205.0-1700_daily_bin1480.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.81
user 0.32
sys 1.45

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92713/ft1_filtered_4FGL_J0205.0-1700_daily_bin1480.fits" evtable="EVENTS" scfile=/scratch/kocevski/92713/ft2_4FGL_J0205.0-1700_daily_bin1480.fits sctable="SC_DATA" outfile=/scratch/kocevski/92713/ltcube_622944001_623203201_4FGL_J0205.0-1700_daily_bin1480.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/92713/ft2_4FGL_J0205.0-1700_daily_bin1480.fits
.....................!
real 17.36
user 15.51
sys 1.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92713/ft1_filtered_4FGL_J0205.0-1700_daily_bin1480.fits evtable="EVENTS" scfile=/scratch/kocevski/92713/ft2_4FGL_J0205.0-1700_daily_bin1480.fits sctable="SC_DATA" expcube=/scratch/kocevski/92713/ltcube_622944001_623203201_4FGL_J0205.0-1700_daily_bin1480.fits outfile=/scratch/kocevski/92713/expmap_622944001_623203201_4FGL_J0205.0-1700_daily_bin1480.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/92713/ltcube_622944001_623203201_4FGL_J0205.0-1700_daily_bin1480.fits
.....................!
real 195.11
user 185.92
sys 7.35

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/92713/ft1_filtered_4FGL_J0205.0-1700_daily_bin1480.fits scfile=/scratch/kocevski/92713/ft2_4FGL_J0205.0-1700_daily_bin1480.fits outfile=/scratch/kocevski/92713/cmap_622944001_623203201_4FGL_J0205.0-1700_daily_bin1480.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.86
user 0.37
sys 1.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92713/ft1_filtered_4FGL_J0205.0-1700_daily_bin1480.fits scfile=/scratch/kocevski/92713/ft2_4FGL_J0205.0-1700_daily_bin1480.fits outfile=/scratch/kocevski/92713/cmap_HighResolution_622944001_623203201_4FGL_J0205.0-1700_daily_bin1480.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.86
user 0.39
sys 1.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92713/ft1_filtered_4FGL_J0205.0-1700_daily_bin1480.fits evtable="EVENTS" scfile=/scratch/kocevski/92713/ft2_4FGL_J0205.0-1700_daily_bin1480.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92713/Model_4FGL_J0205.0-1700_daily_bin1480.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/92713/ft1_filtered_4FGL_J0205.0-1700_daily_bin1480.fits.....................!
real 33.63
user 29.85
sys 3.07

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10388E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .95499       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7192       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.2166       1.0000         .10000E-03   10000.    
     7 'norm      '    48.421       1.0000         .10000E-03   10000.    
     8 'norm      '    11.255       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.707       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7598       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3103       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6726       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    105.37       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.498       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11776E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .98069       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81312       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=   2641.836     FROM MIGRAD    STATUS=CONVERGED    773 CALLS     2826 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    57.609        .74335E-01** at limit **
   2  norm          .95043        8.5113        .20215E-03   -.25335E-04
   3  Prefactor     5.7199        7.6230        .14294E-03   -.11516E-03
   4  norm          .10000E-03    31.400        .18142E-02** at limit **
   5  norm          .10000E-03    .80802        .44778E-03** at limit **
   6  norm          3.2172        3.3784        .88781E-04   -.19208E-04
   7  norm          48.419        25.352        .57626E-04   -.18840E-04
   8  norm          11.256        7.7403        .10494E-03    .19555E-04
   9  Prefactor     30.701        65.468        .72304E-04   -.84906E-05
  10  norm          1.7599        3.0312        .11179E-03    .91523E-04
  11  Prefactor     2.3101        7.5650        .24415E-03    .37135E-04
  12  Prefactor     .10000E-03    7.0705        .13340E-02** at limit **
  13  Prefactor     .10000E-03    13.759        .18142E-02** at limit **
  14  Prefactor     5.6733        8.7380        .16866E-03    .48331E-04
  15  Prefactor     .10000E-03    13.467        .18142E-02** at limit **
  16  Prefactor     .10000E-03    19.090        .18142E-02** at limit **
  17  norm          105.28        93.441        .19588E-03    .38016E-05
  18  Prefactor     14.498        11.716        .10519E-03    .56200E-05
  19  Prefactor     .10000E-03    73.373        .18142E-02** at limit **
  20  Normalizat    .98029        .34537        .24972E-03    .16207E-04
  21  Prefactor     .81346        .33502        .28370E-03    .31697E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.950433
  Prefactor  = 5.7199
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.21722
  norm       = 48.4193
  norm       = 11.2558
  Prefactor  = 30.7007
  norm       = 1.75988
  Prefactor  = 2.31014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.6733
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 105.284
  Prefactor  = 14.4976
  Prefactor  = 0.0001
  Normalizat = 0.980287
  Prefactor  = 0.813457
 **********
 **   18 **HESSE 
 **********

 FCN=   2641.836     FROM HESSE     STATUS=OK           305 CALLS     3131 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.393        .79877E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .95043        8.0405        .80862E-05   -1.5513    
   3  Prefactor     5.7199        7.6212        .57177E-05   -1.5230    
   4  norm          .10000E-03    31.400        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .80805        .89557E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.2172        3.3782        .35512E-05   -1.5349    
   7  norm          48.419        25.352        .11525E-04   -1.4315    
   8  norm          11.256        7.7406        .41976E-05   -1.5037    
   9  Prefactor     30.701        65.456        .28922E-05   -1.4599    
  10  norm          1.7599        3.0310        .44718E-05   -1.5443    
  11  Prefactor     2.3101        7.5642        .97659E-05   -1.5404    
  12  Prefactor     .10000E-03    7.0706        .26679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.759        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6733        8.7371        .67462E-05   -1.5232    
  15  Prefactor     .10000E-03    13.468        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.091        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          105.28        93.435        .78351E-05   -1.3652    
  18  Prefactor     14.498        11.716        .42077E-05   -1.4946    
  19  Prefactor     .10000E-03    73.378        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .98029        .34576        .99889E-05   -.93694    
  21  Prefactor     .81346        .33541        .11348E-04   -.99234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4389e-11
Minuit parameter uncertainties:
  1  0.000241972
  2  5.52953
  3  7.62247
  4  1.12829e-05
  5  8.43864e-07
  6  3.37836
  7  25.3574
  8  7.74128
  9  65.6096
  10  3.03129
  11  7.5673
  12  3.15273e-06
  13  7.50189e-05
  14  8.73908
  15  1.78954e-05
  16  2.33708e-05
  17  93.5658
  18  11.7177
  19  0.00038212
  20  0.34655
  21  0.336253
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  1.760e+00  3.031e+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.135e-01  3.363e-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:  9.803e-01  3.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/92713/likelihoodResults_622944001_623203201_4FGL_J0205.0-1700_daily_bin1480.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) = 2641.8270085
delta logL = 0.00897465764638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2641.82679949
delta logL = 0.00918367006034

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7238       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7487       1.0000          .0000       5.0000    
     3 'Normalizat'    .97608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81667       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=   2641.827     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      237 TOTAL
                     EDM=   .68E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7240        2.9951        .10790E-03   -.25286E-05
   2  alpha         2.7483        1.3347        .24773E-01   -.48026E-06
   3  Normalizat    .97596        .31108        .25022E-03    .95414E-06
   4  Prefactor     .81678        .32327        .28317E-03   -.20977E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72398
  alpha      = 2.74831
  Normalizat = 0.975961
  Prefactor  = 0.816778
 **********
 **   18 **HESSE 
 **********

 FCN=   2641.827     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .68E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7240        2.9568        .43161E-05   -1.5445    
   2  alpha         2.7483        1.3194        .99090E-03    .99488E-01
   3  Normalizat    .97596        .31146        .10009E-04   -.93840    
   4  Prefactor     .81678        .32354        .11327E-04   -.99113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79337e-12
Minuit parameter uncertainties:
  1  2.95708
  2  1.39074
  3  0.312039
  4  0.324301
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92713': 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) = 2641.82679936
delta logL = 0.00918379962195

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  1.724e+00  2.957e+00  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.748e+00  1.391e+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.168e-01  3.243e-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:  9.760e-01  3.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.45
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/92713/cmap_HighResolution_622944001_623203201_4FGL_J0205.0-1700_daily_bin1480.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-05', job_status='DONE', photon_flux_upper_limit='1.80e-07', time_completed='2021-08-15 06:11:20.651157', job_id='92713', GAL2='0.82', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1629033080.65', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='9.18e-03', ts2='0.46', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1480' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:11:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 92713: <4FGL_J0205.0-1700_daily_bin1480> in cluster <slac> Done

Job <4FGL_J0205.0-1700_daily_bin1480> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Aug 15 06:00:30 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 06:01:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 06:01:02 2021
Terminated at Sun Aug 15 06:11:21 2021
Results reported at Sun Aug 15 06:11:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1480 31.2637 -17.0022 622944001 623203201 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 :                                   502.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            651 sec.

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

