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


Performing analysis on: 4FGL_J1217.9+3007_daily_bin1763
RA = 184.476, Dec = 30.1177
tmin = 696297601, tmax = 696556801
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='279408', job_status='RUN', time_executed='2023-01-28 00:51:38.438613', time_epoch_executed='1674895898.44' WHERE source_name='4FGL J1217.9+3007' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/279408

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/279408/ft1_4FGL_J1217.9+3007_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/279408/ft2_4FGL_J1217.9+3007_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/279408/ft1_4FGL_J1217.9+3007_daily_bin1763.fits outfile=/scratch/kocevski/279408/ft1_filteredMKT_4FGL_J1217.9+3007_daily_bin1763.fits ra=184.476 dec=30.1177 rad=12.0 tmin=696297601.0 tmax=696556801.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.68
user 3.42
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/279408/ft2_4FGL_J1217.9+3007_daily_bin1763.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/279408/ft1_filteredMKT_4FGL_J1217.9+3007_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/279408/ft1_filtered_4FGL_J1217.9+3007_daily_bin1763.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.15

Number of photons that the gtmktime cut: 849

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/279408/ft1_filtered_4FGL_J1217.9+3007_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/279408/ft2_4FGL_J1217.9+3007_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/279408/ltcube_696297601_696556801_4FGL_J1217.9+3007_daily_bin1763.fits outfile=/scratch/kocevski/279408/expmap_696297601_696556801_4FGL_J1217.9+3007_daily_bin1763.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/279408/ltcube_696297601_696556801_4FGL_J1217.9+3007_daily_bin1763.fits
.....................!
real 192.33
user 186.25
sys 5.61

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/279408/ft1_filtered_4FGL_J1217.9+3007_daily_bin1763.fits scfile=/scratch/kocevski/279408/ft2_4FGL_J1217.9+3007_daily_bin1763.fits outfile=/scratch/kocevski/279408/cmap_696297601_696556801_4FGL_J1217.9+3007_daily_bin1763.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.58
user 0.40
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62711E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.2571       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2411       1.0000          .0000       .10000E+07
     4 'norm      '    .70283       1.0000          .0000       .10000E+07
     5 'Prefactor '    .27342E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4447       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51269E-04   1.0000          .0000       .10000E+07
     8 'norm      '    63.690       1.0000          .0000       .10000E+07
     9 'Prefactor '    .59179E-03   1.0000          .0000       .10000E+07
    10 'norm      '    1.3564       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10842E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .17475E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.6007       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11682E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .30605       1.0000          .0000       .10000E+07
    16 'norm      '    12.234       1.0000          .0000       .10000E+07
    17 'Prefactor '    .55930E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .73148E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .14021E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .58193E-05   1.0000          .0000       .10000E+07
    21 'norm      '    2.2283       1.0000          .0000       .10000E+07
    22 'Prefactor '    .40163E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .67722E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .98676E-03   1.0000          .0000       .10000E+07
    25 'norm      '    28.097       1.0000          .0000       .10000E+07
    26 'norm      '    58.399       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.4156       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .64368       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=   8976.014     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1988 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19429E-08    8.5707       -.59500E-06** at limit **
   2  Prefactor     9.2900        1.1293        .29958E-08   -.77844E-03
   3  Prefactor     1.2538        6.6782       -.61722E-07    .48472E-04
   4  norm          .70471        1.1673       -.42796E-07   -.45364E-03
   5  Prefactor     .14433E-07    2.5005       -.68650E-07** at limit **
   6  Prefactor     3.4479        2.0645       -.55931E-07    .92439E-04
   7  Prefactor     .54401E-08    35.284        .16071E-05** at limit **
   8  norm          63.707        4.3534        .49436E-07   -.14917E-02
   9  Prefactor     .38303E-08    .81728       -.12731E-06** at limit **
  10  norm          1.3453        2.5564       -.29302E-06   -.49289E-03
  11  Prefactor     .15377E-07    2.5180       -.72360E-07** at limit **
  12  Prefactor      .0000        1.7995        .65624E-07** at limit **
  13  Prefactor     2.6042        2.6756        .15760E-07   -.24300E-03
  14  Prefactor      .0000        3.1191        .18248E-06** at limit **
  15  norm          .30611        .26911        .81485E-08   -.13615E-03
  16  norm          12.254        5.1884        .13200E-07   -.71022E-04
  17  Prefactor     .49960E-09    4.7860        .36443E-06** at limit **
  18  Prefactor     .11102E-09    2.7716       -.21219E-07** at limit **
  19  Prefactor     .31086E-08    3.0251       -.32990E-06** at limit **
  20  Prefactor      .0000        1.6482       -.85916E-07** at limit **
  21  norm          2.2417        4.7429       -.10041E-06   -.29509E-03
  22  Prefactor     .55511E-10    12.747        .41131E-06** at limit **
  23  norm           .0000        4.3634        .20408E-06** at limit **
  24  Prefactor     .16653E-09    2.8278       -.34803E-06** at limit **
  25  norm          28.291        1.6787       -.42457E-07    .14326E-01
  26  norm          57.987        2.8765        .65303E-07   -.29679E-01
  27  Normalizat    1.4146        .23436       -.68126E-05   -.31371E-04
  28  Prefactor     .64414        .24659        .11951E-04   -.21798E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.94289e-09
  Prefactor  = 9.29001
  Prefactor  = 1.25381
  norm       = 0.70471
  Prefactor  = 1.44329e-08
  Prefactor  = 3.44791
  Prefactor  = 5.44009e-09
  norm       = 63.707
  Prefactor  = 3.83027e-09
  norm       = 1.3453
  Prefactor  = 1.53766e-08
  Prefactor  = 0
  Prefactor  = 2.60415
  Prefactor  = 0
  norm       = 0.306112
  norm       = 12.2544
  Prefactor  = 4.996e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 3.10862e-09
  Prefactor  = 0
  norm       = 2.2417
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 1.66533e-10
  norm       = 28.2908
  norm       = 57.9871
  Normalizat = 1.4146
  Prefactor  = 0.644143
 **********
 **   18 **HESSE 
 **********

 FCN=   8976.014     FROM HESSE     STATUS=OK           577 CALLS     2565 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19429E-08    9.2656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.2900        9.9630        .32916E-03   -1.5647    
   3  Prefactor     1.2538        6.6059        .10060E-02   -1.5686    
   4  norm          .70471        1.1772        .60479E-03   -1.5691    
   5  Prefactor     .14433E-07    6.9064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4479        2.0688        .54469E-03   -1.5671    
   7  Prefactor     .54401E-08    35.600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          63.707        4.3566        .12531E-03   -1.5548    
   9  Prefactor     .38303E-08    9.8024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3453        2.6096        .93804E-03   -1.5685    
  11  Prefactor     .15377E-07    7.8146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.6042        2.6979        .63236E-03   -1.5676    
  14  Prefactor      .0000        3.1168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .30611        .28605        .98125E-03   -1.5697    
  16  norm          12.254        5.1804        .28614E-03   -1.5638    
  17  Prefactor     .49960E-09    4.8672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11102E-09    7.2982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .31086E-08    5.8808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        1.6479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.2417        4.9557        .68846E-03   -1.5678    
  22  Prefactor     .55511E-10    12.847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        4.3629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .16653E-09    5.9919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          28.291        14.138        .18869E-03   -1.5602    
  26  norm          57.987        24.830        .13087E-03   -1.5556    
  27  Normalizat    1.4146        .20211        .66901E-01   -.80207    
  28  Prefactor     .64414        .21350        .10166       -1.0576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19237e-06
