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


Performing analysis on: 4FGL_J1326.0+3507_daily_bin1762
RA = 201.501, Dec = 35.1218
tmin = 696038401, tmax = 696297601
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='110543', job_status='RUN', time_executed='2023-01-25 01:03:03.244702', time_epoch_executed='1674637383.24' WHERE source_name='4FGL J1326.0+3507' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110543

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110543/ft1_4FGL_J1326.0+3507_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110543/ft2_4FGL_J1326.0+3507_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110543/ft1_4FGL_J1326.0+3507_daily_bin1762.fits outfile=/scratch/kocevski/110543/ft1_filteredMKT_4FGL_J1326.0+3507_daily_bin1762.fits ra=201.501 dec=35.1218 rad=12.0 tmin=696038401.0 tmax=696297601.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.70
user 3.43
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/110543/ft2_4FGL_J1326.0+3507_daily_bin1762.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/110543/ft1_filteredMKT_4FGL_J1326.0+3507_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/110543/ft1_filtered_4FGL_J1326.0+3507_daily_bin1762.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 571

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110543/ft1_filtered_4FGL_J1326.0+3507_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/110543/ft2_4FGL_J1326.0+3507_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/110543/ltcube_696038401_696297601_4FGL_J1326.0+3507_daily_bin1762.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/110543/ft2_4FGL_J1326.0+3507_daily_bin1762.fits
.....................!
real 13.98
user 13.49
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110543/ft1_filtered_4FGL_J1326.0+3507_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110543/ft2_4FGL_J1326.0+3507_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/110543/ltcube_696038401_696297601_4FGL_J1326.0+3507_daily_bin1762.fits outfile=/scratch/kocevski/110543/expmap_696038401_696297601_4FGL_J1326.0+3507_daily_bin1762.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/110543/ltcube_696038401_696297601_4FGL_J1326.0+3507_daily_bin1762.fits
.....................!
real 194.42
user 187.97
sys 5.37

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/110543/ft1_filtered_4FGL_J1326.0+3507_daily_bin1762.fits scfile=/scratch/kocevski/110543/ft2_4FGL_J1326.0+3507_daily_bin1762.fits outfile=/scratch/kocevski/110543/cmap_696038401_696297601_4FGL_J1326.0+3507_daily_bin1762.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.58
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110543/ft1_filtered_4FGL_J1326.0+3507_daily_bin1762.fits scfile=/scratch/kocevski/110543/ft2_4FGL_J1326.0+3507_daily_bin1762.fits outfile=/scratch/kocevski/110543/cmap_HighResolution_696038401_696297601_4FGL_J1326.0+3507_daily_bin1762.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.57
user 0.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.437       1.0000          .0000       .10000E+07
     2 'Prefactor '    .41116E-03   1.0000          .0000       .10000E+07
     3 'norm      '    11.560       1.0000          .0000       .10000E+07
     4 'Prefactor '    29.156       1.0000          .0000       .10000E+07
     5 'norm      '    7.5813       1.0000          .0000       .10000E+07
     6 'Prefactor '    .81777E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .10024E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .50313E-03   1.0000          .0000       .10000E+07
     9 'norm      '    41.198       1.0000          .0000       .10000E+07
    10 'norm      '    20.220       1.0000          .0000       .10000E+07
    11 'norm      '    51.478       1.0000          .0000       .10000E+07
    12 'Prefactor '    .26992E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .50172E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    16.638       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.906       1.0000          .0000       .10000E+07
    16 'Prefactor '    .53716E-04   1.0000          .0000       .10000E+07
    17 'norm      '    2.8372       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.0744       1.0000          .0000       .10000E+07
    19 'norm      '    15.951       1.0000          .0000       .10000E+07
    20 'norm      '    3.1399       1.0000          .0000       .10000E+07
    21 'Prefactor '    .46385E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11219E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .57581E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1323       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93286       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=   6400.533     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     2158 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.438        14.724        .40554E-05    .62584E-01
   2  Prefactor     .16653E-09    4.5732       -.12163E-06** at limit **
   3  norm          11.034        10.037       -.49225E-08   -.41251E-02
   4  Prefactor     33.851        49.327       -.76391E-07    .26236E-01
   5  norm          7.6151        5.7287       -.20616E-06    .24097E-02
   6  Prefactor      .0000        11.806       -.97586E-07** at limit **
   7  norm          .55511E-10    2.1289       -.17063E-06** at limit **
   8  norm          .11102E-09    5.1863        .19300E-07** at limit **
   9  norm          40.798        8.7004       -.76987E-07    .21326E-01
  10  norm          20.459        8.3935        .35693E-06   -.36325E-01
  11  norm          52.096        3.1292       -.69101E-07    .18081E-01
  12  Prefactor     .44409E-09    7.5028       -.97674E-07** at limit **
  13  Prefactor     .13052E-04    40.705       -.29478E-05** at limit **
  14  Prefactor     19.835        64.824        .86541E-05   -.11385E-01
  15  Prefactor     17.950        20.487       -.18190E-05   -.34759E-01
  16  Prefactor     .33987E-05    34.009        .31083E-06** at limit **
  17  norm          2.8426        1.6722        .55239E-07    .67865E-03
  18  Prefactor     7.0564        5.5579       -.51108E-07    .16392E-02
  19  norm          16.015        1.3973        .87219E-07   -.26648E-02
  20  norm          3.1375        4.4630       -.93668E-08   -.51808E-02
  21  Prefactor     .22204E-08    10.277        .24521E-06** at limit **
  22  Prefactor     .18204E-04    22.791        .22027E-05** at limit **
  23  norm           .0000        5.5174       -.21489E-06** at limit **
  24  Normalizat    1.1298        .22169        .96814E-05   -.40404E-03
  25  Prefactor     .93374        .25490       -.85358E-05   -.21496E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.4376
  Prefactor  = 1.66533e-10
  norm       = 11.034
  Prefactor  = 33.8507
  norm       = 7.61507
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 1.11022e-10
  norm       = 40.7977
  norm       = 20.4586
  norm       = 52.0963
  Prefactor  = 4.44089e-10
  Prefactor  = 1.30516e-05
  Prefactor  = 19.8349
  Prefactor  = 17.9503
  Prefactor  = 3.39867e-06
  norm       = 2.84257
  Prefactor  = 7.05637
  norm       = 16.0151
  norm       = 3.13746
  Prefactor  = 2.22045e-09
  Prefactor  = 1.82042e-05
  norm       = 0
  Normalizat = 1.12977
  Prefactor  = 0.933741
 **********
 **   18 **HESSE 
 **********

 FCN=   6400.533     FROM HESSE     STATUS=OK           479 CALLS     2637 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.438        15.329        .23958E-03   -1.5624    
   2  Prefactor     .16653E-09    4.5400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.034        10.294        .29439E-03   -1.5642    
   4  Prefactor     33.851        50.581        .18523E-03   -1.5592    
   5  norm          7.6151        5.7822        .36398E-03   -1.5653    
   6  Prefactor      .0000        11.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    2.1288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11102E-09    5.1793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          40.798        12.531        .15581E-03   -1.5580    
  10  norm          20.459        17.388        .22246E-03   -1.5618    
  11  norm          52.096        31.243        .13939E-03   -1.5564    
  12  Prefactor     .44409E-09    7.3653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13052E-04    52.809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.835        65.970        .24527E-03   -1.5619    
  15  Prefactor     17.950        22.399        .23642E-03   -1.5623    
  16  Prefactor     .33987E-05    37.402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8426        1.6750        .60345E-03   -1.5674    
  18  Prefactor     7.0564        5.5668        .37692E-03   -1.5655    
  19  norm          16.015        14.862        .25051E-03   -1.5628    
  20  norm          3.1375        4.4751        .57184E-03   -1.5673    
  21  Prefactor     .22204E-08    10.262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .18204E-04    44.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        5.5123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1298        .18786        .57776E-01   -.88802    
  25  Prefactor     .93374        .21499        .74329E-01   -.94972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04668e-06
