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 84 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1309.4+4305_daily_bin1769
RA = 197.363, Dec = 43.085
tmin = 697852801, tmax = 698112001
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='434663', job_status='RUN', time_executed='2023-02-15 00:47:00.789112', time_epoch_executed='1676450820.79' WHERE source_name='4FGL J1309.4+4305' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434663

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434663/ft1_4FGL_J1309.4+4305_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434663/ft2_4FGL_J1309.4+4305_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434663/ft1_4FGL_J1309.4+4305_daily_bin1769.fits outfile=/scratch/kocevski/434663/ft1_filteredMKT_4FGL_J1309.4+4305_daily_bin1769.fits ra=197.363 dec=43.085 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.41
user 4.18
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434663/ft2_4FGL_J1309.4+4305_daily_bin1769.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/434663/ft1_filteredMKT_4FGL_J1309.4+4305_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/434663/ft1_filtered_4FGL_J1309.4+4305_daily_bin1769.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 547

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434663/ft1_filtered_4FGL_J1309.4+4305_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/434663/ft2_4FGL_J1309.4+4305_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/434663/ltcube_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.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/434663/ft2_4FGL_J1309.4+4305_daily_bin1769.fits
.....................!
real 12.15
user 11.83
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434663/ft1_filtered_4FGL_J1309.4+4305_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/434663/ft2_4FGL_J1309.4+4305_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/434663/ltcube_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.fits outfile=/scratch/kocevski/434663/expmap_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.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/434663/ltcube_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.fits
.....................!
real 192.04
user 187.39
sys 4.33

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/434663/ft1_filtered_4FGL_J1309.4+4305_daily_bin1769.fits scfile=/scratch/kocevski/434663/ft2_4FGL_J1309.4+4305_daily_bin1769.fits outfile=/scratch/kocevski/434663/cmap_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434663/ft1_filtered_4FGL_J1309.4+4305_daily_bin1769.fits scfile=/scratch/kocevski/434663/ft2_4FGL_J1309.4+4305_daily_bin1769.fits outfile=/scratch/kocevski/434663/cmap_HighResolution_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.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.53
user 0.39
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434663/ft1_filtered_4FGL_J1309.4+4305_daily_bin1769.fits', '/scratch/kocevski/434663/ft2_4FGL_J1309.4+4305_daily_bin1769.fits', expMap='/scratch/kocevski/434663/expmap_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.fits', expCube='/scratch/kocevski/434663/ltcube_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434663/Model_4FGL_J1309.4+4305_daily_bin1769.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  0.000e+00  1.000e+06 ( 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 -5.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/434663/ft1_filtered_4FGL_J1309.4+4305_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/434663/ft2_4FGL_J1309.4+4305_daily_bin1769.fits
Exposure map: /scratch/kocevski/434663/expmap_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.fits
Exposure cube: /scratch/kocevski/434663/ltcube_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434663/Model_4FGL_J1309.4+4305_daily_bin1769.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) = 5792.72200502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8092       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.518       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10016E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .44167E-02   1.0000          .0000       .10000E+07
     5 'norm      '    3.1133       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4124       1.0000          .0000       .10000E+07
     7 'norm      '    .39738E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .55855E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .36772E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .33146E-06   1.0000          .0000       .10000E+07
    11 'norm      '    5.2842       1.0000          .0000       .10000E+07
    12 'norm      '    22.076       1.0000          .0000       .10000E+07
    13 'norm      '    17.314       1.0000          .0000       .10000E+07
    14 'norm      '    .19429E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    .18409E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21176E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    36.048       1.0000          .0000       .10000E+07
    18 'Prefactor '    19.444       1.0000          .0000       .10000E+07
    19 'Prefactor '    .30018E-02   1.0000          .0000       .10000E+07
    20 'norm      '    3.5120       1.0000          .0000       .10000E+07
    21 'norm      '    .48128E-07   1.0000          .0000       .10000E+07
    22 'norm      '    .10941E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2556       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56499       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5792.654     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     1598 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8307        6.7320       -.36608E-07   -.25779E-02
   2  Prefactor     10.853        5.2475       -.35678E-06    .19688E-01
   3  Prefactor     .72486E-06    76.293       -.19307E-05** at limit **
   4  Prefactor     .66586E-06    23.791       -.12972E-05** at limit **
   5  norm          3.1132        1.8770        .34272E-07    .50719E-03
   6  Prefactor     4.3707        4.6723       -.11465E-06    .64463E-03
   7  norm           .0000        1.6548       -.12848E-06** at limit **
   8  Prefactor     .38858E-09    5.7995        .27130E-06** at limit **
   9  Prefactor     .11102E-09    6.4514        .54133E-06** at limit **
  10  norm           .0000        1.6651        .19678E-06** at limit **
  11  norm          5.2628        8.2044       -.18785E-05   -.10007E-01
  12  norm          22.168        9.4273       -.34378E-06   -.16364E-01
  13  norm          17.142        16.783        .11850E-05    .26312E-01
  14  norm           .0000        2.0941       -.11073E-06** at limit **
  15  Prefactor      .0000        1.0752        .37054E-06** at limit **
  16  Prefactor      .0000        5.4040       -.68903E-06** at limit **
  17  Prefactor     36.530        12.748       -.68757E-06    .10916    
  18  Prefactor     19.349        1.2428        .25704E-08    .19265E-02
  19  Prefactor     .62406E-06    25.438        .11134E-05** at limit **
  20  norm          3.5081        3.2677        .49630E-07   -.44188E-03
  21  norm           .0000        .85886        .11663E-06** at limit **
  22  norm           .0000        3.1984       -.19444E-06** at limit **
  23  Normalizat    1.2545        .18456       -.13339E-04    .52948E-04
  24  Prefactor     .56574        .22334        .89161E-05    .17058E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.83069
  Prefactor  = 10.8532
  Prefactor  = 7.24865e-07
  Prefactor  = 6.65856e-07
  norm       = 3.11324
  Prefactor  = 4.37068
  norm       = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 1.11022e-10
  norm       = 0
  norm       = 5.26279
  norm       = 22.1682
  norm       = 17.1417
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 36.5304
  Prefactor  = 19.3486
  Prefactor  = 6.24056e-07
  norm       = 3.50806
  norm       = 0
  norm       = 0
  Normalizat = 1.25449
  Prefactor  = 0.565742
 **********
 **   18 **HESSE 
 **********

 FCN=   5792.654     FROM HESSE     STATUS=OK           443 CALLS     2041 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8307        9.3136        .45851E-03   -1.5664    
   2  Prefactor     10.853        31.199        .30869E-03   -1.5642    
   3  Prefactor     .72486E-06    77.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .66586E-06    25.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.1132        1.8785        .57441E-03   -1.5673    
   6  Prefactor     4.3707        4.6865        .47919E-03   -1.5666    
   7  norm           .0000        1.6514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38858E-09    5.7998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    6.4474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.6640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.2628        8.2217        .43700E-03   -1.5662    
  12  norm          22.168        9.3178        .21289E-03   -1.5614    
  13  norm          17.142        16.644        .24043E-03   -1.5625    
  14  norm           .0000        2.0869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.0737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        5.4072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     36.530        33.543        .16658E-03   -1.5587    
  18  Prefactor     19.349        24.302        .22686E-03   -1.5620    
  19  Prefactor     .62406E-06    26.821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.5081        3.2861        .53922E-03   -1.5671    
  21  norm           .0000        .84628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        3.2055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2545        .23373        .33651E-01   -2.2922    
  24  Prefactor     .56574        .27510        .76837E-01   -2.0511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.86424e-07
