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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1081
RA = 195.757, Dec = 24.5821
tmin = 519523201, tmax = 519782401
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='162082', job_status='RUN', time_executed='2021-09-06 18:18:51.294016', time_epoch_executed='1630977531.29' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1081'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/162082

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

Retrieving the FT1 file...

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

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

Retrieving 37 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/162082/ft1_4FGL_J1303.0+2434_daily_bin1081.fits


Retrieving the FT1 file...

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

Retrieving 37 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/162082/ft2_4FGL_J1303.0+2434_daily_bin1081.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/162082/ft1_4FGL_J1303.0+2434_daily_bin1081.fits outfile=/scratch/kocevski/162082/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1081.fits ra=195.757 dec=24.5821 rad=12.0 tmin=519523201.0 tmax=519782401.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.98
user 2.71
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/162082/ft1_filtered_4FGL_J1303.0+2434_daily_bin1081.fits" evtable="EVENTS" scfile=/scratch/kocevski/162082/ft2_4FGL_J1303.0+2434_daily_bin1081.fits sctable="SC_DATA" outfile=/scratch/kocevski/162082/ltcube_519523201_519782401_4FGL_J1303.0+2434_daily_bin1081.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/162082/ft2_4FGL_J1303.0+2434_daily_bin1081.fits
.....................!
real 13.18
user 12.77
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/162082/ft1_filtered_4FGL_J1303.0+2434_daily_bin1081.fits evtable="EVENTS" scfile=/scratch/kocevski/162082/ft2_4FGL_J1303.0+2434_daily_bin1081.fits sctable="SC_DATA" expcube=/scratch/kocevski/162082/ltcube_519523201_519782401_4FGL_J1303.0+2434_daily_bin1081.fits outfile=/scratch/kocevski/162082/expmap_519523201_519782401_4FGL_J1303.0+2434_daily_bin1081.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/162082/ltcube_519523201_519782401_4FGL_J1303.0+2434_daily_bin1081.fits
.....................!
real 193.00
user 186.54
sys 5.91

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/162082/ft1_filtered_4FGL_J1303.0+2434_daily_bin1081.fits scfile=/scratch/kocevski/162082/ft2_4FGL_J1303.0+2434_daily_bin1081.fits outfile=/scratch/kocevski/162082/cmap_519523201_519782401_4FGL_J1303.0+2434_daily_bin1081.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/162082/ft1_filtered_4FGL_J1303.0+2434_daily_bin1081.fits scfile=/scratch/kocevski/162082/ft2_4FGL_J1303.0+2434_daily_bin1081.fits outfile=/scratch/kocevski/162082/cmap_HighResolution_519523201_519782401_4FGL_J1303.0+2434_daily_bin1081.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.58
user 0.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1364       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5500       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.1461       1.0000         .10000E-03   10000.    
     5 'norm      '    .33315E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    17.497       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .95570E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    48.404       1.0000         .10000E-03   10000.    
    13 'norm      '    3.7265       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    45.944       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .17089E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14436E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10475E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    98.657       1.0000         .10000E-03   10000.    
    23 'norm      '    4.1152       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    75.652       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1416       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .91737       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4965.438     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     2379 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1384        3.1960       -.75297E-06   -.52447E-03
   2  Prefactor     .10000E-03    1.6991        .26615E-06** at limit **
   3  Prefactor     4.5555        2.4437       -.78995E-06    .93273E-04
   4  Prefactor     7.1446        1.0556       -.27911E-06    .51130E-03
   5  norm          .33278E-01    .13191        .17822E-06    .11572E-02
   6  norm          17.506        1.1270       -.22499E-06    .15298E-02
   7  Prefactor     .11264E-03    684.75       -.27906E-04** at limit **
   8  Prefactor     .10000E-03    23.648       -.10221E-06** at limit **
   9  Prefactor     .10000E-03    4.0286       -.13957E-06** at limit **
  10  norm          .10000E-03    2.6690       -.11031E-06** at limit **
  11  Prefactor     .10000E-03    11.903       -.55613E-06** at limit **
  12  Prefactor     48.343        5.2081        .11842E-06   -.15930E-01
  13  norm          3.7269        3.4210        .45086E-05    .51943E-02
  14  norm          .10000E-03    2.1188       -.10203E-06** at limit **
  15  norm          .10000E-03    1.6637       -.19344E-07** at limit **
  16  norm          .10000E-03    2.0346       -.18176E-06** at limit **
  17  norm          45.957        1.4319       -.14258E-06    .66184E-02
  18  Prefactor     .10000E-03    3.5911       -.15826E-06** at limit **
  19  Prefactor     .10001E-03    49.608        .22827E-05** at limit **
  20  norm          .10000E-03    6.3222        .43671E-06** at limit **
  21  Prefactor     .10000E-03    16.046        .25835E-06** at limit **
  22  Prefactor     98.669        1.5417        .95814E-07   -.22807E-02
  23  norm          4.1225        2.5770       -.27280E-05    .48436E-02
  24  Prefactor     .10000E-03    6.1883       -.14206E-06** at limit **
  25  Prefactor     75.664        1.4286       -.11199E-06    .78685E-02
  26  Normalizat    1.1410        .22559       -.39128E-05   -.34726E-04
  27  Prefactor     .91797        .24715        .44081E-06   -.90328E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.13837
  Prefactor  = 0.0001
  Prefactor  = 4.55551
  Prefactor  = 7.14461
  norm       = 0.0332784
  norm       = 17.5056
  Prefactor  = 0.000112644
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 48.3426
  norm       = 3.72693
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 45.9567
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 98.6694
  norm       = 4.1225
  Prefactor  = 0.000100001
  Prefactor  = 75.6642
  Normalizat = 1.14104
  Prefactor  = 0.917969
 **********
 **   18 **HESSE 
 **********

 FCN=   4965.438     FROM HESSE     STATUS=OK           544 CALLS     2923 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1384        3.2211        .44348E-02   -1.5255    
   2  Prefactor     .10000E-03    1.6768        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.5555        2.4897        .47181E-02   -1.5281    
   4  Prefactor     7.1446        7.2496        .37514E-02   -1.5173    
   5  norm          .33278E-01    .12707        .91883E-02   -1.5672    
   6  norm          17.506        7.2012        .23938E-02   -1.4871    
   7  Prefactor     .11264E-03    9.4726        .94901E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.751        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.0190        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.6598        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.874        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     48.343        29.574        .14409E-02   -1.4316    
  13  norm          3.7269        3.6194        .52294E-02   -1.5322    
  14  norm          .10000E-03    2.1140        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.6492        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.0338        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          45.957        27.125        .14788E-02   -1.4351    
  18  Prefactor     .10000E-03    3.4616        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    48.088        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.1847        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.174        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     98.669        68.418        .10118E-02   -1.3718    
  23  norm          4.1225        7.1421        .49680E-02   -1.5302    
  24  Prefactor     .10000E-03    6.1998        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     75.664        32.988        .11541E-02   -1.3966    
  26  Normalizat    1.1410        .20181        .53611E-01   -.88445    
  27  Prefactor     .91797        .21199        .45226E-01   -.95516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.38046e-07
