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


Performing analysis on: 4FGL_J1959.1-4247_daily_bin1210
RA = 299.796, Dec = -42.7852
tmin = 552960001, tmax = 553219201
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='468016', job_status='RUN', time_executed='2021-09-24 03:21:19.771320', time_epoch_executed='1632478879.77' WHERE source_name='4FGL J1959.1-4247' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/468016

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/468016/ft1_4FGL_J1959.1-4247_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/468016/ft1_4FGL_J1959.1-4247_daily_bin1210.fits outfile=/scratch/kocevski/468016/ft1_filteredMKT_4FGL_J1959.1-4247_daily_bin1210.fits ra=299.796 dec=-42.7852 rad=12.0 tmin=552960001.0 tmax=553219201.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 2.82
user 2.62
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.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/468016/ft1_filteredMKT_4FGL_J1959.1-4247_daily_bin1210.fits evtable="EVENTS" outfile="/scratch/kocevski/468016/ft1_filtered_4FGL_J1959.1-4247_daily_bin1210.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/468016/ft1_filtered_4FGL_J1959.1-4247_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/468016/ltcube_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.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/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.fits
.....................!
real 12.33
user 12.00
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/468016/ft1_filtered_4FGL_J1959.1-4247_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/468016/ltcube_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.fits outfile=/scratch/kocevski/468016/expmap_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.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/468016/ltcube_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.fits
.....................!
real 190.72
user 186.45
sys 3.95

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 196 point sources and 0 extended sources

Setting source of interest to:
4FGL J1959.1-4247 @ 299.796 -42.7852

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/468016/ft1_filtered_4FGL_J1959.1-4247_daily_bin1210.fits scfile=/scratch/kocevski/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.fits outfile=/scratch/kocevski/468016/cmap_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.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=299.796 yref=-42.7852 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/468016/ft1_filtered_4FGL_J1959.1-4247_daily_bin1210.fits scfile=/scratch/kocevski/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.fits outfile=/scratch/kocevski/468016/cmap_HighResolution_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.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=299.796 yref=-42.7852 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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/468016/ft1_filtered_4FGL_J1959.1-4247_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/468016/Model_4FGL_J1959.1-4247_daily_bin1210.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/468016/ft1_filtered_4FGL_J1959.1-4247_daily_bin1210.fits.......!
real 14.11
user 12.91
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/468016/ft1_filtered_4FGL_J1959.1-4247_daily_bin1210.fits', '/scratch/kocevski/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.fits', expMap='/scratch/kocevski/468016/expmap_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.fits', expCube='/scratch/kocevski/468016/ltcube_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/468016/Model_4FGL_J1959.1-4247_daily_bin1210.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1959.1-4247'

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  3.377e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
376        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
377         beta:  1.642e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  6.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/468016/ft1_filtered_4FGL_J1959.1-4247_daily_bin1210.fits
Spacecraft file(s): /scratch/kocevski/468016/ft2_4FGL_J1959.1-4247_daily_bin1210.fits
Exposure map: /scratch/kocevski/468016/expmap_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.fits
Exposure cube: /scratch/kocevski/468016/ltcube_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/468016/Model_4FGL_J1959.1-4247_daily_bin1210.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 90.5889048365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 90.3059565425

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6313       1.0000         .10000E-03   10000.    
     2 'norm      '    .72507       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.9606       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2653       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.9582       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0244       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3554       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0793       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0443       1.0000         .10000E-03   10000.    
    10 'norm      '    3.3772       1.0000         .10000E-03   10000.    
    11 'norm      '    7.9399       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3729       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3851       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0100       1.0000         .10000E-03   10000.    
    15 'norm      '    4.7610       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5549       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.7063       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.4841       1.0000         .10000E-03   10000.    
    19 'norm      '    .17393E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1302       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   87.14181     FROM MIGRAD    STATUS=CONVERGED    198 CALLS      300 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10033E-03    980.98       -.35851E-05** at limit **
   2  norm          .10000E-03    192.39        .15848E-04** at limit **
   3  Prefactor     9.9606        6397.6         .0000         .0000    
   4  Prefactor     .10003E-03    1260.0        .55864E-04** at limit **
   5  Prefactor     .10264E-03    6689.8        .24924E-03** at limit **
   6  Prefactor    10000.0        9760.1       -.11913E-03** at limit **
   7  norm          1.3554        6492.3         .0000         .0000    
   8  Prefactor     1.0793        6498.2         .0000         .0000    
   9  norm          1.0443        6499.1         .0000         .0000    
  10  norm          3.3772        6460.5         .0000         .0000    
  11  norm          7.9399        6413.8         .0000         .0000    
  12  norm         10000.0        6557.4       -.51130E-04** at limit **
  13  Prefactor     2.3851        6474.4         .0000         .0000    
  14  norm          .10111E-03    9827.1        .29502E-03** at limit **
  15  norm          .10006E-03    9479.3        .74194E-04** at limit **
  16  norm          .10001E-03    1190.3        .17309E-03** at limit **
  17  Prefactor     .10000E-03    1101.2       -.89371E-04** at limit **
  18  Prefactor     .10096E-03    1441.1       -.30429E-03** at limit **
  19  norm          .10000E-03    11.587        .38985E-07** at limit **
  20  Normalizat    .10000E-01    .57190        .74458E-04** at limit **
  21  Prefactor     .86423        .40929        .11456E-05    .23491E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100331
  norm       = 0.000100004
  Prefactor  = 9.96058
  Prefactor  = 0.000100029
  Prefactor  = 0.000102641
  Prefactor  = 10000
  norm       = 1.35542
  Prefactor  = 1.07934
  norm       = 1.04428
  norm       = 3.37723
  norm       = 7.93988
  norm       = 10000
  Prefactor  = 2.38509
  norm       = 0.00010111
  norm       = 0.000100056
  norm       = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.000100959
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.864231
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   87.14181     FROM HESSE     STATUS=FAILED        19 CALLS      319 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10033E-03    994.77        .82769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    195.83        .12158E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     490.98        480.99         .0000       -1.5077    
   4  Prefactor     .10003E-03    .11637        .55864E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10264E-03    .64228E-01    .24924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor    10000.0        .50286E-01   -.11913E-03    20.420    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3554        1.0927         .0000       -1.5475    
   8  Prefactor     1.0793        1.2055         .0000       -1.5500    
   9  norm          1.0443        1.2462         .0000       -1.5504    
  10  norm          3.3772        1.0114         .0000       -1.5340    
  11  norm          7.9399        1.0020         .0000       -1.5144    
  12  norm         10000.0        .21617       -.51130E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.3851        1.0239         .0000       -1.5399    
  14  norm          .10111E-03    .43449        .29502E-03    23.562    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10006E-03    .53128E-01    .74194E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10001E-03    .18216        .17309E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .95793E-01   -.89371E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10096E-03    .45998E-01   -.30429E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .20571        .38985E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .10000E-01    .25505        .74458E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .86423        1.0040        .11456E-05   -.97402    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.65858e-10
