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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1557
RA = 195.757, Dec = 24.5821
tmin = 642902401, tmax = 643161601
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='165770', job_status='RUN', time_executed='2021-09-06 18:33:43.549542', time_epoch_executed='1630978423.55' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1557'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/165770

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/165770/ft1_4FGL_J1303.0+2434_daily_bin1557.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/165770/ft2_4FGL_J1303.0+2434_daily_bin1557.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/165770/ft1_4FGL_J1303.0+2434_daily_bin1557.fits outfile=/scratch/kocevski/165770/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1557.fits ra=195.757 dec=24.5821 rad=12.0 tmin=642902401.0 tmax=643161601.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.53
user 3.32
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/165770/ft1_filtered_4FGL_J1303.0+2434_daily_bin1557.fits" evtable="EVENTS" scfile=/scratch/kocevski/165770/ft2_4FGL_J1303.0+2434_daily_bin1557.fits sctable="SC_DATA" outfile=/scratch/kocevski/165770/ltcube_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.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/165770/ft2_4FGL_J1303.0+2434_daily_bin1557.fits
.....................!
real 16.17
user 15.76
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/165770/ft1_filtered_4FGL_J1303.0+2434_daily_bin1557.fits evtable="EVENTS" scfile=/scratch/kocevski/165770/ft2_4FGL_J1303.0+2434_daily_bin1557.fits sctable="SC_DATA" expcube=/scratch/kocevski/165770/ltcube_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.fits outfile=/scratch/kocevski/165770/expmap_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.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/165770/ltcube_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.fits
.....................!
real 193.44
user 187.60
sys 4.92

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/165770/ft1_filtered_4FGL_J1303.0+2434_daily_bin1557.fits scfile=/scratch/kocevski/165770/ft2_4FGL_J1303.0+2434_daily_bin1557.fits outfile=/scratch/kocevski/165770/cmap_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/165770/ft1_filtered_4FGL_J1303.0+2434_daily_bin1557.fits scfile=/scratch/kocevski/165770/ft2_4FGL_J1303.0+2434_daily_bin1557.fits outfile=/scratch/kocevski/165770/cmap_HighResolution_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/165770/ft1_filtered_4FGL_J1303.0+2434_daily_bin1557.fits', '/scratch/kocevski/165770/ft2_4FGL_J1303.0+2434_daily_bin1557.fits', expMap='/scratch/kocevski/165770/expmap_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.fits', expCube='/scratch/kocevski/165770/ltcube_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/165770/Model_4FGL_J1303.0+2434_daily_bin1557.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/165770/ft1_filtered_4FGL_J1303.0+2434_daily_bin1557.fits
Spacecraft file(s): /scratch/kocevski/165770/ft2_4FGL_J1303.0+2434_daily_bin1557.fits
Exposure map: /scratch/kocevski/165770/expmap_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.fits
Exposure cube: /scratch/kocevski/165770/ltcube_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/165770/Model_4FGL_J1303.0+2434_daily_bin1557.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) = 5860.65417105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    1.2497       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7741       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6776       1.0000         .10000E-03   10000.    
     5 'norm      '    .32243       1.0000         .10000E-03   10000.    
     6 'norm      '    6.5423       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4899       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9286       1.0000         .10000E-03   10000.    
    10 'norm      '    3.0965       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.863       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    15.059       1.0000         .10000E-03   10000.    
    14 'norm      '    17.880       1.0000         .10000E-03   10000.    
    15 'norm      '    8.5602       1.0000         .10000E-03   10000.    
    16 'norm      '    .36675       1.0000         .10000E-03   10000.    
    17 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .70832       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    12.088       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.950       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10283E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    22.822       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2120       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .60027       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5860.625     FROM MIGRAD    STATUS=CONVERGED    659 CALLS     2835 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8120       -.51774E-07** at limit **
   2  Prefactor     1.2496        1.2453        .13686E-07    .26468E-03
   3  Prefactor     5.7732        2.7042        .10524E-06   -.93673E-04
   4  Prefactor     1.6761        4.4544        .23269E-05   -.64600E-03
   5  norm          .32238        .19408       -.18896E-07   -.48372E-03
   6  norm          6.5425        3.9832       -.22333E-05   -.10262E-04
   7  Prefactor     7.4893        7.4969       -.71105E-07    .26044E-06
   8  Prefactor     .10000E-03    68.020       -.39620E-05** at limit **
   9  Prefactor     3.9283        4.9375        .62647E-07   -.66593E-04
  10  norm          3.0989        3.6155       -.26840E-06    .15364E-03
  11  Prefactor     19.860        16.410        .40064E-06   -.16566E-04
  12  Prefactor     .10000E-03    10.698       -.58276E-05** at limit **
  13  norm          15.057        5.6756       -.15002E-06   -.96255E-04
  14  norm          17.877        7.5980        .45435E-07    .90361E-04
  15  norm          8.4852        5.5473        .11129E-05    .26004E-02
  16  norm          .51868        12.397       -.46246E-05    .28627E-03
  17  norm          .10000E-03    12.465        .51794E-05** at limit **
  18  Prefactor     .71271        2.4868       -.12099E-05   -.10843E-02
  19  Prefactor     .10000E-03    9.6761        .26487E-05** at limit **
  20  norm          12.085        6.6531        .10816E-06   -.12197E-03
  21  Prefactor     13.939        24.638       -.59365E-05   -.67089E-05
  22  Prefactor     .10000E-03    20.316       -.36866E-05** at limit **
  23  norm          .10000E-03    4.3231        .21292E-06** at limit **
  24  Prefactor     .10000E-03    7.2055        .22487E-06** at limit **
  25  Prefactor     22.822        21.986       -.11093E-05    .55548E-05
  26  Normalizat    1.2123        .17939        .36171E-06    .24550E-03
  27  Prefactor     .60004        .17999        .49794E-06    .11849E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.24958
  Prefactor  = 5.77323
  Prefactor  = 1.67615
  norm       = 0.322384
  norm       = 6.54246
  Prefactor  = 7.48928
  Prefactor  = 0.0001
  Prefactor  = 3.92835
  norm       = 3.09885
  Prefactor  = 19.8597
  Prefactor  = 0.0001
  norm       = 15.0569
  norm       = 17.877
  norm       = 8.48525
  norm       = 0.518681
  norm       = 0.0001
  Prefactor  = 0.712706
  Prefactor  = 0.0001
  norm       = 12.085
  Prefactor  = 13.9388
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.8219
  Normalizat = 1.21235
  Prefactor  = 0.600041
 **********
 **   18 **HESSE 
 **********

 FCN=   5860.625     FROM HESSE     STATUS=OK           496 CALLS     3331 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8624        .20089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2496        1.2663        .82743E-04   -1.5484    
   3  Prefactor     5.7732        2.6989        .81154E-04   -1.5227    
   4  Prefactor     1.6761        4.3087        .24431E-03   -1.5449    
   5  norm          .32238        .19121        .25143E-04   -1.5594    
   6  norm          6.5425        3.8917        .11119E-03   -1.5196    
   7  Prefactor     7.4893        7.4982        .14654E-03   -1.5161    
   8  Prefactor     .10000E-03    68.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.9283        4.9300        .18415E-03   -1.5312    
  10  norm          3.0989        3.6065        .15064E-03   -1.5356    
  11  Prefactor     19.860        16.419        .89869E-04   -1.4816    
  12  Prefactor     .10000E-03    10.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.057        5.6947        .10321E-03   -1.4932    
  14  norm          17.877        7.5499        .47359E-03   -1.4862    
  15  norm          8.4852        7.2491        .92374E-04   -1.5125    
  16  norm          .51868        53.224        .33678E-02   -1.5564    
  17  norm          .10000E-03    12.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .71271        2.5285        .21596E-03   -1.5539    
  19  Prefactor     .10000E-03    9.7846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          12.085        6.6479        .11522E-03   -1.5013    
  21  Prefactor     13.939        24.562        .10724E-03   -1.4961    
  22  Prefactor     .10000E-03    20.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    4.3474        .15514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    7.2245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     22.822        22.056        .83846E-04   -1.4752    
  26  Normalizat    1.2123        .20462        .21820E-03   -.86222    
  27  Prefactor     .60004        .20206        .31558E-03   -1.0758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97231e-09
