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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1450
RA = 195.757, Dec = 24.5821
tmin = 615168001, tmax = 615427201
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='164821', job_status='RUN', time_executed='2021-09-06 18:28:43.626244', time_epoch_executed='1630978123.63' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1450'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164821/ft1_4FGL_J1303.0+2434_daily_bin1450.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164821/ft2_4FGL_J1303.0+2434_daily_bin1450.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164821/ft1_4FGL_J1303.0+2434_daily_bin1450.fits outfile=/scratch/kocevski/164821/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1450.fits ra=195.757 dec=24.5821 rad=12.0 tmin=615168001.0 tmax=615427201.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 3.89
user 3.29
sys 0.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164821/ft1_filtered_4FGL_J1303.0+2434_daily_bin1450.fits" evtable="EVENTS" scfile=/scratch/kocevski/164821/ft2_4FGL_J1303.0+2434_daily_bin1450.fits sctable="SC_DATA" outfile=/scratch/kocevski/164821/ltcube_615168001_615427201_4FGL_J1303.0+2434_daily_bin1450.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/164821/ft2_4FGL_J1303.0+2434_daily_bin1450.fits
.....................!
real 14.98
user 14.52
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164821/ft1_filtered_4FGL_J1303.0+2434_daily_bin1450.fits evtable="EVENTS" scfile=/scratch/kocevski/164821/ft2_4FGL_J1303.0+2434_daily_bin1450.fits sctable="SC_DATA" expcube=/scratch/kocevski/164821/ltcube_615168001_615427201_4FGL_J1303.0+2434_daily_bin1450.fits outfile=/scratch/kocevski/164821/expmap_615168001_615427201_4FGL_J1303.0+2434_daily_bin1450.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/164821/ltcube_615168001_615427201_4FGL_J1303.0+2434_daily_bin1450.fits
.....................!
real 192.12
user 185.72
sys 5.98

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/164821/ft1_filtered_4FGL_J1303.0+2434_daily_bin1450.fits scfile=/scratch/kocevski/164821/ft2_4FGL_J1303.0+2434_daily_bin1450.fits outfile=/scratch/kocevski/164821/cmap_615168001_615427201_4FGL_J1303.0+2434_daily_bin1450.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.38
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.3299       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0845       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.1194       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .20134       1.0000         .10000E-03   10000.    
     6 'norm      '    7.6604       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.8368       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1520       1.0000         .10000E-03   10000.    
    10 'norm      '    .10269E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.473       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10928E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.1248       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.5670       1.0000         .10000E-03   10000.    
    16 'norm      '    .12234E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.9856       1.0000         .10000E-03   10000.    
    20 'norm      '    1.1878       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    41.827       1.0000         .10000E-03   10000.    
    23 'norm      '    10.053       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.4335       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .60550       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=   5664.611     FROM MIGRAD    STATUS=CONVERGED    646 CALLS     2842 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.3298        3.5948        .23140E-07    .34454E-04
   2  Prefactor     4.0844        2.4833        .26170E-07    .20320E-04
   3  Prefactor     1.1194        1.1561       -.30851E-07    .35002E-04
   4  Prefactor     .10000E-03    3.2986       -.13663E-06** at limit **
   5  norm          .20136        .16324        .14026E-07    .19860E-03
   6  norm          7.6608        4.5666        .18751E-06    .39465E-04
   7  Prefactor     .10000E-03    3.7624        .27223E-07** at limit **
   8  Prefactor     7.8526        184.70       -.32067E-05    .42158E-05
   9  Prefactor     3.1517        7.3184        .42339E-05   -.38585E-04
  10  norm          .10000E-03    3.1993        .98396E-06** at limit **
  11  Prefactor     12.448        15.075        .27829E-06   -.17914E-03
  12  Prefactor     .10000E-03    31.557        .51302E-06** at limit **
  13  norm          2.1247        2.9506        .82364E-06   -.25593E-04
  14  norm          .10000E-03    2.2914        .23396E-07** at limit **
  15  norm          2.5684        2.7746        .18877E-06    .10442E-03
  16  norm          .10000E-03    4.1679        .10021E-05** at limit **
  17  norm          .10000E-03    7.5164        .19398E-09** at limit **
  18  Prefactor     .10000E-03    1.2360        .43209E-07** at limit **
  19  Prefactor     8.9870        12.372        .28366E-06   -.25268E-04
  20  norm          1.1908        8.3532        .51684E-06   -.22798E-04
  21  Prefactor     .10000E-03    21.365       -.61240E-07** at limit **
  22  Prefactor     41.836        40.803       -.39662E-07    .17996E-03
  23  norm          10.046        10.250        .44860E-06   -.20595E-04
  24  Prefactor     .10000E-03    8.7194       -.26568E-07** at limit **
  25  Prefactor     .10000E-03    12.850       -.24430E-09** at limit **
  26  Normalizat    1.4332        .18449       -.12690E-05   -.99879E-04
  27  Prefactor     .60582        .18591        .26648E-06   -.42106E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.3298
  Prefactor  = 4.08442
  Prefactor  = 1.1194
  Prefactor  = 0.0001
  norm       = 0.201356
  norm       = 7.66081
  Prefactor  = 0.0001
  Prefactor  = 7.85256
  Prefactor  = 3.15172
  norm       = 0.0001
  Prefactor  = 12.448
  Prefactor  = 0.0001
  norm       = 2.12468
  norm       = 0.0001
  norm       = 2.56843
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.98701
  norm       = 1.19079
  Prefactor  = 0.0001
  Prefactor  = 41.8364
  norm       = 10.0459
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.43322
  Prefactor  = 0.605818
 **********
 **   18 **HESSE 
 **********

 FCN=   5664.611     FROM HESSE     STATUS=OK           492 CALLS     3334 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.3298        3.6043        .87820E-04   -1.5131    
   2  Prefactor     4.0844        2.4899        .86675E-04   -1.5304    
   3  Prefactor     1.1194        1.1564        .22209E-03   -1.5496    
   4  Prefactor     .10000E-03    3.3365        .13347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .20136        .16847        .26432E-03   -1.5618    
   6  norm          7.6608        4.5709        .11994E-03   -1.5154    
   7  Prefactor     .10000E-03    3.7745        .14257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.8526        189.64        .14324E-03   -1.5147    
   9  Prefactor     3.1517        7.3605        .11416E-02   -1.5353    
  10  norm          .10000E-03    3.3548        .13313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.448        15.091        .11342E-03   -1.5002    
  12  Prefactor     .10000E-03    32.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.1247        2.9293        .73328E-03   -1.5416    
  14  norm          .10000E-03    2.3113        .11125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.5684        2.5288        .56345E-03   -1.5387    
  16  norm          .10000E-03    11.152        .26393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    7.5211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.2462        .81545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.9870        12.382        .13371E-03   -1.5108    
  20  norm          1.1908        7.7873        .36480E-03   -1.5490    
  21  Prefactor     .10000E-03    21.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     41.836        40.874        .61983E-04   -1.4413    
  23  norm          10.046        9.8980        .63190E-03   -1.5074    
  24  Prefactor     .10000E-03    8.7491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    12.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.4332        .21547        .20948E-03   -.79673    
  27  Prefactor     .60582        .21577        .32359E-03   -1.0734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92008e-10
