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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin668
RA = 195.757, Dec = 24.5821
tmin = 412473601, tmax = 412732801
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='159150', job_status='RUN', time_executed='2021-09-06 18:05:50.238232', time_epoch_executed='1630976750.24' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159150

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159150/ft1_4FGL_J1303.0+2434_daily_bin668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159150/ft2_4FGL_J1303.0+2434_daily_bin668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159150/ft1_4FGL_J1303.0+2434_daily_bin668.fits outfile=/scratch/kocevski/159150/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin668.fits ra=195.757 dec=24.5821 rad=12.0 tmin=412473601.0 tmax=412732801.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.45
user 3.22
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/159150/ft2_4FGL_J1303.0+2434_daily_bin668.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/159150/ft2_4FGL_J1303.0+2434_daily_bin668.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/159150/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin668.fits evtable="EVENTS" outfile="/scratch/kocevski/159150/ft1_filtered_4FGL_J1303.0+2434_daily_bin668.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159150/ft1_filtered_4FGL_J1303.0+2434_daily_bin668.fits" evtable="EVENTS" scfile=/scratch/kocevski/159150/ft2_4FGL_J1303.0+2434_daily_bin668.fits sctable="SC_DATA" outfile=/scratch/kocevski/159150/ltcube_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.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/159150/ft2_4FGL_J1303.0+2434_daily_bin668.fits
.....................!
real 14.87
user 14.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159150/ft1_filtered_4FGL_J1303.0+2434_daily_bin668.fits evtable="EVENTS" scfile=/scratch/kocevski/159150/ft2_4FGL_J1303.0+2434_daily_bin668.fits sctable="SC_DATA" expcube=/scratch/kocevski/159150/ltcube_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.fits outfile=/scratch/kocevski/159150/expmap_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.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/159150/ltcube_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.fits
.....................!
real 192.63
user 186.83
sys 5.39

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1303.0+2434 @ 195.757 24.5821

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/159150/ft1_filtered_4FGL_J1303.0+2434_daily_bin668.fits scfile=/scratch/kocevski/159150/ft2_4FGL_J1303.0+2434_daily_bin668.fits outfile=/scratch/kocevski/159150/cmap_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.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=195.757 yref=24.5821 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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159150/ft1_filtered_4FGL_J1303.0+2434_daily_bin668.fits scfile=/scratch/kocevski/159150/ft2_4FGL_J1303.0+2434_daily_bin668.fits outfile=/scratch/kocevski/159150/cmap_HighResolution_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.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=195.757 yref=24.5821 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159150/ft1_filtered_4FGL_J1303.0+2434_daily_bin668.fits evtable="EVENTS" scfile=/scratch/kocevski/159150/ft2_4FGL_J1303.0+2434_daily_bin668.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159150/Model_4FGL_J1303.0+2434_daily_bin668.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/159150/ft1_filtered_4FGL_J1303.0+2434_daily_bin668.fits.....................!
real 62.96
user 61.63
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/159150/ft1_filtered_4FGL_J1303.0+2434_daily_bin668.fits', '/scratch/kocevski/159150/ft2_4FGL_J1303.0+2434_daily_bin668.fits', expMap='/scratch/kocevski/159150/expmap_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.fits', expCube='/scratch/kocevski/159150/ltcube_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/159150/Model_4FGL_J1303.0+2434_daily_bin668.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1303.0+2434'

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.013e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  8.150e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/159150/ft1_filtered_4FGL_J1303.0+2434_daily_bin668.fits
Spacecraft file(s): /scratch/kocevski/159150/ft2_4FGL_J1303.0+2434_daily_bin668.fits
Exposure map: /scratch/kocevski/159150/expmap_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.fits
Exposure cube: /scratch/kocevski/159150/ltcube_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/159150/Model_4FGL_J1303.0+2434_daily_bin668.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) = 7174.33972264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.421       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6346       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4462       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.279       1.0000         .10000E-03   10000.    
     5 'norm      '    4.1021       1.0000         .10000E-03   10000.    
     6 'norm      '    7.7615       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.150       1.0000         .10000E-03   10000.    
    10 'norm      '    7.3259       1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.780       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.7884       1.0000         .10000E-03   10000.    
    14 'norm      '    .38147       1.0000         .10000E-03   10000.    
    15 'norm      '    4.2406       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4309       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.186       1.0000         .10000E-03   10000.    
    20 'norm      '    4.1206       1.0000         .10000E-03   10000.    
    21 'Prefactor '    50.734       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .93047E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.8466       1.0000         .10000E-03   10000.    
    25 'Prefactor '    20.682       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.3458       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .64205       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7174.327     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     2748 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.422        2.3265       -.20647E-06   -.29172E-02
   2  Prefactor     3.6347        2.0094       -.19011E-06   -.14069E-02
   3  Prefactor     3.4467        2.1004       -.12309E-06   -.12451E-03
   4  Prefactor     13.280        1.1341        .40293E-06   -.24379E-03
   5  norm          4.1022        .55131       -.35250E-07   -.23143E-02
   6  norm          7.7621        3.6981        .23125E-05    .85260E-03
   7  Prefactor     .10000E-03    2.2397       -.34464E-06** at limit **
   8  Prefactor     .10001E-03    63.385        .66149E-05** at limit **
   9  Prefactor     33.155        1.3942       -.22207E-06    .12979E-02
  10  norm          7.3283        4.2383       -.34234E-05    .25776E-03
  11  Prefactor     31.780        1.2976        .58590E-06   -.34218E-02
  12  Prefactor     .10000E-03    18.113       -.16999E-05** at limit **
  13  norm          3.7885        2.7560        .26995E-07    .41497E-03
  14  norm          .38758        6.0450       -.13105E-04    .11534E-03
  15  norm          4.2379        5.7269        .97763E-05    .94151E-03
  16  norm          1.4335        7.1033       -.17357E-04    .54712E-04
  17  norm          .10000E-03    6.8686       -.11337E-05** at limit **
  18  Prefactor     .10000E-03    .90454        .39537E-06** at limit **
  19  Prefactor     24.193        1.5208        .80113E-06    .24279E-03
  20  norm          4.1128        3.5019       -.33307E-05    .37069E-03
  21  Prefactor     50.737        1.0840        .20389E-06   -.17747E-02
  22  Prefactor     .10843E-03    33.734       -.12048E-04** at limit **
  23  norm          .19622        83.343        .99610E-05    .71026E-03
  24  Prefactor     4.8472        1.4000        .26218E-06    .33054E-03
  25  Prefactor     20.686        1.0455       -.17970E-07    .29156E-03
  26  Normalizat    1.3456        .23907       -.32461E-05    .41429E-03
  27  Prefactor     .64197        .24389        .35862E-05    .21727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.4218
  Prefactor  = 3.63474
  Prefactor  = 3.44665
  Prefactor  = 13.2795
  norm       = 4.10222
  norm       = 7.76214
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 33.1549
  norm       = 7.32833
  Prefactor  = 31.7802
  Prefactor  = 0.0001
  norm       = 3.78848
  norm       = 0.387585
  norm       = 4.23786
  norm       = 1.43354
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.1926
  norm       = 4.11281
  Prefactor  = 50.7367
  Prefactor  = 0.000108433
  norm       = 0.196222
  Prefactor  = 4.84722
  Prefactor  = 20.6856
  Normalizat = 1.34563
  Prefactor  = 0.641968
 **********
 **   18 **HESSE 
 **********

 FCN=   7174.327     FROM HESSE     STATUS=OK           564 CALLS     3312 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.422        4.1642        .26368E-02   -1.4948    
   2  Prefactor     3.6347        2.0665        .52977E-02   -1.5327    
   3  Prefactor     3.4467        2.1237        .54467E-02   -1.5337    
   4  Prefactor     13.280        6.7675        .27480E-02   -1.4979    
   5  norm          4.1022        .55302        .49761E-02   -1.5303    
   6  norm          7.7621        4.1539        .35984E-02   -1.5151    
   7  Prefactor     .10000E-03    2.2394        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    63.631        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     33.155        13.738        .17399E-02   -1.4556    
  10  norm          7.3283        4.4241        .37047E-02   -1.5166    
  11  Prefactor     31.780        28.344        .17769E-02   -1.4580    
  12  Prefactor     .10000E-03    18.073        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7885        2.7602        .51850E-02   -1.5319    
  14  norm          .38758        2.3183        .68070E-01   -1.5583    
  15  norm          4.2379        5.3598        .48918E-02   -1.5296    
  16  norm          1.4335        6.1212        .90280E-02   -1.5469    
  17  norm          .10000E-03    6.8646        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .90350        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.193        15.205        .20363E-02   -1.4724    
  20  norm          4.1128        5.7061        .49646E-02   -1.5302    
  21  Prefactor     50.737        50.527        .14076E-02   -1.4282    
  22  Prefactor     .10843E-03    145.09        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .19622        6.4481        .94780E-01   -1.5619    
  24  Prefactor     4.8472        16.000        .45681E-02   -1.5268    
  25  Prefactor     20.686        22.657        .22018E-02   -1.4798    
  26  Normalizat    1.3456        .20573        .59675E-01   -.82214    
  27  Prefactor     .64197        .20878        .87686E-01   -1.0585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07779e-07
