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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1063
RA = 195.757, Dec = 24.5821
tmin = 514857601, tmax = 515116801
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='162056', job_status='RUN', time_executed='2021-09-06 18:18:18.830032', time_epoch_executed='1630977498.83' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1063'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/162056

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/162056/ft1_4FGL_J1303.0+2434_daily_bin1063.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/162056/ft2_4FGL_J1303.0+2434_daily_bin1063.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/162056/ft1_4FGL_J1303.0+2434_daily_bin1063.fits outfile=/scratch/kocevski/162056/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1063.fits ra=195.757 dec=24.5821 rad=12.0 tmin=514857601.0 tmax=515116801.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.30
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/162056/ft1_filtered_4FGL_J1303.0+2434_daily_bin1063.fits evtable="EVENTS" scfile=/scratch/kocevski/162056/ft2_4FGL_J1303.0+2434_daily_bin1063.fits sctable="SC_DATA" expcube=/scratch/kocevski/162056/ltcube_514857601_515116801_4FGL_J1303.0+2434_daily_bin1063.fits outfile=/scratch/kocevski/162056/expmap_514857601_515116801_4FGL_J1303.0+2434_daily_bin1063.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/162056/ltcube_514857601_515116801_4FGL_J1303.0+2434_daily_bin1063.fits
.....................!
real 191.90
user 187.34
sys 4.05

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/162056/ft1_filtered_4FGL_J1303.0+2434_daily_bin1063.fits scfile=/scratch/kocevski/162056/ft2_4FGL_J1303.0+2434_daily_bin1063.fits outfile=/scratch/kocevski/162056/cmap_514857601_515116801_4FGL_J1303.0+2434_daily_bin1063.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/162056/ft1_filtered_4FGL_J1303.0+2434_daily_bin1063.fits scfile=/scratch/kocevski/162056/ft2_4FGL_J1303.0+2434_daily_bin1063.fits outfile=/scratch/kocevski/162056/cmap_HighResolution_514857601_515116801_4FGL_J1303.0+2434_daily_bin1063.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.58
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2102       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0814       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7951       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .39392       1.0000         .10000E-03   10000.    
     6 'norm      '    7.2827       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5011       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.181       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.131       1.0000         .10000E-03   10000.    
    10 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.1600       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.3338       1.0000         .10000E-03   10000.    
    13 'norm      '    7.4106       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.7573       1.0000         .10000E-03   10000.    
    16 'norm      '    9.0539       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4599       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.8920       1.0000         .10000E-03   10000.    
    20 'norm      '    .88118       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8517       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13584E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .91468       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .91224       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=   5478.155     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     3750 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2101        3.7291        .19782E-07    .52023E-05
   2  Prefactor     2.0815        2.0020        .11328E-07    .40319E-05
   3  Prefactor     2.7952        2.0293        .57545E-07   -.50843E-04
   4  Prefactor     .10000E-03    2.2888        .78515E-08** at limit **
   5  norm          .39395        .24675        .32002E-07   -.15554E-03
   6  norm          7.2827        3.9520        .15393E-07   -.21175E-04
   7  Prefactor     5.5013        6.9061        .10160E-06   -.18643E-04
   8  Prefactor     18.176        80.830       -.17066E-05   -.26752E-04
   9  Prefactor     11.132        7.2039        .32474E-06   -.20746E-03
  10  norm          .10000E-03    4.9383        .20718E-06** at limit **
  11  Prefactor     6.1591        12.207        .36162E-05   -.40168E-03
  12  Prefactor     7.3403        23.626        .31984E-05    .12449E-03
  13  norm          7.4106        3.7475        .22790E-07   -.48983E-04
  14  norm          .10000E-03    1.8312        .56777E-07** at limit **
  15  norm          1.7566        4.2345       -.10224E-06   -.61831E-03
  16  norm          9.0538        9.1618       -.40135E-06   -.35601E-03
  17  norm          .10000E-03    8.7168        .18902E-05** at limit **
  18  Prefactor     2.4598        2.7702        .32403E-06    .17145E-03
  19  Prefactor     9.8935        9.5179       -.85585E-07   -.34630E-04
  20  norm          .88174        5.2918        .17254E-05   -.24092E-03
  21  Prefactor     2.8477        40.917       -.18301E-05   -.61763E-04
  22  Prefactor     .10000E-03    32.232       -.51762E-06** at limit **
  23  norm          .10000E-03    2.6281       -.36226E-07** at limit **
  24  Prefactor     .10001E-03    5.7634        .14114E-05** at limit **
  25  Prefactor     .10000E-03    9.3665       -.27289E-05** at limit **
  26  Normalizat    .91452        .17199       -.11844E-05   -.12077E-03
  27  Prefactor     .91239        .17999       -.11824E-06   -.13202E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.2101
  Prefactor  = 2.08152
  Prefactor  = 2.79519
  Prefactor  = 0.0001
  norm       = 0.393946
  norm       = 7.28265
  Prefactor  = 5.50128
  Prefactor  = 18.1762
  Prefactor  = 11.1318
  norm       = 0.0001
  Prefactor  = 6.15913
  Prefactor  = 7.34029
  norm       = 7.41056
  norm       = 0.0001
  norm       = 1.75656
  norm       = 9.05385
  norm       = 0.000100001
  Prefactor  = 2.45979
  Prefactor  = 9.89351
  norm       = 0.88174
  Prefactor  = 2.84768
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.000100002
  Normalizat = 0.914517
  Prefactor  = 0.912392
 **********
 **   18 **HESSE 
 **********

 FCN=   5478.155     FROM HESSE     STATUS=OK           500 CALLS     4250 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2101        3.7314        .84367E-04   -1.5101    
   2  Prefactor     2.0815        2.0072        .95562E-04   -1.5419    
   3  Prefactor     2.7952        2.0222        .85698E-04   -1.5374    
   4  Prefactor     .10000E-03    2.2968        .10930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .39395        .24380        .27625E-04   -1.5582    
   6  norm          7.2827        3.9500        .10484E-03   -1.5168    
   7  Prefactor     5.5013        6.8972        .17131E-03   -1.5239    
   8  Prefactor     18.176        82.330        .93931E-04   -1.4855    
   9  Prefactor     11.132        7.2202        .60041E-03   -1.5041    
  10  norm          .10000E-03    4.9886        .31803E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.1591        12.872        .80876E-03   -1.5212    
  12  Prefactor     7.3403        23.890        .14811E-03   -1.5166    
  13  norm          7.4106        3.7477        .98377E-04   -1.5163    
  14  norm          .10000E-03    1.8373        .97773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7566        4.2492        .16266E-03   -1.5443    
  16  norm          9.0538        9.1519        .13320E-03   -1.5106    
  17  norm          .10000E-03    8.9973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4598        2.7531        .12090E-03   -1.5394    
  19  Prefactor     9.8935        9.5065        .12741E-03   -1.5079    
  20  norm          .88174        5.4483        .32973E-03   -1.5520    
  21  Prefactor     2.8477        41.573        .24076E-03   -1.5370    
  22  Prefactor     .10000E-03    32.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.6339        .11714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10001E-03    14.331        .33450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    9.9121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .91452        .19954        .23146E-03   -.95952    
  27  Prefactor     .91239        .20925        .25554E-03   -.95709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04579e-09
