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


Performing analysis on: 4FGL_J0205.0-1700_daily_bin1371
RA = 31.2637, Dec = -17.0022
tmin = 594691201, tmax = 594950401
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='91394', job_status='RUN', time_executed='2021-08-15 06:00:16.135427', time_epoch_executed='1629032416.14' WHERE source_name='4FGL J0205.0-1700' and cadence='daily' and bin_id='1371'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91394

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91394/ft1_4FGL_J0205.0-1700_daily_bin1371.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91394/ft2_4FGL_J0205.0-1700_daily_bin1371.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91394/ft1_4FGL_J0205.0-1700_daily_bin1371.fits outfile=/scratch/kocevski/91394/ft1_filteredMKT_4FGL_J0205.0-1700_daily_bin1371.fits ra=31.2637 dec=-17.0022 rad=12.0 tmin=594691201.0 tmax=594950401.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 3.02
user 2.78
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91394/ft1_filtered_4FGL_J0205.0-1700_daily_bin1371.fits" evtable="EVENTS" scfile=/scratch/kocevski/91394/ft2_4FGL_J0205.0-1700_daily_bin1371.fits sctable="SC_DATA" outfile=/scratch/kocevski/91394/ltcube_594691201_594950401_4FGL_J0205.0-1700_daily_bin1371.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/91394/ft2_4FGL_J0205.0-1700_daily_bin1371.fits
.....................!
real 15.75
user 15.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91394/ft1_filtered_4FGL_J0205.0-1700_daily_bin1371.fits evtable="EVENTS" scfile=/scratch/kocevski/91394/ft2_4FGL_J0205.0-1700_daily_bin1371.fits sctable="SC_DATA" expcube=/scratch/kocevski/91394/ltcube_594691201_594950401_4FGL_J0205.0-1700_daily_bin1371.fits outfile=/scratch/kocevski/91394/expmap_594691201_594950401_4FGL_J0205.0-1700_daily_bin1371.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/91394/ltcube_594691201_594950401_4FGL_J0205.0-1700_daily_bin1371.fits
.....................!
real 192.90
user 186.26
sys 4.98

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/91394/ft1_filtered_4FGL_J0205.0-1700_daily_bin1371.fits scfile=/scratch/kocevski/91394/ft2_4FGL_J0205.0-1700_daily_bin1371.fits outfile=/scratch/kocevski/91394/cmap_594691201_594950401_4FGL_J0205.0-1700_daily_bin1371.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 0.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91394/ft1_filtered_4FGL_J0205.0-1700_daily_bin1371.fits scfile=/scratch/kocevski/91394/ft2_4FGL_J0205.0-1700_daily_bin1371.fits outfile=/scratch/kocevski/91394/cmap_HighResolution_594691201_594950401_4FGL_J0205.0-1700_daily_bin1371.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 0.61
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/91394/ft1_filtered_4FGL_J0205.0-1700_daily_bin1371.fits evtable="EVENTS" scfile=/scratch/kocevski/91394/ft2_4FGL_J0205.0-1700_daily_bin1371.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/91394/Model_4FGL_J0205.0-1700_daily_bin1371.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/91394/ft1_filtered_4FGL_J0205.0-1700_daily_bin1371.fits.....................!
real 43.86
user 42.39
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.5197       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.0724       1.0000         .10000E-03   10000.    
     6 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    16.071       1.0000         .10000E-03   10000.    
     8 'norm      '    2.3118       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8120       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23380       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .63734E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.650       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5476       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.4239       1.0000         .10000E-03   10000.    
    17 'norm      '    .12831E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7127       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .83388       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1199       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=   4311.543     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2275 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.423        .40288E-06** at limit **
   2  norm          .10000E-03    1.6169        .23118E-06** at limit **
   3  Prefactor     6.5225        5.4748       -.22786E-06   -.47951E-03
   4  norm          .10000E-03    16.785        .35833E-06** at limit **
   5  norm          1.0728        1.1729        .16531E-06    .43431E-03
   6  norm          .10000E-03    1.2892        .48399E-06** at limit **
   7  norm          16.072        11.509       -.76862E-07   -.16727E-03
   8  norm          2.3121        2.9404       -.14939E-07   -.57571E-04
   9  Prefactor     7.8077        25.050        .36972E-06   -.86811E-05
  10  norm          .10000E-03    .97256        .27632E-06** at limit **
  11  Prefactor     .26483        16.753        .14835E-04   -.59276E-03
  12  Prefactor     .10004E-03    38.983        .23871E-04** at limit **
  13  Prefactor     30.559        40.076       -.53007E-05   -.91293E-04
  14  Prefactor     .10000E-03    6.0516        .92580E-06** at limit **
  15  Prefactor     3.5407        7.9453        .13606E-07   -.97104E-04
  16  Prefactor     6.4759        150.69       -.79039E-06   -.12666E-03
  17  norm          .10000E-03    42.324        .22096E-05** at limit **
  18  Prefactor     2.7151        6.1051        .12010E-06    .42916E-03
  19  Prefactor     .10000E-03    18.577        .77276E-07** at limit **
  20  Normalizat    .83346        .20365       -.14998E-05   -.58521E-03
  21  Prefactor     1.1200        .21411       -.21813E-05   -.91515E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.52249
  norm       = 0.0001
  norm       = 1.07279
  norm       = 0.0001
  norm       = 16.0721
  norm       = 2.31205
  Prefactor  = 7.80766
  norm       = 0.0001
  Prefactor  = 0.264834
  Prefactor  = 0.000100045
  Prefactor  = 30.5595
  Prefactor  = 0.0001
  Prefactor  = 3.54066
  Prefactor  = 6.47586
  norm       = 0.000100001
  Prefactor  = 2.71508
  Prefactor  = 0.0001
  Normalizat = 0.83346
  Prefactor  = 1.12004
 **********
 **   18 **HESSE 
 **********

 FCN=   4311.543     FROM HESSE     STATUS=OK           319 CALLS     2594 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.6386        .81306E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.5225        5.4459        .12798E-03   -1.5197    
   4  norm          .10000E-03    16.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0728        1.1339        .70726E-03   -1.5501    
   6  norm          .10000E-03    2.0768        .14178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          16.072        11.486        .99908E-04   -1.4906    
   8  norm          2.3121        2.9154        .12059E-03   -1.5404    
   9  Prefactor     7.8077        24.943        .14347E-03   -1.5149    
  10  norm          .10000E-03    .98978        .63242E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .26483        57.621        .26006E-02   -1.5605    
  12  Prefactor     .10004E-03    48.185        .35874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     30.559        40.614        .72372E-04   -1.4602    
  14  Prefactor     .10000E-03    6.3337        .31524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.5407        7.9079        .21460E-03   -1.5332    
  16  Prefactor     6.4759        149.43        .15835E-03   -1.5199    
  17  norm          .10000E-03    42.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7151        6.0764        .22832E-03   -1.5378    
  19  Prefactor     .10000E-03    18.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .83346        .23976        .24579E-03   -.98839    
  21  Prefactor     1.1200        .25690        .24238E-03   -.88829    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.62386e-09
