/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 5 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 = 7438
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1303.0+2434_daily_bin283
RA = 195.757, Dec = 24.5821
tmin = 312681601, tmax = 312940801
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='154934', job_status='RUN', time_executed='2021-09-06 17:51:19.711664', time_epoch_executed='1630975879.71' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='283'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154934

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154934/ft1_4FGL_J1303.0+2434_daily_bin283.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154934/ft2_4FGL_J1303.0+2434_daily_bin283.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154934/ft1_4FGL_J1303.0+2434_daily_bin283.fits outfile=/scratch/kocevski/154934/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin283.fits ra=195.757 dec=24.5821 rad=12.0 tmin=312681601.0 tmax=312940801.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.49
user 3.19
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/154934/ft2_4FGL_J1303.0+2434_daily_bin283.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/154934/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin283.fits evtable="EVENTS" outfile="/scratch/kocevski/154934/ft1_filtered_4FGL_J1303.0+2434_daily_bin283.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/154934/ft1_filtered_4FGL_J1303.0+2434_daily_bin283.fits" evtable="EVENTS" scfile=/scratch/kocevski/154934/ft2_4FGL_J1303.0+2434_daily_bin283.fits sctable="SC_DATA" outfile=/scratch/kocevski/154934/ltcube_312681601_312940801_4FGL_J1303.0+2434_daily_bin283.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/154934/ft2_4FGL_J1303.0+2434_daily_bin283.fits
.....................!
real 15.32
user 14.93
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154934/ft1_filtered_4FGL_J1303.0+2434_daily_bin283.fits evtable="EVENTS" scfile=/scratch/kocevski/154934/ft2_4FGL_J1303.0+2434_daily_bin283.fits sctable="SC_DATA" expcube=/scratch/kocevski/154934/ltcube_312681601_312940801_4FGL_J1303.0+2434_daily_bin283.fits outfile=/scratch/kocevski/154934/expmap_312681601_312940801_4FGL_J1303.0+2434_daily_bin283.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/154934/ltcube_312681601_312940801_4FGL_J1303.0+2434_daily_bin283.fits
.....................!
real 192.87
user 187.15
sys 4.95

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/154934/ft1_filtered_4FGL_J1303.0+2434_daily_bin283.fits scfile=/scratch/kocevski/154934/ft2_4FGL_J1303.0+2434_daily_bin283.fits outfile=/scratch/kocevski/154934/cmap_312681601_312940801_4FGL_J1303.0+2434_daily_bin283.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/154934/ft1_filtered_4FGL_J1303.0+2434_daily_bin283.fits scfile=/scratch/kocevski/154934/ft2_4FGL_J1303.0+2434_daily_bin283.fits outfile=/scratch/kocevski/154934/cmap_HighResolution_312681601_312940801_4FGL_J1303.0+2434_daily_bin283.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.55
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0958       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.3099       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7758       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5803       1.0000         .10000E-03   10000.    
     5 'norm      '    3.1162       1.0000         .10000E-03   10000.    
     6 'norm      '    8.9651       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4955       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.556       1.0000         .10000E-03   10000.    
    10 'norm      '    13.856       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.606       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2759       1.0000         .10000E-03   10000.    
    14 'norm      '    .37337E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.0091       1.0000         .10000E-03   10000.    
    16 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    19.584       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.2657       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    16.508       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.7784       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .96975       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2917       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=   7096.527     FROM MIGRAD    STATUS=CONVERGED    628 CALLS     2820 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0958        3.0599        .57621E-02   -.11089E-02
   2  Prefactor     4.3100        2.7078        .48512E-02    .54685E-03
   3  Prefactor     4.7757        2.6116        .46026E-02    .33414E-03
   4  Prefactor     3.5806        5.7420        .53394E-02    .46779E-03
   5  norm          3.1162        .46873        .48251E-02    .88800E-03
   6  norm          8.9651        5.1014        .33466E-02    .27890E-03
   7  Prefactor     2.4958        8.7425        .64681E-02    .29076E-03
   8  Prefactor     .10002E-03    20.954        .90712E-02** at limit **
   9  Prefactor     11.556        8.2234        .29462E-02    .80784E-04
  10  norm          13.854        5.4464        .26901E-02   -.39505E-03
  11  Prefactor     13.604        16.127        .27147E-02    .11396E-02
  12  Prefactor     .10009E-03    17.043        .90712E-02** at limit **
  13  norm          1.2761        2.4743        .98344E-02    .57014E-03
  14  norm          .10002E-03    2.7619        .45747E-01** at limit **
  15  norm          5.0106        3.2110        .44919E-02    .12600E-02
  16  norm          .10000E-03    5.3755        .90712E-02** at limit **
  17  norm          19.585        19.199        .22626E-02   -.85476E-03
  18  Prefactor     .10000E-03    .65836        .90712E-02** at limit **
  19  Prefactor     .10000E-03    4.5543        .90712E-02** at limit **
  20  norm          .10003E-03    14.375        .90712E-02** at limit **
  21  Prefactor     4.2649        42.728        .48769E-02    .46864E-03
  22  Prefactor     .10000E-03    20.645        .90712E-02** at limit **
  23  norm          16.510        10.918        .24644E-02   -.57067E-03
  24  Prefactor     .10000E-03    8.8604        .90712E-02** at limit **
  25  Prefactor     3.7784        9.9710        .51921E-02    .13711E-03
  26  Normalizat    .96986        .18809        .66136E-01    .23418E-03
  27  Prefactor     1.2915        .20277        .64569E-01    .24877E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0958
  Prefactor  = 4.31002
  Prefactor  = 4.77573
  Prefactor  = 3.58057
  norm       = 3.11621
  norm       = 8.96511
  Prefactor  = 2.49576
  Prefactor  = 0.000100018
  Prefactor  = 11.5559
  norm       = 13.8543
  Prefactor  = 13.6042
  Prefactor  = 0.000100093
  norm       = 1.27613
  norm       = 0.000100021
  norm       = 5.01064
  norm       = 0.0001
  norm       = 19.5848
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100035
  Prefactor  = 4.2649
  Prefactor  = 0.000100002
  norm       = 16.5105
  Prefactor  = 0.0001
  Prefactor  = 3.77837
  Normalizat = 0.969858
  Prefactor  = 1.29154
 **********
 **   18 **HESSE 
 **********

 FCN=   7096.527     FROM HESSE     STATUS=OK           492 CALLS     3312 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0958        3.0628        .13333E-03   -1.5356    
   2  Prefactor     4.3100        2.7100        .10005E-03   -1.5293    
   3  Prefactor     4.7757        2.6022        .94164E-04   -1.5271    
   4  Prefactor     3.5806        5.7242        .21358E-03   -1.5329    
   5  norm          3.1162        .46953        .21330E-04   -1.5355    
   6  norm          8.9651        5.0947        .13386E-03   -1.5109    
   7  Prefactor     2.4958        8.7048        .25872E-03   -1.5392    
   8  Prefactor     .10002E-03    20.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.556        8.2218        .11785E-03   -1.5028    
  10  norm          13.854        5.4494        .10761E-03   -1.4963    
  11  Prefactor     13.604        16.138        .10859E-03   -1.4970    
  12  Prefactor     .10009E-03    17.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2761        2.4260        .17851E-03   -1.5482    
  14  norm          .10002E-03    14.125        .27242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.0106        3.1806        .11441E-03   -1.5260    
  16  norm          .10000E-03    5.4405        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.585        19.181        .90505E-04   -1.4823    
  18  Prefactor     .10000E-03    .65984        .66741E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.5809        .17556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10003E-03    14.667        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.2649        42.994        .19508E-03   -1.5295    
  22  Prefactor     .10000E-03    20.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          16.510        10.863        .98575E-04   -1.4895    
  24  Prefactor     .10000E-03    8.9122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.7784        9.9527        .20768E-03   -1.5319    
  26  Normalizat    .96986        .22433        .29253E-03   -.94047    
  27  Prefactor     1.2915        .24210        .28559E-03   -.83559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82995e-08
