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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1609
RA = 195.757, Dec = 24.5821
tmin = 656380801, tmax = 656640001
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='338860', job_status='RUN', time_executed='2021-12-07 23:37:10.928478', time_epoch_executed='1638949030.93' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1609'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/338860

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/338860/ft1_4FGL_J1303.0+2434_daily_bin1609.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/338860/ft2_4FGL_J1303.0+2434_daily_bin1609.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/338860/ft1_4FGL_J1303.0+2434_daily_bin1609.fits outfile=/scratch/kocevski/338860/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1609.fits ra=195.757 dec=24.5821 rad=12.0 tmin=656380801.0 tmax=656640001.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.55
user 3.32
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/338860/ft1_filtered_4FGL_J1303.0+2434_daily_bin1609.fits evtable="EVENTS" scfile=/scratch/kocevski/338860/ft2_4FGL_J1303.0+2434_daily_bin1609.fits sctable="SC_DATA" expcube=/scratch/kocevski/338860/ltcube_656380801_656640001_4FGL_J1303.0+2434_daily_bin1609.fits outfile=/scratch/kocevski/338860/expmap_656380801_656640001_4FGL_J1303.0+2434_daily_bin1609.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/338860/ltcube_656380801_656640001_4FGL_J1303.0+2434_daily_bin1609.fits
.....................!
real 192.84
user 186.91
sys 5.27

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/338860/ft1_filtered_4FGL_J1303.0+2434_daily_bin1609.fits scfile=/scratch/kocevski/338860/ft2_4FGL_J1303.0+2434_daily_bin1609.fits outfile=/scratch/kocevski/338860/cmap_656380801_656640001_4FGL_J1303.0+2434_daily_bin1609.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/338860/ft1_filtered_4FGL_J1303.0+2434_daily_bin1609.fits scfile=/scratch/kocevski/338860/ft2_4FGL_J1303.0+2434_daily_bin1609.fits outfile=/scratch/kocevski/338860/cmap_HighResolution_656380801_656640001_4FGL_J1303.0+2434_daily_bin1609.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=195.757 yref=24.5821 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.453       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .95681E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .99558E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .60664       1.0000         .10000E-03   10000.    
     6 'norm      '    51.837       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    53.364       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.2015       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .27556E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.132       1.0000         .10000E-03   10000.    
    13 'norm      '    6.2399       1.0000         .10000E-03   10000.    
    14 'norm      '    9.6325       1.0000         .10000E-03   10000.    
    15 'norm      '    13.320       1.0000         .10000E-03   10000.    
    16 'norm      '    .10328E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    16.408       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0178       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13540E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.8197       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .77245       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2446       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=   6520.961     FROM MIGRAD    STATUS=CONVERGED    645 CALLS     3287 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.454        5.0105       -.43501E-06    .10132E-02
   2  Prefactor     .95561E-01    1.9299       -.21213E-05    .13831E-02
   3  Prefactor     .10000E-03    1.0555        .45697E-06** at limit **
   4  Prefactor     .10000E-03    2.2098       -.51667E-07** at limit **
   5  norm          .60674        .30448       -.24037E-07   -.10062E-02
   6  norm          51.842        9.1803        .69671E-07   -.82033E-04
   7  Prefactor     .10000E-03    3.9484        .14503E-07** at limit **
   8  Prefactor     53.368        52.847        .44040E-05    .78083E-05
   9  Prefactor     .10000E-03    1.7566       -.64233E-07** at limit **
  10  norm          9.2019        5.4317       -.20649E-05   -.22903E-04
  11  Prefactor     .10013E-03    7.9716        .15030E-05** at limit **
  12  Prefactor     34.135        28.863        .17176E-05    .30136E-04
  13  norm          6.2403        4.4214        .13068E-06   -.15760E-03
  14  norm          9.6328        5.7534       -.32522E-06    .66386E-04
  15  norm          13.317        4.9703       -.61851E-06    .18927E-03
  16  norm          .10000E-03    5.7150        .70408E-07** at limit **
  17  norm          16.409        16.486       -.49596E-07    .18137E-06
  18  Prefactor     7.0177        3.8168       -.44498E-06    .22568E-03
  19  Prefactor     .10000E-03    21.059       -.66047E-05** at limit **
  20  norm          .10000E-03    2.9148       -.61137E-07** at limit **
  21  Prefactor     .10000E-03    16.677       -.49778E-07** at limit **
  22  Prefactor     .10000E-03    22.990        .71937E-05** at limit **
  23  norm          .10000E-03    2.6655        .12699E-07** at limit **
  24  Prefactor     .10000E-03    58.713       -.34051E-05** at limit **
  25  Prefactor     7.8056        14.679        .31599E-05   -.39452E-05
  26  Normalizat    .77235        .18199        .21528E-06   -.37164E-04
  27  Prefactor     1.2446        .19290        .10193E-06   -.50515E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.4544
  Prefactor  = 0.0955607
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.606736
  norm       = 51.8416
  Prefactor  = 0.0001
  Prefactor  = 53.368
  Prefactor  = 0.0001
  norm       = 9.20186
  Prefactor  = 0.000100129
  Prefactor  = 34.1351
  norm       = 6.24027
  norm       = 9.63279
  norm       = 13.3175
  norm       = 0.0001
  norm       = 16.4091
  Prefactor  = 7.0177
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.80559
  Normalizat = 0.772354
  Prefactor  = 1.24456
 **********
 **   18 **HESSE 
 **********

 FCN=   6520.961     FROM HESSE     STATUS=OK           490 CALLS     3777 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.454        4.9888        .88895E-04   -1.4896    
   2  Prefactor     .95561E-01    6.0885        .19273E-02   -1.5646    
   3  Prefactor     .10000E-03    14.355        .15543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.2137        .11720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .60674        .29938        .29715E-04   -1.5552    
   6  norm          51.842        9.1339        .55704E-04   -1.4267    
   7  Prefactor     .10000E-03    3.9608        .15669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     53.368        53.000        .54906E-04   -1.4246    
   9  Prefactor     .10000E-03    1.7586        .10452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.2019        5.4968        .13212E-03   -1.5101    
  11  Prefactor     .10013E-03    40.420        .43035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.135        28.896        .68591E-04   -1.4539    
  13  norm          6.2403        4.4154        .13650E-03   -1.5208    
  14  norm          9.6328        5.7514        .12912E-03   -1.5087    
  15  norm          13.317        4.9518        .10124E-03   -1.4978    
  16  norm          .10000E-03    5.7340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.409        16.478        .98877E-04   -1.4898    
  18  Prefactor     7.0177        3.8058        .10941E-03   -1.5178    
  19  Prefactor     .10000E-03    21.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.9348        .13457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    23.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.6728        .12874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    61.387        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     7.8056        14.690        .14339E-03   -1.5149    
  26  Normalizat    .77235        .21383        .29862E-03   -1.0110    
  27  Prefactor     1.2446        .22843        .26638E-03   -.84971    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.08418e-09
