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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin449
RA = 195.757, Dec = 24.5821
tmin = 355708801, tmax = 355968001
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='157659', job_status='RUN', time_executed='2021-09-06 18:00:45.084545', time_epoch_executed='1630976445.08' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='449'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/157659

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/157659/ft1_4FGL_J1303.0+2434_daily_bin449.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/157659/ft2_4FGL_J1303.0+2434_daily_bin449.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/157659/ft1_4FGL_J1303.0+2434_daily_bin449.fits outfile=/scratch/kocevski/157659/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin449.fits ra=195.757 dec=24.5821 rad=12.0 tmin=355708801.0 tmax=355968001.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.95
user 4.68
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/157659/ft2_4FGL_J1303.0+2434_daily_bin449.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/157659/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin449.fits evtable="EVENTS" outfile="/scratch/kocevski/157659/ft1_filtered_4FGL_J1303.0+2434_daily_bin449.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.52
user 0.35
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/157659/ft1_filtered_4FGL_J1303.0+2434_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/157659/ft2_4FGL_J1303.0+2434_daily_bin449.fits sctable="SC_DATA" expcube=/scratch/kocevski/157659/ltcube_355708801_355968001_4FGL_J1303.0+2434_daily_bin449.fits outfile=/scratch/kocevski/157659/expmap_355708801_355968001_4FGL_J1303.0+2434_daily_bin449.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/157659/ltcube_355708801_355968001_4FGL_J1303.0+2434_daily_bin449.fits
.....................!
real 191.23
user 185.67
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/157659/ft1_filtered_4FGL_J1303.0+2434_daily_bin449.fits scfile=/scratch/kocevski/157659/ft2_4FGL_J1303.0+2434_daily_bin449.fits outfile=/scratch/kocevski/157659/cmap_355708801_355968001_4FGL_J1303.0+2434_daily_bin449.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=195.757 yref=24.5821 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

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

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4523       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5427       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.2138       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .87969       1.0000         .10000E-03   10000.    
     5 'norm      '    .15483       1.0000         .10000E-03   10000.    
     6 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.274       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.032       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8181       1.0000         .10000E-03   10000.    
    10 'norm      '    .11197E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .72676       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.7979       1.0000         .10000E-03   10000.    
    13 'norm      '    3.9777       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11152E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.5972       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .37099E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.360       1.0000         .10000E-03   10000.    
    20 'norm      '    6.8811       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.018       1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.891       1.0000         .10000E-03   10000.    
    23 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2669       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0595       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=   6454.396     FROM MIGRAD    STATUS=CONVERGED    668 CALLS     3400 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4523        2.0835        .40372E-08   -.45181E-04
   2  Prefactor     2.5428        1.7201        .20684E-08   -.48763E-04
   3  Prefactor     4.2141        2.0582       -.12398E-07   -.26837E-03
   4  Prefactor     .87975        5.2785        .13439E-05   -.14461E-03
   5  norm          .15483        .23555        .64550E-07   -.35511E-04
   6  norm          .10000E-03    3.3421        .14583E-05** at limit **
   7  Prefactor     16.276        9.4043       -.21960E-07   -.92747E-04
   8  Prefactor     27.071        51.853        .47522E-06    .12060E-05
   9  Prefactor     5.8190        7.7171        .83034E-07   -.36227E-04
  10  norm          .10000E-03    2.7981       -.17394E-05** at limit **
  11  Prefactor     .72799        9.9437        .70256E-06   -.63080E-04
  12  Prefactor     4.8042        17.214       -.51391E-06    .10120E-04
  13  norm          3.9785        3.4645        .44564E-08   -.54943E-04
  14  norm          .10000E-03    2.6818       -.10667E-07** at limit **
  15  norm          .10000E-03    2.3120        .41270E-06** at limit **
  16  norm          4.5962        4.7584       -.44866E-06   -.26970E-03
  17  norm          .10000E-03    5.9584        .35368E-07** at limit **
  18  Prefactor     .10000E-03    1.9423        .50972E-07** at limit **
  19  Prefactor     22.353        17.924       -.18753E-06    .69650E-04
  20  norm          6.8816        6.9183       -.17324E-08   -.65587E-04
  21  Prefactor     23.013        22.597       -.26773E-07   -.30808E-05
  22  Prefactor     20.927        56.710        .16278E-05    .23115E-04
  23  norm          .10000E-03    6.1252        .26603E-06** at limit **
  24  Prefactor     .10000E-03    38.861        .14216E-05** at limit **
  25  Prefactor     .10000E-03    12.629        .26634E-06** at limit **
  26  Normalizat    1.2664        .19308        .98562E-06   -.33632E-03
  27  Prefactor     1.0600        .20026       -.20862E-05   -.23285E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.45232
  Prefactor  = 2.54276
  Prefactor  = 4.21409
  Prefactor  = 0.879749
  norm       = 0.154832
  norm       = 0.000100003
  Prefactor  = 16.2761
  Prefactor  = 27.0714
  Prefactor  = 5.819
  norm       = 0.000100001
  Prefactor  = 0.727989
  Prefactor  = 4.80422
  norm       = 3.97851
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.5962
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 22.3529
  norm       = 6.88164
  Prefactor  = 23.0131
  Prefactor  = 20.9268
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.26642
  Prefactor  = 1.06004
 **********
 **   18 **HESSE 
 **********

 FCN=   6454.396     FROM HESSE     STATUS=OK           502 CALLS     3902 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4523        2.0806        .10260E-03   -1.5395    
   2  Prefactor     2.5428        1.7254        .83205E-04   -1.5389    
   3  Prefactor     4.2141        2.0557        .77136E-04   -1.5297    
   4  Prefactor     .87975        5.3481        .17784E-02   -1.5520    
   5  norm          .15483        .23136        .44670E-04   -1.5629    
   6  norm          .10000E-03    4.8057        .23467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.276        9.4041        .99282E-04   -1.4901    
   8  Prefactor     27.071        51.835        .77052E-04   -1.4667    
   9  Prefactor     5.8190        7.7055        .83251E-03   -1.5225    
  10  norm          .10000E-03    3.0232        .13510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .72799        49.876        .47538E-02   -1.5537    
  12  Prefactor     4.8042        17.166        .18367E-03   -1.5270    
  13  norm          3.9785        3.4617        .13408E-03   -1.5309    
  14  norm          .10000E-03    2.7043        .12842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.6996        .21507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.5962        4.7092        .16974E-03   -1.5279    
  17  norm          .10000E-03    5.9601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    54.187        .19551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.353        17.947        .84706E-04   -1.4762    
  20  norm          6.8816        6.8998        .76473E-03   -1.5183    
  21  Prefactor     23.013        22.596        .83489E-04   -1.4748    
  22  Prefactor     20.927        56.449        .87631E-04   -1.4793    
  23  norm          .10000E-03    6.1716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    40.082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    12.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2664        .22287        .23923E-03   -.84574    
  27  Prefactor     1.0600        .23111        .28382E-03   -.90754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47547e-08
