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


Performing analysis on: 4FGL_J1326.0+3507_daily_bin1746
RA = 201.501, Dec = 35.1218
tmin = 691891201, tmax = 692150401
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='727282', job_status='RUN', time_executed='2022-12-08 00:55:51.747548', time_epoch_executed='1670489751.75' WHERE source_name='4FGL J1326.0+3507' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/727282

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/727282/ft1_4FGL_J1326.0+3507_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/727282/ft2_4FGL_J1326.0+3507_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/727282/ft1_4FGL_J1326.0+3507_daily_bin1746.fits outfile=/scratch/kocevski/727282/ft1_filteredMKT_4FGL_J1326.0+3507_daily_bin1746.fits ra=201.501 dec=35.1218 rad=12.0 tmin=691891201.0 tmax=692150401.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.70
user 4.48
sys 0.20

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

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

Number of photons that the gtmktime cut: 686

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/727282/ft1_filtered_4FGL_J1326.0+3507_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/727282/ft2_4FGL_J1326.0+3507_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/727282/ltcube_691891201_692150401_4FGL_J1326.0+3507_daily_bin1746.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/727282/ft2_4FGL_J1326.0+3507_daily_bin1746.fits
.....................!
real 11.93
user 11.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/727282/ft1_filtered_4FGL_J1326.0+3507_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/727282/ft2_4FGL_J1326.0+3507_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/727282/ltcube_691891201_692150401_4FGL_J1326.0+3507_daily_bin1746.fits outfile=/scratch/kocevski/727282/expmap_691891201_692150401_4FGL_J1326.0+3507_daily_bin1746.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/727282/ltcube_691891201_692150401_4FGL_J1326.0+3507_daily_bin1746.fits
.....................!
real 191.59
user 187.14
sys 4.11

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/727282/ft1_filtered_4FGL_J1326.0+3507_daily_bin1746.fits scfile=/scratch/kocevski/727282/ft2_4FGL_J1326.0+3507_daily_bin1746.fits outfile=/scratch/kocevski/727282/cmap_691891201_692150401_4FGL_J1326.0+3507_daily_bin1746.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/727282/ft1_filtered_4FGL_J1326.0+3507_daily_bin1746.fits scfile=/scratch/kocevski/727282/ft2_4FGL_J1326.0+3507_daily_bin1746.fits outfile=/scratch/kocevski/727282/cmap_HighResolution_691891201_692150401_4FGL_J1326.0+3507_daily_bin1746.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.55
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22220E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.8840       1.0000          .0000       .10000E+07
     3 'norm      '    3.3366       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47679E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .26268E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .36968E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .98421E-07   1.0000          .0000       .10000E+07
     8 'norm      '    12.195       1.0000          .0000       .10000E+07
     9 'norm      '    27.656       1.0000          .0000       .10000E+07
    10 'norm      '    15.577       1.0000          .0000       .10000E+07
    11 'norm      '    31.872       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59988E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.978       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13315E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .35900E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12130E-02   1.0000          .0000       .10000E+07
    17 'norm      '    1.3948       1.0000          .0000       .10000E+07
    18 'Prefactor '    .55902E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .50372E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .56951E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .40910E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    11.202       1.0000          .0000       .10000E+07
    23 'norm      '    .16325E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.4308       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .79238       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=   7426.769     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     2055 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13878E-08    2.2118        .14891E-06** at limit **
   2  Prefactor     2.8856        4.1280       -.10145E-07   -.37360E-02
   3  norm          3.3354        2.9529        .88689E-08   -.25521E-02
   4  Prefactor     .72164E-09    4.5880       -.14807E-05** at limit **
   5  norm          .38858E-09    4.5845       -.64255E-06** at limit **
   6  Prefactor     .79381E-08    3.7384        .15850E-05** at limit **
   7  norm          .15543E-08    1.2564       -.96396E-07** at limit **
   8  norm          12.172        1.1905       -.40178E-07    .17890E-03
   9  norm          27.661        5.0011        .19447E-07    .12426E-02
  10  norm          15.576        2.6827       -.53277E-07    .86059E-03
  11  norm          31.688        1.1332        .41008E-07   -.43969E-02
  12  Prefactor      .0000        1.5870       -.40714E-08** at limit **
  13  Prefactor     10.975        1.5079        .41823E-07   -.11390E-02
  14  Prefactor     .99920E-08    18.612       -.11802E-05** at limit **
  15  Prefactor     .28755E-07    9.6863       -.14404E-05** at limit **
  16  Prefactor     .32724E-06    9.3481        .14975E-05** at limit **
  17  norm          1.3944        .99919        .17481E-07    .12243E-01
  18  Prefactor     .15543E-08    1.6136       -.11044E-06** at limit **
  19  norm          .55511E-09    3.5298       -.92169E-08** at limit **
  20  norm          .33307E-09    .85569        .18987E-06** at limit **
  21  Prefactor     .20267E-06    8.0602       -.97486E-07** at limit **
  22  Prefactor     11.346        6.0005        .40086E-06   -.48835E-02
  23  norm          .43854E-08    7.4502        .13003E-05** at limit **
  24  Normalizat    1.4308        .20138        .10075E-05    .41469E-03
  25  Prefactor     .79276        .24388       -.23624E-05    .35262E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38778e-09
  Prefactor  = 2.88559
  norm       = 3.33537
  Prefactor  = 7.21645e-10
  norm       = 3.88578e-10
  Prefactor  = 7.93809e-09
  norm       = 1.55431e-09
  norm       = 12.1723
  norm       = 27.6612
  norm       = 15.5765
  norm       = 31.6883
  Prefactor  = 0
  Prefactor  = 10.9752
  Prefactor  = 9.99201e-09
  Prefactor  = 2.87548e-08
  Prefactor  = 3.27238e-07
  norm       = 1.39441
  Prefactor  = 1.55431e-09
  norm       = 5.55112e-10
  norm       = 3.33067e-10
  Prefactor  = 2.02671e-07
  Prefactor  = 11.3459
  norm       = 4.38538e-09
  Normalizat = 1.43076
  Prefactor  = 0.792762
 **********
 **   18 **HESSE 
 **********

 FCN=   7426.769     FROM HESSE     STATUS=OK           481 CALLS     2536 TOTAL
                     EDM=   .79E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13878E-08    5.2264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.8856        4.1406        .59819E-03   -1.5674    
   3  norm          3.3354        2.9580        .55386E-03   -1.5671    
   4  Prefactor     .72164E-09    5.6095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .38858E-09    4.5982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .79381E-08    4.8803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15543E-08    1.2599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.172        15.222        .28661E-03   -1.5638    
   9  norm          27.661        8.9475        .19019E-03   -1.5603    
  10  norm          15.576        14.682        .25350E-03   -1.5629    
  11  norm          31.688        21.656        .17716E-03   -1.5595    
  12  Prefactor      .0000        1.5838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.975        17.101        .30213E-03   -1.5642    
  14  Prefactor     .99920E-08    20.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28755E-07    10.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .32724E-06    16.871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3944        1.0092        .91916E-03   -1.5684    
  18  Prefactor     .15543E-08    1.6127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .55511E-09    3.5270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .33307E-09    2.2240        .10826E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .20267E-06    14.168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.346        21.551        .29908E-03   -1.5641    
  23  norm          .43854E-08    7.6115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.4308        .17136        .50342E-01   -.79743    
  25  Prefactor     .79276        .20587        .79341E-01   -.99996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8976e-08
