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 76 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7563
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1326.8-5256_daily_bin1677
RA = 201.72, Dec = -52.9376
tmin = 674006401, tmax = 674265601
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='153396', job_status='RUN', time_executed='2022-05-15 00:47:50.197289', time_epoch_executed='1652600870.2' WHERE source_name='4FGL J1326.8-5256' and cadence='daily' and bin_id='1677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153396

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153396/ft1_4FGL_J1326.8-5256_daily_bin1677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153396/ft1_4FGL_J1326.8-5256_daily_bin1677.fits outfile=/scratch/kocevski/153396/ft1_filteredMKT_4FGL_J1326.8-5256_daily_bin1677.fits ra=201.72 dec=-52.9376 rad=12.0 tmin=674006401.0 tmax=674265601.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.62
user 4.37
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.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/153396/ft1_filteredMKT_4FGL_J1326.8-5256_daily_bin1677.fits evtable="EVENTS" outfile="/scratch/kocevski/153396/ft1_filtered_4FGL_J1326.8-5256_daily_bin1677.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.16

Number of photons that the gtmktime cut: 4106

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153396/ft1_filtered_4FGL_J1326.8-5256_daily_bin1677.fits" evtable="EVENTS" scfile=/scratch/kocevski/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.fits sctable="SC_DATA" outfile=/scratch/kocevski/153396/ltcube_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.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/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.fits
.....................!
real 12.81
user 12.43
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153396/ft1_filtered_4FGL_J1326.8-5256_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.fits sctable="SC_DATA" expcube=/scratch/kocevski/153396/ltcube_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.fits outfile=/scratch/kocevski/153396/expmap_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.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/153396/ltcube_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.fits
.....................!
real 191.48
user 185.50
sys 5.63

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source HESS J1303-631 in ROI with RadialGaussian spatial model.
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Extended source HESS J1356-645 in ROI with RadialDisk spatial model.
Extended source FGES J1409.1-6121 in ROI with RadialDisk spatial model.
Extended source HESS J1420-607 in ROI with RadialDisk spatial model.
Extended source FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model.
Added 343 point sources and 16 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1326.8-5256 @ 201.72 -52.9376

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/153396/ft1_filtered_4FGL_J1326.8-5256_daily_bin1677.fits scfile=/scratch/kocevski/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.fits outfile=/scratch/kocevski/153396/cmap_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.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.72 yref=-52.9376 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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153396/ft1_filtered_4FGL_J1326.8-5256_daily_bin1677.fits scfile=/scratch/kocevski/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.fits outfile=/scratch/kocevski/153396/cmap_HighResolution_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.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.72 yref=-52.9376 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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/153396/ft1_filtered_4FGL_J1326.8-5256_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/153396/Model_4FGL_J1326.8-5256_daily_bin1677.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 CenA Lobes
adding source EG_v02
adding source FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source FGES J1409.1-6121
adding source FGES J1553.8-5325
adding source FHES J1501.0-6310
adding source G296.5+10.0
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source HESS J1534-571
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
Working on...
/scratch/kocevski/153396/ft1_filtered_4FGL_J1326.8-5256_daily_bin1677.fits.....................!
real 2253.05
user 2244.45
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153396/ft1_filtered_4FGL_J1326.8-5256_daily_bin1677.fits', '/scratch/kocevski/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.fits', expMap='/scratch/kocevski/153396/expmap_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.fits', expCube='/scratch/kocevski/153396/ltcube_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153396/Model_4FGL_J1326.8-5256_daily_bin1677.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1326.8-5256'

4FGL J1326.8-5256
   Spectrum: LogParabola