Minuit parameter uncertainties:
  1  2.38956e-06
  2  1.26636
  3  2.69896
  4  4.30947
  5  0.191214
  6  3.89184
  7  7.49913
  8  1.31627e-05
  9  4.93047
  10  3.60673
  11  16.4226
  12  6.66864e-06
  13  5.69495
  14  7.55025
  15  7.24982
  16  10.5169
  17  8.52897e-06
  18  2.52889
  19  3.80114e-05
  20  6.64828
  21  24.5794
  22  1.65269e-05
  23  6.31228e-06
  24  3.55078e-06
  25  22.0637
  26  0.204753
  27  0.2023
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.506e+01  5.695e+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.000e-01  2.023e-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.212e+00  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.31
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 1.02e-07 +/- 3.86e-08
Energy Flux (Fixed Index): 5.30e-05 +/- 2.00e-05

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) = 5858.80483437
delta logL = 1.81981481491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5858.79306485
delta logL = 1.83158433511

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0711       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1201       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0904       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69028       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=   5858.793     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      256 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0699        23.557        .40737E-02    .21092E-03
   2  alpha         3.1202        3.6951        .13622        .71685E-04
   3  Normalizat    1.0904        .93559E-01    .38404E-01    .36964E-05
   4  Prefactor     .69029        .92066E-01    .66993E-01    .18901E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.06995
  alpha      = 3.12022
  Normalizat = 1.09044
  Prefactor  = 0.690285
 **********
 **   18 **HESSE 
 **********

 FCN=   5858.793     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0699        8.1349        .54520E-04   -1.5215    
   2  alpha         3.1202        .87831        .58829E-02    .25070    
   3  Normalizat    1.0904        .20514        .22772E-03   -.90059    
   4  Prefactor     .69029        .21219        .29643E-03   -1.0391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.14773e-12
