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


Performing analysis on: 4FGL_J1301.6+3336_daily_bin1765
RA = 195.418, Dec = 33.6097
tmin = 696816001, tmax = 697075201
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='635395', job_status='RUN', time_executed='2023-02-03 01:02:59.240331', time_epoch_executed='1675414979.24' WHERE source_name='4FGL J1301.6+3336' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635395

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/635395/ft1_4FGL_J1301.6+3336_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/635395/ft2_4FGL_J1301.6+3336_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635395/ft1_4FGL_J1301.6+3336_daily_bin1765.fits outfile=/scratch/kocevski/635395/ft1_filteredMKT_4FGL_J1301.6+3336_daily_bin1765.fits ra=195.418 dec=33.6097 rad=12.0 tmin=696816001.0 tmax=697075201.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.71
user 3.46
sys 0.21

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

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

Number of photons that the gtmktime cut: 649

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/635395/ft1_filtered_4FGL_J1301.6+3336_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/635395/ft2_4FGL_J1301.6+3336_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/635395/ltcube_696816001_697075201_4FGL_J1301.6+3336_daily_bin1765.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/635395/ft2_4FGL_J1301.6+3336_daily_bin1765.fits
.....................!
real 15.86
user 15.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635395/ft1_filtered_4FGL_J1301.6+3336_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/635395/ft2_4FGL_J1301.6+3336_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/635395/ltcube_696816001_697075201_4FGL_J1301.6+3336_daily_bin1765.fits outfile=/scratch/kocevski/635395/expmap_696816001_697075201_4FGL_J1301.6+3336_daily_bin1765.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/635395/ltcube_696816001_697075201_4FGL_J1301.6+3336_daily_bin1765.fits
.....................!
real 193.05
user 186.44
sys 5.05

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/635395/ft1_filtered_4FGL_J1301.6+3336_daily_bin1765.fits scfile=/scratch/kocevski/635395/ft2_4FGL_J1301.6+3336_daily_bin1765.fits outfile=/scratch/kocevski/635395/cmap_696816001_697075201_4FGL_J1301.6+3336_daily_bin1765.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.61
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/635395/ft1_filtered_4FGL_J1301.6+3336_daily_bin1765.fits scfile=/scratch/kocevski/635395/ft2_4FGL_J1301.6+3336_daily_bin1765.fits outfile=/scratch/kocevski/635395/cmap_HighResolution_696816001_697075201_4FGL_J1301.6+3336_daily_bin1765.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8268       1.0000          .0000       .10000E+07
     2 'Prefactor '    .51365E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.1602       1.0000          .0000       .10000E+07
     4 'Prefactor '    .31254E-01   1.0000          .0000       .10000E+07
     5 'norm      '    6.3334       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31524E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5087       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70733E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.0195       1.0000          .0000       .10000E+07
    10 'norm      '    4.4081       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10480E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .12970E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.7995       1.0000          .0000       .10000E+07
    14 'norm      '    4.6455       1.0000          .0000       .10000E+07
    15 'norm      '    7.9152       1.0000          .0000       .10000E+07
    16 'norm      '    46.589       1.0000          .0000       .10000E+07
    17 'norm      '    .31488E-02   1.0000          .0000       .10000E+07
    18 'norm      '    30.878       1.0000          .0000       .10000E+07
    19 'Prefactor '    .14479E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15434E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    43.895       1.0000          .0000       .10000E+07
    22 'Prefactor '    .80008E-06   1.0000          .0000       .10000E+07
    23 'Prefactor '    .12164E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    11.334       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1671       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0836       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=   7142.250     FROM MIGRAD    STATUS=CONVERGED    217 CALLS     2341 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8268        3.3714        .20982E-07    .56926E-03
   2  Prefactor     .18319E-08    24.035       -.56385E-06** at limit **
   3  Prefactor     4.1578        2.6677       -.59349E-08    .73183E-03
   4  Prefactor     .32623E-01    21.732       -.13866E-05** at limit **
   5  norm          6.3211        4.5846       -.50402E-07   -.21009E-03
   6  Prefactor      .0000        3.0810       -.16314E-08** at limit **
   7  Prefactor     3.4990        11.243       -.24709E-06   -.26453E-01
   8  Prefactor     .14394E-04    14.578        .54123E-06** at limit **
   9  Prefactor     5.9655        5.5391        .28015E-07    .32986E-02
  10  norm          4.4430        4.8171        .47471E-07   -.17827E-03
  11  Prefactor     .54458E-05    22.835        .48137E-06** at limit **
  12  norm           .0000        1.4757        .45754E-07** at limit **
  13  Prefactor     2.7780        7.7077       -.18716E-06   -.10376E-01
  14  norm          4.6435        4.0652       -.12357E-07    .45673E-03
  15  norm          7.9155        9.0589       -.93072E-07   -.77225E-02
  16  norm          46.577        7.4078       -.94781E-08   -.15413E-02
  17  norm          .60452E-07    14.648       -.14637E-06** at limit **
  18  norm          30.785        2.2482        .26387E-07   -.27931E-01
  19  Prefactor      .0000        1.8676        .13101E-07** at limit **
  20  Prefactor     .22204E-09    37.648        .48468E-07** at limit **
  21  Prefactor     43.770        2.9018       -.16026E-07    .44684E-01
  22  Prefactor     .30198E-07    109.46        .21907E-06** at limit **
  23  Prefactor     .17764E-08    7.0316       -.71823E-08** at limit **
  24  Prefactor     11.269        5.0417       -.41302E-07   -.47031E-03
  25  Normalizat    1.1675        .21567        .39763E-05    .10562E-03
  26  Prefactor     1.0834        .25858        .22913E-05    .88852E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.82677
  Prefactor  = 1.83187e-09
  Prefactor  = 4.15777
  Prefactor  = 0.032623
  norm       = 6.32112
  Prefactor  = 0
  Prefactor  = 3.49896
  Prefactor  = 1.43943e-05
  Prefactor  = 5.96548
  norm       = 4.44298
  Prefactor  = 5.44575e-06
  norm       = 0
  Prefactor  = 2.77796
  norm       = 4.64349
  norm       = 7.91549
  norm       = 46.5774
  norm       = 6.04516e-08
  norm       = 30.7854
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 43.7699
  Prefactor  = 3.01981e-08
  Prefactor  = 1.77636e-09
  Prefactor  = 11.2686
  Normalizat = 1.16752
  Prefactor  = 1.08337
 **********
 **   18 **HESSE 
 **********

 FCN=   7142.250     FROM HESSE     STATUS=OK           530 CALLS     2871 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8268        3.3760        .51569E-03   -1.5669    
   2  Prefactor     .18319E-08    23.745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.1578        2.6622        .49391E-03   -1.5667    
   4  Prefactor     .32623E-01    1.1121        .49260E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.3211        4.5886        .39861E-03   -1.5658    
   6  Prefactor      .0000        3.0820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4990        14.156        .53948E-03   -1.5671    
   8  Prefactor     .14394E-04    38.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.9655        5.6154        .40901E-03   -1.5659    
  10  norm          4.4430        4.8513        .47943E-03   -1.5666    
  11  Prefactor     .54458E-05    32.183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.4844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7780        19.649        .60778E-03   -1.5675    
  14  norm          4.6435        4.1420        .46671E-03   -1.5665    
  15  norm          7.9155        9.0702        .35616E-03   -1.5652    
  16  norm          46.577        7.5190        .14652E-03   -1.5571    
  17  norm          .60452E-07    14.836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          30.785        32.944        .17999E-03   -1.5597    
  19  Prefactor      .0000        1.8764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-09    6.7766        .11555E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     43.770        55.404        .15095E-03   -1.5576    
  22  Prefactor     .30198E-07    108.57        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .17764E-08    7.1042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.269        5.0592        .29733E-03   -1.5641    
  25  Normalizat    1.1675        .18177        .59311E-01   -.87613    
  26  Prefactor     1.0834        .21689        .74118E-01   -.90000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35671e-07
