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 89 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_J2307.6+1451_daily_bin1751
RA = 346.922, Dec = 14.8644
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='89058', job_status='RUN', time_executed='2022-12-23 01:26:59.927340', time_epoch_executed='1671787619.93' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89058

Creating custom pfile directory:
/scratch/kocevski/89058/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/89058/ft1_4FGL_J2307.6+1451_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/89058/ft2_4FGL_J2307.6+1451_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89058/ft1_4FGL_J2307.6+1451_daily_bin1751.fits outfile=/scratch/kocevski/89058/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1751.fits ra=346.922 dec=14.8644 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.62
user 3.39
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/89058/ft2_4FGL_J2307.6+1451_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/89058/ft2_4FGL_J2307.6+1451_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/89058/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/89058/ft1_filtered_4FGL_J2307.6+1451_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.31
sys 0.17

Number of photons that the gtmktime cut: 913

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89058/ft1_filtered_4FGL_J2307.6+1451_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/89058/ft2_4FGL_J2307.6+1451_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/89058/ltcube_693187201_693446401_4FGL_J2307.6+1451_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/89058/ft2_4FGL_J2307.6+1451_daily_bin1751.fits
.....................!
real 12.21
user 11.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89058/ft1_filtered_4FGL_J2307.6+1451_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/89058/ft2_4FGL_J2307.6+1451_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/89058/ltcube_693187201_693446401_4FGL_J2307.6+1451_daily_bin1751.fits outfile=/scratch/kocevski/89058/expmap_693187201_693446401_4FGL_J2307.6+1451_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/89058/ltcube_693187201_693446401_4FGL_J2307.6+1451_daily_bin1751.fits
.....................!
real 191.59
user 186.15
sys 5.10

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

