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


Performing analysis on: 4FGL_J1326.0+3507_daily_bin1718
RA = 201.501, Dec = 35.1218
tmin = 684633601, tmax = 684892801
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='132488', job_status='RUN', time_executed='2022-09-16 17:36:43.822916', time_epoch_executed='1663375003.82' WHERE source_name='4FGL J1326.0+3507' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/132488

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/132488/ft1_4FGL_J1326.0+3507_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/132488/ft1_4FGL_J1326.0+3507_daily_bin1718.fits outfile=/scratch/kocevski/132488/ft1_filteredMKT_4FGL_J1326.0+3507_daily_bin1718.fits ra=201.501 dec=35.1218 rad=12.0 tmin=684633601.0 tmax=684892801.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.26
user 3.01
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.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/132488/ft1_filteredMKT_4FGL_J1326.0+3507_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/132488/ft1_filtered_4FGL_J1326.0+3507_daily_bin1718.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.15

Number of photons that the gtmktime cut: 178

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/132488/ft1_filtered_4FGL_J1326.0+3507_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/132488/ltcube_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.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/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.fits
.....................!
real 16.09
user 14.99
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/132488/ft1_filtered_4FGL_J1326.0+3507_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/132488/ltcube_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.fits outfile=/scratch/kocevski/132488/expmap_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.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/132488/ltcube_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.fits
.....................!
real 192.16
user 186.78
sys 4.38

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

Setting source of interest to:
4FGL J1326.0+3507 @ 201.501 35.1218

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/132488/ft1_filtered_4FGL_J1326.0+3507_daily_bin1718.fits scfile=/scratch/kocevski/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.fits outfile=/scratch/kocevski/132488/cmap_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.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=201.501 yref=35.1218 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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/132488/ft1_filtered_4FGL_J1326.0+3507_daily_bin1718.fits scfile=/scratch/kocevski/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.fits outfile=/scratch/kocevski/132488/cmap_HighResolution_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.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=201.501 yref=35.1218 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/132488/ft1_filtered_4FGL_J1326.0+3507_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/132488/Model_4FGL_J1326.0+3507_daily_bin1718.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/132488/ft1_filtered_4FGL_J1326.0+3507_daily_bin1718.fits.......................!
real 25.97
user 24.55
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/132488/ft1_filtered_4FGL_J1326.0+3507_daily_bin1718.fits', '/scratch/kocevski/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.fits', expMap='/scratch/kocevski/132488/expmap_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.fits', expCube='/scratch/kocevski/132488/ltcube_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/132488/Model_4FGL_J1326.0+3507_daily_bin1718.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1326.0+3507'

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  5.851e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  2.152e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  1.846e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/132488/ft1_filtered_4FGL_J1326.0+3507_daily_bin1718.fits
Spacecraft file(s): /scratch/kocevski/132488/ft2_4FGL_J1326.0+3507_daily_bin1718.fits
Exposure map: /scratch/kocevski/132488/expmap_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.fits
Exposure cube: /scratch/kocevski/132488/ltcube_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/132488/Model_4FGL_J1326.0+3507_daily_bin1718.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) = 1920.2967747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54551       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19130E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .15621E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    132.74       1.0000          .0000       .10000E+07
     5 'norm      '    .95753E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14661E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .89424E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .28900E-03   1.0000          .0000       .10000E+07
     9 'norm      '    46.521       1.0000          .0000       .10000E+07
    10 'norm      '    .40978E-03   1.0000          .0000       .10000E+07
    11 'norm      '    44.475       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16809E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .24743       1.0000          .0000       .10000E+07
    14 'Prefactor '    45.355       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.5014       1.0000          .0000       .10000E+07
    16 'Prefactor '    13.204       1.0000          .0000       .10000E+07
    17 'norm      '    .26057E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    29.944       1.0000          .0000       .10000E+07
    19 'norm      '    16.121       1.0000          .0000       .10000E+07
    20 'norm      '    .71254E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .99613E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .22247E-01   1.0000          .0000       .10000E+07
    23 'norm      '    .11356E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.5393       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .36708       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1920.296     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     2866 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    103.52       -.15487E-05** at limit **
   2  Prefactor     .13323E-07    14.932       -.45661E-07** at limit **
   3  norm          .83350E-06    8.4489        .19882E-05** at limit **
   4  Prefactor     133.28        46.558        .10854E-04    .81797E-01
   5  norm           .0000        9.6930       -.23116E-06** at limit **
   6  Prefactor     .27756E-09    20.591       -.15943E-05** at limit **
   7  norm           .0000        7.0000        .25422E-05** at limit **
   8  norm          .86364E-06    8.4181        .10533E-05** at limit **
   9  norm          46.784        6.9819        .39751E-06    .49873E-02
  10  norm          .16320E-07    157.24       -.44303E-05** at limit **
  11  norm          44.356        1.8680       -.10961E-06    .89788E-02
  12  Prefactor     .13156E-07    19.940       -.47905E-05** at limit **
  13  Prefactor      .0000        50.950        .42008E-05** at limit **
  14  Prefactor     43.779        136.78       -.55652E-04    .17312E-01
  15  Prefactor     2.5658        7.7475        .36781E-05   -.74871E-02
  16  Prefactor     12.696        35.333       -.97199E-05   -.35131E-02
  17  norm           .0000        .94492       -.63786E-06** at limit **
  18  Prefactor     30.008        10.250       -.22982E-06    .28142E-02
  19  norm          16.093        3.7070        .29212E-06    .49600E-01
  20  norm           .0000        2.1522        .16269E-05** at limit **
  21  Prefactor      .0000        10.029        .79228E-06** at limit **
  22  Prefactor      .0000        23.786        .28187E-05** at limit **
  23  norm           .0000        8.2030        .98884E-06** at limit **
  24  Normalizat    1.5386        .38068        .17629E-04    .64461E-05
  25  Prefactor     .36838        .43706        .43737E-04    .38454E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 1.33227e-08
  norm       = 8.335e-07
  Prefactor  = 133.28
  norm       = 0
  Prefactor  = 2.77556e-10
  norm       = 0
  norm       = 8.63642e-07
  norm       = 46.7836
  norm       = 1.63203e-08
  norm       = 44.3564
  Prefactor  = 1.31561e-08
  Prefactor  = 0
  Prefactor  = 43.7791
  Prefactor  = 2.56577
  Prefactor  = 12.6958
  norm       = 0
  Prefactor  = 30.0084
  norm       = 16.0934
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.53858
  Prefactor  = 0.36838
 **********
 **   18 **HESSE 
 **********

 FCN=   1920.296     FROM HESSE     STATUS=OK           469 CALLS     3335 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    107.24        .74257E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13323E-07    15.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .83350E-06    16.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     133.28        120.13        .86801E-04   -1.5477    
   5  norm           .0000        9.7113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    21.860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        7.0007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .86364E-06    16.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          46.784        20.400        .14663E-03   -1.5571    
  10  norm          .16320E-07    163.83        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          44.356        58.183        .14996E-03   -1.5575    
  12  Prefactor     .13156E-07    20.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        51.069        .10986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     43.779        149.00        .14850E-03   -1.5576    
  15  Prefactor     2.5658        46.455        .64588E-03   -1.5676    
  16  Prefactor     12.696        35.878        .27540E-03   -1.5637    
  17  norm           .0000        .94261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.008        10.289        .18277E-03   -1.5598    
  19  norm          16.093        24.168        .24918E-03   -1.5628    
  20  norm           .0000        2.1503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        10.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        23.314        .16893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        8.2101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.5386        .36643        .48283E-01   -.76700    
  25  Prefactor     .36838        .42074        .10623       -1.1845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0831e-06