Minuit parameter uncertainties:
  1  3.06296
  2  2.71009
  3  2.60228
  4  5.72503
  5  0.46953
  6  5.09494
  7  8.70922
  8  0.00122524
  9  8.22256
  10  5.4496
  11  16.1427
  12  0.00252646
  13  2.42618
  14  0.00108817
  15  3.18069
  16  7.26649e-05
  17  19.1869
  18  7.15596e-06
  19  4.86797e-05
  20  0.00143072
  21  27.1073
  22  0.000388322
  23  10.8647
  24  0.000129763
  25  9.95708
  26  0.224547
  27  0.242311
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.276e+00  2.426e+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.292e+00  2.423e-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.699e-01  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/154934/likelihoodResults_312681601_312940801_4FGL_J1303.0+2434_daily_bin283.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) = 7096.46508216
delta logL = 0.0620325671971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7096.46358552
delta logL = 0.0635292096513

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1678       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4931       1.0000          .0000       5.0000    
     3 'Normalizat'    .96420       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2944       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=   7096.464     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      210 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1689        83.684        .10629E-01    .66394E-03
   2  alpha         2.4947        3.0597        .41152        .25430E-04
   3  Normalizat    .96424        .57380E-01    .66305E-01   -.26889E-04
   4  Prefactor     1.2943        .60451E-01    .64505E-01    .11067E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.16891
  alpha      = 2.4947
  Normalizat = 0.96424
  Prefactor  = 1.29433
 **********
 **   18 **HESSE 
 **********

 FCN=   7096.464     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1689        2.3172        .14946E-03   -1.5492    
   2  alpha         2.4947        1.2388        .29349E-01   -.21209E-02
   3  Normalizat    .96424        .21578        .29329E-03   -.94238    
   4  Prefactor     1.2943        .23900        .28530E-03   -.83476    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51243e-09
Minuit parameter uncertainties:
  1  2.3174
  2  1.2961
  3  0.215978
  4  0.239206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154934': 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) = 7096.46358374
delta logL = 0.0635309878771

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.169e+00  2.317e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.495e+00  1.296e+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.294e+00  2.392e-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.642e-01  2.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
Ra Dec: 195.757 24.582

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/154934/cmap_HighResolution_312681601_312940801_4FGL_J1303.0+2434_daily_bin283.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-05', job_status='DONE', photon_flux_upper_limit='5.78e-08', time_completed='2021-09-06 18:04:37.969185', job_id='154934', GAL2='1.29', fit_tolerance='1e-08', EG2='0.96', EG='0.97', time_epoch_completed='1630976677.97', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='6.35e-02', ts2='0.51', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='283' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:04:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 154934: <4FGL_J1303.0+2434_daily_bin283> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin283> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Mon Sep  6 17:50:32 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 17:51: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 17:51:05 2021
Terminated at Mon Sep  6 18:04:38 2021
Results reported at Mon Sep  6 18:04:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin283 195.757 24.5821 312681601 312940801 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 :                                   792.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             369.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            846 sec.

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

