aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 41 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 = 74112
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1309.4+4305_monthly_bin169
RA = 197.363, Dec = 43.085
tmin = 675043201, tmax = 677635201
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='167508', job_status='RUN', time_executed='2022-06-23 02:25:27.106356', time_epoch_executed='1655976327.11' WHERE source_name='4FGL J1309.4+4305' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/167508

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/167508/ft1_4FGL_J1309.4+4305_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/167508/ft1_4FGL_J1309.4+4305_monthly_bin169.fits outfile=/scratch/kocevski/167508/ft1_filteredMKT_4FGL_J1309.4+4305_monthly_bin169.fits ra=197.363 dec=43.085 rad=12.0 tmin=675043201.0 tmax=677635201.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 22.58
user 21.83
sys 0.67

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.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/167508/ft1_filteredMKT_4FGL_J1309.4+4305_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/167508/ft1_filtered_4FGL_J1309.4+4305_monthly_bin169.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.73
user 0.55
sys 0.17

Number of photons that the gtmktime cut: 8249

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/167508/ft1_filtered_4FGL_J1309.4+4305_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/167508/ltcube_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.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/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.fits
.....................!
real 120.17
user 119.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/167508/ft1_filtered_4FGL_J1309.4+4305_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/167508/ltcube_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.fits outfile=/scratch/kocevski/167508/expmap_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.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/167508/ltcube_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.fits
.....................!
real 157.79
user 152.70
sys 4.46

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 208 point sources and 0 extended sources

Setting source of interest to:
4FGL J1309.4+4305 @ 197.363 43.085

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/167508/ft1_filtered_4FGL_J1309.4+4305_monthly_bin169.fits scfile=/scratch/kocevski/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.fits outfile=/scratch/kocevski/167508/cmap_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.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=197.363 yref=43.085 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.69
user 0.51
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/167508/ft1_filtered_4FGL_J1309.4+4305_monthly_bin169.fits scfile=/scratch/kocevski/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.fits outfile=/scratch/kocevski/167508/cmap_HighResolution_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.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=197.363 yref=43.085 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.73
user 0.53
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/167508/ft1_filtered_4FGL_J1309.4+4305_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/167508/Model_4FGL_J1309.4+4305_monthly_bin169.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/167508/ft1_filtered_4FGL_J1309.4+4305_monthly_bin169.fits.....................!
real 467.88
user 465.73
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/167508/ft1_filtered_4FGL_J1309.4+4305_monthly_bin169.fits', '/scratch/kocevski/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.fits', expMap='/scratch/kocevski/167508/expmap_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.fits', expCube='/scratch/kocevski/167508/ltcube_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/167508/Model_4FGL_J1309.4+4305_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1309.4+4305'

4FGL J1309.4+4305
   Spectrum: LogParabola
