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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin15
RA = 195.757, Dec = 24.5821
tmin = 243216001, tmax = 243475201
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='152102', job_status='RUN', time_executed='2021-09-06 17:43:10.728922', time_epoch_executed='1630975390.73' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152102

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152102/ft1_4FGL_J1303.0+2434_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152102/ft2_4FGL_J1303.0+2434_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152102/ft1_4FGL_J1303.0+2434_daily_bin15.fits outfile=/scratch/kocevski/152102/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin15.fits ra=195.757 dec=24.5821 rad=12.0 tmin=243216001.0 tmax=243475201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.45
user 1.27
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152102/ft1_filtered_4FGL_J1303.0+2434_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/152102/ft2_4FGL_J1303.0+2434_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/152102/ltcube_243216001_243475201_4FGL_J1303.0+2434_daily_bin15.fits outfile=/scratch/kocevski/152102/expmap_243216001_243475201_4FGL_J1303.0+2434_daily_bin15.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/152102/ltcube_243216001_243475201_4FGL_J1303.0+2434_daily_bin15.fits
.....................!
real 192.53
user 186.85
sys 4.73

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/152102/ft1_filtered_4FGL_J1303.0+2434_daily_bin15.fits scfile=/scratch/kocevski/152102/ft2_4FGL_J1303.0+2434_daily_bin15.fits outfile=/scratch/kocevski/152102/cmap_243216001_243475201_4FGL_J1303.0+2434_daily_bin15.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.56
user 0.40
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.808       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2095       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8334       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .41661E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .78788       1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3178       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1032       1.0000         .10000E-03   10000.    
    10 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.6972       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.2843       1.0000         .10000E-03   10000.    
    16 'norm      '    3.9478       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.2331       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.5849       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.0219       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0430       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2045       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=   8034.035     FROM MIGRAD    STATUS=CONVERGED    653 CALLS     2823 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.808        4.5467       -.17657E-07   -.77352E-04
   2  Prefactor     1.2094        1.6252        .69677E-07    .86731E-04
   3  Prefactor     5.8341        2.5118        .82662E-07   -.17008E-03
   4  Prefactor     .10017E-03    9.5697        .53038E-05** at limit **
   5  norm          .78795        .24676        .22238E-07   -.11796E-02
   6  norm          .10000E-03    3.1802        .53098E-07** at limit **
   7  Prefactor     2.3178        3.6694       -.12856E-06   -.63417E-04
   8  Prefactor     .10000E-03    26.584       -.15166E-05** at limit **
   9  Prefactor     4.1030        3.9240        .18732E-06   -.11995E-04
  10  norm          .10000E-03    1.3994       -.63404E-07** at limit **
  11  Prefactor     .10000E-03    23.001        .18597E-05** at limit **
  12  Prefactor     9.6943        16.654        .22950E-06    .17428E-04
  13  norm          .10000E-03    1.1043        .49968E-08** at limit **
  14  norm          .10000E-03    1.3834       -.22007E-07** at limit **
  15  norm          9.2839        4.9067        .14265E-06    .22055E-03
  16  norm          3.9475        6.0477        .28372E-06    .12512E-03
  17  norm          .10000E-03    6.4016       -.39996E-06** at limit **
  18  Prefactor     1.2320        2.8386        .27456E-07   -.13068E-03
  19  Prefactor     .10000E-03    10.913        .42005E-07** at limit **
  20  norm          2.5848        2.7909        .67688E-08   -.29254E-04
  21  Prefactor     .10000E-03    15.502       -.42317E-06** at limit **
  22  Prefactor     .10000E-03    54.005        .12230E-05** at limit **
  23  norm          .10000E-03    4.1782        .17584E-07** at limit **
  24  Prefactor     3.0199        12.058        .74877E-05    .35484E-03
  25  Prefactor     .10000E-03    6.4163        .43038E-06** at limit **
  26  Normalizat    1.0431        .16070       -.10411E-05   -.45758E-03
  27  Prefactor     1.2044        .16872       -.10973E-06   -.49392E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.8083
  Prefactor  = 1.20937
  Prefactor  = 5.83406
  Prefactor  = 0.000100166
  norm       = 0.787953
  norm       = 0.0001
  Prefactor  = 2.31776
  Prefactor  = 0.0001
  Prefactor  = 4.10304
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.69427
  norm       = 0.0001
  norm       = 0.0001
  norm       = 9.28391
  norm       = 3.94747
  norm       = 0.0001
  Prefactor  = 1.23202
  Prefactor  = 0.0001
  norm       = 2.58479
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.01986
  Prefactor  = 0.0001
  Normalizat = 1.0431
  Prefactor  = 1.20444
 **********
 **   18 **HESSE 
 **********

 FCN=   8034.035     FROM HESSE     STATUS=OK           494 CALLS     3317 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.808        4.5318        .91535E-04   -1.4888    
   2  Prefactor     1.2094        1.5931        .12398E-03   -1.5488    
   3  Prefactor     5.8341        2.5102        .87895E-04   -1.5225    
   4  Prefactor     .10017E-03    3.4101        .52782E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .78795        .24646        .23751E-04   -1.5530    
   6  norm          .10000E-03    3.2953        .31151E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3178        3.6504        .21049E-03   -1.5403    
   8  Prefactor     .10000E-03    26.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1030        3.9287        .16877E-03   -1.5303    
  10  norm          .10000E-03    1.4069        .10351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.193        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.6943        16.634        .12869E-03   -1.5085    
  13  norm          .10000E-03    1.1242        .91965E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.3846        .10295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.2839        4.9274        .11799E-03   -1.5098    
  16  norm          3.9475        6.0635        .20302E-03   -1.5311    
  17  norm          .10000E-03    6.4076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2320        2.8020        .21682E-03   -1.5486    
  19  Prefactor     .10000E-03    10.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.5848        2.7934        .15131E-03   -1.5386    
  21  Prefactor     .10000E-03    15.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    54.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    4.2326        .17884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.0199        13.942        .11673E-02   -1.5360    
  25  Prefactor     .10000E-03    6.4273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0431        .19266        .26121E-03   -.91600    
  27  Prefactor     1.2044        .20245        .26593E-03   -.86195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54615e-09
