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 6 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_J1217.9+3007_daily_bin1745
RA = 184.476, Dec = 30.1177
tmin = 691632001, tmax = 691891201
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='645355', job_status='RUN', time_executed='2022-12-05 00:35:31.506357', time_epoch_executed='1670229331.51' WHERE source_name='4FGL J1217.9+3007' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/645355

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/645355/ft1_4FGL_J1217.9+3007_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/645355/ft1_4FGL_J1217.9+3007_daily_bin1745.fits outfile=/scratch/kocevski/645355/ft1_filteredMKT_4FGL_J1217.9+3007_daily_bin1745.fits ra=184.476 dec=30.1177 rad=12.0 tmin=691632001.0 tmax=691891201.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.36
user 2.16
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.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/645355/ft1_filteredMKT_4FGL_J1217.9+3007_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/645355/ft1_filtered_4FGL_J1217.9+3007_daily_bin1745.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 1056

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/645355/ft1_filtered_4FGL_J1217.9+3007_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/645355/ltcube_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.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/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.fits
.....................!
real 12.67
user 12.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/645355/ft1_filtered_4FGL_J1217.9+3007_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/645355/ltcube_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.fits outfile=/scratch/kocevski/645355/expmap_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.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/645355/ltcube_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.fits
.....................!
real 191.41
user 185.95
sys 5.11

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

Setting source of interest to:
4FGL J1217.9+3007 @ 184.476 30.1177

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/645355/ft1_filtered_4FGL_J1217.9+3007_daily_bin1745.fits scfile=/scratch/kocevski/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.fits outfile=/scratch/kocevski/645355/cmap_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.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=184.476 yref=30.1177 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/645355/ft1_filtered_4FGL_J1217.9+3007_daily_bin1745.fits scfile=/scratch/kocevski/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.fits outfile=/scratch/kocevski/645355/cmap_HighResolution_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.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=184.476 yref=30.1177 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/645355/ft1_filtered_4FGL_J1217.9+3007_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/645355/Model_4FGL_J1217.9+3007_daily_bin1745.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/645355/ft1_filtered_4FGL_J1217.9+3007_daily_bin1745.fits.....................!
real 89.71
user 88.15
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/645355/ft1_filtered_4FGL_J1217.9+3007_daily_bin1745.fits', '/scratch/kocevski/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.fits', expMap='/scratch/kocevski/645355/expmap_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.fits', expCube='/scratch/kocevski/645355/ltcube_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/645355/Model_4FGL_J1217.9+3007_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1217.9+3007'

4FGL J1217.9+3007
   Spectrum: LogParabola
