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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin1760
RA = 201.73, Dec = 22.1732
tmin = 695520001, tmax = 695779201
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='737611', job_status='RUN', time_executed='2023-01-19 01:00:41.286046', time_epoch_executed='1674118841.29' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/737611

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/737611/ft1_4FGL_J1326.9+2210_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/737611/ft1_4FGL_J1326.9+2210_daily_bin1760.fits outfile=/scratch/kocevski/737611/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin1760.fits ra=201.73 dec=22.1732 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.43
user 2.24
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.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/737611/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/737611/ft1_filtered_4FGL_J1326.9+2210_daily_bin1760.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.54
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 840

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/737611/ft1_filtered_4FGL_J1326.9+2210_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/737611/ltcube_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.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/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.fits
.....................!
real 16.67
user 16.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/737611/ft1_filtered_4FGL_J1326.9+2210_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/737611/ltcube_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.fits outfile=/scratch/kocevski/737611/expmap_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.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/737611/ltcube_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.fits
.....................!
real 192.70
user 187.73
sys 4.58

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

Setting source of interest to:
4FGL J1326.9+2210 @ 201.73 22.1732

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/737611/ft1_filtered_4FGL_J1326.9+2210_daily_bin1760.fits scfile=/scratch/kocevski/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.fits outfile=/scratch/kocevski/737611/cmap_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.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.73 yref=22.1732 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/737611/ft1_filtered_4FGL_J1326.9+2210_daily_bin1760.fits scfile=/scratch/kocevski/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.fits outfile=/scratch/kocevski/737611/cmap_HighResolution_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.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.73 yref=22.1732 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/737611/ft1_filtered_4FGL_J1326.9+2210_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/737611/Model_4FGL_J1326.9+2210_daily_bin1760.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/737611/ft1_filtered_4FGL_J1326.9+2210_daily_bin1760.fits....................!
real 72.06
user 70.61
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/737611/ft1_filtered_4FGL_J1326.9+2210_daily_bin1760.fits', '/scratch/kocevski/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.fits', expMap='/scratch/kocevski/737611/expmap_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.fits', expCube='/scratch/kocevski/737611/ltcube_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/737611/Model_4FGL_J1326.9+2210_daily_bin1760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1326.9+2210'

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  7.707e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
310        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  1.183e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/737611/ft1_filtered_4FGL_J1326.9+2210_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/737611/ft2_4FGL_J1326.9+2210_daily_bin1760.fits
Exposure map: /scratch/kocevski/737611/expmap_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.fits
Exposure cube: /scratch/kocevski/737611/ltcube_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/737611/Model_4FGL_J1326.9+2210_daily_bin1760.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) = 9268.43132615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26448E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .51925E-02   1.0000          .0000       .10000E+07
     3 'norm      '    5.1722       1.0000          .0000       .10000E+07
     4 'norm      '    57.212       1.0000          .0000       .10000E+07
     5 'norm      '    15.944       1.0000          .0000       .10000E+07
     6 'norm      '    .56867       1.0000          .0000       .10000E+07
     7 'Prefactor '    .26707E-03   1.0000          .0000       .10000E+07
     8 'norm      '    57.942       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30222E-05   1.0000          .0000       .10000E+07
    10 'norm      '    10.924       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18463E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    18.565       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.058       1.0000          .0000       .10000E+07
    14 'Prefactor '    .83147       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21474E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.2204       1.0000          .0000       .10000E+07
    17 'Normalizat'    .80815       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2807       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9268.363     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1068 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    6.6754        .77889E-07** at limit **
   2  Prefactor     .48813E-05    73.114       -.52586E-06** at limit **
   3  norm          5.1905        3.4631        .26880E-07    .25299E-02
   4  norm          57.338        10.184       -.22742E-07   -.11434E-01
   5  norm          15.997        14.697        .17879E-07    .96753E-02
   6  norm          .44893E-03    64.866        .97291E-07** at limit **
   7  Prefactor      .0000        6.1592        .39361E-07** at limit **
   8  norm          58.036        11.378       -.68548E-08   -.53543E-01
   9  Prefactor     .44409E-09    8.4587       -.15916E-07** at limit **
  10  norm          10.905        9.3173       -.62097E-07    .12699E-01
  11  Prefactor     .55511E-10    11.111       -.57123E-07** at limit **
  12  Prefactor     18.655        12.637       -.22334E-07   -.39443E-01
  13  Prefactor     20.996        44.377        .66385E-07    .37167E-01
  14  Prefactor     .83390        2.0895       -.61415E-07   -.17157E-02
  15  Prefactor     .42255E-06    34.580       -.83769E-07** at limit **
  16  Prefactor     4.3827        9.9343       -.10156E-06   -.11397E-02
  17  Normalizat    .80768        .20300        .14218E-05    .17842E-03
  18  Prefactor     1.2782        .19083        .11337E-06    .21892E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 4.88132e-06
  norm       = 5.19052
  norm       = 57.3378
  norm       = 15.9968
  norm       = 0.000448928
  Prefactor  = 0
  norm       = 58.0361
  Prefactor  = 4.44089e-10
  norm       = 10.9053
  Prefactor  = 5.55112e-11
  Prefactor  = 18.6551
  Prefactor  = 20.9957
  Prefactor  = 0.833898
  Prefactor  = 4.22551e-07
  Prefactor  = 4.38267
  Normalizat = 0.807677
  Prefactor  = 1.27821
 **********
 **   18 **HESSE 
 **********

 FCN=   9268.363     FROM HESSE     STATUS=OK           294 CALLS     1362 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    6.6556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .48813E-05    74.472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.1905        3.4902        .44180E-03   -1.5662    
   4  norm          57.338        12.020        .13222E-03   -1.5557    
   5  norm          15.997        18.975        .25057E-03   -1.5628    
   6  norm          .44893E-03    17.788        .11455E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        6.1721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          58.036        11.581        .13138E-03   -1.5556    
   9  Prefactor     .44409E-09    8.4656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.905        9.3613        .30287E-03   -1.5642    
  11  Prefactor     .55511E-10    10.953        .17140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.655        19.947        .23217E-03   -1.5622    
  13  Prefactor     20.996        46.568        .25785E-03   -1.5616    
  14  Prefactor     .83390        2.1105        .50618E-03   -1.5690    
  15  Prefactor     .42255E-06    34.393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.3827        9.9402        .49027E-03   -1.5666    
  17  Normalizat    .80768        .16694        .70162E-01   -.99785    
  18  Prefactor     1.2782        .15637        .55230E-01   -.83957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.35839e-07
