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


Performing analysis on: 4FGL_J1217.9+3007_daily_bin1751
RA = 184.476, Dec = 30.1177
tmin = 693187201, tmax = 693446401
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='77655', job_status='RUN', time_executed='2022-12-23 00:40:35.361649', time_epoch_executed='1671784835.36' WHERE source_name='4FGL J1217.9+3007' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77655

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77655/ft1_4FGL_J1217.9+3007_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77655/ft2_4FGL_J1217.9+3007_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77655/ft1_4FGL_J1217.9+3007_daily_bin1751.fits outfile=/scratch/kocevski/77655/ft1_filteredMKT_4FGL_J1217.9+3007_daily_bin1751.fits ra=184.476 dec=30.1177 rad=12.0 tmin=693187201.0 tmax=693446401.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.61
user 3.37
sys 0.22

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

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

Number of photons that the gtmktime cut: 792

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77655/ft1_filtered_4FGL_J1217.9+3007_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/77655/ft2_4FGL_J1217.9+3007_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/77655/ltcube_693187201_693446401_4FGL_J1217.9+3007_daily_bin1751.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/77655/ft2_4FGL_J1217.9+3007_daily_bin1751.fits
.....................!
real 12.21
user 11.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77655/ft1_filtered_4FGL_J1217.9+3007_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/77655/ft2_4FGL_J1217.9+3007_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/77655/ltcube_693187201_693446401_4FGL_J1217.9+3007_daily_bin1751.fits outfile=/scratch/kocevski/77655/expmap_693187201_693446401_4FGL_J1217.9+3007_daily_bin1751.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/77655/ltcube_693187201_693446401_4FGL_J1217.9+3007_daily_bin1751.fits
.....................!
real 192.46
user 187.09
sys 5.02

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/77655/ft1_filtered_4FGL_J1217.9+3007_daily_bin1751.fits scfile=/scratch/kocevski/77655/ft2_4FGL_J1217.9+3007_daily_bin1751.fits outfile=/scratch/kocevski/77655/cmap_693187201_693446401_4FGL_J1217.9+3007_daily_bin1751.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77655/ft1_filtered_4FGL_J1217.9+3007_daily_bin1751.fits scfile=/scratch/kocevski/77655/ft2_4FGL_J1217.9+3007_daily_bin1751.fits outfile=/scratch/kocevski/77655/cmap_HighResolution_693187201_693446401_4FGL_J1217.9+3007_daily_bin1751.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/77655/ft1_filtered_4FGL_J1217.9+3007_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/77655/ft2_4FGL_J1217.9+3007_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77655/Model_4FGL_J1217.9+3007_daily_bin1751.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/77655/ft1_filtered_4FGL_J1217.9+3007_daily_bin1751.fits.....................!
real 69.28
user 67.93
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20455E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.200       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.787       1.0000          .0000       .10000E+07
     4 'norm      '    3.1558       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17117E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .38136E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    47.609       1.0000          .0000       .10000E+07
     8 'norm      '    24.892       1.0000          .0000       .10000E+07
     9 'Prefactor '    .78698E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.2277       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.9383       1.0000          .0000       .10000E+07
    12 'Prefactor '    .91051       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.1053       1.0000          .0000       .10000E+07
    14 'Prefactor '    .72870       1.0000          .0000       .10000E+07
    15 'norm      '    .24165       1.0000          .0000       .10000E+07
    16 'norm      '    13.751       1.0000          .0000       .10000E+07
    17 'Prefactor '    8.6975       1.0000          .0000       .10000E+07
    18 'Prefactor '    .14467E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .17763E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .28159E-03   1.0000          .0000       .10000E+07
    21 'norm      '    3.4405       1.0000          .0000       .10000E+07
    22 'Prefactor '    37.512       1.0000          .0000       .10000E+07
    23 'norm      '    1.7560       1.0000          .0000       .10000E+07
    24 'Prefactor '    9.1175       1.0000          .0000       .10000E+07
    25 'norm      '    32.124       1.0000          .0000       .10000E+07
    26 'norm      '    17.479       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1030       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .83810       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=   8171.172     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     2539 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35194E-07    3.0219        .26068E-06** at limit **
   2  Prefactor     14.246        12.981        .37192E-07    .53743E-02
   3  Prefactor     18.776        6.6542       -.22876E-07    .73563E-02
   4  norm          3.1455        1.4338       -.52146E-07   -.24756E-03
   5  Prefactor     .22204E-09    6.1331       -.23744E-06** at limit **
   6  Prefactor      .0000        .50227        .24659E-07** at limit **
   7  Prefactor     49.001        46.942       -.26613E-06   -.45681E-03
   8  norm          24.893        2.6830       -.45446E-07    .82304E-03
   9  Prefactor      .0000        1.8098       -.43277E-08** at limit **
  10  norm          4.2189        2.8212        .66572E-07    .12985E-03
  11  Prefactor     3.9342        7.7052       -.17919E-06    .55876E-04
  12  Prefactor     .91836        1.5870        .53591E-07    .28624E-03
  13  Prefactor     2.1049        1.4164       -.42157E-07    .35243E-03
  14  Prefactor     .76066        5.5785       -.57593E-06    .95879E-05
  15  norm          .24168        .18578       -.33193E-07** at limit **
  16  norm          13.786        5.2350        .11747E-06    .30838E-02
  17  Prefactor     8.6998        5.4993       -.47723E-07   -.26562E-01
  18  Prefactor     .40523E-07    2.7702        .34997E-06** at limit **
  19  Prefactor      .0000        3.6085       -.33443E-06** at limit **
  20  Prefactor      .0000        2.1429       -.48155E-06** at limit **
  21  norm          3.5671        4.3396       -.72621E-07   -.20334E-02
  22  Prefactor     35.973        29.073        .11613E-06    .52154E-03
  23  norm          1.7544        2.4590        .35253E-07   -.11783E-03
  24  Prefactor     9.3723        21.136        .18045E-05   -.18040E-02
  25  norm          32.254        5.5799       -.24987E-07    .41761E-01
  26  norm          17.368        3.8186        .15786E-06    .28276E-01
  27  Normalizat    1.1032        .20748       -.75828E-06   -.39810E-05
  28  Prefactor     .83757        .22101        .13732E-05   -.25513E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.51941e-08
  Prefactor  = 14.2455
  Prefactor  = 18.7765
  norm       = 3.14549
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 49.0008
  norm       = 24.8935
  Prefactor  = 0
  norm       = 4.21889
  Prefactor  = 3.93419
  Prefactor  = 0.918362
  Prefactor  = 2.10487
  Prefactor  = 0.760659
  norm       = 0.241675
  norm       = 13.7865
  Prefactor  = 8.69977
  Prefactor  = 4.05231e-08
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.56706
  Prefactor  = 35.9729
  norm       = 1.75441
  Prefactor  = 9.37234
  norm       = 32.2544
  norm       = 17.368
  Normalizat = 1.10323
  Prefactor  = 0.837567
 **********
 **   18 **HESSE 
 **********

 FCN=   8171.172     FROM HESSE     STATUS=OK           589 CALLS     3128 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35194E-07    5.3162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.246        13.127        .26554E-03   -1.5632    
   3  Prefactor     18.776        6.7049        .23079E-03   -1.5621    
   4  norm          3.1455        1.4305        .57032E-03   -1.5672    
   5  Prefactor     .22204E-09    6.1448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .50016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     49.001        46.874        .14494E-03   -1.5568    
   8  norm          24.893        2.6744        .20048E-03   -1.5608    
   9  Prefactor      .0000        1.8036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.2189        2.8052        .48984E-03   -1.5667    
  11  Prefactor     3.9342        7.7279        .50808E-03   -1.5668    
  12  Prefactor     .91836        1.5851        .45036E-03   -1.5689    
  13  Prefactor     2.1049        1.4174        .71085E-03   -1.5679    
  14  Prefactor     .76066        6.5454        .58409E-03   -1.5691    
  15  norm          .24168        .19649        .73785E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.786        5.2806        .26985E-03   -1.5634    
  17  Prefactor     8.6998        7.1578        .33965E-03   -1.5649    
  18  Prefactor     .40523E-07    5.3541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        3.6034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        2.1418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.5671        4.4175        .54504E-03   -1.5670    
  22  Prefactor     35.973        29.174        .16329E-03   -1.5588    
  23  norm          1.7544        2.4789        .79065E-03   -1.5681    
  24  Prefactor     9.3723        21.230        .33168E-03   -1.5647    
  25  norm          32.254        10.414        .17646E-03   -1.5594    
  26  norm          17.368        15.292        .23929E-03   -1.5625    
  27  Normalizat    1.1032        .17594        .61709E-01   -.89648    
  28  Prefactor     .83757        .18765        .78257E-01   -.98358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04918e-07
