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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1339
RA = 195.757, Dec = 24.5821
tmin = 586396801, tmax = 586656001
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='163566', job_status='RUN', time_executed='2021-09-06 18:23:03.626614', time_epoch_executed='1630977783.63' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163566

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163566/ft1_4FGL_J1303.0+2434_daily_bin1339.fits


Retrieving the FT1 file...

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

Retrieving 31 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163566/ft2_4FGL_J1303.0+2434_daily_bin1339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163566/ft1_4FGL_J1303.0+2434_daily_bin1339.fits outfile=/scratch/kocevski/163566/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1339.fits ra=195.757 dec=24.5821 rad=12.0 tmin=586396801.0 tmax=586656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.64
user 2.43
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163566/ft2_4FGL_J1303.0+2434_daily_bin1339.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/163566/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1339.fits evtable="EVENTS" outfile="/scratch/kocevski/163566/ft1_filtered_4FGL_J1303.0+2434_daily_bin1339.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.53
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163566/ft1_filtered_4FGL_J1303.0+2434_daily_bin1339.fits" evtable="EVENTS" scfile=/scratch/kocevski/163566/ft2_4FGL_J1303.0+2434_daily_bin1339.fits sctable="SC_DATA" outfile=/scratch/kocevski/163566/ltcube_586396801_586656001_4FGL_J1303.0+2434_daily_bin1339.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/163566/ft2_4FGL_J1303.0+2434_daily_bin1339.fits
.....................!
real 11.42
user 11.04
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163566/ft1_filtered_4FGL_J1303.0+2434_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/163566/ft2_4FGL_J1303.0+2434_daily_bin1339.fits sctable="SC_DATA" expcube=/scratch/kocevski/163566/ltcube_586396801_586656001_4FGL_J1303.0+2434_daily_bin1339.fits outfile=/scratch/kocevski/163566/expmap_586396801_586656001_4FGL_J1303.0+2434_daily_bin1339.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/163566/ltcube_586396801_586656001_4FGL_J1303.0+2434_daily_bin1339.fits
.....................!
real 192.98
user 188.00
sys 4.54

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/163566/ft1_filtered_4FGL_J1303.0+2434_daily_bin1339.fits scfile=/scratch/kocevski/163566/ft2_4FGL_J1303.0+2434_daily_bin1339.fits outfile=/scratch/kocevski/163566/cmap_586396801_586656001_4FGL_J1303.0+2434_daily_bin1339.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163566/ft1_filtered_4FGL_J1303.0+2434_daily_bin1339.fits scfile=/scratch/kocevski/163566/ft2_4FGL_J1303.0+2434_daily_bin1339.fits outfile=/scratch/kocevski/163566/cmap_HighResolution_586396801_586656001_4FGL_J1303.0+2434_daily_bin1339.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.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9307       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14761E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.0016       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0372       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10488E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.5638       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    13.873       1.0000         .10000E-03   10000.    
    16 'norm      '    .10544E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    19.596       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .48642       1.0000         .10000E-03   10000.    
    20 'norm      '    6.4499       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.5589       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .90134       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1416       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=   3873.782     FROM MIGRAD    STATUS=CONVERGED    665 CALLS     2792 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9311        4.4899       -.42045E-06   -.14304E-03
   2  Prefactor     .10000E-03    2.4695        .40173E-06** at limit **
   3  Prefactor     .10000E-03    2.4164        .10970E-05** at limit **
   4  Prefactor     .10000E-03    2.1999        .15577E-06** at limit **
   5  norm          .10000E-03    .14325        .94779E-07** at limit **
   6  norm          9.0022        5.3376        .31232E-06    .12357E-03
   7  Prefactor     4.0442        14.026       -.40491E-05   -.21155E-05
   8  Prefactor     .10000E-03    107.83        .70847E-05** at limit **
   9  Prefactor     .10000E-03    2.6083        .66608E-07** at limit **
  10  norm          .10000E-03    4.5719       -.42458E-06** at limit **
  11  Prefactor     9.5629        10.384        .29546E-07   -.29101E-05
  12  Prefactor     .10000E-03    11.447        .60884E-06** at limit **
  13  norm          .10000E-03    1.4967        .43786E-07** at limit **
  14  norm          .10000E-03    2.6165       -.64025E-07** at limit **
  15  norm          13.883        5.8668        .39748E-06    .21368E-03
  16  norm          .10000E-03    14.734       -.49876E-05** at limit **
  17  norm          19.596        19.084        .15306E-06    .66746E-05
  18  Prefactor     .10000E-03    1.7612       -.28032E-07** at limit **
  19  Prefactor     .40600        94.035        .11778E-04   -.15607E-04
  20  norm          6.4516        7.6340        .50539E-06    .73077E-04
  21  Prefactor     .10000E-03    25.971        .17150E-05** at limit **
  22  Prefactor     .10000E-03    29.576        .17424E-05** at limit **
  23  norm          2.5551        9.9296       -.28109E-05    .10032E-03
  24  Prefactor     .10000E-03    7.2914        .10323E-06** at limit **
  25  Prefactor     .10000E-03    20.411       -.19735E-05** at limit **
  26  Normalizat    .90148        .21118       -.59932E-07   -.59116E-04
  27  Prefactor     1.1415        .21812       -.15339E-06   -.45633E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.93109
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.00223
  Prefactor  = 4.04416
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.56288
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 13.8831
  norm       = 0.0001
  norm       = 19.5962
  Prefactor  = 0.0001
  Prefactor  = 0.405997
  norm       = 6.45162
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.55513
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.901481
  Prefactor  = 1.14153
 **********
 **   18 **HESSE 
 **********

 FCN=   3873.782     FROM HESSE     STATUS=OK           488 CALLS     3280 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9311        4.4484        .10144E-03   -1.5181    
   2  Prefactor     .10000E-03    2.5252        .19055E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.7677        .17240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.2012        .90147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .17651        .45548E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.0022        5.3251        .10668E-03   -1.5108    
   7  Prefactor     4.0442        13.794        .20069E-03   -1.5306    
   8  Prefactor     .10000E-03    108.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.6115        .98167E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.6395        .12990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.5629        10.383        .12958E-03   -1.5089    
  12  Prefactor     .10000E-03    11.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.5020        .74355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.6285        .98322E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.883        5.9104        .93426E-04   -1.4963    
  16  norm          .10000E-03    14.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.596        19.082        .90479E-04   -1.4822    
  18  Prefactor     .10000E-03    1.7753        .80560E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .40600        94.162        .43815E-02   -1.5581    
  20  norm          6.4516        7.5809        .15803E-03   -1.5200    
  21  Prefactor     .10000E-03    25.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    29.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.5551        9.7521        .25522E-03   -1.5388    
  24  Prefactor     .10000E-03    7.2958        .16415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    20.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .90148        .24399        .25558E-03   -.96408    
  27  Prefactor     1.1415        .25391        .24435E-03   -.88150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3433e-08