349         norm:  8.179e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
350        alpha:  1.769e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
351         beta:  8.354e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
352           Eb:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/167508/ft1_filtered_4FGL_J1309.4+4305_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/167508/ft2_4FGL_J1309.4+4305_monthly_bin169.fits
Exposure map: /scratch/kocevski/167508/expmap_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.fits
Exposure cube: /scratch/kocevski/167508/ltcube_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/167508/Model_4FGL_J1309.4+4305_monthly_bin169.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) = 88761.2233079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85498       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.2570       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16856E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.9323       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9546       1.0000         .10000E-03   10000.    
     7 'norm      '    3.0290       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5470       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8260       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .24824       1.0000         .10000E-03   10000.    
    11 'norm      '    .14523E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.6992       1.0000         .10000E-03   10000.    
    13 'norm      '    34.074       1.0000         .10000E-03   10000.    
    14 'norm      '    8.4793       1.0000         .10000E-03   10000.    
    15 'norm      '    1.4159       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .45944       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .82890       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.049       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.2567       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.5942       1.0000         .10000E-03   10000.    
    22 'norm      '    2.2681       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10859E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .41565       1.0000         .10000E-03   10000.    
    25 'norm      '    .14813E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1347       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .90320       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   88761.13     FROM MIGRAD    STATUS=CONVERGED    686 CALLS     2916 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85499        1.1738       -.15493E-06   -.38921E-03
   2  Prefactor     6.2745        4.2693        .94304E-06    .66244E-04
   3  Prefactor     .10000E-03    1.2302       -.38890E-07** at limit **
   4  Prefactor     .10000E-03    .76451        .23968E-07** at limit **
   5  norm          1.9320        .44666       -.48220E-08    .29919E-04
   6  Prefactor     1.9549        .96329        .12548E-09    .10722E-03
   7  norm          3.0295        1.0323       -.30013E-07    .17960E-03
   8  Prefactor     2.5609        4.8141       -.80841E-06    .46482E-05
   9  Prefactor     1.8275        3.6416       -.19842E-06    .66949E-04
  10  Prefactor     .24944        .10631        .30345E-07   -.28716E-03
  11  norm          .10024E-03    .21134       -.13415E-07** at limit **
  12  norm          7.6952        2.7804       -.29555E-06    .35452E-04
  13  norm          34.066        2.5424       -.29973E-07    .16280E-02
  14  norm          8.4947        3.6271        .14664E-06    .20635E-03
  15  norm          1.4149        .64311        .35799E-07    .39898E-03
  16  Prefactor     .45960        .47515       -.25584E-06   -.22733E-02
  17  Prefactor     .10000E-03    .99608       -.13389E-06** at limit **
  18  Prefactor     .82902        3.6736       -.21139E-05   -.30372E-05
  19  Prefactor     15.023        9.2524        .42473E-05    .16641E-03
  20  Prefactor     9.2796        3.9694       -.61605E-06    .27468E-04
  21  Prefactor     6.6031        6.5500       -.50784E-06    .15026E-03
  22  norm          2.2660        .89057        .14549E-06    .38234E-03
  23  Prefactor     .10000E-03    14.685       -.15608E-05** at limit **
  24  norm          .41571        .26368        .43536E-07    .13952E-02
  25  norm          .10000E-03    .54618       -.48210E-07** at limit **
  26  Normalizat    1.1346        .43428E-01    .34307E-07    .79768E-03
  27  Prefactor     .90324        .53455E-01    .21115E-07    .45513E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.854991
  Prefactor  = 6.27448
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.93201
  Prefactor  = 1.95488
  norm       = 3.02954
  Prefactor  = 2.56088
  Prefactor  = 1.82747
  Prefactor  = 0.249441
  norm       = 0.000100244
  norm       = 7.69523
  norm       = 34.0658
  norm       = 8.49468
  norm       = 1.41492
  Prefactor  = 0.4596
  Prefactor  = 0.0001
  Prefactor  = 0.829015
  Prefactor  = 15.023
  Prefactor  = 9.2796
  Prefactor  = 6.60305
  norm       = 2.26596
  Prefactor  = 0.0001
  norm       = 0.415708
  norm       = 0.0001
  Normalizat = 1.1346
  Prefactor  = 0.903242
 **********
 **   18 **HESSE 
 **********

 FCN=   88761.13     FROM HESSE     STATUS=OK           518 CALLS     3434 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85499        1.1286        .34947E-03   -1.5523    
   2  Prefactor     6.2745        4.1873        .16048E-03   -1.5207    
   3  Prefactor     .10000E-03    1.2426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.2225        .50497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.9320        .44578        .92977E-04   -1.5430    
   6  Prefactor     1.9549        .95930        .19826E-03   -1.5428    
   7  norm          3.0295        1.0294        .23316E-04   -1.5360    
   8  Prefactor     2.5609        4.7933        .25586E-03   -1.5388    
   9  Prefactor     1.8275        3.5994        .30893E-03   -1.5438    
  10  Prefactor     .24944        1.5989        .20391E-02   -1.5608    
  11  norm          .10024E-03    .20253        .48081E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.6952        2.7790        .14452E-03   -1.5153    
  13  norm          34.066        2.5108        .34325E-03   -1.4540    
  14  norm          8.4947        3.6332        .68833E-03   -1.5125    
  15  norm          1.4149        .63828        .15552E-03   -1.5470    
  16  Prefactor     .45960        .46452        .19379E-03   -1.5572    
  17  Prefactor     .10000E-03    1.0056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .82902        3.4615        .50189E-03   -1.5526    
  19  Prefactor     15.023        9.2435        .10325E-03   -1.4933    
  20  Prefactor     9.2796        3.9450        .13173E-03   -1.5099    
  21  Prefactor     6.6031        6.4147        .15627E-03   -1.5194    
  22  norm          2.2660        .88156        .15920E-03   -1.5407    
  23  Prefactor     .10000E-03    15.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .41571        .23345        .11491E-02   -1.5579    
  25  norm          .10000E-03    2.3995        .42578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1346        .50463E-01    .21546E-03   -.88649    
  27  Prefactor     .90324        .62572E-01    .30040E-03   -.96028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.35574e-08