Minuit parameter uncertainties:
  1  3.22119
  2  2.17819e-05
  3  2.48975
  4  7.25046
  5  0.127073
  6  7.20159
  7  0.0218916
  8  0.000326142
  9  4.63717e-05
  10  1.35512e-05
  11  0.000264518
  12  29.5833
  13  3.61965
  14  4.38955e-06
  15  2.46714e-06
  16  1.04564e-05
  17  27.1318
  18  3.77757e-06
  19  0.00116883
  20  0.000189626
  21  0.000230016
  22  68.4726
  23  7.14355
  24  0.000133439
  25  32.9959
  26  0.201945
  27  0.212183
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.727e+00  3.620e+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:  9.180e-01  2.122e-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.141e+00  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.95
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.53e-08 +/- 2.45e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 1.27e-05

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

Saving results to:
/scratch/kocevski/162082/likelihoodResults_519523201_519782401_4FGL_J1303.0+2434_daily_bin1081.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) = 4965.42666587
delta logL = 0.0118164717342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4965.42606071
delta logL = 0.0124216237846

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6510       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9014       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91461       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=   4965.426     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      234 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6508        3.7927        .13102E-03    .14760E-02
   2  alpha         1.9013        1.0224        .20015E-01    .10692E-03
   3  Normalizat    1.1469        .22807        .23654E-03   -.11272E-03
   4  Prefactor     .91459        .24663        .28482E-03   -.10035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.65079
  alpha      = 1.90128
  Normalizat = 1.14693
  Prefactor  = 0.91459
 **********
 **   18 **HESSE 
 **********

 FCN=   4965.426     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6508        3.8571        .52407E-05   -1.5326    
   2  alpha         1.9013        1.0388        .80061E-03   -.24184    
   3  Normalizat    1.1469        .22832        .47308E-04   -.88259    
   4  Prefactor     .91459        .24684        .11393E-04   -.95633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18124e-09
Minuit parameter uncertainties:
  1  3.85741
  2  1.0734
  3  0.228515
  4  0.24714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/162082': 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) = 4965.42606067
delta logL = 0.0124216719332

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.651e+00  3.857e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.901e+00  1.073e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  8.150e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  9.146e-01  2.471e-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.147e+00  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 195.757 24.582
Photon Index (Free Index): 1.90 +/- 1.07
Photon Flux (Free Index): 2.07e-08 +/- 3.61e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.75e-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/162082/cmap_HighResolution_519523201_519782401_4FGL_J1303.0+2434_daily_bin1081.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-05', comment='SUCCESS', photon_flux='2.53e-08', energy_flux2='1.44e-05', photon_flux_error='2.45e-08', dlogl='1.24e-02', energy_flux='1.31e-05', photon_flux2='2.07e-08', job_status='DONE', time_completed='2021-09-06 18:29:16.021160', photon_index_error2='1.07', photon_index2='1.90', ts='1.95', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='8.78e-08', energy_flux_error2='1.75e-05', EG='1.14', time_epoch_completed='1630978156.02', return_code='0', job_id='162082', GAL2='0.91', EG2='1.15', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='3.61e-08', ts2='1.97', photon_index='2.07' WHERE bin_id='1081' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:29:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 162082: <4FGL_J1303.0+2434_daily_bin1081> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1081 195.757 24.5821 519523201 519782401 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 :                                   620.69 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            822 sec.

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

