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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1126
RA = 195.757, Dec = 24.5821
tmin = 531187201, tmax = 531446401
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='162156', job_status='RUN', time_executed='2021-09-06 18:19:37.426360', time_epoch_executed='1630977577.43' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1126'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/162156

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/162156/ft1_4FGL_J1303.0+2434_daily_bin1126.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/162156/ft2_4FGL_J1303.0+2434_daily_bin1126.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/162156/ft1_4FGL_J1303.0+2434_daily_bin1126.fits outfile=/scratch/kocevski/162156/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1126.fits ra=195.757 dec=24.5821 rad=12.0 tmin=531187201.0 tmax=531446401.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 4.04
user 3.81
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/162156/ft1_filtered_4FGL_J1303.0+2434_daily_bin1126.fits" evtable="EVENTS" scfile=/scratch/kocevski/162156/ft2_4FGL_J1303.0+2434_daily_bin1126.fits sctable="SC_DATA" outfile=/scratch/kocevski/162156/ltcube_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.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/162156/ft2_4FGL_J1303.0+2434_daily_bin1126.fits
.....................!
real 16.08
user 15.72
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/162156/ft1_filtered_4FGL_J1303.0+2434_daily_bin1126.fits evtable="EVENTS" scfile=/scratch/kocevski/162156/ft2_4FGL_J1303.0+2434_daily_bin1126.fits sctable="SC_DATA" expcube=/scratch/kocevski/162156/ltcube_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.fits outfile=/scratch/kocevski/162156/expmap_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.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/162156/ltcube_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.fits
.....................!
real 192.12
user 186.51
sys 5.18

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/162156/ft1_filtered_4FGL_J1303.0+2434_daily_bin1126.fits scfile=/scratch/kocevski/162156/ft2_4FGL_J1303.0+2434_daily_bin1126.fits outfile=/scratch/kocevski/162156/cmap_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=195.757 yref=24.5821 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/162156/ft1_filtered_4FGL_J1303.0+2434_daily_bin1126.fits scfile=/scratch/kocevski/162156/ft2_4FGL_J1303.0+2434_daily_bin1126.fits outfile=/scratch/kocevski/162156/cmap_HighResolution_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.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.59
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/162156/ft1_filtered_4FGL_J1303.0+2434_daily_bin1126.fits', '/scratch/kocevski/162156/ft2_4FGL_J1303.0+2434_daily_bin1126.fits', expMap='/scratch/kocevski/162156/expmap_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.fits', expCube='/scratch/kocevski/162156/ltcube_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/162156/Model_4FGL_J1303.0+2434_daily_bin1126.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/162156/ft1_filtered_4FGL_J1303.0+2434_daily_bin1126.fits
Spacecraft file(s): /scratch/kocevski/162156/ft2_4FGL_J1303.0+2434_daily_bin1126.fits
Exposure map: /scratch/kocevski/162156/expmap_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.fits
Exposure cube: /scratch/kocevski/162156/ltcube_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/162156/Model_4FGL_J1303.0+2434_daily_bin1126.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6772.20970585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1981       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.358       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0676       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .43900       1.0000         .10000E-03   10000.    
     6 'norm      '    9.0378       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.9314       1.0000         .10000E-03   10000.    
     8 'Prefactor '    92.951       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8709       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.197       1.0000         .10000E-03   10000.    
    13 'norm      '    3.8638       1.0000         .10000E-03   10000.    
    14 'norm      '    .22726E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.7127       1.0000         .10000E-03   10000.    
    16 'norm      '    5.9865       1.0000         .10000E-03   10000.    
    17 'norm      '    5.3761       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13997E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6384       1.0000         .10000E-03   10000.    
    20 'norm      '    15.501       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.4774       1.0000         .10000E-03   10000.    
    22 'Prefactor '    90.794       1.0000         .10000E-03   10000.    
    23 'norm      '    1.9677       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0990       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0545       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=   6772.187     FROM MIGRAD    STATUS=CONVERGED    638 CALLS     3428 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1979        3.4724        .14428E-07    .41380E-05
   2  Prefactor     11.358        3.7984        .11217E-07    .16125E-05
   3  Prefactor     7.0670        3.3006        .74996E-08   -.93726E-05
   4  Prefactor     .10000E-03    8.2910        .40625E-08** at limit **
   5  norm          .43899        .25789        .12039E-07    .39147E-04
   6  norm          9.0357        6.0283        .48155E-07   -.72576E-05
   7  Prefactor     6.9322        9.0498        .55166E-07    .80317E-06
   8  Prefactor     92.954        91.586       -.10525E-06    .46648E-05
   9  Prefactor     .10000E-03    4.1708       -.48468E-08** at limit **
  10  norm          .10000E-03    1.7101        .76256E-07** at limit **
  11  Prefactor     3.8748        13.775        .31440E-06    .21443E-05
  12  Prefactor     11.176        29.281       -.14035E-06    .42454E-04
  13  norm          3.8637        3.5961        .50832E-07    .69026E-05
  14  norm          .10000E-03    8.1512        .32130E-06** at limit **
  15  norm          1.7197        8.8453        .25371E-06    .10774E-03
  16  norm          5.9790        10.700       -.26348E-06    .64405E-04
  17  norm          5.3766        11.925        .65132E-07    .74512E-06
  18  Prefactor     .10000E-03    2.8253        .17325E-06** at limit **
  19  Prefactor     2.6188        33.553       -.56350E-05    .35834E-04
  20  norm          15.502        7.7793       -.14345E-06    .30703E-05
  21  Prefactor     6.4891        29.853       -.92900E-06   -.35801E-05
  22  Prefactor     90.719        73.162        .16856E-05    .58554E-04
  23  norm          1.9669        7.8387        .15433E-05    .61987E-04
  24  Prefactor     .10000E-03    35.298        .26939E-07** at limit **
  25  Prefactor     .10000E-03    7.2914       -.32830E-07** at limit **
  26  Normalizat    1.0995        .19106       -.52249E-06    .82411E-04
  27  Prefactor     1.0539        .19200       -.78744E-07    .11628E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.19789
  Prefactor  = 11.3581
  Prefactor  = 7.06698
  Prefactor  = 0.0001
  norm       = 0.438986
  norm       = 9.03566
  Prefactor  = 6.93223
  Prefactor  = 92.9538
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.87475
  Prefactor  = 11.1758
  norm       = 3.86367
  norm       = 0.0001
  norm       = 1.71968
  norm       = 5.97903
  norm       = 5.37657
  Prefactor  = 0.000100001
  Prefactor  = 2.61878
  norm       = 15.5018
  Prefactor  = 6.48911
  Prefactor  = 90.7191
  norm       = 1.96687
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.0995
  Prefactor  = 1.05391
 **********
 **   18 **HESSE 
 **********

 FCN=   6772.187     FROM HESSE     STATUS=OK           498 CALLS     3926 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1979        3.4787        .11581E-03   -1.5252    
   2  Prefactor     11.358        3.8079        .85033E-04   -1.5034    
   3  Prefactor     7.0670        3.2981        .94742E-04   -1.5176    
   4  Prefactor     .10000E-03    8.5968        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .43899        .25258        .30298E-04   -1.5575    
   6  norm          9.0357        6.0106        .13332E-03   -1.5107    
   7  Prefactor     6.9322        9.0385        .15238E-03   -1.5181    
   8  Prefactor     92.954        91.660        .41684E-04   -1.3777    
   9  Prefactor     .10000E-03    4.2033        .16408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.7134        .10501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8748        13.783        .20510E-03   -1.5314    
  12  Prefactor     11.176        29.159        .11973E-03   -1.5039    
  13  norm          3.8637        3.5991        .14462E-03   -1.5315    
  14  norm          .10000E-03    8.4878        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7197        7.6588        .23615E-03   -1.5446    
  16  norm          5.9790        10.287        .16411E-03   -1.5219    
  17  norm          5.3766        11.910        .17332E-03   -1.5244    
  18  Prefactor     .10000E-03    4.5539        .24139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6188        33.742        .25102E-03   -1.5384    
  20  norm          15.502        7.8405        .10173E-03   -1.4920    
  21  Prefactor     6.4891        29.887        .15769E-03   -1.5198    
  22  Prefactor     90.719        73.332        .21086E-03   -1.3800    
  23  norm          1.9669        8.4640        .14782E-02   -1.5427    
  24  Prefactor     .10000E-03    35.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    7.2976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0995        .23030        .26600E-03   -.89768    
  27  Prefactor     1.0539        .23092        .28443E-03   -.90953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03922e-10