Setting source of interest to:
4FGL J2307.6+1451 @ 346.922 14.8644

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/89058/ft1_filtered_4FGL_J2307.6+1451_daily_bin1751.fits scfile=/scratch/kocevski/89058/ft2_4FGL_J2307.6+1451_daily_bin1751.fits outfile=/scratch/kocevski/89058/cmap_693187201_693446401_4FGL_J2307.6+1451_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=346.922 yref=14.8644 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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89058/ft1_filtered_4FGL_J2307.6+1451_daily_bin1751.fits scfile=/scratch/kocevski/89058/ft2_4FGL_J2307.6+1451_daily_bin1751.fits outfile=/scratch/kocevski/89058/cmap_HighResolution_693187201_693446401_4FGL_J2307.6+1451_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=346.922 yref=14.8644 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/89058/ft1_filtered_4FGL_J2307.6+1451_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/89058/ft2_4FGL_J2307.6+1451_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/89058/Model_4FGL_J2307.6+1451_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/89058/ft1_filtered_4FGL_J2307.6+1451_daily_bin1751.fits.....................!
real 105.76
user 104.33
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/89058/ft1_filtered_4FGL_J2307.6+1451_daily_bin1751.fits', '/scratch/kocevski/89058/ft2_4FGL_J2307.6+1451_daily_bin1751.fits', expMap='/scratch/kocevski/89058/expmap_693187201_693446401_4FGL_J2307.6+1451_daily_bin1751.fits', expCube='/scratch/kocevski/89058/ltcube_693187201_693446401_4FGL_J2307.6+1451_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/89058/Model_4FGL_J2307.6+1451_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2307.6+1451'

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.115e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/89058/ft1_filtered_4FGL_J2307.6+1451_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/89058/ft2_4FGL_J2307.6+1451_daily_bin1751.fits
Exposure map: /scratch/kocevski/89058/expmap_693187201_693446401_4FGL_J2307.6+1451_daily_bin1751.fits
Exposure cube: /scratch/kocevski/89058/ltcube_693187201_693446401_4FGL_J2307.6+1451_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/89058/Model_4FGL_J2307.6+1451_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) = 9847.59421698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49565       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23134E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3026       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .35666E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.2214       1.0000          .0000       .10000E+07
     7 'Prefactor '    11.252       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9887       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21585E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    12.298       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12230E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .12732E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .14000E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .23621E-02   1.0000          .0000       .10000E+07
    15 'norm      '    26.912       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.8653       1.0000          .0000       .10000E+07
    17 'Prefactor '    14.312       1.0000          .0000       .10000E+07
    18 'norm      '    5.2232       1.0000          .0000       .10000E+07
    19 'Prefactor '    .90061E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2876       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0233       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9847.405     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1668 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23549E-05    527.79       -.70180E-05** at limit **
   2  Prefactor     .61062E-09    26.618       -.42953E-06** at limit **
   3  Prefactor     2.3061        .34394       -.27267E-07    .25802E-02
   4  Prefactor     .10000E-03    3.4408       -.42156E-06** at limit **
   5  norm           .0000        .87741       -.56039E-07** at limit **
   6  Prefactor     7.2671        6.8051       -.12177E-06   -.53092E-01
   7  Prefactor     11.412        10.373        .90858E-07   -.11039E-02
   8  Prefactor     1.9884        .26778        .69370E-08    .29440E-03
   9  Prefactor     .27756E-08    131.74       -.50621E-06** at limit **
  10  Prefactor     12.306        8.7382       -.55479E-07   -.51143E-03
  11  Prefactor     .11047E-06    69.087       -.17895E-05** at limit **
  12  Prefactor     .42916E-05    19.345        .39035E-06** at limit **
  13  Prefactor     .83267E-09    9.2983       -.38698E-06** at limit **
  14  Prefactor     .52308E-06    58.832        .40770E-06** at limit **
  15  norm          27.012        14.411        .14709E-06    .31451E-04
  16  Prefactor     7.9390        10.372       -.75887E-07    .89420E-03
  17  Prefactor     14.229        4.4664        .17364E-07   -.18372E-01
  18  norm          5.0658        17.482        .25599E-06   -.88934E-02
  19  Prefactor      .0000        2.3096       -.62412E-07** at limit **
  20  Normalizat    1.2869        .26361       -.42517E-06    .74736E-04
  21  Prefactor     1.0235        .14415        .40702E-07    .11779E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.35489e-06
  Prefactor  = 6.10623e-10
  Prefactor  = 2.30608
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 7.26708
  Prefactor  = 11.4117
  Prefactor  = 1.98838
  Prefactor  = 2.77556e-09
  Prefactor  = 12.3064
  Prefactor  = 1.10467e-07
  Prefactor  = 4.29157e-06
  Prefactor  = 8.32667e-10
  Prefactor  = 5.23082e-07
  norm       = 27.0123
  Prefactor  = 7.93902
  Prefactor  = 14.2291
  norm       = 5.06579
  Prefactor  = 0
  Normalizat = 1.28693
  Prefactor  = 1.0235
 **********
 **   18 **HESSE 
 **********

 FCN=   9847.405     FROM HESSE     STATUS=OK           375 CALLS     2043 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23549E-05    21.595        .10688E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61062E-09    26.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3061        .36472        .48351E-02   -1.5404    
   4  Prefactor     .10000E-03    3.4286        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .87405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.2671        24.644        .37303E-03   -1.5654    
   7  Prefactor     11.412        10.377        .29841E-03   -1.5640    
   8  Prefactor     1.9884        .26981        .39732E-02   -1.5426    
   9  Prefactor     .27756E-08    127.24        .16935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.306        8.7359        .28540E-03   -1.5638    
  11  Prefactor     .11047E-06    71.258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .42916E-05    4.2292        .60656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .83267E-09    9.3824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .52308E-06    60.491        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          27.012        15.796        .19280E-03   -1.5604    
  16  Prefactor     7.9390        10.491        .35729E-03   -1.5652    
  17  Prefactor     14.229        28.942        .26449E-03   -1.5633    
  18  norm          5.0658        17.727        .43959E-03   -1.5663    
  19  Prefactor      .0000        2.3141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2869        .23033        .85664E-01   -.83957    
  21  Prefactor     1.0235        .12551        .41826E-01   -.91950    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72476e-07
