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


Performing analysis on: 4FGL_J1302.8+5748_daily_bin1780
RA = 195.721, Dec = 57.8146
tmin = 700704001, tmax = 700963201
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='63929', job_status='RUN', time_executed='2023-03-20 00:56:29.822358', time_epoch_executed='1679298989.82' WHERE source_name='4FGL J1302.8+5748' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/63929

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/63929/ft1_4FGL_J1302.8+5748_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/63929/ft1_4FGL_J1302.8+5748_daily_bin1780.fits outfile=/scratch/kocevski/63929/ft1_filteredMKT_4FGL_J1302.8+5748_daily_bin1780.fits ra=195.721 dec=57.8146 rad=12.0 tmin=700704001.0 tmax=700963201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.12
user 3.88
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.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/63929/ft1_filteredMKT_4FGL_J1302.8+5748_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/63929/ft1_filtered_4FGL_J1302.8+5748_daily_bin1780.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.34
sys 0.14

Number of photons that the gtmktime cut: 883

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/63929/ft1_filtered_4FGL_J1302.8+5748_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/63929/ltcube_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.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/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.fits
.....................!
real 12.86
user 12.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/63929/ft1_filtered_4FGL_J1302.8+5748_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/63929/ltcube_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.fits outfile=/scratch/kocevski/63929/expmap_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.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/63929/ltcube_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.fits
.....................!
real 192.63
user 187.25
sys 4.87

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

Setting source of interest to:
4FGL J1302.8+5748 @ 195.721 57.8146

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/63929/ft1_filtered_4FGL_J1302.8+5748_daily_bin1780.fits scfile=/scratch/kocevski/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.fits outfile=/scratch/kocevski/63929/cmap_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.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.721 yref=57.8146 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/63929/ft1_filtered_4FGL_J1302.8+5748_daily_bin1780.fits scfile=/scratch/kocevski/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.fits outfile=/scratch/kocevski/63929/cmap_HighResolution_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.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.721 yref=57.8146 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/63929/ft1_filtered_4FGL_J1302.8+5748_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/63929/Model_4FGL_J1302.8+5748_daily_bin1780.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/63929/ft1_filtered_4FGL_J1302.8+5748_daily_bin1780.fits.....................!
real 77.39
user 75.96
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/63929/ft1_filtered_4FGL_J1302.8+5748_daily_bin1780.fits', '/scratch/kocevski/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.fits', expMap='/scratch/kocevski/63929/expmap_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.fits', expCube='/scratch/kocevski/63929/ltcube_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/63929/Model_4FGL_J1302.8+5748_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1302.8+5748'

4FGL J1302.8+5748
   Spectrum: PowerLaw
371    Prefactor:  1.988e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
372        Index:  2.267e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  1.345e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/63929/ft1_filtered_4FGL_J1302.8+5748_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/63929/ft2_4FGL_J1302.8+5748_daily_bin1780.fits
Exposure map: /scratch/kocevski/63929/expmap_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.fits
Exposure cube: /scratch/kocevski/63929/ltcube_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/63929/Model_4FGL_J1302.8+5748_daily_bin1780.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) = 9613.7740568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .80039E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .25076E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.0095       1.0000          .0000       .10000E+07
     4 'Prefactor '    .49910       1.0000          .0000       .10000E+07
     5 'norm      '    .10042E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .35372E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .31903E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    9.6713       1.0000          .0000       .10000E+07
     9 'Prefactor '    .76188E-05   1.0000          .0000       .10000E+07
    10 'norm      '    2.4941       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5518       1.0000          .0000       .10000E+07
    12 'norm      '    3.8547       1.0000          .0000       .10000E+07
    13 'Prefactor '    .19243E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .88079E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .11699E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .92871E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    9.6036       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.6489       1.0000          .0000       .10000E+07
    19 'norm      '    .51511E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18592E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11824E-07   1.0000          .0000       .10000E+07
    22 'norm      '    .17050E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57620E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    1.8224       1.0000          .0000       .10000E+07
    25 'Prefactor '    .41403       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1164       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .96083       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9613.688     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     1887 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.0142        .67179E-07** at limit **
   2  norm           .0000        3.3726       -.24214E-07** at limit **
   3  Prefactor     7.0482        4.8188        .25695E-07    .40829E-03
   4  Prefactor     .12857        5.8630       -.16792E-07** at limit **
   5  norm           .0000        .65655        .32065E-07** at limit **
   6  Prefactor     .22204E-09    3.4880        .17295E-07** at limit **
   7  norm          .27756E-09    7.5768       -.68489E-08** at limit **
   8  Prefactor     9.4818        16.582       -.83122E-07   -.38615E-02
   9  Prefactor      .0000        1.1793       -.33763E-07** at limit **
  10  norm          2.4935        1.3269        .12347E-07    .43594E-04
  11  Prefactor     8.6371        2.7509        .12166E-07   -.10209E-01
  12  norm          3.8535        1.7837       -.11404E-07    .17626E-03
  13  Prefactor     .30531E-08    5.2166        .33040E-07** at limit **
  14  Prefactor      .0000        2.7668        .41176E-07** at limit **
  15  norm           .0000        1.8863        .94268E-08** at limit **
  16  Prefactor     .31086E-08    6.3461       -.14758E-07** at limit **
  17  Prefactor     10.913        30.347       -.42403E-07   -.80279E-02
  18  Prefactor     .90317E-07    325.13        .92920E-06** at limit **
  19  norm           .0000        2.2812       -.19294E-07** at limit **
  20  Prefactor     .46130E-07    31.815       -.68435E-07** at limit **
  21  Prefactor      .0000        .67724       -.67819E-09** at limit **
  22  norm          .63283E-08    4.5518       -.29898E-07** at limit **
  23  Prefactor      .0000        7.5125       -.20186E-07** at limit **
  24  Prefactor     .99825        13.093        .99469E-08   -.87412E-02
  25  Prefactor     .42275        1.7540       -.33443E-07    .10705E-03
  26  Normalizat    1.1167        .14614        .43053E-06    .43456E-06
  27  Prefactor     .96106        .17667       -.11443E-05    .23103E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 7.04824
  Prefactor  = 0.12857
  norm       = 0
  Prefactor  = 2.22045e-10
  norm       = 2.77556e-10
  Prefactor  = 9.48177
  Prefactor  = 0
  norm       = 2.49346
  Prefactor  = 8.63705
  norm       = 3.85354
  Prefactor  = 3.05311e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 3.10862e-09
  Prefactor  = 10.9134
  Prefactor  = 9.03166e-08
  norm       = 0
  Prefactor  = 4.61298e-08
  Prefactor  = 0
  norm       = 6.32827e-09
  Prefactor  = 0
  Prefactor  = 0.99825
  Prefactor  = 0.422749
  Normalizat = 1.11672
  Prefactor  = 0.961059
 **********
 **   18 **HESSE 
 **********

 FCN=   9613.688     FROM HESSE     STATUS=OK           548 CALLS     2435 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        3.3423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.0482        4.9841        .37868E-03   -1.5655    
   4  Prefactor     .12857        8.5771        .10411E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .65264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22204E-09    9.6673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27756E-09    7.7237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.4818        16.772        .32199E-03   -1.5646    
   9  Prefactor      .0000        1.1790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4935        1.3272        .64692E-03   -1.5676    
  11  Prefactor     8.6371        12.321        .34255E-03   -1.5649    
  12  norm          3.8535        1.7826        .51375E-03   -1.5669    
  13  Prefactor     .30531E-08    9.7483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.8669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .31086E-08    8.1364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.913        37.038        .32313E-03   -1.5642    
  18  Prefactor     .90317E-07    36.129        .13161E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        2.2747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .46130E-07    32.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        .67480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .63283E-08    8.7706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        8.9705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .99825        194.60        .77313E-03   -1.5688    
  25  Prefactor     .42275        1.8609        .87878E-03   -1.5695    
  26  Normalizat    1.1167        .12704        .37369E-01   -.89217    
  27  Prefactor     .96106        .15306        .45776E-01   -.94039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27637e-08