Minuit parameter uncertainties:
  1  4.44865
  2  2.02097e-05
  3  0.000267987
  4  2.72095e-06
  5  2.1795e-06
  6  5.32537
  7  13.8046
  8  0.000857953
  9  6.27973e-07
  10  4.42476e-06
  11  10.3853
  12  4.02421e-05
  13  3.18082e-07
  14  2.21376e-07
  15  5.91065
  16  0.000115537
  17  19.0878
  18  1.22667e-07
  19  12.3842
  20  7.58202
  21  9.81616e-05
  22  0.000109745
  23  9.75821
  24  5.48946e-06
  25  9.78505e-05
  26  0.244291
  27  0.254178
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.000e-04  3.181e-07  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.142e+00  2.542e-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.015e-01  2.443e-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.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/163566/likelihoodResults_586396801_586656001_4FGL_J1303.0+2434_daily_bin1339.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) = 3873.78509426
delta logL = -0.0030122996086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3873.78208197
delta logL = -6.76709532854e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0662       1.0000          .0000       5.0000    
     3 'Normalizat'    .90149       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1415       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=   3873.782     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      226 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9158        .74355E-03** at limit **
   2  alpha         2.0710        3.4911        .16785       -.40259E-06
   3  Normalizat    .90148        .23756        .25558E-03    .66278E-05
   4  Prefactor     1.1415        .25361        .24435E-03    .93286E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.07095
  Normalizat = 0.901482
  Prefactor  = 1.14153
 **********
 **   18 **HESSE 
 **********

 FCN=   3873.782     FROM HESSE     STATUS=OK            23 CALLS      249 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5021        .14871E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0710        2.6143        .67141E-02   -.17247    
   3  Normalizat    .90148        .23779        .10223E-04   -.96408    
   4  Prefactor     1.1415        .25385        .97739E-05   -.88150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62867e-09
Minuit parameter uncertainties:
  1  8.05936e-05
  2  185.472
  3  0.238063
  4  0.254124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163566': 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) = 3873.78208196
delta logL = 7.99445842858e-10

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.000e-04  8.059e-05  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.071e+00  1.855e+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.142e+00  2.541e-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.015e-01  2.381e-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/163566/cmap_HighResolution_586396801_586656001_4FGL_J1303.0+2434_daily_bin1339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.70e-05', job_status='DONE', photon_flux_upper_limit='5.20e-08', time_completed='2021-09-06 18:32:35.948868', job_id='163566', GAL2='1.14', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630978355.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='7.99e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1339' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:32:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 163566: <4FGL_J1303.0+2434_daily_bin1339> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin1339> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Mon Sep  6 18:20:37 2021
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 18:20:43 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:20:43 2021
Terminated at Mon Sep  6 18:32:36 2021
Results reported at Mon Sep  6 18:32:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1339 195.757 24.5821 586396801 586656001 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 :                                   554.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            719 sec.

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