Minuit parameter uncertainties:
  1  9.31364
  2  31.1995
  3  0.0150122
  4  0.00816718
  5  1.8785
  6  4.68652
  7  3.32128e-06
  8  9.21413e-05
  9  5.05784e-05
  10  4.11234e-06
  11  8.22173
  12  9.31784
  13  16.6443
  14  4.32055e-06
  15  1.85137e-07
  16  1.36964e-05
  17  33.5431
  18  24.3019
  19  0.00818223
  20  3.28607
  21  1.04022e-07
  22  4.29032e-06
  23  0.233929
  24  0.275758
Done.

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

Extracting fit parameters...

4FGL J1309.4+4305
   Spectrum: LogParabola
349         norm:  5.263e+00  8.222e+00  0.000e+00  1.000e+06 ( 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 -5.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:  5.657e-01  2.758e-01  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.254e+00  2.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.74
Ra Dec: 197.363 43.085
Photon Flux Upper Limit: 3.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.92e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434663/likelihoodResults_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.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) = 5792.60866579
delta logL = 0.0455500082853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5792.60737048
delta logL = 0.0468453186695

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9212       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1099       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2521       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56625       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.

 FCN=   5792.607     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      190 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9212        8.7962        .45315E-03    .16135E-01
   2  alpha         2.1099        1.1871        .41803E-01    .29780E-04
   3  Normalizat    1.2521        .16003        .33723E-01    .19753E-04
   4  Prefactor     .56625        .19725        .76799E-01   -.97751E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 4.92124
  alpha      = 2.10992
  Normalizat = 1.2521
  Prefactor  = 0.566245
 **********
 **   18 **HESSE 
 **********

 FCN=   5792.607     FROM HESSE     STATUS=OK            27 CALLS      217 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9212        7.8830        .18126E-04   -1.5664    
   2  alpha         2.1099        1.0766        .16721E-02   -.15667    
   3  Normalizat    1.2521        .18058        .19315E-03   -.85008    
   4  Prefactor     .56625        .22196        .34007E-03   -1.0903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77894e-09
Minuit parameter uncertainties:
  1  7.88305
  2  1.11397
  3  0.180666
  4  0.222299
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434663': 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) = 5792.60737048
delta logL = 0.0468453188605

Extracting fit parameters...

4FGL J1309.4+4305
   Spectrum: LogParabola
349         norm:  4.921e+00  7.883e+00  0.000e+00  1.000e+06 ( 1.000e-13)
350        alpha:  2.110e+00  1.114e+00  0.000e+00  5.000e+00 ( 1.000e+00)
351         beta:  8.354e-02  0.000e+00 -5.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:  5.662e-01  2.223e-01  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.252e+00  1.807e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.74
Ra Dec: 197.363 43.085

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/434663/cmap_HighResolution_697852801_698112001_4FGL_J1309.4+4305_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.92e-05', job_status='DONE', photon_flux_upper_limit='3.57e-08', time_completed='2023-02-15 00:56:56.414233', job_id='434663', GAL2='0.57', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1676451416.41', return_code2='0', ts='0.74', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='4.68e-02', ts2='0.84', photon_index_error='0.00', photon_index='1.77' WHERE bin_id='1769' AND source_name='4FGL J1309.4+4305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:56:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 434663: <4FGL_J1309.4+4305_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1309.4+4305_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:45:25 2023
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:45:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:45:25 2023
Terminated at Wed Feb 15 00:56:57 2023
Results reported at Wed Feb 15 00:56:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1309.4+4305_daily_bin1769 197.363 43.085 697852801 698112001 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 :                                   598.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            692 sec.

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