Minuit parameter uncertainties:
  1  4.16431
  2  2.06658
  3  2.12376
  4  6.76789
  5  0.553018
  6  4.15407
  7  5.98221e-05
  8  0.0018478
  9  13.7394
  10  4.42433
  11  28.3564
  12  3.02728e-05
  13  2.76032
  14  1.89569
  15  5.36045
  16  5.92536
  17  0.000109256
  18  3.34968e-05
  19  15.2069
  20  5.70688
  21  50.5696
  22  0.0701264
  23  2.24936
  24  16.0136
  25  22.666
  26  0.205857
  27  0.209033
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.788e+00  2.760e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  8.150e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  6.420e-01  2.090e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.346e+00  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.43
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.57e-08 +/- 1.87e-08
Energy Flux (Fixed Index): 1.33e-05 +/- 9.71e-06

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) = 7173.48219944
delta logL = 0.844547301388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7173.40446494
delta logL = 0.922281797609

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6986       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2350       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3619       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63331       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7173.404     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      212 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6995        2.0014        .61996E-02   -.47594E-03
   2  alpha         1.2355        .40100        .37532       -.42257E-04
   3  Normalizat    1.3618        .19403        .59374E-01    .19204E-04
   4  Prefactor     .63342        .20575        .88223E-01    .43204E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.69945
  alpha      = 1.2355
  Normalizat = 1.36182
  Prefactor  = 0.633425
 **********
 **   18 **HESSE 
 **********

 FCN=   7173.404     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6995        2.4321        .98623E-04   -1.5379    
   2  alpha         1.2355        .53058        .15140E-01   -.53031    
   3  Normalizat    1.3618        .22699        .26256E-03   -.81740    
   4  Prefactor     .63342        .24005        .39091E-03   -1.0620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84594e-11