Minuit parameter uncertainties:
  1  4.53186
  2  1.59314
  3  2.51024
  4  0.00150507
  5  0.246463
  6  6.17343e-06
  7  3.65075
  8  9.40775e-05
  9  3.92892
  10  4.78676e-06
  11  0.000152031
  12  16.6416
  13  1.06361e-07
  14  1.41074e-06
  15  4.92764
  16  6.06444
  17  9.78761e-06
  18  2.80234
  19  1.1198e-06
  20  2.79357
  21  1.61722e-05
  22  0.000143738
  23  5.54237e-06
  24  12.9821
  25  1.20246e-05
  26  0.192788
  27  0.202583
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.000e-04  1.064e-07  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.204e+00  2.026e-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.043e+00  1.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/152102/likelihoodResults_243216001_243475201_4FGL_J1303.0+2434_daily_bin15.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) = 8034.03870132
delta logL = -0.00416410031085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8034.03453728
delta logL = -5.70489646634e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0642       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0431       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2045       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=   8034.035     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      241 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.078        .91980E-03** at limit **
   2  alpha         2.0249        3.4585        .16788        .86002E-08
   3  Normalizat    1.0431        .18464        .26121E-03    .29727E-04
   4  Prefactor     1.2044        .20117        .26593E-03    .24496E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.02489
  Normalizat = 1.0431
  Prefactor  = 1.20444
 **********
 **   18 **HESSE 
 **********

 FCN=   8034.035     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .89E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1262        .18396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0249        2.9219        .67153E-02   -.19121    
   3  Normalizat    1.0431        .18481        .10448E-04   -.91600    
   4  Prefactor     1.2044        .20136        .10637E-04   -.86195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.88182e-13
Minuit parameter uncertainties:
  1  4.20344e-07
  2  113.829
  3  0.184927
  4  0.201491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152102': 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) = 8034.03453716
delta logL = 6.56018528389e-08

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.000e-04  4.203e-07  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.025e+00  1.138e+02  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.204e+00  2.015e-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.043e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 195.757 24.582

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/152102/cmap_HighResolution_243216001_243475201_4FGL_J1303.0+2434_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.71e-05', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2021-09-06 17:57:02.126633', job_id='152102', GAL2='1.20', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630976222.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='6.56e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='15' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 17:57:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 152102: <4FGL_J1303.0+2434_daily_bin15> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin15 195.757 24.5821 243216001 243475201 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 :                                   830.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

