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


Performing analysis on: 4FGL_J1326.0+3507_daily_bin1748
RA = 201.501, Dec = 35.1218
tmin = 692409601, tmax = 692668801
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='886412', job_status='RUN', time_executed='2022-12-14 00:40:48.687227', time_epoch_executed='1671007248.69' WHERE source_name='4FGL J1326.0+3507' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886412

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886412/ft1_4FGL_J1326.0+3507_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886412/ft2_4FGL_J1326.0+3507_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886412/ft1_4FGL_J1326.0+3507_daily_bin1748.fits outfile=/scratch/kocevski/886412/ft1_filteredMKT_4FGL_J1326.0+3507_daily_bin1748.fits ra=201.501 dec=35.1218 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.31
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/886412/ft2_4FGL_J1326.0+3507_daily_bin1748.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/886412/ft1_filteredMKT_4FGL_J1326.0+3507_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/886412/ft1_filtered_4FGL_J1326.0+3507_daily_bin1748.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 650

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886412/ft1_filtered_4FGL_J1326.0+3507_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/886412/ft2_4FGL_J1326.0+3507_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/886412/ltcube_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.fits outfile=/scratch/kocevski/886412/expmap_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.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/886412/ltcube_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.fits
.....................!
real 191.05
user 185.39
sys 4.89

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/886412/ft1_filtered_4FGL_J1326.0+3507_daily_bin1748.fits scfile=/scratch/kocevski/886412/ft2_4FGL_J1326.0+3507_daily_bin1748.fits outfile=/scratch/kocevski/886412/cmap_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886412/ft1_filtered_4FGL_J1326.0+3507_daily_bin1748.fits scfile=/scratch/kocevski/886412/ft2_4FGL_J1326.0+3507_daily_bin1748.fits outfile=/scratch/kocevski/886412/cmap_HighResolution_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.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.54
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/886412/ft1_filtered_4FGL_J1326.0+3507_daily_bin1748.fits', '/scratch/kocevski/886412/ft2_4FGL_J1326.0+3507_daily_bin1748.fits', expMap='/scratch/kocevski/886412/expmap_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.fits', expCube='/scratch/kocevski/886412/ltcube_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/886412/Model_4FGL_J1326.0+3507_daily_bin1748.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/886412/ft1_filtered_4FGL_J1326.0+3507_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/886412/ft2_4FGL_J1326.0+3507_daily_bin1748.fits
Exposure map: /scratch/kocevski/886412/expmap_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.fits
Exposure cube: /scratch/kocevski/886412/ltcube_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/886412/Model_4FGL_J1326.0+3507_daily_bin1748.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) = 7111.62224306

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5092       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11541E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .11805E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    14.294       1.0000          .0000       .10000E+07
     5 'norm      '    .17902E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .78370E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .65020E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .24362E-04   1.0000          .0000       .10000E+07
     9 'norm      '    31.460       1.0000          .0000       .10000E+07
    10 'norm      '    .82464E-03   1.0000          .0000       .10000E+07
    11 'norm      '    13.365       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76831E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    14.366       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10276E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14779E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.004       1.0000          .0000       .10000E+07
    17 'norm      '    3.4870       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.8494       1.0000          .0000       .10000E+07
    19 'norm      '    34.223       1.0000          .0000       .10000E+07
    20 'norm      '    4.6605       1.0000          .0000       .10000E+07
    21 'Prefactor '    .14088E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .28576       1.0000          .0000       .10000E+07
    23 'norm      '    3.8410       1.0000          .0000       .10000E+07
    24 'Normalizat'    .85358       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1536       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=   7111.604     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1637 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1988        1.5593        .24801E-07    .20349E-03
   2  Prefactor      .0000        1.8460        .14546E-06** at limit **
   3  norm          .41273E-06    4.7091        .50298E-06** at limit **
   4  Prefactor     14.670        23.659       -.14549E-06   -.12430E-02
   5  norm           .0000        2.8164       -.84368E-07** at limit **
   6  Prefactor     .13101E-07    3.8979        .15050E-06** at limit **
   7  norm           .0000        1.5095        .13440E-06** at limit **
   8  norm          .55511E-10    3.5138       -.68752E-07** at limit **
   9  norm          31.420        5.8713       -.17312E-07    .16901E-02
  10  norm          .18097E-07    4.2211        .14990E-06** at limit **
  11  norm          13.159        3.2781        .56886E-07   -.26880E-01
  12  Prefactor      .0000        1.2772        .34388E-08** at limit **
  13  Prefactor     14.356        3.2313        .11992E-07   -.42483E-02
  14  Prefactor     .12151E-06    10.507        .59081E-06** at limit **
  15  Prefactor     .11102E-09    3.2334       -.10829E-06** at limit **
  16  Prefactor     10.003        1.0463        .35268E-08    .29490E-02
  17  norm          3.4870        1.3185       -.12284E-07    .12907E-02
  18  Prefactor     1.8485        2.9778        .21278E-07   -.39995E-03
  19  norm          34.141        1.6137        .12818E-07   -.33563E-02
  20  norm          4.6713        4.4937        .10408E-06   -.15447E-02
  21  Prefactor     .86486E-07    7.0168        .37017E-06** at limit **
  22  Prefactor     .25909        4.0365        .80526E-07   -.82416E-02
  23  norm          3.8897        1.2993       -.11729E-07    .66113E-02
  24  Normalizat    .85358        .18783       -.61890E-05   -.67419E-05
  25  Prefactor     1.1540        .23385        .65467E-05   -.49396E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.19879
  Prefactor  = 0
  norm       = 4.12725e-07
  Prefactor  = 14.6696
  norm       = 0
  Prefactor  = 1.31006e-08
  norm       = 0
  norm       = 5.55112e-11
  norm       = 31.4198
  norm       = 1.80966e-08
  norm       = 13.1586
  Prefactor  = 0
  Prefactor  = 14.3563
  Prefactor  = 1.21514e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 10.0031
  norm       = 3.48701
  Prefactor  = 1.84852
  norm       = 34.1409
  norm       = 4.67126
  Prefactor  = 8.64864e-08
  Prefactor  = 0.25909
  norm       = 3.88969
  Normalizat = 0.853578
  Prefactor  = 1.15399
 **********
 **   18 **HESSE 
 **********

 FCN=   7111.604     FROM HESSE     STATUS=OK           481 CALLS     2118 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1988        18.925        .47389E-03   -1.5667    
   2  Prefactor      .0000        1.8454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .41273E-06    14.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.670        23.998        .26466E-03   -1.5631    
   5  norm           .0000        2.7953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13101E-07    8.5095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.5101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    3.5154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          31.420        6.1592        .17831E-03   -1.5596    
  10  norm          .18097E-07    8.4717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.159        20.392        .27373E-03   -1.5635    
  12  Prefactor      .0000        1.2740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.356        14.892        .26400E-03   -1.5632    
  14  Prefactor     .12151E-06    12.894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-09    3.2338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.003        10.435        .31656E-03   -1.5645    
  17  norm          3.4870        1.3204        .54123E-03   -1.5671    
  18  Prefactor     1.8485        3.0093        .76639E-03   -1.5681    
  19  norm          34.141        17.133        .17096E-03   -1.5591    
  20  norm          4.6713        4.6067        .46594E-03   -1.5665    
  21  Prefactor     .86486E-07    8.1739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .25909        13.077        .10414E-01   -1.5698    
  23  norm          3.8897        11.402        .51470E-03   -1.5669    
  24  Normalizat    .85358        .15890        .44306E-01   -.98111    
  25  Prefactor     1.1540        .19552        .62415E-01   -.87759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21691e-07
