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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1049
RA = 195.757, Dec = 24.5821
tmin = 511228801, tmax = 511488001
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='162034', job_status='RUN', time_executed='2021-09-06 18:19:42.348331', time_epoch_executed='1630977582.35' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1049'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/162034

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/162034/ft1_4FGL_J1303.0+2434_daily_bin1049.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/162034/ft2_4FGL_J1303.0+2434_daily_bin1049.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/162034/ft1_4FGL_J1303.0+2434_daily_bin1049.fits outfile=/scratch/kocevski/162034/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1049.fits ra=195.757 dec=24.5821 rad=12.0 tmin=511228801.0 tmax=511488001.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.92
user 2.69
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/162034/ft1_filtered_4FGL_J1303.0+2434_daily_bin1049.fits" evtable="EVENTS" scfile=/scratch/kocevski/162034/ft2_4FGL_J1303.0+2434_daily_bin1049.fits sctable="SC_DATA" outfile=/scratch/kocevski/162034/ltcube_511228801_511488001_4FGL_J1303.0+2434_daily_bin1049.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/162034/ft2_4FGL_J1303.0+2434_daily_bin1049.fits
.....................!
real 14.75
user 14.42
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/162034/ft1_filtered_4FGL_J1303.0+2434_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/162034/ft2_4FGL_J1303.0+2434_daily_bin1049.fits sctable="SC_DATA" expcube=/scratch/kocevski/162034/ltcube_511228801_511488001_4FGL_J1303.0+2434_daily_bin1049.fits outfile=/scratch/kocevski/162034/expmap_511228801_511488001_4FGL_J1303.0+2434_daily_bin1049.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/162034/ltcube_511228801_511488001_4FGL_J1303.0+2434_daily_bin1049.fits
.....................!
real 157.44
user 153.30
sys 3.71

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/162034/ft1_filtered_4FGL_J1303.0+2434_daily_bin1049.fits scfile=/scratch/kocevski/162034/ft2_4FGL_J1303.0+2434_daily_bin1049.fits outfile=/scratch/kocevski/162034/cmap_511228801_511488001_4FGL_J1303.0+2434_daily_bin1049.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.51
user 0.35
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/162034/ft1_filtered_4FGL_J1303.0+2434_daily_bin1049.fits scfile=/scratch/kocevski/162034/ft2_4FGL_J1303.0+2434_daily_bin1049.fits outfile=/scratch/kocevski/162034/cmap_HighResolution_511228801_511488001_4FGL_J1303.0+2434_daily_bin1049.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.54
user 0.34
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.200       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .88270       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .44212       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.9073       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5479       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3542       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.468       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.9942       1.0000         .10000E-03   10000.    
    13 'norm      '    2.6006       1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.3537       1.0000         .10000E-03   10000.    
    16 'norm      '    .94932E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    16.517       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1268       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.171       1.0000         .10000E-03   10000.    
    20 'norm      '    1.7909       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.2731       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.9229       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.4275       1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.240       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0757       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0004       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=   5925.266     FROM MIGRAD    STATUS=CONVERGED    655 CALLS     2832 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.199        5.1089       -.88314E-07   -.51855E-04
   2  Prefactor     .10000E-03    .86653       -.14169E-07** at limit **
   3  Prefactor     .88306        1.7377        .99162E-07    .47770E-04
   4  Prefactor     .43845        4.0492       -.94331E-06    .12665E-03
   5  norm          .10000E-03    .67917E-01   -.22403E-08** at limit **
   6  norm          8.9078        4.7195        .38767E-07   -.31854E-04
   7  Prefactor     6.5471        8.9289        .19701E-06   -.73189E-05
   8  Prefactor     .10000E-03    27.890       -.30705E-06** at limit **
   9  Prefactor     .10000E-03    3.0593       -.57668E-08** at limit **
  10  norm          1.3625        5.3998        .29523E-05   -.83454E-04
  11  Prefactor     27.468        16.014        .24833E-06   -.11046E-04
  12  Prefactor     4.9583        30.819       -.15476E-05   -.38129E-04
  13  norm          2.6008        2.7841       -.12609E-07   -.25006E-04
  14  norm          .10000E-03    1.8492        .11385E-06** at limit **
  15  norm          1.3595        2.3685       -.17464E-07   -.76930E-04
  16  norm          .10000E-03    4.9403       -.55379E-07** at limit **
  17  norm          16.520        18.783        .25351E-08   -.19339E-04
  18  Prefactor     4.1270        2.9157        .19917E-07   -.29759E-04
  19  Prefactor     15.173        13.678        .60792E-07    .21097E-05
  20  norm          1.7817        8.1141       -.96948E-06    .38072E-04
  21  Prefactor     8.2547        30.442        .61310E-05    .15134E-04
  22  Prefactor     .10000E-03    53.800       -.15574E-05** at limit **
  23  norm          1.9336        12.833        .47820E-05    .29333E-04
  24  Prefactor     9.4276        9.9501        .63377E-07   -.62397E-05
  25  Prefactor     10.240        12.588        .98313E-07   -.50234E-05
  26  Normalizat    1.0755        .18162       -.83602E-06   -.67587E-04
  27  Prefactor     1.0005        .19489       -.67228E-06   -.71443E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 23.1995
  Prefactor  = 0.0001
  Prefactor  = 0.883057
  Prefactor  = 0.438455
  norm       = 0.0001
  norm       = 8.90783
  Prefactor  = 6.54714
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.3625
  Prefactor  = 27.4677
  Prefactor  = 4.95827
  norm       = 2.60081
  norm       = 0.0001
  norm       = 1.35949
  norm       = 0.0001
  norm       = 16.5197
  Prefactor  = 4.12697
  Prefactor  = 15.1731
  norm       = 1.78173
  Prefactor  = 8.25467
  Prefactor  = 0.0001
  norm       = 1.93358
  Prefactor  = 9.42756
  Prefactor  = 10.2405
  Normalizat = 1.07554
  Prefactor  = 1.00048
 **********
 **   18 **HESSE 
 **********

 FCN=   5925.266     FROM HESSE     STATUS=OK           506 CALLS     3338 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.199        5.0915        .78499E-04   -1.4744    
   2  Prefactor     .10000E-03    .87118        .69890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .88306        1.6872        .13465E-03   -1.5520    
   4  Prefactor     .43845        19.236        .27036E-02   -1.5576    
   5  norm          .10000E-03    .79418E-01    .38886E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.9078        4.8113        .11302E-03   -1.5111    
   7  Prefactor     6.5471        8.8930        .15683E-03   -1.5196    
   8  Prefactor     .10000E-03    27.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.0726        .13146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3625        5.4269        .28425E-03   -1.5475    
  11  Prefactor     27.468        16.025        .76439E-04   -1.4659    
  12  Prefactor     4.9583        31.243        .17995E-03   -1.5263    
  13  norm          2.6008        2.7814        .12839E-03   -1.5385    
  14  norm          .10000E-03    1.8564        .10220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3595        2.0865        .13261E-03   -1.5475    
  16  norm          .10000E-03    14.425        .29545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.520        18.731        .98550E-04   -1.4895    
  18  Prefactor     4.1270        2.9090        .10338E-03   -1.5302    
  19  Prefactor     15.173        13.637        .10283E-03   -1.4929    
  20  norm          1.7817        8.2177        .31254E-03   -1.5441    
  21  Prefactor     8.2547        30.660        .13938E-03   -1.5133    
  22  Prefactor     .10000E-03    53.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.9336        13.479        .14981E-02   -1.5430    
  24  Prefactor     9.4276        9.9526        .13052E-03   -1.5094    
  25  Prefactor     10.240        12.590        .62606E-03   -1.5068    
  26  Normalizat    1.0755        .20781        .23818E-03   -.90541    
  27  Prefactor     1.0005        .22409        .27164E-03   -.92714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67953e-10
