/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 187 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 = 7659
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1303.0+2434_daily_bin6
RA = 195.757, Dec = 24.5821
tmin = 240883201, tmax = 241142401
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='152091', job_status='RUN', time_executed='2021-09-06 17:43:58.974679', time_epoch_executed='1630975438.97' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='6'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152091

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152091/ft1_4FGL_J1303.0+2434_daily_bin6.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152091/ft2_4FGL_J1303.0+2434_daily_bin6.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152091/ft1_4FGL_J1303.0+2434_daily_bin6.fits outfile=/scratch/kocevski/152091/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin6.fits ra=195.757 dec=24.5821 rad=12.0 tmin=240883201.0 tmax=241142401.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 1.53
user 1.32
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152091/ft1_filtered_4FGL_J1303.0+2434_daily_bin6.fits evtable="EVENTS" scfile=/scratch/kocevski/152091/ft2_4FGL_J1303.0+2434_daily_bin6.fits sctable="SC_DATA" expcube=/scratch/kocevski/152091/ltcube_240883201_241142401_4FGL_J1303.0+2434_daily_bin6.fits outfile=/scratch/kocevski/152091/expmap_240883201_241142401_4FGL_J1303.0+2434_daily_bin6.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/152091/ltcube_240883201_241142401_4FGL_J1303.0+2434_daily_bin6.fits
.....................!
real 190.69
user 185.36
sys 4.93

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/152091/ft1_filtered_4FGL_J1303.0+2434_daily_bin6.fits scfile=/scratch/kocevski/152091/ft2_4FGL_J1303.0+2434_daily_bin6.fits outfile=/scratch/kocevski/152091/cmap_240883201_241142401_4FGL_J1303.0+2434_daily_bin6.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152091/ft1_filtered_4FGL_J1303.0+2434_daily_bin6.fits scfile=/scratch/kocevski/152091/ft2_4FGL_J1303.0+2434_daily_bin6.fits outfile=/scratch/kocevski/152091/cmap_HighResolution_240883201_241142401_4FGL_J1303.0+2434_daily_bin6.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4125       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.6637       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .33731       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0862       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .15657       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.806       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .36353E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    4.7869       1.0000         .10000E-03   10000.    
    14 'norm      '    .82719       1.0000         .10000E-03   10000.    
    15 'norm      '    26.303       1.0000         .10000E-03   10000.    
    16 'norm      '    .10317E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.9194       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .41887E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .15511E-02   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .79915       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3114       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=   7248.110     FROM MIGRAD    STATUS=CONVERGED   1207 CALLS     3443 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4131        3.0706        .10793E-03    .39395E-04
   2  Prefactor     .10000E-03    1.0804        .85614E-03** at limit **
   3  Prefactor     8.6642        2.9040        .79328E-04    .27086E-04
   4  Prefactor     .10000E-03    3.0502        .14419E-02** at limit **
   5  norm          .33740        .20395        .28876E-04   -.14607E-03
   6  norm          1.0887        3.8807        .30116E-03    .49980E-04
   7  Prefactor     .10000E-03    14.445        .36285E-03** at limit **
   8  Prefactor     .10000E-03    20.604        .18142E-02** at limit **
   9  Prefactor     .10000E-03    11.396        .36285E-03** at limit **
  10  norm          .18700        23.541        .24539E-02   -.79108E-04
  11  Prefactor     20.812        15.260        .87810E-04   -.25117E-04
  12  Prefactor     .10001E-03    131.79        .67268E-02** at limit **
  13  norm          4.7883        3.0133        .11326E-03   -.24391E-03
  14  norm          .82755        3.0385        .28291E-03    .22986E-04
  15  norm          26.295        5.7924        .78111E-04    .90364E-03
  16  norm          .10001E-03    33.437        .37988E-02** at limit **
  17  norm          2.9011        22.580        .23777E-03   -.10366E-03
  18  Prefactor     .10000E-03    2.2519        .24399E-03** at limit **
  19  Prefactor     .10000E-03    7.9191        .18142E-02** at limit **
  20  norm          .57579E-01    6.2094        .49868E-01   -.41604E-03
  21  Prefactor     .10000E-03    9.7661        .18142E-02** at limit **
  22  Prefactor     .10000E-03    16.447        .18142E-02** at limit **
  23  norm          .10000E-03    3.8616        .16275E-02** at limit **
  24  Prefactor     .10000E-03    4.5782        .17766E-02** at limit **
  25  Prefactor     .10010E-03    70.720        .55400E-02** at limit **
  26  Normalizat    .79894        .19802        .27816E-03   -.42714E-03
  27  Prefactor     1.3114        .21245        .24569E-03   -.51867E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.41307
  Prefactor  = 0.0001
  Prefactor  = 8.6642
  Prefactor  = 0.0001
  norm       = 0.337401
  norm       = 1.08874
  Prefactor  = 0.000100004
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.186995
  Prefactor  = 20.8124
  Prefactor  = 0.000100011
  norm       = 4.7883
  norm       = 0.827548
  norm       = 26.2949
  norm       = 0.000100012
  norm       = 2.90114
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0575788
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100104
  Normalizat = 0.798938
  Prefactor  = 1.31139
 **********
 **   18 **HESSE 
 **********

 FCN=   7248.110     FROM HESSE     STATUS=OK           472 CALLS     3915 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4131        3.0704        .43172E-05   -1.5243    
   2  Prefactor     .10000E-03    1.0805        .17123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.6642        2.9037        .31731E-05   -1.5119    
   4  Prefactor     .10000E-03    3.0509        .28838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33740        .20392        .11550E-05   -1.5592    
   6  norm          1.0887        3.8793        .12046E-04   -1.5499    
   7  Prefactor     .10000E-03    14.446        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.604        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.396        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .18700        23.451        .98155E-04   -1.5622    
  11  Prefactor     20.812        15.256        .35124E-05   -1.4795    
  12  Prefactor     .10001E-03    134.85        .26907E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7883        3.0132        .45306E-05   -1.5270    
  14  norm          .82755        3.0381        .11316E-04   -1.5526    
  15  norm          26.295        5.7435        .15622E-04   -1.4682    
  16  norm          .10001E-03    33.557        .75975E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.9011        22.531        .95107E-05   -1.5367    
  18  Prefactor     .10000E-03    2.2519        .48798E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.9207        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .57579E-01    5.7735        .52139E-01   -1.5660    
  21  Prefactor     .10000E-03    9.7665        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    16.447        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    3.8622        .32550E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.5787        .35531E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10010E-03    72.211        .11080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .79894        .19799        .11126E-04   -1.0011    
  27  Prefactor     1.3114        .21264        .49138E-04   -.82969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17797e-09
