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


Performing analysis on: 4FGL_J1217.9+3007_daily_bin1710
RA = 184.476, Dec = 30.1177
tmin = 682560001, tmax = 682819201
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='117580', job_status='RUN', time_executed='2022-09-16 16:42:51.574153', time_epoch_executed='1663371771.57' WHERE source_name='4FGL J1217.9+3007' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/117580

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/117580/ft1_4FGL_J1217.9+3007_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/117580/ft2_4FGL_J1217.9+3007_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/117580/ft1_4FGL_J1217.9+3007_daily_bin1710.fits outfile=/scratch/kocevski/117580/ft1_filteredMKT_4FGL_J1217.9+3007_daily_bin1710.fits ra=184.476 dec=30.1177 rad=12.0 tmin=682560001.0 tmax=682819201.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.78
user 3.45
sys 0.21

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

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

Number of photons that the gtmktime cut: 646

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/117580/ft1_filtered_4FGL_J1217.9+3007_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/117580/ft2_4FGL_J1217.9+3007_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/117580/ltcube_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.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/117580/ft2_4FGL_J1217.9+3007_daily_bin1710.fits
.....................!
real 16.74
user 16.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/117580/ft1_filtered_4FGL_J1217.9+3007_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/117580/ft2_4FGL_J1217.9+3007_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/117580/ltcube_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.fits outfile=/scratch/kocevski/117580/expmap_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.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/117580/ltcube_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.fits
.....................!
real 190.88
user 185.91
sys 4.64

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/117580/ft1_filtered_4FGL_J1217.9+3007_daily_bin1710.fits scfile=/scratch/kocevski/117580/ft2_4FGL_J1217.9+3007_daily_bin1710.fits outfile=/scratch/kocevski/117580/cmap_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/117580/ft1_filtered_4FGL_J1217.9+3007_daily_bin1710.fits scfile=/scratch/kocevski/117580/ft2_4FGL_J1217.9+3007_daily_bin1710.fits outfile=/scratch/kocevski/117580/cmap_HighResolution_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.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.59
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/117580/ft1_filtered_4FGL_J1217.9+3007_daily_bin1710.fits', '/scratch/kocevski/117580/ft2_4FGL_J1217.9+3007_daily_bin1710.fits', expMap='/scratch/kocevski/117580/expmap_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.fits', expCube='/scratch/kocevski/117580/ltcube_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/117580/Model_4FGL_J1217.9+3007_daily_bin1710.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/117580/ft1_filtered_4FGL_J1217.9+3007_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/117580/ft2_4FGL_J1217.9+3007_daily_bin1710.fits
Exposure map: /scratch/kocevski/117580/expmap_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.fits
Exposure cube: /scratch/kocevski/117580/ltcube_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/117580/Model_4FGL_J1217.9+3007_daily_bin1710.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) = 7149.1887496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23775E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3533       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2759       1.0000          .0000       .10000E+07
     4 'norm      '    .75611       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65102E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4579       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12735E-03   1.0000          .0000       .10000E+07
     8 'norm      '    20.660       1.0000          .0000       .10000E+07
     9 'Prefactor '    .65205       1.0000          .0000       .10000E+07
    10 'norm      '    14.171       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.6972       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10825E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10897E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.9432       1.0000          .0000       .10000E+07
    15 'norm      '    .26771       1.0000          .0000       .10000E+07
    16 'norm      '    8.9470       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.067       1.0000          .0000       .10000E+07
    18 'Prefactor '    .57391E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .44836E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    10.598       1.0000          .0000       .10000E+07
    21 'norm      '    .23214E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    23.617       1.0000          .0000       .10000E+07
    23 'norm      '    6.9740       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11186E-01   1.0000          .0000       .10000E+07
    25 'norm      '    .20923E-02   1.0000          .0000       .10000E+07
    26 'norm      '    9.3252       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.5102       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .54632       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=   7149.103     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2003 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82269E-05    19.091       -.29731E-06** at limit **
   2  Prefactor     2.2574        9.0731        .32043E-06    .81702E-04
   3  Prefactor     4.2927        6.6503        .54291E-07    .37968E-02
   4  norm          .75443        .99750       -.12167E-07   -.34747E-03
   5  Prefactor     .34583E-07    14.286        .10340E-06** at limit **
   6  Prefactor     2.4559        1.6917        .83076E-08   -.14408E-05
   7  Prefactor     .61062E-09    21.579       -.70621E-07** at limit **
   8  norm          20.654        2.8362        .39257E-07   -.24943E-03
   9  Prefactor     .61654        2.5333        .25937E-06   -.10193E-01
  10  norm          14.169        4.2593       -.80138E-07   -.16330E-02
  11  Prefactor     4.6911        6.5818       -.68339E-07   -.12022E-01
  12  Prefactor      .0000        .82382        .59431E-07** at limit **
  13  Prefactor     .55511E-10    1.5941        .40857E-06** at limit **
  14  Prefactor     8.9126        6.3878        .28689E-06    .43522E-01
  15  norm          .26754        .22155       -.63844E-07   -.60382E-02
  16  norm          8.9035        5.0696        .16878E-07   -.17530E-01
  17  Prefactor     15.130        9.9341       -.99589E-07   -.41582E-02
  18  Prefactor     .12212E-08    8.2786       -.23346E-06** at limit **
  19  Prefactor     .59419E-05    69.132       -.13164E-05** at limit **
  20  Prefactor     10.642        6.9035        .30866E-07   -.26835E-01
  21  norm          .11102E-09    2.5076        .10164E-06** at limit **
  22  Prefactor     21.929        5.5310       -.12768E-06    .11066    
  23  norm          6.9591        4.9168       -.14379E-06   -.14523E-02
  24  Prefactor     .32152E-05    17.483       -.34166E-06** at limit **
  25  norm          .12972        11.844        .31583E-06** at limit **
  26  norm          9.3576        7.4887       -.71172E-07    .13221E-01
  27  Normalizat    1.5119        .22625       -.35349E-06   -.59901E-04
  28  Prefactor     .54606        .23481       -.32129E-05   -.35790E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.22692e-06
  Prefactor  = 2.25741
  Prefactor  = 4.29266
  norm       = 0.754431
  Prefactor  = 3.45834e-08
  Prefactor  = 2.45591
  Prefactor  = 6.10623e-10
  norm       = 20.6541
  Prefactor  = 0.616536
  norm       = 14.1692
  Prefactor  = 4.69107
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 8.91262
  norm       = 0.26754
  norm       = 8.90355
  Prefactor  = 15.1299
  Prefactor  = 1.22125e-09
  Prefactor  = 5.94191e-06
  Prefactor  = 10.6417
  norm       = 1.11022e-10
  Prefactor  = 21.9288
  norm       = 6.95913
  Prefactor  = 3.21515e-06
  norm       = 0.129717
  norm       = 9.35759
  Normalizat = 1.5119
  Prefactor  = 0.546062
 **********
 **   18 **HESSE 
 **********

 FCN=   7149.103     FROM HESSE     STATUS=OK           593 CALLS     2596 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82269E-05    38.551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2574        9.4150        .66789E-03   -1.5678    
   3  Prefactor     4.2927        6.7240        .48699E-03   -1.5667    
   4  norm          .75443        1.0078        .56266E-03   -1.5691    
   5  Prefactor     .34583E-07    14.336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4559        1.6969        .65211E-03   -1.5677    
   7  Prefactor     .61062E-09    21.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          20.654        2.8392        .22007E-03   -1.5617    
   9  Prefactor     .61654        7.0325        .64689E-03   -1.5692    
  10  norm          14.169        4.2668        .26581E-03   -1.5633    
  11  Prefactor     4.6911        6.6778        .46407E-03   -1.5665    
  12  Prefactor      .0000        .82791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    1.5856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.9126        6.7192        .33492E-03   -1.5648    
  15  norm          .26754        .22683        .78099E-03   -1.5698    
  16  norm          8.9035        5.1858        .33484E-03   -1.5648    
  17  Prefactor     15.130        9.9759        .25777E-03   -1.5630    
  18  Prefactor     .12212E-08    8.2902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .59419E-05    73.219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.642        7.6909        .30752E-03   -1.5643    
  21  norm          .11102E-09    2.5110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     21.929        37.308        .20582E-03   -1.5614    
  23  norm          6.9591        4.9195        .37965E-03   -1.5655    
  24  Prefactor     .32152E-05    40.972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .12972        7.0102        .55546E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          9.3576        8.5970        .32795E-03   -1.5647    
  27  Normalizat    1.5119        .20211        .56433E-01   -.77444    
  28  Prefactor     .54606        .21261        .94614E-01   -1.0991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31559e-06