Minuit parameter uncertainties:
  1  2.43223
  2  0.536083
  3  0.227154
  4  0.240445
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159150': 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) = 7173.40446429
delta logL = 0.92228244835

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  2.699e+00  2.432e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.235e+00  5.361e-01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  8.150e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  6.334e-01  2.404e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.362e+00  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.28
Ra Dec: 195.757 24.582
Photon Index (Free Index): 1.24 +/- 0.54
Photon Flux (Free Index): 1.05e-08 +/- 9.30e-09
Energy Flux (Free Index): 3.84e-05 +/- 4.63e-05

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/159150/cmap_HighResolution_412473601_412732801_4FGL_J1303.0+2434_daily_bin668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.57e-08', energy_flux2='3.84e-05', photon_flux_error='1.87e-08', dlogl='9.22e-01', energy_flux='1.33e-05', photon_flux2='1.05e-08', job_status='DONE', time_completed='2021-09-06 18:17:20.536046', photon_index_error2='0.54', photon_index2='1.24', ts='8.43', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='4.63e-05', EG='1.35', time_epoch_completed='1630977440.54', return_code='0', job_id='159150', GAL2='0.63', EG2='1.36', return_code2='0', energy_flux_error='9.71e-06', photon_flux_error2='9.30e-09', ts2='10.28', photon_index='2.07' WHERE bin_id='668' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:17:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 159150: <4FGL_J1303.0+2434_daily_bin668> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin668> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep  6 18:05:26 2021
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 18:05:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 18:05:33 2021
Terminated at Mon Sep  6 18:17:21 2021
Results reported at Mon Sep  6 18:17:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin668 195.757 24.5821 412473601 412732801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1303.0+2434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   687.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            715 sec.

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