Minuit parameter uncertainties:
  1  0.000262756
  2  0.000897713
  3  0.00739793
  4  120.133
  5  1.0476e-05
  6  0.000157893
  7  3.42951e-06
  8  0.00746384
  9  20.4005
  10  0.00327285
  11  58.1834
  12  0.00104647
  13  3.20732e-06
  14  149.008
  15  21.8354
  16  35.8785
  17  2.44524e-07
  18  10.2886
  19  24.1685
  20  1.19813e-06
  21  1.31011e-05
  22  1.08965e-05
  23  7.3379e-06
  24  0.367072
  25  0.424317
Done.

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

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  4.378e+01  1.490e+02  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  2.152e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  1.846e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  3.684e-01  4.243e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.539e+00  3.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 201.501 35.122
Photon Flux Upper Limit: 2.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.57e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/132488/likelihoodResults_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.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) = 1920.28157836
delta logL = 0.0141525641288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1920.27371571
delta logL = 0.022015210355

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.988       1.0000          .0000       .10000E+07
     2 'Index     '    1.8760       1.0000          .0000       10.000    
     3 'Normalizat'    1.5423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .36288       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+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=   1920.274     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      287 TOTAL
                     EDM=   .60E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     68.165        208.95        .24257E-04   -.10545E-05
   2  Index         1.8749        1.1932        .10188E-01    .24482E-05
   3  Normalizat    1.5455        .37972        .21303E-03   -.40025E-07
   4  Prefactor     .35906        .43797        .47670E-03    .10136E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 68.1646
  Index      = 1.87485
  Normalizat = 1.54549
  Prefactor  = 0.359058
 **********
 **   18 **HESSE 
 **********

 FCN=   1920.274     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .12E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     68.165        203.85        .97028E-06   -1.5543    
   2  Index         1.8749        1.1653        .40753E-03   -.67517    
   3  Normalizat    1.5455        .37957        .85212E-05   -.76508    
   4  Prefactor     .35906        .43774        .19068E-04   -1.1895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20327e-15
Minuit parameter uncertainties:
  1  203.868
  2  1.18333
  3  0.380275
  4  0.441886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/132488': 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) = 1920.27367678
delta logL = 0.0220541390927

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  6.816e+01  2.039e+02  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  1.875e+00  1.183e+00  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  1.846e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  3.591e-01  4.419e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.545e+00  3.803e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 201.501 35.122

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/132488/cmap_HighResolution_684633601_684892801_4FGL_J1326.0+3507_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.07e-07', time_completed='2022-09-16 17:44:10.841114', job_id='132488', GAL2='0.36', fit_tolerance='1e-08', EG2='1.55', EG='1.54', time_epoch_completed='1663375450.84', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.37', dlogl='2.21e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1718' AND source_name='4FGL J1326.0+3507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:44:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 132488: <4FGL_J1326.0+3507_daily_bin1718> in cluster <slac> Done

Job <4FGL_J1326.0+3507_daily_bin1718> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 17:30:18 2022
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:33:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:33:18 2022
Terminated at Fri Sep 16 17:44:11 2022
Results reported at Fri Sep 16 17:44:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.0+3507_daily_bin1718 201.501 35.1218 684633601 684892801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1326.0+3507 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   447.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            833 sec.

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