Minuit parameter uncertainties:
  1  5.09156
  2  1.96376e-06
  3  1.68734
  4  5.80963
  5  8.92786e-07
  6  4.81148
  7  8.89482
  8  4.90465e-05
  9  4.94489e-06
  10  5.42889
  11  16.0279
  12  24.9117
  13  2.78152
  14  2.66574e-06
  15  2.08656
  16  8.30358e-07
  17  18.7374
  18  2.90915
  19  13.6401
  20  7.65441
  21  30.7187
  22  1.13391e-05
  23  10.2132
  24  9.95439
  25  12.5932
  26  0.207966
  27  0.224303
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  2.601e+00  2.782e+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:  1.000e+00  2.243e-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.076e+00  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.17
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 1.76e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 9.15e-06 +/- 9.78e-06

TS (Fixed Index): 2.17
Ra Dec: 195.757 24.582
Photon Flux Upper Limit: 7.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.68e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/162034/likelihoodResults_511228801_511488001_4FGL_J1303.0+2434_daily_bin1049.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5925.11636802
delta logL = 0.149498485601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5925.10485691
delta logL = 0.161009597048

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3209       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7548       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0444       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0196       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=   5925.105     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      202 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3200        40.410        .67312E-02    .24598E-03
   2  alpha         2.7558        3.7660        .41425        .39113E-04
   3  Normalizat    1.0444        .63269E-01    .40949E-01   -.14868E-04
   4  Prefactor     1.0196        .56395E-01    .60947E-01    .14880E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.32003
  alpha      = 2.75583
  Normalizat = 1.04436
  Prefactor  = 1.01959
 **********
 **   18 **HESSE 
 **********

 FCN=   5925.105     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3200        2.9608        .97518E-04   -1.5403    
   2  alpha         2.7558        1.1933        .16029E-01    .10251    
   3  Normalizat    1.0444        .21057        .24125E-03   -.91559    
   4  Prefactor     1.0196        .22490        .26952E-03   -.92079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76787e-09
