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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1283
RA = 195.757, Dec = 24.5821
tmin = 571881601, tmax = 572140801
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='163477', job_status='RUN', time_executed='2021-09-06 18:22:47.508970', time_epoch_executed='1630977767.51' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1283'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163477

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163477/ft1_4FGL_J1303.0+2434_daily_bin1283.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163477/ft2_4FGL_J1303.0+2434_daily_bin1283.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163477/ft1_4FGL_J1303.0+2434_daily_bin1283.fits outfile=/scratch/kocevski/163477/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1283.fits ra=195.757 dec=24.5821 rad=12.0 tmin=571881601.0 tmax=572140801.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.58
user 2.35
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163477/ft1_filtered_4FGL_J1303.0+2434_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/163477/ft2_4FGL_J1303.0+2434_daily_bin1283.fits sctable="SC_DATA" expcube=/scratch/kocevski/163477/ltcube_571881601_572140801_4FGL_J1303.0+2434_daily_bin1283.fits outfile=/scratch/kocevski/163477/expmap_571881601_572140801_4FGL_J1303.0+2434_daily_bin1283.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/163477/ltcube_571881601_572140801_4FGL_J1303.0+2434_daily_bin1283.fits
.....................!
real 192.72
user 186.97
sys 5.32

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/163477/ft1_filtered_4FGL_J1303.0+2434_daily_bin1283.fits scfile=/scratch/kocevski/163477/ft2_4FGL_J1303.0+2434_daily_bin1283.fits outfile=/scratch/kocevski/163477/cmap_571881601_572140801_4FGL_J1303.0+2434_daily_bin1283.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.54
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163477/ft1_filtered_4FGL_J1303.0+2434_daily_bin1283.fits scfile=/scratch/kocevski/163477/ft2_4FGL_J1303.0+2434_daily_bin1283.fits outfile=/scratch/kocevski/163477/cmap_HighResolution_571881601_572140801_4FGL_J1303.0+2434_daily_bin1283.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3150       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9089       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.8026       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.4357       1.0000         .10000E-03   10000.    
     5 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .24649E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4038       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10704E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.6151       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9861       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.4432       1.0000         .10000E-03   10000.    
    15 'norm      '    .83788E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    13.583       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.644       1.0000         .10000E-03   10000.    
    20 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    6.7625       1.0000         .10000E-03   10000.    
    24 'Prefactor '    31.926       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2045       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .87422       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=   4379.604     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     3324 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3155        5.3214       -.46269E-07    .42522E-04
   2  Prefactor     3.9090        4.0124       -.63830E-07    .29263E-04
   3  Prefactor     3.8044        4.1359        .40195E-06    .37276E-03
   4  Prefactor     1.4590        2.9579        .14653E-05   -.84474E-03
   5  norm          .10000E-03    .17643       -.26609E-07** at limit **
   6  norm          .10003E-03    13.352        .10638E-04** at limit **
   7  Prefactor     3.4065        18.837        .15672E-05    .78309E-04
   8  Prefactor     .10000E-03    142.86        .20733E-05** at limit **
   9  Prefactor     .10000E-03    2.1664        .18875E-07** at limit **
  10  norm          .10000E-03    3.8720       -.20266E-06** at limit **
  11  Prefactor     6.6141        12.470       -.29888E-06   -.18389E-03
  12  Prefactor     1.9376        104.78       -.28043E-05   -.11258E-04
  13  norm          .10000E-03    1.5248       -.16154E-07** at limit **
  14  norm          6.4458        8.1455       -.10139E-06   -.57116E-04
  15  norm          .10007E-03    8.2296       -.71380E-05** at limit **
  16  norm          .10000E-03    4.9344       -.19013E-07** at limit **
  17  norm          13.583        14.998       -.28803E-07   -.74076E-05
  18  Prefactor     .10000E-03    2.0484        .23464E-06** at limit **
  19  Prefactor     25.639        23.830       -.19584E-05   -.92744E-04
  20  norm          .10000E-03    6.9588        .60822E-06** at limit **
  21  Prefactor     .10000E-03    19.424        .43774E-05** at limit **
  22  Prefactor     .10000E-03    45.822       -.11703E-05** at limit **
  23  norm          6.7619        10.824       -.59090E-06   -.10852E-03
  24  Prefactor     31.927        23.456        .11500E-06   -.30532E-05
  25  Prefactor     .10000E-03    8.0727       -.23200E-06** at limit **
  26  Normalizat    1.2044        .21481        .83092E-07   -.59796E-05
  27  Prefactor     .87439        .20652        .26183E-06   -.27638E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 5.31546
  Prefactor  = 3.90898
  Prefactor  = 3.80443
  Prefactor  = 1.45899
  norm       = 0.0001
  norm       = 0.000100034
  Prefactor  = 3.40651
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.6141
  Prefactor  = 1.93761
  norm       = 0.0001
  norm       = 6.44578
  norm       = 0.000100066
  norm       = 0.0001
  norm       = 13.5828
  Prefactor  = 0.0001
  Prefactor  = 25.639
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.76189
  Prefactor  = 31.9271
  Prefactor  = 0.0001
  Normalizat = 1.2044
  Prefactor  = 0.874389
 **********
 **   18 **HESSE 
 **********

 FCN=   4379.604     FROM HESSE     STATUS=OK           492 CALLS     3816 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3155        5.3428        .14360E-03   -1.5247    
   2  Prefactor     3.9090        4.0227        .12602E-03   -1.5313    
   3  Prefactor     3.8044        4.1200        .13100E-03   -1.5318    
   4  Prefactor     1.4590        14.383        .18014E-02   -1.5466    
   5  norm          .10000E-03    .26376        .53692E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10003E-03    17.187        .32278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4065        18.564        .21928E-03   -1.5339    
   8  Prefactor     .10000E-03    143.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.1676        .95127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.8861        .12691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.6141        12.539        .78012E-03   -1.5194    
  12  Prefactor     1.9376        99.319        .29404E-03   -1.5430    
  13  norm          .10000E-03    1.5307        .79797E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.4458        8.1056        .15811E-03   -1.5200    
  15  norm          .10007E-03    17.673        .21610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.9498        .14341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.583        14.995        .10868E-03   -1.4971    
  18  Prefactor     .10000E-03    2.0585        .92509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     25.639        23.475        .79106E-04   -1.4695    
  20  norm          .10000E-03    7.0294        .16999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    19.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    45.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.7619        10.807        .15430E-03   -1.5188    
  24  Prefactor     31.927        23.564        .70914E-04   -1.4577    
  25  Prefactor     .10000E-03    8.0775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2044        .25378        .23500E-03   -.86467    
  27  Prefactor     .87439        .24409        .26865E-03   -.97042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03831e-08