Minuit parameter uncertainties:
  1  0.000270123
  2  9.96302
  3  5.75588
  4  1.17721
  5  0.000631241
  6  2.06877
  7  0.00088215
  8  4.35659
  9  0.000387554
  10  2.60963
  11  0.000693588
  12  3.25226e-06
  13  2.69792
  14  9.34588e-06
  15  0.286052
  16  5.18036
  17  9.77909e-05
  18  5.00378e-05
  19  0.00027133
  20  4.2848e-06
  21  4.95572
  22  5.92572e-05
  23  1.69124e-06
  24  6.5375e-05
  25  14.1384
  26  24.8304
  27  0.202227
  28  0.213768
Done.

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

Extracting fit parameters...

4FGL J1217.9+3007
   Spectrum: LogParabola
317         norm:  1.345e+00  2.610e+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:  6.441e-01  2.138e-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.415e+00  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.37
Ra Dec: 184.476 30.118
Photon Flux Upper Limit: 7.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/279408/likelihoodResults_696297601_696556801_4FGL_J1217.9+3007_daily_bin1763.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) = 8974.79651453
delta logL = 1.21793387662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8974.78739089
delta logL = 1.22705751798

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1160       1.0000          .0000       .10000E+07
     2 'alpha     '    3.2506       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3464       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68227       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=   8974.787     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      223 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1128        9.7930        .11140E-02    .11543E-01
   2  alpha         3.2527        3.7650        .34969        .86574E-04
   3  Normalizat    1.3460        .46436E-01    .68041E-01   -.46568E-04
   4  Prefactor     .68252        .49411E-01    .98772E-01    .47778E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1128
  alpha      = 3.25272
  Normalizat = 1.34599
  Prefactor  = 0.682521
 **********
 **   18 **HESSE 
 **********

 FCN=   8974.787     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1128        2.7905        .68466E-05   -1.5687    
   2  alpha         3.2527        1.3789        .11992E-01    .30583    
   3  Normalizat    1.3460        .23863        .30098E-03   -.82204    
   4  Prefactor     .68252        .25159        .43796E-03   -1.0422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09959e-10
