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


Performing analysis on: 4FGL_J1326.0+3507_daily_bin1770
RA = 201.501, Dec = 35.1218
tmin = 698112001, tmax = 698371201
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='486586', job_status='RUN', time_executed='2023-02-18 00:50:53.808601', time_epoch_executed='1676710253.81' WHERE source_name='4FGL J1326.0+3507' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/486586

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/486586/ft1_4FGL_J1326.0+3507_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/486586/ft2_4FGL_J1326.0+3507_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/486586/ft1_4FGL_J1326.0+3507_daily_bin1770.fits outfile=/scratch/kocevski/486586/ft1_filteredMKT_4FGL_J1326.0+3507_daily_bin1770.fits ra=201.501 dec=35.1218 rad=12.0 tmin=698112001.0 tmax=698371201.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.34
user 4.15
sys 0.18

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

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

Number of photons that the gtmktime cut: 403

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/486586/ft1_filtered_4FGL_J1326.0+3507_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/486586/ft2_4FGL_J1326.0+3507_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/486586/ltcube_698112001_698371201_4FGL_J1326.0+3507_daily_bin1770.fits outfile=/scratch/kocevski/486586/expmap_698112001_698371201_4FGL_J1326.0+3507_daily_bin1770.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/486586/ltcube_698112001_698371201_4FGL_J1326.0+3507_daily_bin1770.fits
.....................!
real 188.44
user 184.48
sys 3.65

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/486586/ft1_filtered_4FGL_J1326.0+3507_daily_bin1770.fits scfile=/scratch/kocevski/486586/ft2_4FGL_J1326.0+3507_daily_bin1770.fits outfile=/scratch/kocevski/486586/cmap_698112001_698371201_4FGL_J1326.0+3507_daily_bin1770.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/486586/ft1_filtered_4FGL_J1326.0+3507_daily_bin1770.fits scfile=/scratch/kocevski/486586/ft2_4FGL_J1326.0+3507_daily_bin1770.fits outfile=/scratch/kocevski/486586/cmap_HighResolution_698112001_698371201_4FGL_J1326.0+3507_daily_bin1770.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16322E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .44916E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .38660E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15749E-01   1.0000          .0000       .10000E+07
     5 'norm      '    2.6042       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17074E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .48846E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .16308E-02   1.0000          .0000       .10000E+07
     9 'norm      '    38.777       1.0000          .0000       .10000E+07
    10 'norm      '    11.181       1.0000          .0000       .10000E+07
    11 'norm      '    32.604       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10010E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12109E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .14802E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .22933E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    37.309       1.0000          .0000       .10000E+07
    17 'norm      '    .72256       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.5178       1.0000          .0000       .10000E+07
    19 'norm      '    2.9018       1.0000          .0000       .10000E+07
    20 'norm      '    2.1760       1.0000          .0000       .10000E+07
    21 'Prefactor '    .87014E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .15296E-02   1.0000          .0000       .10000E+07
    23 'norm      '    3.1271       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0546       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1149       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=   4339.398     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     2055 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32863E-07    5.3700        .29254E-05** at limit **
   2  Prefactor      .0000        3.9468        .30760E-06** at limit **
   3  norm           .0000        2.1465       -.57393E-06** at limit **
   4  Prefactor      .0000        23.943        .66547E-07** at limit **
   5  norm          2.6035        3.7081       -.47965E-06    .75458E-04
   6  Prefactor     .82712E-07    4.9832       -.23650E-05** at limit **
   7  norm          .19484E-07    4.2276        .30597E-05** at limit **
   8  norm          .36082E-08    4.2570        .22404E-05** at limit **
   9  norm          38.735        6.6735        .21650E-06    .13512E-02
  10  norm          11.187        4.5892       -.97666E-07   -.37616E-03
  11  norm          32.699        1.9831        .27719E-06   -.43341E-01
  12  Prefactor      .0000        1.7523       -.25371E-06** at limit **
  13  Prefactor     .54956E-07    3.8839       -.21077E-05** at limit **
  14  Prefactor     .16653E-09    23.463       -.14324E-05** at limit **
  15  Prefactor     .38858E-09    5.5074        .30811E-06** at limit **
  16  Prefactor     37.343        1.1524       -.90403E-07    .15969E-01
  17  norm          .72259        1.0094        .29668E-06    .86781E-04
  18  Prefactor     6.5227        5.1792       -.48237E-06    .30807E-03
  19  norm          2.9063        1.0941       -.56574E-07   -.10063E-02
  20  norm          2.1757        3.9218       -.14603E-06    .51081E-03
  21  Prefactor      .0000        3.4967        .19673E-05** at limit **
  22  Prefactor     .49294E-07    2.6527       -.82376E-07** at limit **
  23  norm          3.1194        1.1689       -.38684E-07    .18718E-03
  24  Normalizat    1.0547        .24573        .51262E-05    .29249E-04
  25  Prefactor     1.1148        .30316       -.64660E-05    .30210E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.28626e-08
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 2.60351
  Prefactor  = 8.27116e-08
  norm       = 1.94844e-08
  norm       = 3.60822e-09
  norm       = 38.7346
  norm       = 11.1872
  norm       = 32.6986
  Prefactor  = 0
  Prefactor  = 5.4956e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 3.88578e-10
  Prefactor  = 37.3426
  norm       = 0.722592
  Prefactor  = 6.52267
  norm       = 2.90635
  norm       = 2.17573
  Prefactor  = 0
  Prefactor  = 4.92939e-08
  norm       = 3.11939
  Normalizat = 1.05475
  Prefactor  = 1.11476
 **********
 **   18 **HESSE 
 **********

 FCN=   4339.398     FROM HESSE     STATUS=OK           471 CALLS     2526 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32863E-07    11.764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.9473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.1436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        23.784        .17334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6035        3.7240        .63190E-03   -1.5676    
   6  Prefactor     .82712E-07    8.6933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .19484E-07    7.7476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .36082E-08    11.610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          38.735        10.123        .16060E-03   -1.5583    
  10  norm          11.187        12.475        .29936E-03   -1.5641    
  11  norm          32.699        31.045        .17515E-03   -1.5594    
  12  Prefactor      .0000        1.7505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .54956E-07    10.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16653E-09    23.488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38858E-09    5.5433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.343        30.984        .16374E-03   -1.5586    
  17  norm          .72259        1.0208        .58896E-03   -1.5691    
  18  Prefactor     6.5227        5.1852        .39286E-03   -1.5657    
  19  norm          2.9063        13.738        .59625E-03   -1.5674    
  20  norm          2.1757        3.9590        .69770E-03   -1.5678    
  21  Prefactor      .0000        7.6375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .49294E-07    10.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.1194        11.984        .57307E-03   -1.5673    
  24  Normalizat    1.0547        .21245        .40259E-01   -.91218    
  25  Prefactor     1.1148        .25891        .67256E-01   -.88996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36121e-07
