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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1068
RA = 195.757, Dec = 24.5821
tmin = 516153601, tmax = 516412801
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='162063', job_status='RUN', time_executed='2021-09-06 18:18:53.790105', time_epoch_executed='1630977533.79' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1068'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/162063

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/162063/ft1_4FGL_J1303.0+2434_daily_bin1068.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/162063/ft2_4FGL_J1303.0+2434_daily_bin1068.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/162063/ft1_4FGL_J1303.0+2434_daily_bin1068.fits outfile=/scratch/kocevski/162063/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1068.fits ra=195.757 dec=24.5821 rad=12.0 tmin=516153601.0 tmax=516412801.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.54
user 3.29
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/162063/ft1_filtered_4FGL_J1303.0+2434_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/162063/ft2_4FGL_J1303.0+2434_daily_bin1068.fits sctable="SC_DATA" expcube=/scratch/kocevski/162063/ltcube_516153601_516412801_4FGL_J1303.0+2434_daily_bin1068.fits outfile=/scratch/kocevski/162063/expmap_516153601_516412801_4FGL_J1303.0+2434_daily_bin1068.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/162063/ltcube_516153601_516412801_4FGL_J1303.0+2434_daily_bin1068.fits
.....................!
real 191.91
user 186.08
sys 5.20

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/162063/ft1_filtered_4FGL_J1303.0+2434_daily_bin1068.fits scfile=/scratch/kocevski/162063/ft2_4FGL_J1303.0+2434_daily_bin1068.fits outfile=/scratch/kocevski/162063/cmap_516153601_516412801_4FGL_J1303.0+2434_daily_bin1068.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/162063/ft1_filtered_4FGL_J1303.0+2434_daily_bin1068.fits scfile=/scratch/kocevski/162063/ft2_4FGL_J1303.0+2434_daily_bin1068.fits outfile=/scratch/kocevski/162063/cmap_HighResolution_516153601_516412801_4FGL_J1303.0+2434_daily_bin1068.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4244       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4533       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8000       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0754       1.0000         .10000E-03   10000.    
     5 'norm      '    .42569       1.0000         .10000E-03   10000.    
     6 'norm      '    8.7364       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.902       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.115       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10367E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.811       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.034       1.0000         .10000E-03   10000.    
    13 'norm      '    3.6096       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .57559       1.0000         .10000E-03   10000.    
    16 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.7568       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.2966       1.0000         .10000E-03   10000.    
    21 'Prefactor '    106.80       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .44680       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.8231       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1191       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .85912       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=   5883.358     FROM MIGRAD    STATUS=CONVERGED    639 CALLS     3336 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4243        3.1866        .52000E-07    .10229E-04
   2  Prefactor     1.4534        1.9391       -.34396E-07   -.36286E-05
   3  Prefactor     1.8000        1.8275        .65184E-07    .76721E-04
   4  Prefactor     1.0770        6.8745       -.23000E-05   -.11602E-04
   5  norm          .42569        .24749        .43303E-07    .70476E-03
   6  norm          8.7355        4.5611       -.59897E-06    .15558E-03
   7  Prefactor     10.902        7.1422        .38412E-07    .73910E-04
   8  Prefactor     29.113        42.440       -.26273E-05    .17700E-05
   9  Prefactor     .10000E-03    8.8172       -.80776E-05** at limit **
  10  norm          .10000E-03    3.7074       -.30487E-06** at limit **
  11  Prefactor     38.812        16.888        .37763E-06    .18657E-04
  12  Prefactor     29.037        24.212        .56566E-05    .18070E-04
  13  norm          3.6096        3.1097       -.80904E-06    .11046E-03
  14  norm          .10000E-03    .99543       -.34268E-07** at limit **
  15  norm          .57305        2.4551       -.12608E-05   -.46213E-03
  16  norm          .10000E-03    4.9472       -.50981E-06** at limit **
  17  norm          7.7609        14.506        .37053E-05    .11392E-04
  18  Prefactor     .10022E-03    1.1195        .81309E-06** at limit **
  19  Prefactor     .10000E-03    6.4552        .31063E-05** at limit **
  20  norm          1.2892        .88000        .23467E-06   -.13011E-02
  21  Prefactor     106.79        55.320       -.24504E-05    .60579E-06
  22  Prefactor     .10000E-03    19.588       -.31962E-05** at limit **
  23  norm          .45313        5.6221        .73175E-07   -.10953E-03
  24  Prefactor     5.8234        8.0758        .77956E-08   -.79129E-04
  25  Prefactor     .10000E-03    10.007       -.11019E-05** at limit **
  26  Normalizat    1.1190        .18082       -.84566E-06    .17637E-03
  27  Prefactor     .85916        .19049        .94637E-06    .66808E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.42426
  Prefactor  = 1.45341
  Prefactor  = 1.79998
  Prefactor  = 1.07703
  norm       = 0.425686
  norm       = 8.73551
  Prefactor  = 10.9024
  Prefactor  = 29.1129
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 38.8119
  Prefactor  = 29.0374
  norm       = 3.60958
  norm       = 0.0001
  norm       = 0.573049
  norm       = 0.0001
  norm       = 7.76089
  Prefactor  = 0.000100224
  Prefactor  = 0.0001
  norm       = 1.28917
  Prefactor  = 106.793
  Prefactor  = 0.0001
  norm       = 0.453135
  Prefactor  = 5.82339
  Prefactor  = 0.0001
  Normalizat = 1.119
  Prefactor  = 0.859155
 **********
 **   18 **HESSE 
 **********

 FCN=   5883.358     FROM HESSE     STATUS=OK           500 CALLS     3836 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4243        3.1981        .94067E-04   -1.5242    
   2  Prefactor     1.4534        1.9229        .11096E-03   -1.5467    
   3  Prefactor     1.8000        1.8109        .99106E-04   -1.5440    
   4  Prefactor     1.0770        6.7532        .36538E-03   -1.5500    
   5  norm          .42569        .24384        .27503E-04   -1.5577    
   6  norm          8.7355        4.5064        .10861E-03   -1.5117    
   7  Prefactor     10.902        7.1422        .60669E-03   -1.5047    
   8  Prefactor     29.113        42.462        .74251E-04   -1.4628    
   9  Prefactor     .10000E-03    8.8743        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.7834        .28769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     38.812        16.892        .64337E-04   -1.4461    
  12  Prefactor     29.037        24.095        .74354E-04   -1.4630    
  13  norm          3.6096        3.1032        .12102E-03   -1.5328    
  14  norm          .10000E-03    .99565        .74738E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .57305        2.2907        .22002E-03   -1.5557    
  16  norm          .10000E-03    5.0150        .32869E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.7609        14.578        .14398E-03   -1.5151    
  18  Prefactor     .10022E-03    11.182        .15511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.5118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.2892        4.8180        .14716E-02   -1.5481    
  21  Prefactor     106.79        55.384        .38915E-04   -1.3637    
  22  Prefactor     .10000E-03    19.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .45313        17.258        .33958E-02   -1.5573    
  24  Prefactor     5.8234        8.0911        .83215E-03   -1.5225    
  25  Prefactor     .10000E-03    10.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1190        .20676        .22693E-03   -.89144    
  27  Prefactor     .85916        .21800        .27949E-03   -.97583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28965e-08
