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


Performing analysis on: 4FGL_J1301.6+3336_daily_bin1759
RA = 195.418, Dec = 33.6097
tmin = 695260801, tmax = 695520001
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='558287', job_status='RUN', time_executed='2023-01-16 01:13:21.042159', time_epoch_executed='1673860401.04' WHERE source_name='4FGL J1301.6+3336' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/558287

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/558287/ft1_4FGL_J1301.6+3336_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/558287/ft2_4FGL_J1301.6+3336_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/558287/ft1_4FGL_J1301.6+3336_daily_bin1759.fits outfile=/scratch/kocevski/558287/ft1_filteredMKT_4FGL_J1301.6+3336_daily_bin1759.fits ra=195.418 dec=33.6097 rad=12.0 tmin=695260801.0 tmax=695520001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.82
user 2.60
sys 0.19

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

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

Number of photons that the gtmktime cut: 718

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/558287/ft1_filtered_4FGL_J1301.6+3336_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/558287/ft2_4FGL_J1301.6+3336_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/558287/ltcube_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.fits outfile=/scratch/kocevski/558287/expmap_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.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/558287/ltcube_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.fits
.....................!
real 194.06
user 188.99
sys 4.65

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/558287/ft1_filtered_4FGL_J1301.6+3336_daily_bin1759.fits scfile=/scratch/kocevski/558287/ft2_4FGL_J1301.6+3336_daily_bin1759.fits outfile=/scratch/kocevski/558287/cmap_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.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.60
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/558287/ft1_filtered_4FGL_J1301.6+3336_daily_bin1759.fits scfile=/scratch/kocevski/558287/ft2_4FGL_J1301.6+3336_daily_bin1759.fits outfile=/scratch/kocevski/558287/cmap_HighResolution_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.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.57
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/558287/ft1_filtered_4FGL_J1301.6+3336_daily_bin1759.fits', '/scratch/kocevski/558287/ft2_4FGL_J1301.6+3336_daily_bin1759.fits', expMap='/scratch/kocevski/558287/expmap_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.fits', expCube='/scratch/kocevski/558287/ltcube_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/558287/Model_4FGL_J1301.6+3336_daily_bin1759.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/558287/ft1_filtered_4FGL_J1301.6+3336_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/558287/ft2_4FGL_J1301.6+3336_daily_bin1759.fits
Exposure map: /scratch/kocevski/558287/expmap_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.fits
Exposure cube: /scratch/kocevski/558287/ltcube_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/558287/Model_4FGL_J1301.6+3336_daily_bin1759.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) = 7684.38590685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.940       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.5928       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39038E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.5655       1.0000          .0000       .10000E+07
     5 'norm      '    9.0694       1.0000          .0000       .10000E+07
     6 'Prefactor '    .46536E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .19487E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.3815       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7825       1.0000          .0000       .10000E+07
    10 'norm      '    7.4005       1.0000          .0000       .10000E+07
    11 'Prefactor '    .52948       1.0000          .0000       .10000E+07
    12 'norm      '    .17907E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10080E-02   1.0000          .0000       .10000E+07
    14 'norm      '    3.2010       1.0000          .0000       .10000E+07
    15 'norm      '    14.734       1.0000          .0000       .10000E+07
    16 'norm      '    67.395       1.0000          .0000       .10000E+07
    17 'norm      '    41.768       1.0000          .0000       .10000E+07
    18 'norm      '    20.795       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.9926       1.0000          .0000       .10000E+07
    20 'Prefactor '    9.7035       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.6482       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32645E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    17.544       1.0000          .0000       .10000E+07
    24 'Prefactor '    5.9546       1.0000          .0000       .10000E+07
    25 'Normalizat'    .89476       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .98945       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=   7684.284     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     1831 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.950        5.1917        .11872E-06    .17285E-03
   2  Prefactor     5.6217        6.5858       -.30807E-06   -.63111E-03
   3  Prefactor      .0000        2.0425        .78634E-07** at limit **
   4  Prefactor     8.5560        4.1472       -.46281E-07    .99839E-03
   5  norm          9.0915        4.7184       -.95066E-07   -.29292E-03
   6  Prefactor     .55511E-10    8.2294       -.34756E-06** at limit **
   7  Prefactor      .0000        7.5076       -.39314E-07** at limit **
   8  Prefactor     4.3821        6.3875        .22315E-06   -.17163E-03
   9  Prefactor     1.7659        4.6057       -.31206E-06   -.12827E-02
  10  norm          7.4387        5.2299        .32323E-06   -.28062E-02
  11  Prefactor     .14489E-04    488.93        .37510E-05** at limit **
  12  norm           .0000        2.8012        .16257E-06** at limit **
  13  Prefactor      .0000        3.6212        .91175E-06** at limit **
  14  norm          3.2009        3.1629       -.24819E-06   -.46458E-03
  15  norm          14.742        1.1554        .78735E-07    .12486E-01
  16  norm          67.600        14.418       -.32442E-06    .25665E-01
  17  norm          41.386        26.652        .16245E-05   -.31707E-01
  18  norm          20.851        16.150        .70883E-06   -.65793E-01
  19  Prefactor     5.0043        4.4351        .18735E-07    .47090E-03
  20  Prefactor     9.6936        1.5133       -.41968E-07   -.67856E-02
  21  Prefactor     3.0644        14.017       -.36336E-05    .18368E-01
  22  Prefactor      .0000        4.4331        .53504E-06** at limit **
  23  Prefactor     17.480        17.279       -.37854E-05   -.41809E-01
  24  Prefactor     5.9505        3.8804        .18643E-06    .20940E-02
  25  Normalizat    .89446        .20824        .10161E-04   -.15683E-03
  26  Prefactor     .98966        .24988       -.59135E-05   -.13432E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.9501
  Prefactor  = 5.62169
  Prefactor  = 0
  Prefactor  = 8.55603
  norm       = 9.0915
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 4.38212
  Prefactor  = 1.76586
  norm       = 7.43866
  Prefactor  = 1.44891e-05
  norm       = 0
  Prefactor  = 0
  norm       = 3.2009
  norm       = 14.7424
  norm       = 67.5999
  norm       = 41.3861
  norm       = 20.8513
  Prefactor  = 5.00427
  Prefactor  = 9.69355
  Prefactor  = 3.06441
  Prefactor  = 0
  Prefactor  = 17.4804
  Prefactor  = 5.95049
  Normalizat = 0.894455
  Prefactor  = 0.989658
 **********
 **   18 **HESSE 
 **********

 FCN=   7684.284     FROM HESSE     STATUS=OK           526 CALLS     2357 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.950        5.2040        .28966E-03   -1.5639    
   2  Prefactor     5.6217        6.5958        .42456E-03   -1.5661    
   3  Prefactor      .0000        2.0373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.5560        4.1554        .34227E-03   -1.5649    
   5  norm          9.0915        4.7215        .33257E-03   -1.5648    
   6  Prefactor     .55511E-10    8.2324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        7.5245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3821        6.3988        .48092E-03   -1.5666    
   9  Prefactor     1.7659        4.6287        .78348E-03   -1.5681    
  10  norm          7.4387        5.5428        .36844E-03   -1.5653    
  11  Prefactor     .14489E-04    28.988        .11142E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.7849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.2009        3.1706        .56606E-03   -1.5672    
  15  norm          14.742        12.529        .26067E-03   -1.5631    
  16  norm          67.600        15.840        .12182E-03   -1.5544    
  17  norm          41.386        29.913        .15475E-03   -1.5579    
  18  norm          20.851        29.528        .21935E-03   -1.5617    
  19  Prefactor     5.0043        4.9164        .44983E-03   -1.5663    
  20  Prefactor     9.6936        12.937        .32145E-03   -1.5646    
  21  Prefactor     3.0644        199.96        .62620E-03   -1.5673    
  22  Prefactor      .0000        4.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.480        18.039        .23884E-03   -1.5624    
  24  Prefactor     5.9505        3.8861        .41126E-03   -1.5659    
  25  Normalizat    .89446        .17627        .44835E-01   -.96655    
  26  Prefactor     .98966        .21463        .75066E-01   -.93075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26835e-06