Minuit parameter uncertainties:
  1  0.000865118
  2  13.1273
  3  6.70491
  4  1.43049
  5  7.21173e-05
  6  9.88089e-08
  7  46.8743
  8  2.67445
  9  7.41905e-07
  10  2.80515
  11  7.72789
  12  1.58508
  13  1.41736
  14  4.46265
  15  0.19649
  16  5.28055
  17  7.15783
  18  0.000931831
  19  2.07929e-06
  20  3.50297e-06
  21  4.41751
  22  29.1738
  23  2.4789
  24  21.2302
  25  10.4136
  26  15.2925
  27  0.176034
  28  0.187796
Done.

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

Extracting fit parameters...

4FGL J1217.9+3007
   Spectrum: LogParabola
317         norm:  4.219e+00  2.805e+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:  8.376e-01  1.878e-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.103e+00  1.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.28
Ra Dec: 184.476 30.118
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 3.67e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 3.27e-05 +/- 2.18e-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) = 8171.1602849
delta logL = 0.0113682872252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8171.16013317
delta logL = 0.0115200206219

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2125       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7847       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1058       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83620       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=   8171.160     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      231 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2082        79.516        .49075E-03    .10885E-02
   2  alpha         1.7838        2.8927        .38012       -.18942E-05
   3  Normalizat    1.1058        .16399        .61654E-01   -.20378E-04
   4  Prefactor     .83622        .14004        .78321E-01   -.31494E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.20822
  alpha      = 1.78377
  Normalizat = 1.10585
  Prefactor  = 0.836222
 **********
 **   18 **HESSE 
 **********

 FCN=   8171.160     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2082        2.5640        .10958E-04   -1.5667    
   2  alpha         1.7838        .45784        .13482E-01   -.29057    
   3  Normalizat    1.1058        .19451        .27269E-03   -.89564    
   4  Prefactor     .83622        .21837        .34669E-03   -.98407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90495e-12