Minuit parameter uncertainties:
  1  3.60437
  2  2.48997
  3  1.15638
  4  2.87552e-05
  5  0.168472
  6  4.57115
  7  1.02608e-05
  8  77.4562
  9  7.3626
  10  5.86313e-05
  11  15.0954
  12  0.000131636
  13  2.92947
  14  1.41534e-06
  15  2.52893
  16  0.000134863
  17  1.67822e-05
  18  3.09105e-06
  19  12.3854
  20  6.09122
  21  0.000113535
  22  40.9015
  23  9.89962
  24  3.48386e-05
  25  0.000148775
  26  0.215609
  27  0.216069
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  2.125e+00  2.929e+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:  6.058e-01  2.161e-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.433e+00  2.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/164821/likelihoodResults_615168001_615427201_4FGL_J1303.0+2434_daily_bin1450.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) = 5664.56133342
delta logL = 0.0491849192067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5664.56023171
delta logL = 0.0502866366578

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0189       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3974       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4254       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61024       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=   5664.560     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      245 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0190        2.8824        .13104E-03    .10081E-03
   2  alpha         2.3974        1.0489        .21141E-01    .92229E-05
   3  Normalizat    1.4254        .20526        .20995E-03    .62369E-04
   4  Prefactor     .61025        .21422        .32250E-03    .57038E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01899
  alpha      = 2.3974
  Normalizat = 1.4254
  Prefactor  = 0.610247
 **********
 **   18 **HESSE 
 **********

 FCN=   5664.560     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0190        2.7855        .52415E-05   -1.5424    
   2  alpha         2.3974        1.0154        .84565E-03   -.41050E-01
   3  Normalizat    1.4254        .20529        .41990E-04   -.79897    
   4  Prefactor     .61025        .21426        .12900E-04   -1.0716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08069e-11
Minuit parameter uncertainties:
  1  2.78568
  2  1.04564
  3  0.205405
  4  0.214551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164821': 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) = 5664.5602317
delta logL = 0.0502866388779

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  2.019e+00  2.786e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.397e+00  1.046e+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:  6.102e-01  2.146e-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.425e+00  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.87
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/164821/cmap_HighResolution_615168001_615427201_4FGL_J1303.0+2434_daily_bin1450.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-05', job_status='DONE', photon_flux_upper_limit='6.92e-08', time_completed='2021-09-06 18:40:54.385619', job_id='164821', GAL2='0.61', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1630978854.39', return_code2='0', ts='0.87', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='5.03e-02', ts2='0.97', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1450' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:40:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 164821: <4FGL_J1303.0+2434_daily_bin1450> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1450 195.757 24.5821 615168001 615427201 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            933 sec.

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

