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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1551
RA = 195.757, Dec = 24.5821
tmin = 641347201, tmax = 641606401
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='164975', job_status='RUN', time_executed='2021-09-06 18:26:28.326123', time_epoch_executed='1630977988.33' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1551'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164975

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164975/ft1_4FGL_J1303.0+2434_daily_bin1551.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164975/ft2_4FGL_J1303.0+2434_daily_bin1551.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164975/ft1_4FGL_J1303.0+2434_daily_bin1551.fits outfile=/scratch/kocevski/164975/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1551.fits ra=195.757 dec=24.5821 rad=12.0 tmin=641347201.0 tmax=641606401.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.84
user 2.58
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/164975/ft2_4FGL_J1303.0+2434_daily_bin1551.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/164975/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1551.fits evtable="EVENTS" outfile="/scratch/kocevski/164975/ft1_filtered_4FGL_J1303.0+2434_daily_bin1551.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.35
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164975/ft1_filtered_4FGL_J1303.0+2434_daily_bin1551.fits evtable="EVENTS" scfile=/scratch/kocevski/164975/ft2_4FGL_J1303.0+2434_daily_bin1551.fits sctable="SC_DATA" expcube=/scratch/kocevski/164975/ltcube_641347201_641606401_4FGL_J1303.0+2434_daily_bin1551.fits outfile=/scratch/kocevski/164975/expmap_641347201_641606401_4FGL_J1303.0+2434_daily_bin1551.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/164975/ltcube_641347201_641606401_4FGL_J1303.0+2434_daily_bin1551.fits
.....................!
real 194.54
user 187.33
sys 6.28

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/164975/ft1_filtered_4FGL_J1303.0+2434_daily_bin1551.fits scfile=/scratch/kocevski/164975/ft2_4FGL_J1303.0+2434_daily_bin1551.fits outfile=/scratch/kocevski/164975/cmap_641347201_641606401_4FGL_J1303.0+2434_daily_bin1551.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.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164975/ft1_filtered_4FGL_J1303.0+2434_daily_bin1551.fits scfile=/scratch/kocevski/164975/ft2_4FGL_J1303.0+2434_daily_bin1551.fits outfile=/scratch/kocevski/164975/cmap_HighResolution_641347201_641606401_4FGL_J1303.0+2434_daily_bin1551.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0408       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.1065       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9375       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.6548       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10822E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.738       1.0000         .10000E-03   10000.    
    13 'norm      '    1.2987       1.0000         .10000E-03   10000.    
    14 'norm      '    40.133       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7777       1.0000         .10000E-03   10000.    
    16 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10110E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    12.337       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .16152E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .61888E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0342       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2184       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=   6440.641     FROM MIGRAD    STATUS=CONVERGED    659 CALLS     2865 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0412        2.4427       -.76136E-06   -.15000E-02
   2  Prefactor     3.1063        2.0867        .66724E-07    .21750E-04
   3  Prefactor     2.9377        2.2191       -.81388E-07   -.15473E-03
   4  Prefactor     .10000E-03    5.8498        .63386E-05** at limit **
   5  norm          .10000E-03    .76769E-01   -.21354E-07** at limit **
   6  norm          .10000E-03    2.7382        .55562E-06** at limit **
   7  Prefactor     6.6547        10.628       -.36979E-06   -.91082E-04
   8  Prefactor     .10000E-03    55.081       -.18982E-04** at limit **
   9  Prefactor     .10000E-03    2.8179       -.77092E-06** at limit **
  10  norm          .10000E-03    3.3312        .52547E-06** at limit **
  11  Prefactor     .10000E-03    7.1454       -.74031E-05** at limit **
  12  Prefactor     13.713        21.347       -.10647E-04   -.20270E-04
  13  norm          1.2990        3.2058       -.85811E-06   -.96259E-03
  14  norm          40.133        9.0719        .56868E-06    .53384E-04
  15  norm          1.7790        2.5659        .67388E-06   -.11857E-03
  16  norm          .10000E-03    2.9146       -.11094E-06** at limit **
  17  norm          .10000E-03    45.700        .21349E-04** at limit **
  18  Prefactor     .10000E-03    2.4061        .11227E-06** at limit **
  19  Prefactor     .10000E-03    5.4110       -.28243E-05** at limit **
  20  norm          12.343        9.3221       -.26090E-06   -.36701E-03
  21  Prefactor     .10000E-03    26.814       -.11280E-06** at limit **
  22  Prefactor     .10000E-03    20.266       -.25363E-05** at limit **
  23  norm          .10000E-03    19.460        .16304E-06** at limit **
  24  Prefactor     .10001E-03    5.9220        .12655E-06** at limit **
  25  Prefactor     .10000E-03    8.5820        .40077E-05** at limit **
  26  Normalizat    1.0341        .18164        .17041E-05   -.18338E-03
  27  Prefactor     1.2186        .19302       -.39459E-06   -.71673E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.04123
  Prefactor  = 3.10633
  Prefactor  = 2.93775
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.65471
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 13.7126
  norm       = 1.299
  norm       = 40.1328
  norm       = 1.77898
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.3427
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Normalizat = 1.03411
  Prefactor  = 1.2186
 **********
 **   18 **HESSE 
 **********

 FCN=   6440.641     FROM HESSE     STATUS=OK           490 CALLS     3355 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0412        2.0332        .17020E-02   -1.5504    
   2  Prefactor     3.1063        2.0428        .84402E-04   -1.5355    
   3  Prefactor     2.9377        2.1892        .96367E-04   -1.5365    
   4  Prefactor     .10000E-03    5.9875        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .96366E-01    .43248E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.8078        .25912E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6547        10.598        .15555E-03   -1.5192    
   8  Prefactor     .10000E-03    54.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.8271        .13154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.4289        .28565E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.1300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.713        21.257        .10807E-03   -1.4967    
  13  norm          1.2990        3.1882        .21851E-03   -1.5480    
  14  norm          40.133        9.0636        .63273E-04   -1.4440    
  15  norm          1.7790        2.5122        .14386E-03   -1.5441    
  16  norm          .10000E-03    2.9365        .13276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    46.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.4696        .24249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.4195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          12.343        9.2800        .11405E-03   -1.5005    
  21  Prefactor     .10000E-03    26.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    20.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    19.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10001E-03    38.849        .37703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    8.5833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0341        .21666        .26403E-03   -.91896    
  27  Prefactor     1.2186        .23160        .26975E-03   -.85761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09509e-09