Minuit parameter uncertainties:
  1  4.98891
  2  1.52491
  3  0.00046914
  4  2.96724e-07
  5  0.299382
  6  9.13413
  7  2.57467e-06
  8  53.0469
  9  5.32855e-07
  10  5.49709
  11  0.00457671
  12  28.9081
  13  4.4156
  14  5.75178
  15  4.952
  16  6.21544e-05
  17  16.4828
  18  3.80591
  19  0.000214426
  20  2.02314e-06
  21  3.21968e-06
  22  1.89003e-05
  23  1.55128e-06
  24  0.000131259
  25  14.6969
  26  0.214059
  27  0.228614
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  6.240e+00  4.416e+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.245e+00  2.286e-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:  7.724e-01  2.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.30
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 4.23e-08 +/- 2.99e-08
Energy Flux (Fixed Index): 2.19e-05 +/- 1.55e-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) = 6520.94029765
delta logL = 0.020711099206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6520.93603798
delta logL = 0.0249707759967

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8182       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1999       1.0000          .0000       5.0000    
     3 'Normalizat'    .76552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2499       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=   6520.936     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      247 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8180        4.8108        .13006E-03    .14469E-02
   2  alpha         2.2001        .62786        .13366E-01    .14004E-03
   3  Normalizat    .76551        .20773        .29986E-03    .37371E-03
   4  Prefactor     1.2499        .22898        .26591E-03    .33715E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.818
  alpha      = 2.2001
  Normalizat = 0.765514
  Prefactor  = 1.24993
 **********
 **   18 **HESSE 
 **********

 FCN=   6520.936     FROM HESSE     STATUS=OK            23 CALLS      270 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8180        4.6805        .52025E-05   -1.5226    
   2  alpha         2.2001        .61080        .53465E-03   -.12025    
   3  Normalizat    .76551        .20774        .11994E-04   -1.0136    
   4  Prefactor     1.2499        .22901        .53182E-04   -.84808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8949e-10
Minuit parameter uncertainties:
  1  4.6808
  2  0.617144
  3  0.207955
  4  0.229191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/338860': 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) = 6520.93603795
delta logL = 0.0249708051078

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  5.818e+00  4.681e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.200e+00  6.171e-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:  1.250e+00  2.292e-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:  7.655e-01  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.31
Ra Dec: 195.757 24.582
Photon Index (Free Index): 2.20 +/- 0.62
Photon Flux (Free Index): 4.64e-08 +/- 3.68e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.66e-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/338860/cmap_HighResolution_656380801_656640001_4FGL_J1303.0+2434_daily_bin1609.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.23e-08', energy_flux2='1.97e-05', photon_flux_error='2.99e-08', dlogl='2.50e-02', energy_flux='2.19e-05', photon_flux2='4.64e-08', job_status='DONE', time_completed='2021-12-07 23:48:52.998692', photon_index_error2='0.62', photon_index2='2.20', ts='4.30', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.77', time_epoch_completed='1638949733.0', return_code='0', job_id='338860', GAL2='1.25', EG2='0.77', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='3.68e-08', ts2='4.31', photon_index='2.07' WHERE bin_id='1609' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 23:48:53 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 338860: <4FGL_J1303.0+2434_daily_bin1609> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin1609> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec  7 23:35:17 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 23:37:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 23:37:01 2021
Terminated at Tue Dec  7 23:48:53 2021
Results reported at Tue Dec  7 23:48:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1609 195.757 24.5821 656380801 656640001 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 :                                   699.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            816 sec.

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