554         norm:  3.231e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
555        alpha:  2.178e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
556         beta:  1.338e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
557           Eb:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/153396/ft1_filtered_4FGL_J1326.8-5256_daily_bin1677.fits
Spacecraft file(s): /scratch/kocevski/153396/ft2_4FGL_J1326.8-5256_daily_bin1677.fits
Exposure map: /scratch/kocevski/153396/expmap_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.fits
Exposure cube: /scratch/kocevski/153396/ltcube_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153396/Model_4FGL_J1326.8-5256_daily_bin1677.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) = 33803.2987114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10499E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1870       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.0180       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.836       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.728       1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3245       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9335       1.0000         .10000E-03   10000.    
    13 'norm      '    42.320       1.0000         .10000E-03   10000.    
    14 'norm      '    11.155       1.0000         .10000E-03   10000.    
    15 'norm      '    1.0680       1.0000         .10000E-03   10000.    
    16 'Prefactor '    287.15       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    2.5225       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .53024       1.0000          .0000       10.000    
    20 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1284E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   33803.25     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1932 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    19.435        .10243E-04** at limit **
   2  Prefactor     1.1894        1.5944        .49088E-06    .38684E-03
   3  Prefactor     .10001E-03    49.784       -.47580E-05** at limit **
   4  norm          7.0186        1.0205       -.19804E-06    .57696E-04
   5  Prefactor     .10000E-03    5.5964        .32081E-05** at limit **
   6  Prefactor     .10000E-03    1.7254        .43111E-06** at limit **
   7  Prefactor     .10000E-03    14.900       -.45398E-05** at limit **
   8  Prefactor     16.730        27.701       -.16575E-04   -.31741E-03
   9  Prefactor     12.721        1.1320        .26535E-06   -.51553E-03
  10  norm          .10000E-03    6.3210       -.67755E-07** at limit **
  11  Prefactor     1.3239        2.3661        .51727E-06    .20472E-03
  12  Prefactor     2.9309        5.9711       -.71298E-05    .12036E-02
  13  norm          42.319        1.5624       -.43064E-06    .18521E-02
  14  norm          11.154        2.5248        .14733E-05    .15909E-02
  15  norm          1.0683        .60668        .82498E-07   -.22874E-03
  16  Prefactor     287.14        2.3192       -.33346E-06    .72898E-02
  17  Prefactor     .10000E-03    .28886        .18633E-06** at limit **
  18  Normalizat    2.5232        .22966        .20908E-05    .41958E-04
  19  Prefactor     .53020        .22649E-01    .16239E-06   -.59061E-03
  20  Prefactor    10000.0        4.0935        .57769E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Prefactor  = 1.18944
  Prefactor  = 0.000100005
  norm       = 7.01863
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 16.7304
  Prefactor  = 12.7211
  norm       = 0.0001
  Prefactor  = 1.32394
  Prefactor  = 2.93092
  norm       = 42.3191
  norm       = 11.1541
  norm       = 1.06832
  Prefactor  = 287.143
  Prefactor  = 0.0001
  Normalizat = 2.52318
  Prefactor  = 0.530196
  Prefactor  = 10000
 **********
 **   18 **HESSE 
 **********

 FCN=   33803.25     FROM HESSE     STATUS=OK           335 CALLS     2267 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    19.410        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.1894        1.6337        .10466E-01   -1.5490    
   3  Prefactor     .10001E-03    50.370        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.0186        8.8255        .37858E-02   -1.5178    
   5  Prefactor     .10000E-03    5.4376        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.7218        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.986        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.730        27.606        .24403E-02   -1.4890    
   9  Prefactor     12.721        9.4666        .28069E-02   -1.4994    
  10  norm          .10000E-03    6.3053        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.3239        2.4234        .95507E-02   -1.5478    
  12  Prefactor     2.9309        7.0488        .59290E-02   -1.5366    
  13  norm          42.319        9.6858        .15406E-02   -1.4406    
  14  norm          11.154        5.5951        .29988E-02   -1.5040    
  15  norm          1.0683        .62665        .11775E-01   -1.5501    
  16  Prefactor     287.14        233.62        .59879E-03   -1.2302    
  17  Prefactor     .10000E-03    .28803        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    2.5232        .23171        .16225       -.51998    
  19  Prefactor     .53020        .21700E-01    .30436E-01   -1.1061    
  20  Prefactor    10000.0        4.1363        .90712E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06632e-06
Minuit parameter uncertainties:
  1  0.000818117
  2  1.63378
  3  0.00101602
  4  8.82711
  5  0.000106854
  6  7.8293e-06
  7  0.000349272
  8  27.6268
  9  9.46767
  10  1.14348e-05
  11  2.42361
  12  7.05083
  13  9.68612
  14  5.59534
  15  0.62665
  16  234.385
  17  1.37916e-06
  18  0.231819
  19  0.0217
  20  0.000161709
Done.

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

Extracting fit parameters...

4FGL J1326.8-5256
   Spectrum: LogParabola
