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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin70
RA = 195.757, Dec = 24.5821
tmin = 257472001, tmax = 257731201
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='152161', job_status='RUN', time_executed='2021-09-06 17:42:57.436537', time_epoch_executed='1630975377.44' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='70'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152161

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152161/ft1_4FGL_J1303.0+2434_daily_bin70.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152161/ft2_4FGL_J1303.0+2434_daily_bin70.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152161/ft1_4FGL_J1303.0+2434_daily_bin70.fits outfile=/scratch/kocevski/152161/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin70.fits ra=195.757 dec=24.5821 rad=12.0 tmin=257472001.0 tmax=257731201.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.15
user 1.89
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152161/ft1_filtered_4FGL_J1303.0+2434_daily_bin70.fits" evtable="EVENTS" scfile=/scratch/kocevski/152161/ft2_4FGL_J1303.0+2434_daily_bin70.fits sctable="SC_DATA" outfile=/scratch/kocevski/152161/ltcube_257472001_257731201_4FGL_J1303.0+2434_daily_bin70.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/152161/ft2_4FGL_J1303.0+2434_daily_bin70.fits
.....................!
real 21.92
user 21.15
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152161/ft1_filtered_4FGL_J1303.0+2434_daily_bin70.fits evtable="EVENTS" scfile=/scratch/kocevski/152161/ft2_4FGL_J1303.0+2434_daily_bin70.fits sctable="SC_DATA" expcube=/scratch/kocevski/152161/ltcube_257472001_257731201_4FGL_J1303.0+2434_daily_bin70.fits outfile=/scratch/kocevski/152161/expmap_257472001_257731201_4FGL_J1303.0+2434_daily_bin70.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/152161/ltcube_257472001_257731201_4FGL_J1303.0+2434_daily_bin70.fits
.....................!
real 199.04
user 191.43
sys 4.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/152161/ft1_filtered_4FGL_J1303.0+2434_daily_bin70.fits scfile=/scratch/kocevski/152161/ft2_4FGL_J1303.0+2434_daily_bin70.fits outfile=/scratch/kocevski/152161/cmap_257472001_257731201_4FGL_J1303.0+2434_daily_bin70.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.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152161/ft1_filtered_4FGL_J1303.0+2434_daily_bin70.fits scfile=/scratch/kocevski/152161/ft2_4FGL_J1303.0+2434_daily_bin70.fits outfile=/scratch/kocevski/152161/cmap_HighResolution_257472001_257731201_4FGL_J1303.0+2434_daily_bin70.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.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6722       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3749       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .18992       1.0000         .10000E-03   10000.    
     6 'norm      '    .52368E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .81708E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1806       1.0000         .10000E-03   10000.    
    10 'norm      '    2.7263       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.1523       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10278E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.9408       1.0000         .10000E-03   10000.    
    14 'norm      '    14.063       1.0000         .10000E-03   10000.    
    15 'norm      '    6.3776       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11965E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.0821       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    23.404       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10513E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0600       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .93298       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=   6021.600     FROM MIGRAD    STATUS=CONVERGED    664 CALLS     2846 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7823       -.45451E-09** at limit **
   2  Prefactor     3.6728        2.3029       -.65307E-08   -.22758E-03
   3  Prefactor     5.3759        2.2918       -.36228E-07   -.49882E-03
   4  Prefactor     .10000E-03    3.9916        .11179E-06** at limit **
   5  norm          .18992        .19167       -.49179E-08   -.61828E-03
   6  norm          .10006E-03    1.9831        .38372E-06** at limit **
   7  Prefactor     .10028E-03    6.6557        .14566E-05** at limit **
   8  Prefactor     .10000E-03    31.224        .46357E-05** at limit **
   9  Prefactor     2.1792        2.1493        .52656E-06   -.20686E-02
  10  norm          2.7187        4.8038       -.16162E-05    .23498E-04
  11  Prefactor     9.1492        9.5709        .71486E-07   -.19289E-03
  12  Prefactor     .10000E-03    64.953       -.80691E-05** at limit **
  13  norm          1.9401        2.3334        .12421E-09    .99398E-04
  14  norm          14.068        6.9425        .30428E-06    .10202E-03
  15  norm          6.3778        3.7996        .37134E-06    .20566E-03
  16  norm          .10000E-03    2.5923       -.34461E-07** at limit **
  17  norm          .10000E-03    23.929       -.17623E-04** at limit **
  18  Prefactor     .10000E-03    2.0718       -.11578E-06** at limit **
  19  Prefactor     .10000E-03    6.2470        .19659E-06** at limit **
  20  norm          4.0899        9.7223       -.97356E-06    .44184E-04
  21  Prefactor     .10000E-03    11.059       -.57084E-06** at limit **
  22  Prefactor     .10000E-03    32.302        .98782E-05** at limit **
  23  norm          23.392        13.032        .60330E-06    .10033E-03
  24  Prefactor     .10000E-03    5.9727        .56890E-08** at limit **
  25  Prefactor     .10000E-03    18.488        .63255E-05** at limit **
  26  Normalizat    1.0602        .17850        .37910E-07   -.72901E-04
  27  Prefactor     .93284        .18639       -.52172E-07   -.49815E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.67278
  Prefactor  = 5.37591
  Prefactor  = 0.0001
  norm       = 0.189917
  norm       = 0.000100056
  Prefactor  = 0.000100282
  Prefactor  = 0.0001
  Prefactor  = 2.17921
  norm       = 2.71868
  Prefactor  = 9.14919
  Prefactor  = 0.000100002
  norm       = 1.9401
  norm       = 14.0675
  norm       = 6.37783
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.08992
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.3916
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06022
  Prefactor  = 0.932836
 **********
 **   18 **HESSE 
 **********

 FCN=   6021.600     FROM HESSE     STATUS=OK           492 CALLS     3338 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8229        .20171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.6728        2.2938        .89498E-04   -1.5325    
   3  Prefactor     5.3759        2.2762        .73058E-04   -1.5244    
   4  Prefactor     .10000E-03    4.0642        .15115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .18992        .18048        .32382E-03   -1.5621    
   6  norm          .10006E-03    22.562        .20912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10028E-03    50.808        .37932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    31.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1792        5.8189        .13939E-02   -1.5413    
  10  norm          2.7187        4.7613        .21155E-03   -1.5378    
  11  Prefactor     9.1492        9.6031        .66239E-03   -1.5103    
  12  Prefactor     .10000E-03    65.570        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.9401        2.3270        .12611E-03   -1.5429    
  14  norm          14.068        6.8636        .10681E-03   -1.4958    
  15  norm          6.3778        3.7763        .10937E-03   -1.5203    
  16  norm          .10000E-03    2.5946        .12187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    24.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.5868        .21165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.2657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.0899        9.5519        .19955E-03   -1.5303    
  21  Prefactor     .10000E-03    11.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    32.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          23.392        12.835        .82798E-04   -1.4740    
  24  Prefactor     .10000E-03    5.9824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    18.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0602        .20576        .23254E-03   -.91039    
  27  Prefactor     .93284        .21698        .26611E-03   -.95003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41449e-08