Minuit parameter uncertainties:
  1  0.000169285
  2  4.14064
  3  2.958
  4  0.000126078
  5  8.33452e-05
  6  0.000393649
  7  8.81811e-05
  8  15.2225
  9  8.94748
  10  14.6823
  11  21.6564
  12  5.6533e-07
  13  17.1009
  14  0.000907211
  15  0.00109437
  16  0.00469937
  17  1.00917
  18  0.00010028
  19  8.65086e-05
  20  5.64035e-05
  21  0.0033892
  22  21.5514
  23  0.000366255
  24  0.171428
  25  0.20607
Done.

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

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  9.992e-09  9.072e-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:  7.928e-01  2.061e-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.431e+00  1.714e-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: 4.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/727282/likelihoodResults_691891201_692150401_4FGL_J1326.0+3507_daily_bin1746.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) = 7426.79251718
delta logL = -0.0231539526294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7426.76936329
delta logL = -6.4396772359e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7426.769     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      249 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .71096E-02    .42118E-03** at limit **
   2  Index         2.8550        5.1012        .50000        .22737E-10
   3  Normalizat    1.4308        .12908E-03    .50342E-01   -.84929E-04
   4  Prefactor     .79277        .15774E-03    .79340E-01    .27512E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.855
  Normalizat = 1.43075
  Prefactor  = 0.792767
 **********
 **   18 **HESSE 
 **********

 FCN=   7426.769     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      280 TOTAL
                     EDM=   .79E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .46520E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8550        8.5718        .50000       -.44339    
   3  Normalizat    1.4308        .32992E-03    .22256E-03   -.79743    
   4  Prefactor     .79277        .40239E-03    .35124E-03   -.99995    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.91683e-14
Minuit parameter uncertainties:
  1  3.73106e-06
  2  4815.08
  3  0.000329922
  4  0.000402389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/727282': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7426.76936323
delta logL = 4.53837856185e-10

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  5.551e-11  3.731e-06  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  2.855e+00  4.815e+03  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:  7.928e-01  4.024e-04  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.431e+00  3.299e-04  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-03', job_status='DONE', photon_flux_upper_limit='4.43e-08', time_completed='2022-12-08 01:07:37.747685', job_id='727282', GAL2='0.79', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1670490457.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='4.54e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1746' AND source_name='4FGL J1326.0+3507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:07:37 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 727282: <4FGL_J1326.0+3507_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1326.0+3507_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:55:16 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:55:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:55:16 2022
Terminated at Thu Dec  8 01:07:38 2022
Results reported at Thu Dec  8 01:07:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.0+3507_daily_bin1746 201.501 35.1218 691891201 692150401 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 :                                   708.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            742 sec.

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