Minuit parameter uncertainties:
  1  0.0356178
  2  9.22036
  3  6.72399
  4  1.0078
  5  0.00140873
  6  1.6969
  7  0.000228029
  8  2.83923
  9  4.16453
  10  4.26678
  11  6.67777
  12  6.08616e-08
  13  1.40524e-05
  14  6.71921
  15  0.226833
  16  5.18576
  17  9.97591
  18  0.000200734
  19  0.0417167
  20  7.69089
  21  3.5974e-05
  22  37.3088
  23  4.91951
  24  0.022955
  25  1.90718
  26  8.59698
  27  0.202218
  28  0.212922
Done.

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

Extracting fit parameters...

4FGL J1217.9+3007
   Spectrum: LogParabola
317         norm:  1.417e+01  4.267e+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:  5.461e-01  2.129e-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:  1.512e+00  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 58.48
Ra Dec: 184.476 30.118
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 1.23e-07 +/- 3.72e-08
Energy Flux (Fixed Index): 1.10e-04 +/- 3.31e-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) = 7149.07668059
delta logL = 0.0260891657617

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7149.07588094
delta logL = 0.0268888163782

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.169       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7970       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5182       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54318       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=   7149.076     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      200 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.155        4.7453        .26583E-03   -.12370E-02
   2  alpha         1.7969        .25843        .18872        .18700E-04
   3  Normalizat    1.5182        .19561        .56359E-01   -.34308E-05
   4  Prefactor     .54320        .20766        .94878E-01    .39460E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.1553
  alpha      = 1.79694
  Normalizat = 1.51818
  Prefactor  = 0.543202
 **********
 **   18 **HESSE 
 **********

 FCN=   7149.076     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.155        4.2854        .93095E-05   -1.5633    
   2  alpha         1.7969        .24597        .78928E-02   -.28507    
   3  Normalizat    1.5182        .21996        .24919E-03   -.77269    
   4  Prefactor     .54320        .23269        .42061E-03   -1.1003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77242e-12