Minuit parameter uncertainties:
  1  5.20395
  2  6.59585
  3  4.06758e-07
  4  4.15544
  5  4.72151
  6  5.1534e-05
  7  2.05289e-05
  8  6.39885
  9  4.62867
  10  5.54278
  11  0.0409886
  12  1.03292e-05
  13  1.24852e-05
  14  3.17062
  15  12.5293
  16  15.8397
  17  29.9128
  18  29.5279
  19  4.91642
  20  12.9367
  21  49.5103
  22  2.0923e-05
  23  18.0389
  24  3.88611
  25  0.176381
  26  0.214812
Done.

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

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  1.449e-05  4.099e-02  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:  9.897e-01  2.148e-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:  8.945e-01  1.764e-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: 9.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/558287/likelihoodResults_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.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) = 7684.28606338
delta logL = -0.001676804206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7684.28440481
delta logL = -1.82340518222e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44917E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.7148       1.0000          .0000       10.000    
     3 'Normalizat'    .89363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99008       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=   7684.284     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      267 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31809E-05    57.372        .42118E-03** at limit **
   2  Index         2.5810        8.0744        .50000       -.31264E-07
   3  Normalizat    .89445        .14285E-02    .44820E-01   -.25181E-03
   4  Prefactor     .98966        .17706E-02    .75066E-01   -.15075E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.1809e-06
  Index      = 2.58104
  Normalizat = 0.894454
  Prefactor  = 0.989659
 **********
 **   18 **HESSE 
 **********

 FCN=   7684.284     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      300 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31809E-05    1049.8        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5810        6.6753        .50000       -.50498    
   3  Normalizat    .89445        .60051E-02    .28198E-03   -.96655    
   4  Prefactor     .98966        .74348E-02    .33215E-03   -.93075    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45634e-08
Minuit parameter uncertainties:
  1  0.115595
  2  1014.27
  3  0.00600513
  4  0.00743483
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/558287': 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) = 7684.28438657
delta logL = 1.07211235445e-08

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  3.181e-06  1.156e-01  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.581e+00  1.014e+03  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:  9.897e-01  7.435e-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:  8.945e-01  6.005e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/558287/cmap_HighResolution_695260801_695520001_4FGL_J1301.6+3336_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.62e-03', job_status='DONE', photon_flux_upper_limit='9.74e-08', time_completed='2023-01-16 01:25:00.380901', job_id='558287', GAL2='0.99', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1673861100.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.07e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1759' AND source_name='4FGL J1301.6+3336' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:25:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 558287: <4FGL_J1301.6+3336_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1301.6+3336_daily_bin1759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Jan 16 01:10:17 2023
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:11:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:11:40 2023
Terminated at Mon Jan 16 01:25:01 2023
Results reported at Mon Jan 16 01:25:01 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1301.6+3336_daily_bin1759 195.418 33.6097 695260801 695520001 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 :                                   701.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            884 sec.

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

