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


Performing analysis on: 4FGL_J1301.6+3336_daily_bin1772
RA = 195.418, Dec = 33.6097
tmin = 698630401, tmax = 698889601
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='633261', job_status='RUN', time_executed='2023-02-24 01:42:50.509445', time_epoch_executed='1677231770.51' WHERE source_name='4FGL J1301.6+3336' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/633261

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/633261/ft1_4FGL_J1301.6+3336_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/633261/ft1_4FGL_J1301.6+3336_daily_bin1772.fits outfile=/scratch/kocevski/633261/ft1_filteredMKT_4FGL_J1301.6+3336_daily_bin1772.fits ra=195.418 dec=33.6097 rad=12.0 tmin=698630401.0 tmax=698889601.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.01
user 2.80
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.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/633261/ft1_filteredMKT_4FGL_J1301.6+3336_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/633261/ft1_filtered_4FGL_J1301.6+3336_daily_bin1772.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.32
sys 0.16

Number of photons that the gtmktime cut: 274

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/633261/ft1_filtered_4FGL_J1301.6+3336_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/633261/ltcube_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.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/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.fits
.....................!
real 12.68
user 12.24
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/633261/ft1_filtered_4FGL_J1301.6+3336_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/633261/ltcube_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.fits outfile=/scratch/kocevski/633261/expmap_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.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/633261/ltcube_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.fits
.....................!
real 191.18
user 185.33
sys 5.41

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

Setting source of interest to:
4FGL J1301.6+3336 @ 195.418 33.6097

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/633261/ft1_filtered_4FGL_J1301.6+3336_daily_bin1772.fits scfile=/scratch/kocevski/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.fits outfile=/scratch/kocevski/633261/cmap_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.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=195.418 yref=33.6097 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/633261/ft1_filtered_4FGL_J1301.6+3336_daily_bin1772.fits scfile=/scratch/kocevski/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.fits outfile=/scratch/kocevski/633261/cmap_HighResolution_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.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=195.418 yref=33.6097 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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/633261/ft1_filtered_4FGL_J1301.6+3336_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/633261/Model_4FGL_J1301.6+3336_daily_bin1772.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/633261/ft1_filtered_4FGL_J1301.6+3336_daily_bin1772.fits......................!
real 32.17
user 30.88
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/633261/ft1_filtered_4FGL_J1301.6+3336_daily_bin1772.fits', '/scratch/kocevski/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.fits', expMap='/scratch/kocevski/633261/expmap_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.fits', expCube='/scratch/kocevski/633261/ltcube_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/633261/Model_4FGL_J1301.6+3336_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1301.6+3336'

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  4.837e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.593e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/633261/ft1_filtered_4FGL_J1301.6+3336_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/633261/ft2_4FGL_J1301.6+3336_daily_bin1772.fits
Exposure map: /scratch/kocevski/633261/expmap_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.fits
Exposure cube: /scratch/kocevski/633261/ltcube_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/633261/Model_4FGL_J1301.6+3336_daily_bin1772.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) = 3105.18442706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5167       1.0000          .0000       .10000E+07
     2 'Prefactor '    .71459E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .44473E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    22.118       1.0000          .0000       .10000E+07
     5 'norm      '    45.810       1.0000          .0000       .10000E+07
     6 'Prefactor '    26.753       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.819       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81809E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .15001E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .37177E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .26114E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.505       1.0000          .0000       .10000E+07
    14 'norm      '    .49428E-03   1.0000          .0000       .10000E+07
    15 'norm      '    4.6771       1.0000          .0000       .10000E+07
    16 'norm      '    45.370       1.0000          .0000       .10000E+07
    17 'norm      '    .30735E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .74150E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1258       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11357E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .56928       1.0000          .0000       .10000E+07
    22 'Prefactor '    8.6328       1.0000          .0000       .10000E+07
    23 'Prefactor '    .65171E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .53226E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    .38217       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.4487       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3105.126     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2267 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5927        9.3342        .17175E-06    .53428E-01
   2  Prefactor     .37970E-07    11.533        .32153E-07** at limit **
   3  Prefactor     .59397E-08    6.6861        .44828E-06** at limit **
   4  Prefactor     22.054        11.141       -.35274E-07   -.75061E-01
   5  norm          45.818        3.1803       -.59139E-08   -.42454E-01
   6  Prefactor     27.312        27.374        .26613E-06   -.14157    
   7  Prefactor     21.769        40.231        .43720E-07    .73691E-01
   8  Prefactor     .61950E-07    13.802       -.31805E-06** at limit **
   9  Prefactor     .36082E-08    4.6511        .88643E-07** at limit **
  10  norm           .0000        2.7168       -.97034E-07** at limit **
  11  Prefactor     .16653E-09    41.722        .45679E-06** at limit **
  12  norm           .0000        2.3658       -.14061E-06** at limit **
  13  Prefactor     18.254        3.7330        .50282E-08    .71629E-02
  14  norm          .13323E-07    5.2759        .20973E-08** at limit **
  15  norm          4.6274        9.8026       -.12764E-06   -.64261E-01
  16  norm          45.413        10.428       -.32429E-07   -.88437E-01
  17  norm          .67057E-07    8.2468       -.33906E-07** at limit **
  18  norm          .44409E-09    52.300        .36536E-06** at limit **
  19  Prefactor     2.1514        6.1641        .96209E-06    .44750E-02
  20  Prefactor     .99920E-09    15.351       -.13171E-06** at limit **
  21  Prefactor     .56336E-04    728.05       -.35530E-05** at limit **
  22  Prefactor     8.3595        6.5914       -.70969E-07   -.34534E-01
  23  Prefactor     .20789E-06    8.5939       -.37872E-06** at limit **
  24  Prefactor     .58786E-06    21.190        .68177E-06** at limit **
  25  Normalizat    .38325        .28012       -.23230E-04   -.45294E-04
  26  Prefactor     1.4472        .34771        .85066E-05   -.29766E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.59273
  Prefactor  = 3.79696e-08
  Prefactor  = 5.93969e-09
  Prefactor  = 22.0542
  norm       = 45.8178
  Prefactor  = 27.3123
  Prefactor  = 21.7686
  Prefactor  = 6.19504e-08
  Prefactor  = 3.60822e-09
  norm       = 0
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 18.2536
  norm       = 1.33227e-08
  norm       = 4.62743
  norm       = 45.4125
  norm       = 6.70575e-08
  norm       = 4.44089e-10
  Prefactor  = 2.15141
  Prefactor  = 9.99201e-10
  Prefactor  = 5.63364e-05
  Prefactor  = 8.35947
  Prefactor  = 2.07889e-07
  Prefactor  = 5.87863e-07
  Normalizat = 0.383251
  Prefactor  = 1.44716
 **********
 **   18 **HESSE 
 **********

 FCN=   3105.126     FROM HESSE     STATUS=OK           510 CALLS     2777 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5927        13.871        .34326E-03   -1.5649    
   2  Prefactor     .37970E-07    11.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .59397E-08    6.6836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.054        15.382        .21269E-03   -1.5614    
   5  norm          45.818        23.209        .14776E-03   -1.5573    
   6  Prefactor     27.312        35.184        .19337E-03   -1.5603    
   7  Prefactor     21.769        46.725        .21923E-03   -1.5615    
   8  Prefactor     .61950E-07    28.710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .36082E-08    4.6544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.7240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    41.319        .16237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.3650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.254        22.944        .23255E-03   -1.5623    
  14  norm          .13323E-07    5.2832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.6274        17.179        .46509E-03   -1.5665    
  16  norm          45.413        10.650        .14847E-03   -1.5573    
  17  norm          .67057E-07    8.2912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .44409E-09    51.152        .14684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.1514        6.3932        .70697E-03   -1.5679    
  20  Prefactor     .99920E-09    27.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .56336E-04    740.38        .72026E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.3595        19.171        .34092E-03   -1.5650    
  23  Prefactor     .20789E-06    8.7401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .58786E-06    4.1653        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .38325        .26442        .82034E-01   -1.1818    
  26  Prefactor     1.4472        .31057        .56202E-01   -.79031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88321e-06