554         norm:  1.115e+01  5.595e+00  1.000e-04  1.000e+04 ( 1.000e-12)
555        alpha:  2.178e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
556         beta:  1.338e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
557           Eb:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1252    Prefactor:  5.302e-01  2.170e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1253        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1254        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1229   Normalization:  2.523e+00  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.71
Ra Dec: 201.720 -52.938
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.00e-07 +/- 5.03e-08
Energy Flux (Fixed Index): 4.58e-05 +/- 2.30e-05

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) = 33803.2345254
delta logL = 0.013047878143

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 33803.2301042
delta logL = 0.0174690694403

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.618       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2615       1.0000          .0000       5.0000    
     3 'Normalizat'    2.5186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53036       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1284E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   33803.23     FROM MIGRAD    STATUS=FAILED        93 CALLS      253 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.618        6.3437        .12296E-03    .26629E-04
   2  alpha         2.2612        .46503        .18566E-01    .75571E-03
   3  Normalizat    2.5185        .22847        .72099E-03   -.85779E-05
   4  Prefactor     .53036        .21890E-01    .13445E-03   -.16911E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   33803.23     FROM SIMPLEX   STATUS=UNCHANGED     72 CALLS      325 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.618        6.3437        .69929E-04   -1.5056    
   2  alpha         2.2612        .46503        .73816E-03   -.95675E-01
   3  Normalizat    2.5185        .22847        .18642E-03   -.52105    
   4  Prefactor     .53036        .21890E-01    .35270E-04   -1.1060    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   33803.23     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      356 TOTAL
                     EDM=   .79E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.618        6.0741        .49183E-05    .25889E-04
   2  alpha         2.2612        .44546        .37132E-02   -.24494E-05
   3  Normalizat    2.5185        .22845        .28840E-04   -.88302E-05
   4  Prefactor     .53036        .21891E-01    .53780E-05   -.16911E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.618
  alpha      = 2.26118
  Normalizat = 2.51851
  Prefactor  = 0.530364
 **********
 **   18 **HESSE 
 **********

 FCN=   33803.23     FROM HESSE     STATUS=OK            23 CALLS      379 TOTAL
                     EDM=   .89E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.618        6.0376        .98366E-06   -1.5056    
   2  alpha         2.2612        .44189        .14853E-03   -.95675E-01
   3  Normalizat    2.5185        .22847        .57679E-05   -.52105    
   4  Prefactor     .53036        .21888E-01    .10756E-05   -1.1060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.89096e-13
Minuit parameter uncertainties:
  1  6.03794
  2  0.444248
  3  0.22858
  4  0.0218886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153396': 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) = 33803.2301038
delta logL = 0.0174694865127

Extracting fit parameters...

4FGL J1326.8-5256
   Spectrum: LogParabola
554         norm:  1.062e+01  6.038e+00  1.000e-04  1.000e+04 ( 1.000e-12)
555        alpha:  2.261e+00  4.442e-01  0.000e+00  5.000e+00 ( 1.000e+00)
556         beta:  1.338e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
557           Eb:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1252    Prefactor:  5.304e-01  2.189e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1253        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1254        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1229   Normalization:  2.519e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.76
Ra Dec: 201.720 -52.938
Photon Index (Free Index): 2.26 +/- 0.44
Photon Flux (Free Index): 1.07e-07 +/- 6.11e-08
Energy Flux (Free Index): 4.40e-05 +/- 2.33e-05

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/153396/cmap_HighResolution_674006401_674265601_4FGL_J1326.8-5256_daily_bin1677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.00e-07', energy_flux2='4.40e-05', photon_flux_error='5.03e-08', dlogl='1.75e-02', energy_flux='4.58e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2022-05-15 02:25:13.823940', photon_index_error2='0.44', photon_index2='2.26', ts='7.71', fit_tolerance='1e-08', GAL='0.53', photon_index_error='0.00', energy_flux_error2='2.33e-05', EG='2.52', time_epoch_completed='1652606713.82', return_code='0', job_id='153396', GAL2='0.53', EG2='2.52', return_code2='0', energy_flux_error='2.30e-05', photon_flux_error2='6.11e-08', ts2='7.76', photon_index='2.18' WHERE bin_id='1677' AND source_name='4FGL J1326.8-5256' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 15 02:25:13 PDT 2022



------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 153399: <4FGL_J1326.8-5256_daily_bin1677> in cluster <slac> Done

Job <4FGL_J1326.8-5256_daily_bin1677> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun May 15 00:06:49 2022
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun May 15 00:46:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun May 15 00:46:29 2022
Terminated at Sun May 15 02:24:16 2022
Results reported at Sun May 15 02:24:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.8-5256_daily_bin1677 201.72 -52.9376 674006401 674265601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1326.8-5256 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   5819.00 sec.
    Max Memory :                                 639 MB
    Average Memory :                             504.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   5867 sec.
    Turnaround time :                            8247 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0198>
Subject: Job 153396: <4FGL_J1326.8-5256_daily_bin1677> in cluster <slac> Done

Job <4FGL_J1326.8-5256_daily_bin1677> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun May 15 00:06:48 2022
Job was executed on host(s) <bullet0198>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun May 15 00:46:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun May 15 00:46:25 2022
Terminated at Sun May 15 02:25:14 2022
Results reported at Sun May 15 02:25:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.8-5256_daily_bin1677 201.72 -52.9376 674006401 674265601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1326.8-5256 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   5826.44 sec.
    Max Memory :                                 1266 MB
    Average Memory :                             518.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3412 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   5929 sec.
    Turnaround time :                            8306 sec.

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