Minuit parameter uncertainties:
  1  3.7315
  2  2.0073
  3  2.02224
  4  9.44317e-07
  5  0.243803
  6  3.95016
  7  6.89823
  8  77.5451
  9  7.22077
  10  3.70897e-05
  11  12.8774
  12  23.9206
  13  3.74781
  14  2.28997e-06
  15  4.2499
  16  9.15332
  17  0.000200497
  18  2.75323
  19  9.50796
  20  4.38396
  21  21.779
  22  0.000118843
  23  1.3033e-06
  24  0.00071103
  25  0.0003008
  26  0.199698
  27  0.20943
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  7.411e+00  3.748e+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:  9.124e-01  2.094e-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:  9.145e-01  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.34
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 5.02e-08 +/- 2.54e-08
Energy Flux (Fixed Index): 2.61e-05 +/- 1.32e-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) = 5477.92817924
delta logL = 0.226414249924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5477.92100849
delta logL = 0.233584998944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8204       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7705       1.0000          .0000       5.0000    
     3 'Normalizat'    .92774       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90411       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=   5477.921     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      200 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8181        5.0083        .35847E-02   -.12141E-03
   2  alpha         1.7704        .47256        .28473       -.29988E-05
   3  Normalizat    .92787        .16172        .45255E-01   -.19396E-05
   4  Prefactor     .90402        .17830        .45057E-01    .44802E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.81811
  alpha      = 1.77039
  Normalizat = 0.927872
  Prefactor  = 0.904016
 **********
 **   18 **HESSE 
 **********

 FCN=   5477.921     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8181        4.0680        .10451E-03   -1.5149    
   2  alpha         1.7704        .41792        .11520E-01   -.29616    
   3  Normalizat    .92787        .18578        .22999E-03   -.95488    
   4  Prefactor     .90402        .20527        .25663E-03   -.96001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33257e-11
Minuit parameter uncertainties:
  1  4.06815
  2  0.420074
  3  0.185907
  4  0.205445
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/162056': 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) = 5477.92100805
delta logL = 0.233585443584

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  7.818e+00  4.068e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.770e+00  4.201e-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:  9.040e-01  2.054e-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:  9.279e-01  1.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.80
Ra Dec: 195.757 24.582
Photon Index (Free Index): 1.77 +/- 0.42
Photon Flux (Free Index): 3.91e-08 +/- 2.54e-08
Energy Flux (Free Index): 3.59e-05 +/- 2.71e-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/162056/cmap_HighResolution_514857601_515116801_4FGL_J1303.0+2434_daily_bin1063.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.02e-08', energy_flux2='3.59e-05', photon_flux_error='2.54e-08', dlogl='2.34e-01', energy_flux='2.61e-05', photon_flux2='3.91e-08', job_status='DONE', time_completed='2021-09-06 18:29:26.118119', photon_index_error2='0.42', photon_index2='1.77', ts='13.34', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.71e-05', EG='0.91', time_epoch_completed='1630978166.12', return_code='0', job_id='162056', GAL2='0.90', EG2='0.93', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='2.54e-08', ts2='13.80', photon_index='2.07' WHERE bin_id='1063' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:29:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 162056: <4FGL_J1303.0+2434_daily_bin1063> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1063 195.757 24.5821 514857601 515116801 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 :                                   661.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            835 sec.

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

