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


Performing analysis on: 4FGL_J1959.1-4247_daily_bin1463
RA = 299.796, Dec = -42.7852
tmin = 618537601, tmax = 618796801
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='470418', job_status='RUN', time_executed='2021-09-24 03:26:47.795826', time_epoch_executed='1632479207.8' WHERE source_name='4FGL J1959.1-4247' and cadence='daily' and bin_id='1463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/470418

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/470418/ft1_4FGL_J1959.1-4247_daily_bin1463.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/470418/ft2_4FGL_J1959.1-4247_daily_bin1463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/470418/ft1_4FGL_J1959.1-4247_daily_bin1463.fits outfile=/scratch/kocevski/470418/ft1_filteredMKT_4FGL_J1959.1-4247_daily_bin1463.fits ra=299.796 dec=-42.7852 rad=12.0 tmin=618537601.0 tmax=618796801.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.80
user 3.55
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/470418/ft1_filtered_4FGL_J1959.1-4247_daily_bin1463.fits" evtable="EVENTS" scfile=/scratch/kocevski/470418/ft2_4FGL_J1959.1-4247_daily_bin1463.fits sctable="SC_DATA" outfile=/scratch/kocevski/470418/ltcube_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.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/470418/ft2_4FGL_J1959.1-4247_daily_bin1463.fits
.....................!
real 12.08
user 11.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/470418/ft1_filtered_4FGL_J1959.1-4247_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/470418/ft2_4FGL_J1959.1-4247_daily_bin1463.fits sctable="SC_DATA" expcube=/scratch/kocevski/470418/ltcube_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.fits outfile=/scratch/kocevski/470418/expmap_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.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/470418/ltcube_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.fits
.....................!
real 190.76
user 185.83
sys 4.43

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/470418/ft1_filtered_4FGL_J1959.1-4247_daily_bin1463.fits scfile=/scratch/kocevski/470418/ft2_4FGL_J1959.1-4247_daily_bin1463.fits outfile=/scratch/kocevski/470418/cmap_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.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/470418/ft1_filtered_4FGL_J1959.1-4247_daily_bin1463.fits scfile=/scratch/kocevski/470418/ft2_4FGL_J1959.1-4247_daily_bin1463.fits outfile=/scratch/kocevski/470418/cmap_HighResolution_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/470418/ft1_filtered_4FGL_J1959.1-4247_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/470418/ft2_4FGL_J1959.1-4247_daily_bin1463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/470418/Model_4FGL_J1959.1-4247_daily_bin1463.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/470418/ft1_filtered_4FGL_J1959.1-4247_daily_bin1463.fits.....................!
real 82.50
user 81.02
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/470418/ft1_filtered_4FGL_J1959.1-4247_daily_bin1463.fits', '/scratch/kocevski/470418/ft2_4FGL_J1959.1-4247_daily_bin1463.fits', expMap='/scratch/kocevski/470418/expmap_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.fits', expCube='/scratch/kocevski/470418/ltcube_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/470418/Model_4FGL_J1959.1-4247_daily_bin1463.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/470418/ft1_filtered_4FGL_J1959.1-4247_daily_bin1463.fits
Spacecraft file(s): /scratch/kocevski/470418/ft2_4FGL_J1959.1-4247_daily_bin1463.fits
Exposure map: /scratch/kocevski/470418/expmap_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.fits
Exposure cube: /scratch/kocevski/470418/ltcube_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/470418/Model_4FGL_J1959.1-4247_daily_bin1463.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) = 9679.09934713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.0706       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4188       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3232       1.0000         .10000E-03   10000.    
     9 'norm      '    10.618       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.7931       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.2762       1.0000         .10000E-03   10000.    
    15 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    12.021       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5790       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85119       1.0000          .0000       10.000    
 **********
 **   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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9679.014     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     1855 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.6777        .39644E-06** at limit **
   2  norm          3.0705        2.1443       -.12879E-07   -.41066E-04
   3  Prefactor     .10001E-03    46.879       -.53457E-05** at limit **
   4  Prefactor     .10000E-03    5.9606       -.12483E-07** at limit **
   5  Prefactor     .10001E-03    22.923       -.44983E-05** at limit **
   6  Prefactor     6.4190        9.6553        .32179E-05   -.66940E-03
   7  norm          .10000E-03    12.740        .71244E-06** at limit **
   8  Prefactor     1.3234        4.4322        .16381E-05   -.36901E-03
   9  norm          10.618        1.8407       -.39740E-07   -.14112E-03
  10  norm          .10000E-03    4.4998        .19499E-07** at limit **
  11  norm          .10000E-03    28.225        .21810E-05** at limit **
  12  norm          1.7931        1.4063        .23304E-07   -.25683E-05
  13  Prefactor     .10000E-03    13.004        .54872E-06** at limit **
  14  norm          5.2761        4.3987       -.17253E-06   -.50965E-03
  15  norm          .10000E-03    13.228       -.32153E-06** at limit **
  16  norm          .10000E-03    6.9240       -.14228E-06** at limit **
  17  Prefactor     .10000E-03    9.9659       -.51249E-06** at limit **
  18  Prefactor     .10001E-03    32.244        .63241E-05** at limit **
  19  norm          12.021        3.2759        .36874E-07   -.44068E-04
  20  Normalizat    1.5788        .23958       -.40493E-06   -.54453E-04
  21  Prefactor     .85124        .84563E-01   -.30751E-06   -.44106E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.07051
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 6.41897
  norm       = 0.0001
  Prefactor  = 1.3234
  norm       = 10.618
  norm       = 0.0001
  norm       = 0.000100002
  norm       = 1.79311
  Prefactor  = 0.0001
  norm       = 5.27614
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  norm       = 12.021
  Normalizat = 1.57883
  Prefactor  = 0.851235
 **********
 **   18 **HESSE 
 **********

 FCN=   9679.014     FROM HESSE     STATUS=OK           313 CALLS     2168 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.8152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.0705        2.1467        .11660E-03   -1.5357    
   3  Prefactor     .10001E-03    48.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.0661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    24.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.4190        10.319        .79209E-03   -1.5201    
   7  norm          .10000E-03    12.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.3234        4.5259        .37135E-03   -1.5478    
   9  norm          10.618        1.8420        .52995E-04   -1.5056    
  10  norm          .10000E-03    4.5323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    28.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7931        1.4107        .10039E-03   -1.5440    
  13  Prefactor     .10000E-03    13.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.2761        4.4430        .17498E-03   -1.5249    
  15  norm          .10000E-03    13.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.9295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.9840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    34.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.021        3.2879        .89373E-04   -1.5014    
  20  Normalizat    1.5788        .28071        .37812E-03   -.75587    
  21  Prefactor     .85124        .99241E-01    .17603E-03   -.97866    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01125e-09