Minuit parameter uncertainties:
  1  8.13634
  2  0.898803
  3  0.205294
  4  0.21244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/165770': 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) = 5858.79306482
delta logL = 1.83158437243

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  6.070e+00  8.136e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  3.120e+00  8.988e-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.903e-01  2.124e-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.090e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.39
Ra Dec: 195.757 24.582
Photon Index (Free Index): 3.12 +/- 0.90
Photon Flux (Free Index): 1.90e-07 +/- 6.74e-08
Energy Flux (Free Index): 3.81e-05 +/- 1.44e-05

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/165770/cmap_HighResolution_642902401_643161601_4FGL_J1303.0+2434_daily_bin1557.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.02e-07', energy_flux2='3.81e-05', photon_flux_error='3.86e-08', dlogl='1.83e+00', energy_flux='5.30e-05', photon_flux2='1.90e-07', job_status='DONE', time_completed='2021-09-06 18:44:22.823126', photon_index_error2='0.90', photon_index2='3.12', ts='14.31', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', energy_flux_error2='1.44e-05', EG='1.21', time_epoch_completed='1630979062.82', return_code='0', job_id='165770', GAL2='0.69', EG2='1.09', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='6.74e-08', ts2='18.39', photon_index='2.07' WHERE bin_id='1557' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:44:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 165770: <4FGL_J1303.0+2434_daily_bin1557> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin1557> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep  6 18:30:40 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 18:30:50 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:30:50 2021
Terminated at Mon Sep  6 18:44:23 2021
Results reported at Mon Sep  6 18:44:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1557 195.757 24.5821 642902401 643161601 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 :                                   631.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            823 sec.

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