Minuit parameter uncertainties:
  1  17.8285
  2  6.81429e-06
  3  0.00486087
  4  23.9986
  5  1.46661e-05
  6  0.000668272
  7  4.88781e-06
  8  2.20199e-05
  9  6.15923
  10  0.000783654
  11  20.392
  12  5.60153e-06
  13  14.8917
  14  0.00250322
  15  4.2113e-05
  16  10.4347
  17  1.32036
  18  3.00926
  19  17.1327
  20  4.60666
  21  0.00168132
  22  3.6814
  23  11.402
  24  0.158988
  25  0.195645
Done.

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

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  1.215e-07  2.503e-03  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:  1.154e+00  1.956e-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:  8.536e-01  1.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 201.501 35.122
Photon Flux Upper Limit: 3.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/886412/likelihoodResults_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.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): 102
logL (Free Index) = 7111.64135644
delta logL = -0.0370100485015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7111.60435327
delta logL = -6.8755743996e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40607E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .59052       1.0000          .0000       10.000    
     3 'Normalizat'    .85406       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1534       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.

 FCN=   7111.604     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      235 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64393E-08    .73394        .42118E-03** at limit **
   2  Index         2.3615        7.9467        .40925        .13612E-08
   3  Normalizat    .85358        .99675E-03    .44312E-01   -.67979E-05
   4  Prefactor     1.1540        .12647E-02    .62415E-01   -.35853E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.43929e-09
  Index      = 2.36146
  Normalizat = 0.853581
  Prefactor  = 1.15399
 **********
 **   18 **HESSE 
 **********

 FCN=   7111.604     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      266 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64393E-08    3.1960        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3615        6.4563        .50000       -.55590    
   3  Normalizat    .85358        .20786E-02    .25026E-03   -.98111    
   4  Prefactor     1.1540        .26365E-02    .27605E-03   -.87759    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.51123e-11
Minuit parameter uncertainties:
  1  0.000286837
  2  15275.3
  3  0.00207862
  4  0.00263648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886412': 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): 102
logL (Free Index) = 7111.60434639
delta logL = 4.08908817917e-09

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  6.439e-09  2.868e-04  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  2.361e+00  1.528e+04  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:  1.154e+00  2.636e-03  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:  8.536e-01  2.079e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 201.501 35.122

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/886412/cmap_HighResolution_692409601_692668801_4FGL_J1326.0+3507_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.45e-03', job_status='DONE', photon_flux_upper_limit='3.23e-08', time_completed='2022-12-14 00:51:20.650069', job_id='886412', GAL2='1.15', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1671007880.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='4.09e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1748' AND source_name='4FGL J1326.0+3507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:51:20 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 886412: <4FGL_J1326.0+3507_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1326.0+3507_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:40:23 2022
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:40:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:40:24 2022
Terminated at Wed Dec 14 00:51:21 2022
Results reported at Wed Dec 14 00:51:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.0+3507_daily_bin1748 201.501 35.1218 692409601 692668801 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 :                                   633.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             335.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            658 sec.

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