Minuit parameter uncertainties:
  1  3.40458e-05
  2  2.14671
  3  0.00137209
  4  1.22243e-06
  5  0.000786524
  6  10.3216
  7  9.05098e-05
  8  4.5271
  9  1.84205
  10  6.93094e-07
  11  0.000439566
  12  1.41071
  13  7.3001e-05
  14  4.44323
  15  4.01654e-05
  16  1.34104e-05
  17  5.88982e-05
  18  0.00136895
  19  3.2879
  20  0.280991
  21  0.0992618
Done.

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

Extracting fit parameters...

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  1.000e-04  6.931e-07  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.512e-01  9.926e-02  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.579e+00  2.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 299.796 -42.785
Photon Flux Upper Limit: 7.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/470418/likelihoodResults_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.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): 102
logL (Free Index) = 9679.01481504
delta logL = -0.00105131792407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9678.93597996
delta logL = 0.0777837652386

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9678.936     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      352 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12144        .38174        .69222E-03    .81229E-02
   2  alpha         5.0000        4.9971        .50000    ** at limit **
   3  Normalizat    1.5493        .28407        .38101E-03    .62504E-03
   4  Prefactor     .85712        .98982E-01    .17547E-03    .10686E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.121438
  alpha      = 5
  Normalizat = 1.54926
  Prefactor  = 0.857122
 **********
 **   18 **HESSE 
 **********

 FCN=   9678.936     FROM HESSE     STATUS=OK            31 CALLS      383 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12144        .34887        .27689E-04   -1.5638    
   2  alpha         5.0000        4.9351        .50000        1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5493        .28465        .76203E-04   -.76403    
   4  Prefactor     .85712        .99108E-01    .35095E-04   -.97656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7877e-09
Minuit parameter uncertainties:
  1  0.348878
  2  0.00206361
  3  0.284948
  4  0.0991287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/470418': 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) = 9678.93597965
delta logL = 0.0777840719838

Extracting fit parameters...

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  1.214e-01  3.489e-01  1.000e-04  1.000e+04 ( 1.000e-12)
376        alpha:  5.000e+00  2.064e-03  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.571e-01  9.913e-02  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.549e+00  2.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/470418/cmap_HighResolution_618537601_618796801_4FGL_J1959.1-4247_daily_bin1463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', job_status='DONE', photon_flux_upper_limit='7.00e-08', time_completed='2021-09-24 03:42:21.537938', job_id='470418', GAL2='0.86', fit_tolerance='1e-08', EG2='1.55', EG='1.58', time_epoch_completed='1632480141.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='7.78e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1463' AND source_name='4FGL J1959.1-4247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 24 03:42:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 470418: <4FGL_J1959.1-4247_daily_bin1463> in cluster <slac> Done

Job <4FGL_J1959.1-4247_daily_bin1463> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 24 03:26:32 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 24 03:26:34 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:26:34 2021
Terminated at Fri Sep 24 03:42:22 2021
Results reported at Fri Sep 24 03:42:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1959.1-4247_daily_bin1463 299.796 -42.7852 618537601 618796801 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 :                                   822.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             324.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            950 sec.

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