Minuit parameter uncertainties:
  1  2.96102
  2  1.24457
  3  0.21074
  4  0.225104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/162034': 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) = 5925.10485642
delta logL = 0.161010085561

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  2.320e+00  2.961e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.756e+00  1.245e+00  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:  1.020e+00  2.251e-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.044e+00  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.50
Ra Dec: 195.757 24.582
Photon Index (Free Index): 2.76 +/- 1.24
Photon Flux (Free Index): 4.07e-08 +/- 5.33e-08
Energy Flux (Free Index): 9.93e-06 +/- 8.79e-06

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/162034/cmap_HighResolution_511228801_511488001_4FGL_J1303.0+2434_daily_bin1049.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-05', comment='SUCCESS', photon_flux='1.76e-08', energy_flux2='9.93e-06', photon_flux_error='1.89e-08', dlogl='1.61e-01', energy_flux='9.15e-06', photon_flux2='4.07e-08', job_status='DONE', time_completed='2021-09-06 18:29:38.507113', photon_index_error2='1.24', photon_index2='2.76', ts='2.17', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='7.10e-08', energy_flux_error2='8.79e-06', EG='1.08', time_epoch_completed='1630978178.51', return_code='0', job_id='162034', GAL2='1.02', EG2='1.04', return_code2='0', energy_flux_error='9.78e-06', photon_flux_error2='5.33e-08', ts2='2.50', photon_index='2.07' WHERE bin_id='1049' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:29:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 162034: <4FGL_J1303.0+2434_daily_bin1049> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin1049> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep  6 18:15:31 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 18:16:01 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:16:01 2021
Terminated at Mon Sep  6 18:29:39 2021
Results reported at Mon Sep  6 18:29:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1049 195.757 24.5821 511228801 511488001 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 :                                   591.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            848 sec.

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