317         norm:  7.980e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  1.854e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  4.615e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.094e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/645355/ft1_filtered_4FGL_J1217.9+3007_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/645355/ft2_4FGL_J1217.9+3007_daily_bin1745.fits
Exposure map: /scratch/kocevski/645355/expmap_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.fits
Exposure cube: /scratch/kocevski/645355/ltcube_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/645355/Model_4FGL_J1217.9+3007_daily_bin1745.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) = 11000.4850537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2009       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.1335       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5786       1.0000          .0000       .10000E+07
     4 'norm      '    2.4977       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1697       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.6058       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.7887       1.0000          .0000       .10000E+07
     8 'norm      '    36.214       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21274E-04   1.0000          .0000       .10000E+07
    10 'norm      '    6.7446       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8269       1.0000          .0000       .10000E+07
    12 'Prefactor '    .73242       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0814       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.8496       1.0000          .0000       .10000E+07
    15 'norm      '    .10331       1.0000          .0000       .10000E+07
    16 'norm      '    25.475       1.0000          .0000       .10000E+07
    17 'Prefactor '    .31016E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .67716E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .15885E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    2.8102       1.0000          .0000       .10000E+07
    21 'norm      '    .17316       1.0000          .0000       .10000E+07
    22 'Prefactor '    .48045       1.0000          .0000       .10000E+07
    23 'norm      '     .0000       1.0000          .0000       .10000E+07
    24 'Prefactor '    .19180E-03   1.0000          .0000       .10000E+07
    25 'norm      '    35.735       1.0000          .0000       .10000E+07
    26 'norm      '    .86743E-05   1.0000          .0000       .10000E+07
    27 'Normalizat'    .84245       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2446       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11000.38     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     2538 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1890        3.5822       -.53622E-07    .26890E-04
   2  Prefactor     9.2025        8.8147       -.75730E-08    .38026E-04
   3  Prefactor     3.5702        3.5936        .90004E-08   -.62142E-03
   4  norm          2.5045        1.3482        .39867E-07   -.74697E-03
   5  Prefactor     5.0724        25.474        .10746E-05    .22463E-02
   6  Prefactor     4.6079        2.0601        .49597E-09    .37334E-03
   7  Prefactor     1.9607        64.882       -.21612E-05    .92682E-02
   8  norm          36.212        2.8836       -.63136E-08   -.25462E-02
   9  Prefactor      .0000        2.5311       -.14832E-08** at limit **
  10  norm          6.7443        2.5041        .30583E-07   -.91177E-03
  11  Prefactor     2.8304        5.6146        .22739E-06   -.14967E-03
  12  Prefactor     .73237        .91257       -.15543E-07   -.94332E-03
  13  Prefactor     1.0814        1.2213        .11288E-07    .83467E-03
  14  Prefactor     5.8369        4.4788       -.15721E-06    .35652E-03
  15  norm          .10332        .11514        .23449E-07** at limit **
  16  norm          25.466        5.9785        .19636E-06    .27082E-02
  17  Prefactor     .55511E-10    6.8005       -.65149E-06** at limit **
  18  Prefactor      .0000        9.7725        .73811E-06** at limit **
  19  Prefactor     .55511E-10    5.0146        .47013E-06** at limit **
  20  Prefactor     2.8131        2.8259       -.64452E-07    .50679E-03
  21  norm          .23158        16.979        .96646E-07** at limit **
  22  Prefactor     .14047E-04    375.05       -.44207E-05** at limit **
  23  norm           .0000        1.0418        .16408E-09** at limit **
  24  Prefactor     .55511E-10    5.9053       -.18941E-06** at limit **
  25  norm          35.748        6.4319       -.25112E-06   -.20182E-04
  26  norm          .16653E-09    10.626       -.66172E-06** at limit **
  27  Normalizat    .84278        .19489       -.51394E-05   -.77182E-05
  28  Prefactor     1.2447        .21848        .10504E-06   -.33264E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.18904
  Prefactor  = 9.20247
  Prefactor  = 3.57022
  norm       = 2.50452
  Prefactor  = 5.07241
  Prefactor  = 4.60794
  Prefactor  = 1.96067
  norm       = 36.2124
  Prefactor  = 0
  norm       = 6.74428
  Prefactor  = 2.83038
  Prefactor  = 0.73237
  Prefactor  = 1.08141
  Prefactor  = 5.83694
  norm       = 0.103316
  norm       = 25.4657
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.81312
  norm       = 0.231581
  Prefactor  = 1.40467e-05
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 35.7485
  norm       = 1.66533e-10
  Normalizat = 0.842779
  Prefactor  = 1.24471
 **********
 **   18 **HESSE 
 **********

 FCN=   11000.38     FROM HESSE     STATUS=OK           599 CALLS     3137 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1890        14.674        .37356E-03   -1.5654    
   2  Prefactor     9.2025        10.402        .33139E-03   -1.5647    
   3  Prefactor     3.5702        3.6024        .53397E-03   -1.5670    
   4  norm          2.5045        1.3989        .64640E-03   -1.5676    
   5  Prefactor     5.0724        26.061        .44191E-03   -1.5663    
   6  Prefactor     4.6079        2.0753        .46876E-03   -1.5665    
   7  Prefactor     1.9607        266.32        .60903E-03   -1.5680    
   8  norm          36.212        2.8879        .16619E-03   -1.5588    
   9  Prefactor      .0000        2.5168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.7443        2.5041        .38612E-03   -1.5656    
  11  Prefactor     2.8304        5.6474        .60462E-03   -1.5674    
  12  Prefactor     .73237        .91798        .58115E-03   -1.5691    
  13  Prefactor     1.0814        1.2257        .11574E-03   -1.5687    
  14  Prefactor     5.8369        4.4829        .41499E-03   -1.5660    
  15  norm          .10332        .13488        .82365E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          25.466        5.9843        .19817E-03   -1.5607    
  17  Prefactor     .55511E-10    6.7958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        9.7871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-10    5.0075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.8131        2.8186        .60654E-03   -1.5674    
  21  norm          .23158        2.0459        .81990E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .14047E-04    21.992        .11427E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        1.0398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .55511E-10    5.9099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          35.748        6.6496        .16730E-03   -1.5588    
  26  norm          .16653E-09    10.705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .84278        .16343        .73555E-01   -.98501    
  28  Prefactor     1.2447        .18143        .71879E-01   -.84966    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53239e-07