Minuit parameter uncertainties:
  1  0.0369318
  2  0.00172787
  3  1.00126
  4  0.000116246
  5  0.000823741
  6  0.000138615
  7  1.09272
  8  1.20555
  9  1.2462
  10  1.0114
  11  1.002
  12  0.000168379
  13  1.02386
  14  0.00138906
  15  0.000109086
  16  7.62751e-05
  17  9.21509e-06
  18  0.00042004
  19  4.71536e-07
  20  4.51792e-06
  21  1.0267
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 87.1418079095

Extracting fit parameters...

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  3.377e+00  1.011e+00  1.000e-04  1.000e+04 ( 1.000e-12)
376        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
377         beta:  1.642e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  6.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
667    Prefactor:  8.642e-01  1.027e+00  0.000e+00  1.000e+01 ( 1.000e+00)
668        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
669        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
666   Normalization:  1.000e-02  4.518e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 299.796 -42.785
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -3.60e+02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/468016/likelihoodResults_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.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): 101
logL (Free Index) = 87.1422018358
delta logL = -0.000393926334468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 87.1422018358
delta logL = -0.000393926334468

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    2.2697       1.0000          .0000       5.0000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   87.14220     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       2.2697        1.0008        .41374         .0000    
                               ERR DEF=  .500    
Final values: 
  alpha      = 2.2697
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   87.14220     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       1.0838        1.2054        .41374       -.92251E-01
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.02996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/468016': 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): 101
logL (Free Index) = 87.1422018358
delta logL = -0.000393926334468

Extracting fit parameters...

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  3.377e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
376        alpha:  2.270e+00  1.030e+00  0.000e+00  5.000e+00 ( 1.000e+00)
377         beta:  1.642e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  6.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
667    Prefactor:  8.636e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
668        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
669        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
666   Normalization:  1.003e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 299.796 -42.785

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/468016/cmap_HighResolution_552960001_553219201_4FGL_J1959.1-4247_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-3.60e+02', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-24 03:26:40.939452', job_id='468016', GAL2='0.86', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632479200.94', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.86', dlogl='-3.94e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1210' AND source_name='4FGL J1959.1-4247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 24 03:26:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 468016: <4FGL_J1959.1-4247_daily_bin1210> in cluster <slac> Done

Job <4FGL_J1959.1-4247_daily_bin1210> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 24 03:17:33 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 24 03:17:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 24 03:17:35 2021
Terminated at Fri Sep 24 03:26:43 2021
Results reported at Fri Sep 24 03:26:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1959.1-4247_daily_bin1210 299.796 -42.7852 552960001 553219201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1959.1-4247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   320.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             365.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   546 sec.
    Turnaround time :                            550 sec.

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