Minuit parameter uncertainties:
  1  4.77565e-06
  2  8.10489e-06
  3  4.98412
  4  2.10025
  5  2.80983e-07
  6  8.93538e-05
  7  9.37549e-05
  8  16.7718
  9  2.3664e-07
  10  1.32724
  11  12.3212
  12  1.78257
  13  0.000345331
  14  4.65989e-06
  15  2.53005e-06
  16  0.000318294
  17  37.0384
  18  0.00361263
  19  2.03747e-06
  20  0.00244309
  21  2.31102e-08
  22  0.000471059
  23  1.75161e-05
  24  27.8763
  25  1.77391
  26  0.127073
  27  0.153125
Done.

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

Extracting fit parameters...

4FGL J1302.8+5748
   Spectrum: PowerLaw
371    Prefactor:  0.000e+00  4.660e-06  0.000e+00  1.000e+06 ( 1.000e-13)
372        Index:  2.267e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  1.345e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.611e-01  1.531e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  1.117e+00  1.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 195.721 57.815
Photon Flux Upper Limit: 3.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/63929/likelihoodResults_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.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) = 9613.68799492
delta logL = -0.000432926390204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9613.68756424
delta logL = -2.2540007194e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9613.688     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      251 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5710        .42118E-03** at limit **
   2  Index         2.3503        1.6552        .30530E-04     .0000    
   3  Normalizat    1.1167        1.1440       -.15952E-04    .14105E-03
   4  Prefactor     .96106        1.3025        .12081E-04    .13425E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.35034
  Normalizat = 1.11672
  Prefactor  = 0.96106
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9613.688     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61756        1.9430        .30530E-04   -.55852    
   3  Normalizat    1.1167        1.1440       -.15952E-04   -.89217    
   4  Prefactor     .96106        1.3025        .12081E-04   -.94039    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.25833e-11
Minuit parameter uncertainties:
  1  1.1692e-05
  2  1.70042
  3  1.17101
  4  1.34913
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/63929': 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) = 9613.68756199
delta logL = -7.27595761418e-12

Extracting fit parameters...

4FGL J1302.8+5748
   Spectrum: PowerLaw
371    Prefactor:  0.000e+00  1.169e-05  0.000e+00  1.000e+06 ( 1.000e-13)
372        Index:  2.350e+00  1.700e+00  0.000e+00  1.000e+01 (-1.000e+00)
373        Scale:  1.345e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.611e-01  1.349e+00  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  1.117e+00  1.171e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 195.721 57.815

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/63929/cmap_HighResolution_700704001_700963201_4FGL_J1302.8+5748_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.56e-03', job_status='DONE', photon_flux_upper_limit='3.35e-08', time_completed='2023-03-20 01:11:33.441339', job_id='63929', GAL2='0.96', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1679299893.44', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1780' AND source_name='4FGL J1302.8+5748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:11:33 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 63929: <4FGL_J1302.8+5748_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1302.8+5748_daily_bin1780> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Mar 20 00:55:13 2023
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:55:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:55:13 2023
Terminated at Mon Mar 20 01:11:34 2023
Results reported at Mon Mar 20 01:11:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1302.8+5748_daily_bin1780 195.721 57.8146 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1302.8+5748 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   905.00 sec.
    Max Memory :                                 1181 MB
    Average Memory :                             323.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            981 sec.

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

