/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 8 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7362
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1466
RA = 195.757, Dec = 24.5821
tmin = 619315201, tmax = 619574401
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='164845', job_status='RUN', time_executed='2021-09-06 18:25:58.772170', time_epoch_executed='1630977958.77' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1466'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164845

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164845/ft1_4FGL_J1303.0+2434_daily_bin1466.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164845/ft2_4FGL_J1303.0+2434_daily_bin1466.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164845/ft1_4FGL_J1303.0+2434_daily_bin1466.fits outfile=/scratch/kocevski/164845/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1466.fits ra=195.757 dec=24.5821 rad=12.0 tmin=619315201.0 tmax=619574401.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.74
user 3.33
sys 0.38

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/164845/ft2_4FGL_J1303.0+2434_daily_bin1466.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/164845/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1466.fits evtable="EVENTS" outfile="/scratch/kocevski/164845/ft1_filtered_4FGL_J1303.0+2434_daily_bin1466.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.57
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164845/ft1_filtered_4FGL_J1303.0+2434_daily_bin1466.fits" evtable="EVENTS" scfile=/scratch/kocevski/164845/ft2_4FGL_J1303.0+2434_daily_bin1466.fits sctable="SC_DATA" outfile=/scratch/kocevski/164845/ltcube_619315201_619574401_4FGL_J1303.0+2434_daily_bin1466.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/164845/ft2_4FGL_J1303.0+2434_daily_bin1466.fits
.....................!
real 15.21
user 14.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164845/ft1_filtered_4FGL_J1303.0+2434_daily_bin1466.fits evtable="EVENTS" scfile=/scratch/kocevski/164845/ft2_4FGL_J1303.0+2434_daily_bin1466.fits sctable="SC_DATA" expcube=/scratch/kocevski/164845/ltcube_619315201_619574401_4FGL_J1303.0+2434_daily_bin1466.fits outfile=/scratch/kocevski/164845/expmap_619315201_619574401_4FGL_J1303.0+2434_daily_bin1466.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/164845/ltcube_619315201_619574401_4FGL_J1303.0+2434_daily_bin1466.fits
.....................!
real 191.71
user 186.21
sys 5.01

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/164845/ft1_filtered_4FGL_J1303.0+2434_daily_bin1466.fits scfile=/scratch/kocevski/164845/ft2_4FGL_J1303.0+2434_daily_bin1466.fits outfile=/scratch/kocevski/164845/cmap_619315201_619574401_4FGL_J1303.0+2434_daily_bin1466.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164845/ft1_filtered_4FGL_J1303.0+2434_daily_bin1466.fits scfile=/scratch/kocevski/164845/ft2_4FGL_J1303.0+2434_daily_bin1466.fits outfile=/scratch/kocevski/164845/cmap_HighResolution_619315201_619574401_4FGL_J1303.0+2434_daily_bin1466.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.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.194       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9673       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .60626       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.073       1.0000         .10000E-03   10000.    
     5 'norm      '    .37807       1.0000         .10000E-03   10000.    
     6 'norm      '    6.9696       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.0114       1.0000         .10000E-03   10000.    
     8 'Prefactor '    88.194       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8213       1.0000         .10000E-03   10000.    
    10 'norm      '    .13943E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.949       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.1074       1.0000         .10000E-03   10000.    
    16 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.4591       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.7709       1.0000         .10000E-03   10000.    
    20 'norm      '    26.739       1.0000         .10000E-03   10000.    
    21 'Prefactor '    47.388       1.0000         .10000E-03   10000.    
    22 'Prefactor '    34.793       1.0000         .10000E-03   10000.    
    23 'norm      '    14.246       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .68769       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3245       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=   6123.857     FROM MIGRAD    STATUS=CONVERGED    630 CALLS     3260 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.194        4.5816       -.20618E-07    .15037E-04
   2  Prefactor     2.9675        2.9008       -.36548E-07    .43135E-05
   3  Prefactor     .60597        2.1513       -.49527E-07    .29285E-04
   4  Prefactor     10.073        8.2645       -.81370E-07    .97077E-05
   5  norm          .37804        .27704       -.18739E-07   -.11531E-04
   6  norm          6.9692        5.9371       -.88810E-07    .19640E-04
   7  Prefactor     7.0114        6.6901       -.16434E-07   -.15227E-04
   8  Prefactor     88.339        87.005        .34145E-05   -.42539E-04
   9  Prefactor     3.8208        5.5186       -.12916E-06    .76771E-05
  10  norm          .10000E-03    6.8275        .14184E-05** at limit **
  11  Prefactor     12.949        15.674       -.24657E-06    .15218E-04
  12  Prefactor     .10000E-03    9.6894       -.75708E-07** at limit **
  13  norm          .10000E-03    2.7498        .26851E-07** at limit **
  14  norm          .10000E-03    2.4315        .11634E-06** at limit **
  15  norm          5.1102        3.7041        .49541E-06    .37196E-03
  16  norm          .10000E-03    3.0439        .12495E-06** at limit **
  17  norm          .10000E-03    8.0934        .39338E-06** at limit **
  18  Prefactor     6.4597        4.2413       -.45732E-07    .11471E-03
  19  Prefactor     1.7684        22.732       -.79147E-06    .15915E-03
  20  norm          26.739        12.408       -.14385E-06   -.16869E-04
  21  Prefactor     47.407        39.181       -.98236E-06   -.83212E-04
  22  Prefactor     34.783        54.981        .44007E-06    .30690E-04
  23  norm          14.243        14.532       -.10109E-06    .10225E-04
  24  Prefactor     .10000E-03    30.354        .11293E-05** at limit **
  25  Prefactor     .10000E-03    28.642       -.37624E-06** at limit **
  26  Normalizat    .68766        .19264        .12447E-05    .15126E-03
  27  Prefactor     1.3246        .20149        .13979E-06    .22193E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1943
  Prefactor  = 2.96752
  Prefactor  = 0.605975
  Prefactor  = 10.0732
  norm       = 0.378042
  norm       = 6.9692
  Prefactor  = 7.01142
  Prefactor  = 88.3386
  Prefactor  = 3.82076
  norm       = 0.000100001
  Prefactor  = 12.9487
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.11017
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.4597
  Prefactor  = 1.76836
  norm       = 26.7391
  Prefactor  = 47.4073
  Prefactor  = 34.7829
  norm       = 14.2425
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.687663
  Prefactor  = 1.32464
 **********
 **   18 **HESSE 
 **********

 FCN=   6123.857     FROM HESSE     STATUS=OK           496 CALLS     3756 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.194        4.5785        .94248E-04   -1.5039    
   2  Prefactor     2.9675        2.8857        .11557E-03   -1.5363    
   3  Prefactor     .60597        2.1245        .19644E-03   -1.5552    
   4  Prefactor     10.073        8.2436        .12625E-03   -1.5073    
   5  norm          .37804        .26781        .32837E-03   -1.5585    
   6  norm          6.9692        5.9239        .15196E-03   -1.5180    
   7  Prefactor     7.0114        6.6755        .75752E-03   -1.5178    
   8  Prefactor     88.339        87.783        .21391E-03   -1.3825    
   9  Prefactor     3.8208        5.5121        .20647E-03   -1.5317    
  10  norm          .10000E-03    7.0466        .27511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.949        15.681        .11131E-03   -1.4988    
  12  Prefactor     .10000E-03    9.7072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.8123        .12661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.4476        .11909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.1102        3.7005        .11938E-03   -1.5256    
  16  norm          .10000E-03    3.0378        .13289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.1169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.4597        4.3055        .11148E-03   -1.5200    
  19  Prefactor     1.7684        25.553        .15734E-02   -1.5442    
  20  norm          26.739        12.413        .77473E-04   -1.4673    
  21  Prefactor     47.407        39.493        .29124E-03   -1.4330    
  22  Prefactor     34.783        55.012        .67939E-04   -1.4528    
  23  norm          14.243        14.522        .10612E-03   -1.4953    
  24  Prefactor     .10000E-03    30.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    29.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .68766        .22477        .30685E-03   -1.0438    
  27  Prefactor     1.3246        .23981        .25070E-03   -.82577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.96713e-10