Minuit parameter uncertainties:
  1  2.08071
  2  1.72543
  3  2.0557
  4  4.33851
  5  0.231362
  6  0.000252993
  7  9.40496
  8  51.9215
  9  7.70676
  10  9.16927e-05
  11  12.0611
  12  17.1832
  13  3.46187
  14  1.39269e-07
  15  1.86401e-05
  16  4.70953
  17  3.53772e-06
  18  0.000377775
  19  17.9518
  20  6.90055
  21  22.6048
  22  56.5936
  23  2.2913e-05
  24  0.000238027
  25  2.83471e-05
  26  0.223036
  27  0.231324
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.979e+00  3.462e+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.060e+00  2.313e-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.266e+00  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.29
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.70e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 1.40e-05 +/- 1.22e-05

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

Saving results to:
/scratch/kocevski/157659/likelihoodResults_355708801_355968001_4FGL_J1303.0+2434_daily_bin449.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) = 6454.39042358
delta logL = 0.00603938349559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6454.39013396
delta logL = 0.00632899810989

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9221       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9739       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0583       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=   6454.390     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9221        141.73        .50927E-02    .12946E-03
   2  alpha         1.9740        3.3291        .42366       -.38183E-05
   3  Normalizat    1.2699        .15701        .54044E-01    .51095E-05
   4  Prefactor     1.0583        .11277        .64215E-01    .11670E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.92214
  alpha      = 1.97398
  Normalizat = 1.26987
  Prefactor  = 1.05829
 **********
 **   18 **HESSE 
 **********

 FCN=   6454.390     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9221        3.5230        .13618E-03   -1.5312    
   2  alpha         1.9740        .80217        .19218E-01   -.21199    
   3  Normalizat    1.2699        .20934        .23897E-03   -.84470    
   4  Prefactor     1.0583        .22842        .28403E-03   -.90811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56825e-11
Minuit parameter uncertainties:
  1  3.5232
  2  0.817322
  3  0.20948
  4  0.228633
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/157659': 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) = 6454.39013394
delta logL = 0.00632901750942

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.922e+00  3.523e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.974e+00  8.173e-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.058e+00  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.270e+00  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.30
Ra Dec: 195.757 24.582
Photon Index (Free Index): 1.97 +/- 0.82
Photon Flux (Free Index): 2.40e-08 +/- 3.30e-08
Energy Flux (Free Index): 1.46e-05 +/- 1.44e-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/157659/cmap_HighResolution_355708801_355968001_4FGL_J1303.0+2434_daily_bin449.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-05', comment='SUCCESS', photon_flux='2.70e-08', energy_flux2='1.46e-05', photon_flux_error='2.35e-08', dlogl='6.33e-03', energy_flux='1.40e-05', photon_flux2='2.40e-08', job_status='DONE', time_completed='2021-09-06 18:14:12.124020', photon_index_error2='0.82', photon_index2='1.97', ts='3.29', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='8.46e-08', energy_flux_error2='1.44e-05', EG='1.27', time_epoch_completed='1630977252.12', return_code='0', job_id='157659', GAL2='1.06', EG2='1.27', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='3.30e-08', ts2='3.30', photon_index='2.07' WHERE bin_id='449' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:14:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 157659: <4FGL_J1303.0+2434_daily_bin449> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin449> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Mon Sep  6 18:00:27 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 18:00:29 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:00:29 2021
Terminated at Mon Sep  6 18:14:12 2021
Results reported at Mon Sep  6 18:14:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin449 195.757 24.5821 355708801 355968001 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 :                                   799.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            825 sec.

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