Minuit parameter uncertainties:
  1  0.0142626
  2  0.000257307
  3  0.364725
  4  1.31519e-06
  5  2.80023e-06
  6  24.6441
  7  10.3769
  8  0.269811
  9  0.0011901
  10  8.7359
  11  0.00561124
  12  0.00852056
  13  0.000178036
  14  0.0112501
  15  15.7964
  16  10.4906
  17  28.9418
  18  17.7277
  19  2.60693e-06
  20  0.230516
  21  0.125548
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.231e+01  8.736e+00  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.023e+00  1.255e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.287e+00  2.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.17
Ra Dec: 346.922 14.864
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 6.66e-08 +/- 4.72e-08
Energy Flux (Fixed Index): 3.08e-05 +/- 2.19e-05

TS (Fixed Index): 3.17
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 1.66e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/89058/likelihoodResults_693187201_693446401_4FGL_J2307.6+1451_daily_bin1751.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) = 9847.35971528
delta logL = 0.0452350117594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9847.35277745
delta logL = 0.0521728381336

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9847.353     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      293 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.512        11.850        .10507E-04    .11383E-02
   2  Index         1.9822        .61417        .96035E-02   -.16777E-04
   3  Normalizat    1.3001        .25578        .37782E-03   -.61986E-04
   4  Prefactor     1.0195        .14373        .23600E-03   -.90951E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.512
  Index      = 1.98222
  Normalizat = 1.30009
  Prefactor  = 1.01948
 **********
 **   18 **HESSE 
 **********

 FCN=   9847.353     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.512        11.470        .42028E-06   -1.5632    
   2  Index         1.9822        .59411        .38414E-03   -.64795    
   3  Normalizat    1.3001        .25560        .15113E-04   -.83564    
   4  Prefactor     1.0195        .14378        .94399E-05   -.92083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14219e-11
Minuit parameter uncertainties:
  1  11.4705
  2  0.59633
  3  0.255846
  4  0.143833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89058': 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) = 9847.35277742
delta logL = 0.0521728733383

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.451e+01  1.147e+01  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  1.982e+00  5.963e-01  0.000e+00  1.000e+01 (-1.000e+00)
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.019e+00  1.438e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.300e+00  2.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.29
Ra Dec: 346.922 14.864
Photon Index (Free Index): 1.98 +/- 0.60
Photon Flux (Free Index): 5.21e-08 +/- 5.65e-08
Energy Flux (Free Index): 3.76e-05 +/- 3.71e-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/89058/cmap_HighResolution_693187201_693446401_4FGL_J2307.6+1451_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', photon_flux='6.66e-08', energy_flux2='3.76e-05', photon_flux_error='4.72e-08', dlogl='5.22e-02', energy_flux='3.08e-05', photon_flux2='5.21e-08', job_status='DONE', time_completed='2022-12-23 01:39:26.772667', photon_index_error2='0.60', photon_index2='1.98', ts='3.17', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.66e-07', energy_flux_error2='3.71e-05', EG='1.29', time_epoch_completed='1671788366.77', return_code='0', job_id='89058', GAL2='1.02', EG2='1.30', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='5.65e-08', ts2='3.29', photon_index='2.18' WHERE bin_id='1751' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:39:26 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 89058: <4FGL_J2307.6+1451_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1751> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Dec 23 01:25:20 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:25:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:25:21 2022
Terminated at Fri Dec 23 01:39:27 2022
Results reported at Fri Dec 23 01:39:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1751 346.922 14.8644 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2307.6+1451 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   749.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             321.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            847 sec.

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