Minuit parameter uncertainties:
  1  4.5786
  2  2.88583
  3  2.12481
  4  8.24453
  5  0.267808
  6  5.92442
  7  6.67622
  8  87.912
  9  5.51282
  10  0.000129224
  11  15.6864
  12  3.08651e-05
  13  8.62786e-06
  14  3.07663e-07
  15  3.70071
  16  7.37487e-06
  17  3.34044e-05
  18  4.30569
  19  13.4508
  20  12.4142
  21  39.5147
  22  55.0928
  23  14.5259
  24  4.88084e-05
  25  0.000153401
  26  0.225074
  27  0.240008
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.000e-04  8.628e-06  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.325e+00  2.400e-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:  6.877e-01  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/164845/likelihoodResults_619315201_619574401_4FGL_J1303.0+2434_daily_bin1466.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) = 6123.8588047
delta logL = -0.00169146198368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6123.85711333
delta logL = -8.88621798367e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0705       1.0000          .0000       5.0000    
     3 'Normalizat'    .68768       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3247       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=   6123.857     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      239 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    567.84        .12669E-02** at limit **
   2  alpha         2.1409        3.5361        .16779        .12874E-07
   3  Normalizat    .68766        .10541        .30686E-03   -.16253E-03
   4  Prefactor     1.3246        .11642        .25070E-03   -.20265E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.14088
  Normalizat = 0.687663
  Prefactor  = 1.32464
 **********
 **   18 **HESSE 
 **********

 FCN=   6123.857     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8332        .25338E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1409        3.6871        .67114E-02   -.14415    
   3  Normalizat    .68766        .21493        .12274E-04   -1.0438    
   4  Prefactor     1.3246        .23739        .50141E-04   -.82577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02765e-11
Minuit parameter uncertainties:
  1  1.06734e-05
  2  152.775
  3  0.215188
  4  0.237587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164845': 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) = 6123.85711312
delta logL = 1.2084183254e-07

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.000e-04  1.067e-05  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.141e+00  1.528e+02  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.325e+00  2.376e-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:  6.877e-01  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 195.757 24.582

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/164845/cmap_HighResolution_619315201_619574401_4FGL_J1303.0+2434_daily_bin1466.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-05', job_status='DONE', photon_flux_upper_limit='5.60e-08', time_completed='2021-09-06 18:38:20.513644', job_id='164845', GAL2='1.32', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1630978700.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='1.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1466' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:38:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 164845: <4FGL_J1303.0+2434_daily_bin1466> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin1466> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep  6 18:25:24 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 18:25:42 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:25:42 2021
Terminated at Mon Sep  6 18:38:21 2021
Results reported at Mon Sep  6 18:38:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1466 195.757 24.5821 619315201 619574401 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 :                                   735.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            777 sec.

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

