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


Performing analysis on: 4FGL_J1326.0+3507_daily_bin1750
RA = 201.501, Dec = 35.1218
tmin = 692928001, tmax = 693187201
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='13405', job_status='RUN', time_executed='2022-12-20 00:56:01.270767', time_epoch_executed='1671526561.27' WHERE source_name='4FGL J1326.0+3507' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13405

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13405/ft1_4FGL_J1326.0+3507_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13405/ft2_4FGL_J1326.0+3507_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13405/ft1_4FGL_J1326.0+3507_daily_bin1750.fits outfile=/scratch/kocevski/13405/ft1_filteredMKT_4FGL_J1326.0+3507_daily_bin1750.fits ra=201.501 dec=35.1218 rad=12.0 tmin=692928001.0 tmax=693187201.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.44
user 3.22
sys 0.20

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

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

Number of photons that the gtmktime cut: 554

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13405/ft1_filtered_4FGL_J1326.0+3507_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/13405/ft2_4FGL_J1326.0+3507_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/13405/ltcube_692928001_693187201_4FGL_J1326.0+3507_daily_bin1750.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/13405/ft2_4FGL_J1326.0+3507_daily_bin1750.fits
.....................!
real 11.71
user 11.25
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13405/ft1_filtered_4FGL_J1326.0+3507_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/13405/ft2_4FGL_J1326.0+3507_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/13405/ltcube_692928001_693187201_4FGL_J1326.0+3507_daily_bin1750.fits outfile=/scratch/kocevski/13405/expmap_692928001_693187201_4FGL_J1326.0+3507_daily_bin1750.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/13405/ltcube_692928001_693187201_4FGL_J1326.0+3507_daily_bin1750.fits
.....................!
real 192.21
user 185.63
sys 5.04

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/13405/ft1_filtered_4FGL_J1326.0+3507_daily_bin1750.fits scfile=/scratch/kocevski/13405/ft2_4FGL_J1326.0+3507_daily_bin1750.fits outfile=/scratch/kocevski/13405/cmap_692928001_693187201_4FGL_J1326.0+3507_daily_bin1750.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13405/ft1_filtered_4FGL_J1326.0+3507_daily_bin1750.fits scfile=/scratch/kocevski/13405/ft2_4FGL_J1326.0+3507_daily_bin1750.fits outfile=/scratch/kocevski/13405/cmap_HighResolution_692928001_693187201_4FGL_J1326.0+3507_daily_bin1750.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61175E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .20426E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.0315       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11801E-04   1.0000          .0000       .10000E+07
     5 'norm      '    7.3022       1.0000          .0000       .10000E+07
     6 'Prefactor '    .90291E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .18717E-04   1.0000          .0000       .10000E+07
     8 'norm      '    32.415       1.0000          .0000       .10000E+07
     9 'norm      '    23.881       1.0000          .0000       .10000E+07
    10 'norm      '    9.9227       1.0000          .0000       .10000E+07
    11 'norm      '    31.491       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18097E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .88609E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .25658E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .23684E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9206       1.0000          .0000       .10000E+07
    17 'norm      '    .94961E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    3.2820       1.0000          .0000       .10000E+07
    19 'norm      '    .18880E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .53862E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .13223E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .31297E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .74590E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.3197       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .54847       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=   5975.874     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1669 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35694E-07    1.9149        .10985E-07** at limit **
   2  Prefactor     .55511E-10    1.3766       -.14715E-06** at limit **
   3  norm          1.0393        3.5860       -.19426E-06   -.13061E-02
   4  Prefactor     .10547E-08    38.424       -.28440E-06** at limit **
   5  norm          7.3601        4.4735        .23701E-07    .58723E-03
   6  Prefactor     .39968E-07    8.9958        .13371E-06** at limit **
   7  norm          .77161E-08    2.9175        .96404E-07** at limit **
   8  norm          32.398        1.1454        .33277E-08    .42516E-02
   9  norm          23.882        4.6703       -.58198E-07   -.31719E-02
  10  norm          9.9037        2.6271       -.46182E-07   -.28773E-02
  11  norm          31.673        1.1848       -.40239E-08   -.46741E-02
  12  Prefactor     .55511E-10    2.0533       -.14118E-08** at limit **
  13  Prefactor     .43854E-08    16.080        .33924E-06** at limit **
  14  Prefactor      .0000        17.119       -.57052E-07** at limit **
  15  Prefactor     .56677E-07    6.8260        .24463E-06** at limit **
  16  Prefactor     2.9443        1.0594       -.88045E-09    .20358E-02
  17  norm           .0000        1.7978        .79437E-07** at limit **
  18  Prefactor     3.2939        3.7508       -.14691E-07   -.22814E-03
  19  norm          .14955E-06    2.2138        .47382E-07** at limit **
  20  norm           .0000        1.8295       -.83762E-07** at limit **
  21  Prefactor     .39857E-07    2.8557       -.40168E-07** at limit **
  22  Prefactor     .19107E-06    3.5545       -.17357E-06** at limit **
  23  norm          .16509E-06    1.9533       -.10590E-06** at limit **
  24  Normalizat    1.3196        .19042        .24979E-05   -.53334E-04
  25  Prefactor     .54841        .22949       -.55652E-05   -.57738E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.56937e-08
  Prefactor  = 5.55112e-11
  norm       = 1.03931
  Prefactor  = 1.05471e-09
  norm       = 7.36008
  Prefactor  = 3.9968e-08
  norm       = 7.71605e-09
  norm       = 32.3981
  norm       = 23.8821
  norm       = 9.90367
  norm       = 31.6732
  Prefactor  = 5.55112e-11
  Prefactor  = 4.38538e-09
  Prefactor  = 0
  Prefactor  = 5.66769e-08
  Prefactor  = 2.94428
  norm       = 0
  Prefactor  = 3.29385
  norm       = 1.49547e-07
  norm       = 0
  Prefactor  = 3.9857e-08
  Prefactor  = 1.91069e-07
  norm       = 1.6509e-07
  Normalizat = 1.31963
  Prefactor  = 0.548408
 **********
 **   18 **HESSE 
 **********

 FCN=   5975.874     FROM HESSE     STATUS=OK           471 CALLS     2140 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35694E-07    4.0603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    1.3793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0393        3.6318        .12479E-02   -1.5688    
   4  Prefactor     .10547E-08    38.443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.3601        4.4843        .37094E-03   -1.5654    
   6  Prefactor     .39968E-07    9.2507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .77161E-08    2.9654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.398        17.978        .17567E-03   -1.5594    
   9  norm          23.882        7.4459        .20468E-03   -1.5610    
  10  norm          9.9037        11.561        .31786E-03   -1.5645    
  11  norm          31.673        18.837        .17822E-03   -1.5595    
  12  Prefactor     .55511E-10    2.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .43854E-08    16.076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        17.089        .16689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .56677E-07    7.2080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9443        11.373        .59419E-03   -1.5674    
  17  norm           .0000        1.7308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.2939        3.7637        .55867E-03   -1.5672    
  19  norm          .14955E-06    3.7110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        1.8263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .39857E-07    3.1481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .19107E-06    5.0338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .16509E-06    4.4825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3196        .17038        .32461E-01   -.82982    
  25  Prefactor     .54841        .20659        .80365E-01   -1.0980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53971e-07