Minuit parameter uncertainties:
  1  2.79051
  2  1.47036
  3  0.238829
  4  0.252004
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/279408': 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) = 8974.78738718
delta logL = 1.22706123055

Extracting fit parameters...

4FGL J1217.9+3007
   Spectrum: LogParabola
317         norm:  1.113e+00  2.791e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  3.253e+00  1.470e+00  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:  6.825e-01  2.520e-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.346e+00  2.388e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 184.476 30.118
Photon Index (Free Index): 3.25 +/- 1.47
Photon Flux (Free Index): 9.88e-08 +/- 8.16e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.34e-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/279408/cmap_HighResolution_696297601_696556801_4FGL_J1217.9+3007_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.44e-05', comment='SUCCESS', energy_flux2='1.85e-05', dlogl='1.23e+00', photon_flux2='9.88e-08', job_status='DONE', time_completed='2023-01-28 01:06:07.128484', photon_index_error2='1.47', photon_index2='3.25', ts='0.37', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', photon_flux_upper_limit='7.24e-08', energy_flux_error2='1.34e-05', EG='1.41', time_epoch_completed='1674896767.13', return_code='0', job_id='279408', GAL2='0.68', EG2='1.35', return_code2='0', photon_flux_error2='8.16e-08', ts2='2.87', photon_index='1.85' WHERE bin_id='1763' AND source_name='4FGL J1217.9+3007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 01:06:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 279408: <4FGL_J1217.9+3007_daily_bin1763> in cluster <slac> Done

Job <4FGL_J1217.9+3007_daily_bin1763> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jan 28 00:50:19 2023
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:50:54 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:50:54 2023
Terminated at Sat Jan 28 01:06:08 2023
Results reported at Sat Jan 28 01:06:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1217.9+3007_daily_bin1763 184.476 30.1177 696297601 696556801 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 :                                   870.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            949 sec.

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