Minuit parameter uncertainties:
  1  1.12865
  2  4.18754
  3  1.3824e-06
  4  7.62722e-06
  5  0.445785
  6  0.959312
  7  1.02944
  8  4.79404
  9  3.59982
  10  1.26287
  11  0.000444418
  12  2.77904
  13  2.51079
  14  3.63328
  15  0.638288
  16  0.464528
  17  2.75678e-06
  18  3.38814
  19  9.24435
  20  3.94508
  21  6.4154
  22  0.881563
  23  4.07748e-06
  24  0.233449
  25  1.43257e-05
  26  0.0504655
  27  0.062577
Done.

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

Extracting fit parameters...

4FGL J1309.4+4305
   Spectrum: LogParabola
349         norm:  7.695e+00  2.779e+00  1.000e-04  1.000e+04 ( 1.000e-13)
350        alpha:  1.769e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
351         beta:  8.354e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
352           Eb:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
663    Prefactor:  9.032e-01  6.258e-02  0.000e+00  1.000e+01 ( 1.000e+00)
664        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
665        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
662   Normalization:  1.135e+00  5.047e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.60
Ra Dec: 197.363 43.085
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 8.06e-09 +/- 2.91e-09
Energy Flux (Fixed Index): 8.86e-06 +/- 3.20e-06

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) = 88761.0809066
delta logL = 0.0519505805132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 88761.0748744
delta logL = 0.0579827673209

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4182       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6571       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90354       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   88761.07     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      249 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4189        2.8930        .14725E-03    .40764E-04
   2  alpha         1.6572        .32161        .28238E-01   -.35628E-04
   3  Normalizat    1.1353        .49218E-01    .21540E-03   -.25335E-05
   4  Prefactor     .90355        .62245E-01    .30036E-03    .88418E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.41894
  alpha      = 1.65723
  Normalizat = 1.13532
  Prefactor  = 0.903546
 **********
 **   18 **HESSE 
 **********

 FCN=   88761.07     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4189        2.9577        .58902E-05   -1.5163    
   2  alpha         1.6572        .32902        .11295E-02   -.34384    
   3  Normalizat    1.1353        .49262E-01    .86158E-05   -.88626    
   4  Prefactor     .90355        .62313E-01    .60072E-04   -.96017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20848e-13
Minuit parameter uncertainties:
  1  2.95774
  2  0.330101
  3  0.0492637
  4  0.0623179
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/167508': 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) = 88761.0748744
delta logL = 0.0579828261107

Extracting fit parameters...

4FGL J1309.4+4305
   Spectrum: LogParabola
349         norm:  7.419e+00  2.958e+00  1.000e-04  1.000e+04 ( 1.000e-13)
350        alpha:  1.657e+00  3.301e-01  0.000e+00  5.000e+00 ( 1.000e+00)
351         beta:  8.354e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
352           Eb:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
663    Prefactor:  9.035e-01  6.232e-02  0.000e+00  1.000e+01 ( 1.000e+00)
664        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
665        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
662   Normalization:  1.135e+00  4.926e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.70
Ra Dec: 197.363 43.085
Photon Index (Free Index): 1.66 +/- 0.33
Photon Flux (Free Index): 6.82e-09 +/- 4.29e-09
Energy Flux (Free Index): 9.84e-06 +/- 4.84e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/167508/cmap_HighResolution_675043201_677635201_4FGL_J1309.4+4305_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.06e-09', energy_flux2='9.84e-06', photon_flux_error='2.91e-09', dlogl='5.80e-02', energy_flux='8.86e-06', photon_flux2='6.82e-09', job_status='DONE', time_completed='2022-06-23 03:50:58.994379', photon_index_error2='0.33', photon_index2='1.66', ts='23.60', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='4.84e-06', EG='1.13', time_epoch_completed='1655981458.99', return_code='0', job_id='167508', GAL2='0.90', EG2='1.14', return_code2='0', energy_flux_error='3.20e-06', photon_flux_error2='4.29e-09', ts2='23.70', photon_index='1.77' WHERE bin_id='169' AND source_name='4FGL J1309.4+4305' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 03:50:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 167508: <4FGL_J1309.4+4305_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1309.4+4305_monthly_bin169> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Jun 23 01:40:32 2022
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:24:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:24:37 2022
Terminated at Thu Jun 23 03:50:59 2022
Results reported at Thu Jun 23 03:50:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1309.4+4305_monthly_bin169 197.363 43.085 675043201 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1309.4+4305 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   5098.25 sec.
    Max Memory :                                 642 MB
    Average Memory :                             434.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2951 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   5182 sec.
    Turnaround time :                            7827 sec.

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