Minuit parameter uncertainties:
  1  2.03338
  2  2.04283
  3  2.18926
  4  9.00272e-05
  5  7.02418e-07
  6  1.33625e-05
  7  10.6014
  8  0.00012346
  9  5.70817e-07
  10  8.85969e-05
  11  5.92902e-08
  12  21.2684
  13  3.18865
  14  9.06396
  15  2.51239
  16  9.8243e-06
  17  0.000259941
  18  6.31275e-06
  19  3.43564e-06
  20  9.28104
  21  2.50857e-06
  22  1.45177e-06
  23  3.64749e-05
  24  0.00128368
  25  8.8695e-06
  26  0.216846
  27  0.231797
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.299e+00  3.189e+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.219e+00  2.318e-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.034e+00  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/164975/likelihoodResults_641347201_641606401_4FGL_J1303.0+2434_daily_bin1551.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) = 6440.568803
delta logL = 0.0717792690684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6440.56717794
delta logL = 0.0734043279381

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1980       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6902       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2256       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=   6440.567     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      241 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1978        3.3322        .16211E-03    .11221E-03
   2  alpha         2.6906        1.8561        .32582E-01    .12640E-04
   3  Normalizat    1.0220        .21495        .26526E-03   -.28179E-03
   4  Prefactor     1.2257        .23329        .26906E-03   -.35126E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.19778
  alpha      = 2.69058
  Normalizat = 1.02205
  Prefactor  = 1.22568
 **********
 **   18 **HESSE 
 **********

 FCN=   6440.567     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1978        2.8841        .64845E-05   -1.5489    
   2  alpha         2.6906        1.6532        .13033E-02    .76308E-01
   3  Normalizat    1.0220        .21415        .53053E-04   -.92295    
   4  Prefactor     1.2257        .23257        .53812E-04   -.85545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87052e-10
Minuit parameter uncertainties:
  1  2.88439
  2  1.80754
  3  0.214329
  4  0.232768
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164975': 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) = 6440.56717788
delta logL = 0.0734043884331

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.198e+00  2.884e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.691e+00  1.808e+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:  1.226e+00  2.328e-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.022e+00  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 195.757 24.582

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/164975/cmap_HighResolution_641347201_641606401_4FGL_J1303.0+2434_daily_bin1551.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-05', job_status='DONE', photon_flux_upper_limit='7.01e-08', time_completed='2021-09-06 18:38:46.805687', job_id='164975', GAL2='1.23', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1630978726.81', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='7.34e-02', ts2='0.37', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1551' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:38:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 164975: <4FGL_J1303.0+2434_daily_bin1551> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin1551> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep  6 18:25:34 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 18:26:11 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:26:11 2021
Terminated at Mon Sep  6 18:38:47 2021
Results reported at Mon Sep  6 18:38:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1551 195.757 24.5821 641347201 641606401 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 :                                   728.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            793 sec.

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