Minuit parameter uncertainties:
  1  0.00076138
  2  1.31951e-05
  3  3.63182
  4  0.00040285
  5  4.48428
  6  0.00121618
  7  0.000302056
  8  17.9779
  9  7.44589
  10  11.5609
  11  18.8372
  12  1.52367e-05
  13  0.000532335
  14  1.1596e-05
  15  0.00127824
  16  11.3732
  17  2.78343e-06
  18  3.7637
  19  0.00149004
  20  8.76222e-06
  21  0.000708294
  22  0.00196152
  23  0.00172052
  24  0.170451
  25  0.206879
Done.

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

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  0.000e+00  1.160e-05  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:  5.484e-01  2.069e-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.320e+00  1.705e-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: 3.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/13405/likelihoodResults_692928001_693187201_4FGL_J1326.0+3507_daily_bin1750.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5975.9014274
delta logL = -0.0279163685645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5975.8735111
delta logL = -6.91552486387e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60757E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .90253       1.0000          .0000       10.000    
     3 'Normalizat'    1.3197       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54836       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=   5975.874     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      192 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23537E-07    20.467       -.86692E-05** at limit **
   2  Index         1.9175        5.7029        .37296E-03    .13105E-08
   3  Normalizat    1.3196        .18799       -.40960E-05    .10067E-02
   4  Prefactor     .54841        .23007        .14472E-04    .73622E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.35367e-08
  Index      = 1.91746
  Normalizat = 1.31962
  Prefactor  = 0.548414
 **********
 **   18 **HESSE 
 **********

 FCN=   5975.874     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      227 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23537E-07    1.8916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9175        8.2315        .45037       -.66430    
   3  Normalizat    1.3196        .11944E-02    .32462E-01   -.82982    
   4  Prefactor     .54841        .14597E-02    .80364E-01   -1.0980    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.34915e-10
Minuit parameter uncertainties:
  1  0.000422173
  2  3803.69
  3  0.0011944
  4  0.00145974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13405': 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) = 5975.87351104
delta logL = -1.21417542687e-09

Extracting fit parameters...

4FGL J1326.0+3507
   Spectrum: PowerLaw
319    Prefactor:  2.354e-08  4.222e-04  0.000e+00  1.000e+06 ( 1.000e-14)
320        Index:  1.917e+00  3.804e+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:  5.484e-01  1.460e-03  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.320e+00  1.194e-03  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/13405/cmap_HighResolution_692928001_693187201_4FGL_J1326.0+3507_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.89e-03', job_status='DONE', photon_flux_upper_limit='3.80e-08', time_completed='2022-12-20 01:05:46.325633', job_id='13405', GAL2='0.55', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1671527146.33', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='-1.21e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1750' AND source_name='4FGL J1326.0+3507' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:05:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 13405: <4FGL_J1326.0+3507_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1326.0+3507_daily_bin1750> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 20 00:55:15 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:55:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:55:15 2022
Terminated at Tue Dec 20 01:05:47 2022
Results reported at Tue Dec 20 01:05:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.0+3507_daily_bin1750 201.501 35.1218 692928001 693187201 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 :                                   586.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             371.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            632 sec.

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