Minuit parameter uncertainties:
  1  3.37596
  2  0.000417034
  3  2.66223
  4  0.380947
  5  4.58864
  6  1.30792e-05
  7  14.0757
  8  0.0473599
  9  5.61543
  10  4.85133
  11  0.0264774
  12  1.40072e-06
  13  14.7764
  14  4.14203
  15  9.07022
  16  7.51895
  17  0.00189367
  18  32.9443
  19  9.89778e-07
  20  7.77635e-05
  21  55.4047
  22  0.00362164
  23  0.000223338
  24  5.05917
  25  0.181868
  26  0.21707
Done.

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

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  5.446e-06  2.648e-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:  1.083e+00  2.171e-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:  1.168e+00  1.819e-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.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/635395/likelihoodResults_696816001_697075201_4FGL_J1301.6+3336_daily_bin1765.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) = 7142.26542397
delta logL = -0.0153091464363

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7142.25011776
delta logL = -2.93773518933e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63850E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .69392       1.0000          .0000       10.000    
     3 'Normalizat'    1.1673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0835       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7142.250     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      212 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        23.608        .42118E-03** at limit **
   2  Index         3.2586        1.9248       -.25311E-02     .0000    
   3  Normalizat    1.1675        1.1189        .13617E-05   -.27352E-03
   4  Prefactor     1.0834        1.1600        .17060E-04   -.40259E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.25859
  Normalizat = 1.16752
  Prefactor  = 1.08336
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7142.250     FROM HESSE     STATUS=FAILED         9 CALLS      221 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        23.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1921        2.2201       -.25311E-02   -.35574    
   3  Normalizat    1.1675        1.1189        .13617E-05   -.87613    
   4  Prefactor     1.0834        1.1600        .17060E-04   -.90000    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.28834e-10
Minuit parameter uncertainties:
  1  3.02325e-05
  2  1.98353
  3  1.14307
  4  1.18882
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635395': 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): 101
logL (Free Index) = 7142.25011474
delta logL = 8.43228917802e-08

Extracting fit parameters...

4FGL J1301.6+3336
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  3.023e-05  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  3.259e+00  1.984e+00  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.083e+00  1.189e+00  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:  1.168e+00  1.143e+00  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/635395/cmap_HighResolution_696816001_697075201_4FGL_J1301.6+3336_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.33e-03', job_status='DONE', photon_flux_upper_limit='9.37e-08', time_completed='2023-02-03 01:14:48.380781', job_id='635395', GAL2='1.08', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1675415688.38', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='8.43e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1765' AND source_name='4FGL J1301.6+3336' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:14:48 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 635395: <4FGL_J1301.6+3336_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1301.6+3336_daily_bin1765> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Feb  3 01:00:21 2023
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:00:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:00:45 2023
Terminated at Fri Feb  3 01:14:49 2023
Results reported at Fri Feb  3 01:14:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1301.6+3336_daily_bin1765 195.418 33.6097 696816001 697075201 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 :                                   709.03 sec.
    Max Memory :                                 1036 MB
    Average Memory :                             296.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            868 sec.

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