Minuit parameter uncertainties:
  1  7.31577e-05
  2  0.0381331
  3  3.49023
  4  12.0203
  5  18.9752
  6  0.178723
  7  8.39961e-06
  8  11.5806
  9  0.000121209
  10  9.36132
  11  4.15992e-05
  12  19.9472
  13  46.569
  14  2.11046
  15  0.00762468
  16  9.94024
  17  0.167044
  18  0.156426
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.091e+01  9.361e+00  0.000e+00  1.000e+06 ( 1.000e-12)
310        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  1.183e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.278e+00  1.564e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  8.077e-01  1.670e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.30
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 4.43e-08 +/- 3.80e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.19e-05

TS (Fixed Index): 2.30
Ra Dec: 201.730 22.173
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/737611/likelihoodResults_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.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) = 9268.36200677
delta logL = 0.000971883020611

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9268.36194166
delta logL = 0.00103699282045

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.972       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3545       1.0000          .0000       5.0000    
     3 'Normalizat'    .80868       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9268.362     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      232 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.001        296.22        .30222E-03    .94767E-03
   2  alpha         2.3565        3.0696        .41240        .39406E-04
   3  Normalizat    .80852        .81096E-01    .70130E-01    .35351E-04
   4  Prefactor     1.2777        .79929E-01    .55240E-01   -.79391E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.0005
  alpha      = 2.35646
  Normalizat = 0.808522
  Prefactor  = 1.27767
 **********
 **   18 **HESSE 
 **********

 FCN=   9268.362     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.001        9.0346        .12089E-04   -1.5642    
   2  alpha         2.3565        .57433        .18013E-01   -.57448E-01
   3  Normalizat    .80852        .19582        .31033E-03   -.99753    
   4  Prefactor     1.2777        .18890        .24424E-03   -.83974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21535e-11
Minuit parameter uncertainties:
  1  9.03458
  2  0.579524
  3  0.195988
  4  0.188997
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/737611': 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) = 9268.36192761
delta logL = 0.00105104386967

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.100e+01  9.035e+00  0.000e+00  1.000e+06 ( 1.000e-12)
310        alpha:  2.356e+00  5.795e-01  0.000e+00  5.000e+00 ( 1.000e+00)
311         beta:  1.183e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.278e+00  1.890e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  8.085e-01  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.35
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.36 +/- 0.58
Photon Flux (Free Index): 4.35e-08 +/- 3.79e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.14e-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/737611/cmap_HighResolution_695520001_695779201_4FGL_J1326.9+2210_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.69e-05', comment='SUCCESS', photon_flux='4.43e-08', energy_flux2='1.40e-05', photon_flux_error='3.80e-08', dlogl='1.05e-03', energy_flux='1.39e-05', photon_flux2='4.35e-08', job_status='DONE', time_completed='2023-01-19 01:10:51.479644', photon_index_error2='0.58', photon_index2='2.36', ts='2.30', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.14e-05', EG='0.81', time_epoch_completed='1674119451.48', return_code='0', job_id='737611', GAL2='1.28', EG2='0.81', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='3.79e-08', ts2='2.35', photon_index='2.38' WHERE bin_id='1760' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:10:51 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 737611: <4FGL_J1326.9+2210_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin1760> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jan 19 00:55:20 2023
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:57:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:57:40 2023
Terminated at Thu Jan 19 01:10:52 2023
Results reported at Thu Jan 19 01:10:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin1760 201.73 22.1732 695520001 695779201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1326.9+2210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   613.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            932 sec.

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