Minuit parameter uncertainties:
  1  3.47885
  2  3.80799
  3  3.2982
  4  6.95419e-06
  5  0.252576
  6  6.01103
  7  9.04028
  8  91.7997
  9  3.23797e-06
  10  3.60571e-08
  11  13.7948
  12  29.1966
  13  3.59931
  14  8.34877e-06
  15  7.25962
  16  10.2896
  17  11.915
  18  0.000104741
  19  18.813
  20  7.84099
  21  27.8751
  22  73.4052
  23  8.16204
  24  0.000123688
  25  3.76686e-06
  26  0.230511
  27  0.231143
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.864e+00  3.599e+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.054e+00  2.311e-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:  1.099e+00  2.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.20
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.62e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 1.27e-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) = 6772.09325362
delta logL = 0.0935636986151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6772.08899067
delta logL = 0.0978266535258

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0153       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4718       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0749       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0673       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=   6772.089     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      243 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0155        3.4871        .12762E-03   -.17710E-03
   2  alpha         2.4718        .84893        .16393E-01   -.20968E-04
   3  Normalizat    1.0749        .22377        .26866E-03    .17396E-03
   4  Prefactor     1.0673        .22843        .28283E-03    .24421E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.01555
  alpha      = 2.47179
  Normalizat = 1.07485
  Prefactor  = 1.06732
 **********
 **   18 **HESSE 
 **********

 FCN=   6772.089     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0155        3.4168        .51048E-05   -1.5307    
   2  alpha         2.4718        .83043        .65574E-03   -.11285E-01
   3  Normalizat    1.0749        .22367        .10746E-04   -.90563    
   4  Prefactor     1.0673        .22845        .56566E-04   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7404e-10