Minuit parameter uncertainties:
  1  2.56397
  2  0.460676
  3  0.194634
  4  0.218602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77655': 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) = 8171.16012997
delta logL = 0.0115232133357

Extracting fit parameters...

4FGL J1217.9+3007
   Spectrum: LogParabola
317         norm:  4.208e+00  2.564e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  1.784e+00  4.607e-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:  8.362e-01  2.186e-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.106e+00  1.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.32
Ra Dec: 184.476 30.118
Photon Index (Free Index): 1.78 +/- 0.46
Photon Flux (Free Index): 3.38e-08 +/- 2.77e-08
Energy Flux (Free Index): 3.59e-05 +/- 3.16e-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/77655/cmap_HighResolution_693187201_693446401_4FGL_J1217.9+3007_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.67e-08', energy_flux2='3.59e-05', photon_flux_error='2.44e-08', dlogl='1.15e-02', energy_flux='3.27e-05', photon_flux2='3.38e-08', job_status='DONE', time_completed='2022-12-23 00:53:40.939680', photon_index_error2='0.46', photon_index2='1.78', ts='8.28', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='3.16e-05', EG='1.10', time_epoch_completed='1671785620.94', return_code='0', job_id='77655', GAL2='0.84', EG2='1.11', return_code2='0', energy_flux_error='2.18e-05', photon_flux_error2='2.77e-08', ts2='8.32', photon_index='1.85' WHERE bin_id='1751' AND source_name='4FGL J1217.9+3007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:53:40 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 77655: <4FGL_J1217.9+3007_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1217.9+3007_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:40:13 2022
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:40:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:40:14 2022
Terminated at Fri Dec 23 00:53:41 2022
Results reported at Fri Dec 23 00:53:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1217.9+3007_daily_bin1751 184.476 30.1177 693187201 693446401 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 :                                   787.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            808 sec.

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