Minuit parameter uncertainties:
  1  6.50322e-05
  2  1.65544e-05
  3  5.44631
  4  3.62481e-05
  5  1.13391
  6  3.39884e-05
  7  11.4872
  8  2.91558
  9  24.9759
  10  7.60888e-07
  11  7.81895
  12  0.00293421
  13  40.6505
  14  4.15425e-05
  15  7.91022
  16  62.3916
  17  0.00037241
  18  6.0778
  19  1.44768e-05
  20  0.240067
  21  0.257184
Done.

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

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  1.000e-04  7.609e-07  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.564e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  8.165e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.120e+00  2.572e-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.335e-01  2.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/91394/likelihoodResults_594691201_594950401_4FGL_J0205.0-1700_daily_bin1371.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) = 4311.54337337
delta logL = -0.000784479275353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4311.54259393
delta logL = -5.03996398038e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4055       1.0000          .0000       5.0000    
     3 'Normalizat'    .83341       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1201       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=   4311.543     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      270 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.6241        .10131E-02** at limit **
   2  alpha         2.8013        3.4132        .18090       -.24591E-06
   3  Normalizat    .83345        .22221        .24579E-03   -.14052E-03
   4  Prefactor     1.1200        .25153        .24238E-03   -.76312E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.80134
  Normalizat = 0.833455
  Prefactor  = 1.12005
 **********
 **   18 **HESSE 
 **********

 FCN=   4311.543     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0116        .20262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8013        3.5138        .72361E-02    .12083    
   3  Normalizat    .83345        .22245        .98315E-05   -.98839    
   4  Prefactor     1.1200        .25180        .96954E-05   -.88828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25159e-10
Minuit parameter uncertainties:
  1  7.56144e-06
  2  167.006
  3  0.222689
  4  0.252067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91394': 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) = 4311.5425878
delta logL = 1.08632866613e-06

Extracting fit parameters...

4FGL J0205.0-1700
   Spectrum: LogParabola
280         norm:  1.000e-04  7.561e-06  1.000e-04  1.000e+04 ( 1.000e-11)
281        alpha:  2.801e+00  1.670e+02  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  8.165e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  3.859e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.120e+00  2.521e-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.335e-01  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/91394/cmap_HighResolution_594691201_594950401_4FGL_J0205.0-1700_daily_bin1371.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-05', job_status='DONE', photon_flux_upper_limit='7.83e-08', time_completed='2021-08-15 06:09:15.308509', job_id='91394', GAL2='1.12', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1629032955.31', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.09e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1371' AND source_name='4FGL J0205.0-1700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 06:09:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0201>
Subject: Job 91394: <4FGL_J0205.0-1700_daily_bin1371> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.0-1700_daily_bin1371 31.2637 -17.0022 594691201 594950401 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 :                                   532.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            800 sec.

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