Minuit parameter uncertainties:
  1  3.41696
  2  0.846513
  3  0.22387
  4  0.228655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/162156': 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) = 6772.08899065
delta logL = 0.0978266725742

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  4.016e+00  3.417e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.472e+00  8.465e-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.067e+00  2.287e-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:  1.075e+00  2.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.40
Ra Dec: 195.757 24.582
Photon Index (Free Index): 2.47 +/- 0.85
Photon Flux (Free Index): 4.62e-08 +/- 5.80e-08
Energy Flux (Free Index): 1.42e-05 +/- 1.17e-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/162156/cmap_HighResolution_531187201_531446401_4FGL_J1303.0+2434_daily_bin1126.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.62e-08', energy_flux2='1.42e-05', photon_flux_error='2.44e-08', dlogl='9.78e-02', energy_flux='1.36e-05', photon_flux2='4.62e-08', job_status='DONE', time_completed='2021-09-06 18:31:42.356862', photon_index_error2='0.85', photon_index2='2.47', ts='4.20', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.17e-05', EG='1.10', time_epoch_completed='1630978302.36', return_code='0', job_id='162156', GAL2='1.07', EG2='1.07', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='5.80e-08', ts2='4.40', photon_index='2.07' WHERE bin_id='1126' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:31:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 162156: <4FGL_J1303.0+2434_daily_bin1126> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin1126> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep  6 18:15:42 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 18:16:31 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:16:31 2021
Terminated at Mon Sep  6 18:31:43 2021
Results reported at Mon Sep  6 18:31:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1126 195.757 24.5821 531187201 531446401 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 :                                   720.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            961 sec.

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