Minuit parameter uncertainties:
  1  3.07051
  2  2.18444e-06
  3  2.90377
  4  7.73984e-06
  5  0.203917
  6  3.8802
  7  0.000458917
  8  0.000458879
  9  4.76622e-05
  10  4.18872
  11  15.2587
  12  0.00240569
  13  3.0133
  14  3.03866
  15  5.74361
  16  0.00126852
  17  16.1781
  18  2.52638e-06
  19  3.16084e-05
  20  1.15225
  21  3.31304e-05
  22  0.000109948
  23  1.16481e-05
  24  1.52759e-05
  25  0.00549217
  26  0.198172
  27  0.212782
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  4.788e+00  3.013e+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.311e+00  2.128e-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.989e-01  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.75
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 3.25e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 1.68e-05 +/- 1.06e-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) = 7247.37764034
delta logL = 0.73272844317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7247.32758483
delta logL = 0.782783947819

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2939       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4629       1.0000          .0000       5.0000    
     3 'Normalizat'    .81318       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3058       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=   7247.328     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2928        2.8376        .48605E-02   -.81397E-04
   2  alpha         1.4627        .37302        .34256       -.31405E-04
   3  Normalizat    .81323        .16088        .43782E-01    .20645E-04
   4  Prefactor     1.3058        .17810        .55671E-01    .75744E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 4.2928
  alpha      = 1.46272
  Normalizat = 0.813227
  Prefactor  = 1.30577
 **********
 **   18 **HESSE 
 **********

 FCN=   7247.328     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .96E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2928        3.2705        .11350E-03   -1.5294    
   2  alpha         1.4627        .47516        .13651E-01   -.42785    
   3  Normalizat    .81323        .19027        .27565E-03   -.99580    
   4  Prefactor     1.3058        .21078        .24615E-03   -.83136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.5875e-13
Minuit parameter uncertainties:
  1  3.27069
  2  0.478683
  3  0.190422
  4  0.21092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152091': 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) = 7247.32758471
delta logL = 0.782784074586

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  4.293e+00  3.271e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.463e+00  4.787e-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.306e+00  2.109e-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:  8.132e-01  1.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.32
Ra Dec: 195.757 24.582
Photon Index (Free Index): 1.46 +/- 0.48
Photon Flux (Free Index): 1.74e-08 +/- 1.54e-08
Energy Flux (Free Index): 3.44e-05 +/- 3.30e-05

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/152091/cmap_HighResolution_240883201_241142401_4FGL_J1303.0+2434_daily_bin6.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.25e-08', energy_flux2='3.44e-05', photon_flux_error='2.04e-08', dlogl='7.83e-01', energy_flux='1.68e-05', photon_flux2='1.74e-08', job_status='DONE', time_completed='2021-09-06 17:55:59.083511', photon_index_error2='0.48', photon_index2='1.46', ts='10.75', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', energy_flux_error2='3.30e-05', EG='0.80', time_epoch_completed='1630976159.08', return_code='0', job_id='152091', GAL2='1.31', EG2='0.81', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='1.54e-08', ts2='12.32', photon_index='2.07' WHERE bin_id='6' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 17:55:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 152091: <4FGL_J1303.0+2434_daily_bin6> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin6> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep  6 17:40:38 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 17:40:40 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:40:40 2021
Terminated at Mon Sep  6 17:55:59 2021
Results reported at Mon Sep  6 17:55:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin6 195.757 24.5821 240883201 241142401 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 :                                   718.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            921 sec.

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