Minuit parameter uncertainties:
  1  3.19816
  2  1.92303
  3  1.81095
  4  5.3945
  5  0.243837
  6  4.50654
  7  7.14274
  8  42.5059
  9  8.55728e-05
  10  7.58123e-05
  11  16.8945
  12  24.1033
  13  3.1033
  14  1.97262e-06
  15  2.29102
  16  2.85203e-05
  17  14.5846
  18  0.00316315
  19  2.1959e-05
  20  4.81946
  21  55.4104
  22  1.46437e-05
  23  5.59407
  24  8.09263
  25  8.38685e-07
  26  0.206905
  27  0.218223
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.610e+00  3.103e+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:  8.592e-01  2.182e-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.119e+00  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.45
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.45e-08 +/- 2.10e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.09e-05

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

Saving results to:
/scratch/kocevski/162063/likelihoodResults_516153601_516412801_4FGL_J1303.0+2434_daily_bin1068.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) = 5882.95444723
delta logL = 0.403795653314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5882.95224402
delta logL = 0.405998863653

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5882.952     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      276 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4469        3.7123        .77740E-04   -.61742E-03
   2  alpha         2.9527        1.1817        .12105E-01   -.34953E-04
   3  Normalizat    1.0674        .21068        .23162E-03   -.65380E-04
   4  Prefactor     .89456        .22302        .27457E-03   -.10368E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44686
  alpha      = 2.95265
  Normalizat = 1.06744
  Prefactor  = 0.894558
 **********
 **   18 **HESSE 
 **********

 FCN=   5882.952     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4469        3.0614        .31096E-05   -1.5395    
   2  alpha         2.9527        .98596        .48420E-03    .18207    
   3  Normalizat    1.0674        .20796        .92646E-05   -.90804    
   4  Prefactor     .89456        .22124        .10983E-04   -.96332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30785e-10
Minuit parameter uncertainties:
  1  3.06155
  2  1.01451
  3  0.208123
  4  0.22146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/162063': 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) = 5882.95224389
delta logL = 0.405998987114

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  2.447e+00  3.062e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.953e+00  1.015e+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:  8.946e-01  2.215e-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.067e+00  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.30
Ra Dec: 195.757 24.582
Photon Index (Free Index): 2.95 +/- 1.01
Photon Flux (Free Index): 5.84e-08 +/- 5.21e-08
Energy Flux (Free Index): 1.27e-05 +/- 8.70e-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/162063/cmap_HighResolution_516153601_516412801_4FGL_J1303.0+2434_daily_bin1068.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.95e-05', comment='SUCCESS', photon_flux='2.45e-08', energy_flux2='1.27e-05', photon_flux_error='2.10e-08', dlogl='4.06e-01', energy_flux='1.27e-05', photon_flux2='5.84e-08', job_status='DONE', time_completed='2021-09-06 18:31:26.390201', photon_index_error2='1.01', photon_index2='2.95', ts='2.45', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='7.61e-08', energy_flux_error2='8.70e-06', EG='1.12', time_epoch_completed='1630978286.39', return_code='0', job_id='162063', GAL2='0.89', EG2='1.07', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='5.21e-08', ts2='3.30', photon_index='2.07' WHERE bin_id='1068' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:31:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 162063: <4FGL_J1303.0+2434_daily_bin1068> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1068 195.757 24.5821 516153601 516412801 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 :                                   746.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            954 sec.

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