Minuit parameter uncertainties:
  1  5.34325
  2  4.02302
  3  4.12027
  4  9.16442
  5  5.17118e-06
  6  0.00151969
  7  15.9121
  8  4.45638e-05
  9  2.26964e-07
  10  8.82281e-06
  11  12.5444
  12  27.7928
  13  4.1136e-08
  14  8.10694
  15  0.00216793
  16  3.43115e-05
  17  14.9996
  18  2.96895e-05
  19  23.4835
  20  9.11464e-05
  21  1.42508e-06
  22  9.08692e-05
  23  10.8102
  24  23.5711
  25  4.82772e-07
  26  0.25404
  27  0.244399
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.000e-04  4.114e-08  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:  8.744e-01  2.444e-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.204e+00  2.540e-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: 5.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/163477/likelihoodResults_571881601_572140801_4FGL_J1303.0+2434_daily_bin1283.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) = 4379.60655345
delta logL = -0.00299819296288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4379.60355524
delta logL = 1.60598574439e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0613       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2044       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87440       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=   4379.604     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      231 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.4746        .79871E-03** at limit **
   2  alpha         1.9023        2.7428        .16793       -.11990E-06
   3  Normalizat    1.2044        .24183        .23500E-03    .29993E-04
   4  Prefactor     .87439        .24088        .26865E-03    .31654E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.90234
  Normalizat = 1.2044
  Prefactor  = 0.874389
 **********
 **   18 **HESSE 
 **********

 FCN=   4379.604     FROM HESSE     STATUS=OK            23 CALLS      254 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5562        .15974E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9023        3.0798        .67171E-02   -.24140    
   3  Normalizat    1.2044        .24206        .94002E-05   -.86467    
   4  Prefactor     .87439        .24110        .10746E-04   -.97042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99137e-11
Minuit parameter uncertainties:
  1  5.37477e-06
  2  153.831
  3  0.242284
  4  0.241398
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163477': 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) = 4379.60355472
delta logL = 5.33390448254e-07

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  1.000e-04  5.375e-06  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.902e+00  1.538e+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:  8.744e-01  2.414e-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.204e+00  2.423e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/163477/cmap_HighResolution_571881601_572140801_4FGL_J1303.0+2434_daily_bin1283.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2021-09-06 18:33:19.606777', job_id='163477', GAL2='0.87', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630978399.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='5.33e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1283' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 18:33:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 163477: <4FGL_J1303.0+2434_daily_bin1283> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1283 195.757 24.5821 571881601 572140801 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 :                                   615.34 sec.
    Max Memory :                                 1232 MB
    Average Memory :                             313.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            771 sec.

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