Minuit parameter uncertainties:
  1  13.8713
  2  0.0013262
  3  0.000397637
  4  15.3825
  5  23.2091
  6  35.1844
  7  46.7262
  8  0.00266672
  9  0.000259425
  10  6.32204e-06
  11  0.000169912
  12  1.53219e-05
  13  22.9444
  14  0.000530617
  15  17.179
  16  10.6504
  17  0.0014912
  18  0.000301293
  19  6.39319
  20  0.00033094
  21  0.408513
  22  19.1708
  23  0.00269607
  24  0.00312957
  25  0.265282
  26  0.310975
Done.

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

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  1.665e-10  1.699e-04  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.593e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.447e+00  3.110e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  3.833e-01  2.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 195.418 33.610
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/633261/likelihoodResults_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.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) = 3105.13760663
delta logL = -0.0116296808592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3105.12597704
delta logL = -8.93051037565e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3105.126     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      249 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    24.553        .42118E-03** at limit **
   2  Index         2.4381        5.4678        .51000        .22292E-11
   3  Normalizat    .38325        .41574E-02    .82034E-01    .15624E-03
   4  Prefactor     1.4472        .52782E-02    .56202E-01    .16295E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.43807
  Normalizat = 0.383253
  Prefactor  = 1.44716
 **********
 **   18 **HESSE 
 **********

 FCN=   3105.126     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      276 TOTAL
                     EDM=   .88E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    11.977        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4381        5.3878        .51000       -.53796    
   3  Normalizat    .38325        .28929E-02    .36342E-03   -1.1818    
   4  Prefactor     1.4472        .36823E-02    .24847E-03   -.79031    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.83746e-13
Minuit parameter uncertainties:
  1  5.72222e-05
  2  526927
  3  0.00289294
  4  0.0036823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/633261': 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) = 3105.12597695
delta logL = -2.86490831058e-11

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  5.551e-11  5.722e-05  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.438e+00  5.269e+05  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  8.366e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.447e+00  3.682e-03  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  3.833e-01  2.893e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 195.418 33.610

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/633261/cmap_HighResolution_698630401_698889601_4FGL_J1301.6+3336_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2023-02-24 01:50:54.317079', job_id='633261', GAL2='1.45', fit_tolerance='1e-08', EG2='0.38', EG='0.38', time_epoch_completed='1677232254.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.45', dlogl='-2.86e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1772' AND source_name='4FGL J1301.6+3336' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:50:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 633261: <4FGL_J1301.6+3336_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1301.6+3336_daily_bin1772> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Feb 24 01:40:13 2023
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:40:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:40:14 2023
Terminated at Fri Feb 24 01:50:55 2023
Results reported at Fri Feb 24 01:50:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1301.6+3336_daily_bin1772 195.418 33.6097 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1301.6+3336 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   485.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            642 sec.

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