Minuit parameter uncertainties:
  1  14.6741
  2  10.4022
  3  3.60235
  4  1.3989
  5  22.9952
  6  2.07534
  7  45.7043
  8  2.88794
  9  8.00009e-06
  10  2.50409
  11  5.6474
  12  0.917984
  13  1.22569
  14  4.48286
  15  0.134884
  16  5.98426
  17  2.94225e-05
  18  1.27188e-05
  19  2.54449e-05
  20  2.81861
  21  1.37664
  22  0.0351521
  23  2.42866e-06
  24  3.18024e-05
  25  6.64963
  26  8.88213e-05
  27  0.163523
  28  0.181517
Done.

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

Extracting fit parameters...

4FGL J1217.9+3007
   Spectrum: LogParabola
317         norm:  6.744e+00  2.504e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  1.854e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  4.615e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.094e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.245e+00  1.815e-01  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  8.428e-01  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 40.76
Ra Dec: 184.476 30.118
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 5.87e-08 +/- 2.18e-08
Energy Flux (Fixed Index): 5.23e-05 +/- 1.94e-05

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) = 10999.3715148
delta logL = 1.01206723208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10999.340733
delta logL = 1.04284906434

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0821       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4485       1.0000          .0000       5.0000    
     3 'Normalizat'    .85839       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2392       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10999.34     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      216 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0818        2.3428        .40687E-03   -.22421E-02
   2  alpha         1.4485        .23087        .25082       -.56697E-04
   3  Normalizat    .85837        .15471        .73015E-01    .32383E-04
   4  Prefactor     1.2392        .18050        .72082E-01    .71866E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.08182
  alpha      = 1.44855
  Normalizat = 0.858369
  Prefactor  = 1.23923
 **********
 **   18 **HESSE 
 **********

 FCN=   10999.34     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0818        2.6061        .97078E-05   -1.5659    
   2  alpha         1.4485        .27330        .10412E-01   -.43409    
   3  Normalizat    .85837        .18607        .32312E-03   -.97939    
   4  Prefactor     1.2392        .21738        .31891E-03   -.85133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49142e-12
Minuit parameter uncertainties:
  1  2.60611
  2  0.273965
  3  0.186208
  4  0.217535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/645355': 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): 0
logL (Free Index) = 10999.3407329
delta logL = 1.04284909872

Extracting fit parameters...

4FGL J1217.9+3007
   Spectrum: LogParabola
317         norm:  6.082e+00  2.606e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  1.449e+00  2.740e-01  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  4.615e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.094e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.239e+00  2.175e-01  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  8.584e-01  1.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 42.85
Ra Dec: 184.476 30.118
Photon Index (Free Index): 1.45 +/- 0.27
Photon Flux (Free Index): 3.67e-08 +/- 1.88e-08
Energy Flux (Free Index): 1.01e-04 +/- 6.24e-05

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/645355/cmap_HighResolution_691632001_691891201_4FGL_J1217.9+3007_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.87e-08', energy_flux2='1.01e-04', photon_flux_error='2.18e-08', dlogl='1.04e+00', energy_flux='5.23e-05', photon_flux2='3.67e-08', job_status='DONE', time_completed='2022-12-05 00:51:29.902708', photon_index_error2='0.27', photon_index2='1.45', ts='40.76', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='6.24e-05', EG='0.84', time_epoch_completed='1670230289.9', return_code='0', job_id='645355', GAL2='1.24', EG2='0.86', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='1.88e-08', ts2='42.85', photon_index='1.85' WHERE bin_id='1745' AND source_name='4FGL J1217.9+3007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:51:29 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 645355: <4FGL_J1217.9+3007_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1217.9+3007_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:35:17 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:35:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:35:18 2022
Terminated at Mon Dec  5 00:51:30 2022
Results reported at Mon Dec  5 00:51:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1217.9+3007_daily_bin1745 184.476 30.1177 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1217.9+3007 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   960.15 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             360.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            973 sec.

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