Minuit parameter uncertainties:
  1  15.3287
  2  5.10953e-05
  3  10.2935
  4  50.5819
  5  5.78219
  6  9.34792e-06
  7  1.82879e-05
  8  4.35058e-05
  9  12.5312
  10  17.3876
  11  31.2435
  12  0.000112313
  13  0.0525076
  14  65.9728
  15  22.3989
  16  0.0225494
  17  1.67495
  18  5.56678
  19  14.8621
  20  4.47513
  21  0.000303347
  22  0.0567729
  23  3.98103e-06
  24  0.187971
  25  0.215184
Done.

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

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  1.983e+01  6.597e+01  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:  9.337e-01  2.152e-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.130e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/110543/likelihoodResults_696038401_696297601_4FGL_J1326.0+3507_daily_bin1762.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) = 6400.30184634
delta logL = 0.230906693564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6400.25787652
delta logL = 0.274876516223

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.067       1.0000          .0000       .10000E+07
     2 'Index     '    3.0766       1.0000          .0000       10.000    
     3 'Normalizat'    1.0969       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95351       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6400.258     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      283 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.086        168.21        .12036E-04    .66117E-05
   2  Index         3.0764        3.0954        .68359E-02    .24266E-04
   3  Normalizat    1.0968        .22516        .25865E-03   -.11252E-03
   4  Prefactor     .95361        .26213        .32567E-03    .73972E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0861
  Index      = 3.07639
  Normalizat = 1.09681
  Prefactor  = 0.95361
 **********
 **   18 **HESSE 
 **********

 FCN=   6400.258     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.086        32.023        .48145E-06   -1.5641    
   2  Index         3.0764        1.2399        .27344E-03   -.39491    
   3  Normalizat    1.0968        .22015        .10346E-04   -.89854    
   4  Prefactor     .95361        .25569        .13027E-04   -.94292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9503e-10
Minuit parameter uncertainties:
  1  32.0233
  2  1.25536
  3  0.220333
  4  0.256012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110543': 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) = 6400.25787601
delta logL = 0.274877022783

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  1.109e+01  3.202e+01  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  3.076e+00  1.255e+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:  9.536e-01  2.560e-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.097e+00  2.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/110543/cmap_HighResolution_696038401_696297601_4FGL_J1326.0+3507_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.70e-03', job_status='DONE', photon_flux_upper_limit='8.82e-08', time_completed='2023-01-25 01:14:29.097587', job_id='110543', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.13', time_epoch_completed='1674638069.1', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.75e-01', ts2='0.67', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1762' AND source_name='4FGL J1326.0+3507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:14:29 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 110543: <4FGL_J1326.0+3507_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1326.0+3507_daily_bin1762> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Jan 25 01:00:25 2023
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:00:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:00:35 2023
Terminated at Wed Jan 25 01:14:29 2023
Results reported at Wed Jan 25 01:14:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.0+3507_daily_bin1762 201.501 35.1218 696038401 696297601 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 :                                   687.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            844 sec.

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