Minuit parameter uncertainties:
  1  0.00124321
  2  1.68953e-05
  3  1.28836e-05
  4  1.78344e-05
  5  3.72397
  6  0.00169565
  7  0.000776866
  8  0.000410131
  9  10.1234
  10  12.4752
  11  31.0455
  12  5.83086e-06
  13  0.00150452
  14  0.000127481
  15  9.47345e-05
  16  30.9839
  17  1.02078
  18  5.1852
  19  12.6378
  20  3.95903
  21  8.60993e-06
  22  0.00147228
  23  11.984
  24  0.212619
  25  0.259204
Done.

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

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  1.665e-10  1.275e-04  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.115e+00  2.592e-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.055e+00  2.126e-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: 5.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/486586/likelihoodResults_698112001_698371201_4FGL_J1326.0+3507_daily_bin1770.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) = 4339.41861084
delta logL = -0.0203137539656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4339.39829716
delta logL = -7.55226210458e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41920E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.4820       1.0000          .0000       10.000    
     3 'Normalizat'    1.0547       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1148       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4339.398     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      214 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        36.443        .42118E-03** at limit **
   2  Index         1.7753        1.1299        .21324E-03     .0000    
   3  Normalizat    1.0547        1.1975        .21710E-04   -.86170E-05
   4  Prefactor     1.1148        1.1395       -.33320E-04   -.75780E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.77531
  Normalizat = 1.05475
  Prefactor  = 1.11476
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4339.398     FROM HESSE     STATUS=FAILED         9 CALLS      223 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        36.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .32026        1.5992        .21324E-03   -.70094    
   3  Normalizat    1.0547        1.1975        .21710E-04   -.91218    
   4  Prefactor     1.1148        1.1395       -.33320E-04   -.88996    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.77683e-11
Minuit parameter uncertainties:
  1  5.48205e-05
  2  1.14702
  3  1.23048
  4  1.16602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/486586': 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): 101
logL (Free Index) = 4339.39829709
delta logL = -1.72803993337e-11

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  0.000e+00  5.482e-05  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  1.775e+00  1.147e+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:  1.115e+00  1.166e+00  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.055e+00  1.230e+00  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/486586/cmap_HighResolution_698112001_698371201_4FGL_J1326.0+3507_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.24e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2023-02-18 00:59:43.213874', job_id='486586', GAL2='1.11', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1676710783.21', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-1.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1770' AND source_name='4FGL J1326.0+3507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:59:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 486586: <4FGL_J1326.0+3507_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1326.0+3507_daily_bin1770> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Feb 18 00:50:18 2023
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:50:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:50:19 2023
Terminated at Sat Feb 18 00:59:43 2023
Results reported at Sat Feb 18 00:59:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.0+3507_daily_bin1770 201.501 35.1218 698112001 698371201 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 :                                   531.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             349.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   564 sec.
    Turnaround time :                            565 sec.

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