Minuit parameter uncertainties:
  1  8.51015e-07
  2  2.29388
  3  2.27628
  4  7.27819e-06
  5  0.180483
  6  0.00225012
  7  0.00758172
  8  7.52075e-05
  9  5.82045
  10  4.76197
  11  9.60472
  12  0.000639277
  13  2.32715
  14  6.86398
  15  3.77639
  16  2.26344e-06
  17  4.20861e-05
  18  2.23852e-05
  19  3.0328e-06
  20  9.55541
  21  3.48206e-06
  22  9.40405e-05
  23  12.8363
  24  2.58752e-06
  25  2.03083e-05
  26  0.205916
  27  0.217179
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.940e+00  2.327e+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.328e-01  2.172e-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.060e+00  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.62
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 1.58e-08
Energy Flux (Fixed Index): 6.82e-06 +/- 8.18e-06

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

Saving results to:
/scratch/kocevski/152161/likelihoodResults_257472001_257731201_4FGL_J1303.0+2434_daily_bin70.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) = 6021.58604725
delta logL = 0.0143350158214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6021.58537047
delta logL = 0.0150117940557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8717       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2354       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93474       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=   6021.585     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      194 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8720        94.794        .76106E-02    .88089E-04
   2  alpha         2.2356        3.4257        .41446        .16692E-04
   3  Normalizat    1.0571        .81911E-01    .40105E-01    .72007E-05
   4  Prefactor     .93472        .71752E-01    .45446E-01    .12055E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.87196
  alpha      = 2.23564
  Normalizat = 1.05711
  Prefactor  = 0.934723
 **********
 **   18 **HESSE 
 **********

 FCN=   6021.585     FROM HESSE     STATUS=OK            33 CALLS      227 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8720        2.3410        .12173E-03   -1.5434    
   2  alpha         2.2356        .97700        .23163E-01   -.10594    
   3  Normalizat    1.0571        .19948        .23285E-03   -.91141    
   4  Prefactor     .93472        .21556        .26587E-03   -.94938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35927e-10
Minuit parameter uncertainties:
  1  2.34108
  2  1.00408
  3  0.199624
  4  0.215755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152161': 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) = 6021.58537042
delta logL = 0.0150118396959

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.872e+00  2.341e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.236e+00  1.004e+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.347e-01  2.158e-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.057e+00  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 195.757 24.582
Photon Index (Free Index): 2.24 +/- 1.00
Photon Flux (Free Index): 1.56e-08 +/- 2.30e-08
Energy Flux (Free Index): 6.30e-06 +/- 7.98e-06

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/152161/cmap_HighResolution_257472001_257731201_4FGL_J1303.0+2434_daily_bin70.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-05', comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='6.30e-06', photon_flux_error='1.58e-08', dlogl='1.50e-02', energy_flux='6.82e-06', photon_flux2='1.56e-08', job_status='DONE', time_completed='2021-09-06 17:55:18.065857', photon_index_error2='1.00', photon_index2='2.24', ts='1.62', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='6.20e-08', energy_flux_error2='7.98e-06', EG='1.06', time_epoch_completed='1630976118.07', return_code='0', job_id='152161', GAL2='0.93', EG2='1.06', return_code2='0', energy_flux_error='8.18e-06', photon_flux_error2='2.30e-08', ts2='1.64', photon_index='2.07' WHERE bin_id='70' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 17:55:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 152161: <4FGL_J1303.0+2434_daily_bin70> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin70 195.757 24.5821 257472001 257731201 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 :                                   733.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            873 sec.

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