Minuit parameter uncertainties:
  1  4.2854
  2  0.246404
  3  0.220102
  4  0.233105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/117580': 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) = 7149.07587572
delta logL = 0.0268940365804

Extracting fit parameters...

4FGL J1217.9+3007
   Spectrum: LogParabola
317         norm:  1.416e+01  4.285e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  1.797e+00  2.464e-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:  5.432e-01  2.331e-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:  1.518e+00  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 58.53
Ra Dec: 184.476 30.118
Photon Index (Free Index): 1.80 +/- 0.25
Photon Flux (Free Index): 1.15e-07 +/- 4.85e-08
Energy Flux (Free Index): 1.18e-04 +/- 5.35e-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/117580/cmap_HighResolution_682560001_682819201_4FGL_J1217.9+3007_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-07', energy_flux2='1.18e-04', photon_flux_error='3.72e-08', dlogl='2.69e-02', energy_flux='1.10e-04', photon_flux2='1.15e-07', job_status='DONE', time_completed='2022-09-16 16:54:01.894223', photon_index_error2='0.25', photon_index2='1.80', ts='58.48', fit_tolerance='1e-08', GAL='0.55', photon_index_error='0.00', energy_flux_error2='5.35e-05', EG='1.51', time_epoch_completed='1663372441.89', return_code='0', job_id='117580', GAL2='0.54', EG2='1.52', return_code2='0', energy_flux_error='3.31e-05', photon_flux_error2='4.85e-08', ts2='58.53', photon_index='1.85' WHERE bin_id='1710' AND source_name='4FGL J1217.9+3007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:54:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 117580: <4FGL_J1217.9+3007_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1217.9+3007_daily_bin1710> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 16:40:31 2022
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:41:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:41:26 2022
Terminated at Fri Sep 16 16:54:02 2022
Results reported at Fri Sep 16 16:54:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1217.9+3007_daily_bin1710 184.476 30.1177 682560001 682819201 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 :                                   672.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            811 sec.

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

