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 152 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1669
RA = 346.922, Dec = 14.8644
tmin = 671932801, tmax = 672192001
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='692271', job_status='RUN', time_executed='2022-04-21 00:38:27.159420', time_epoch_executed='1650526707.16' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692271

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692271/ft1_4FGL_J2307.6+1451_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692271/ft2_4FGL_J2307.6+1451_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692271/ft1_4FGL_J2307.6+1451_daily_bin1669.fits outfile=/scratch/kocevski/692271/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1669.fits ra=346.922 dec=14.8644 rad=12.0 tmin=671932801.0 tmax=672192001.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.80
user 3.51
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/692271/ft2_4FGL_J2307.6+1451_daily_bin1669.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/692271/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1669.fits evtable="EVENTS" outfile="/scratch/kocevski/692271/ft1_filtered_4FGL_J2307.6+1451_daily_bin1669.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.63
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 800

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/692271/ft1_filtered_4FGL_J2307.6+1451_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/692271/ft2_4FGL_J2307.6+1451_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/692271/ltcube_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.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/692271/ft2_4FGL_J2307.6+1451_daily_bin1669.fits
.....................!
real 12.10
user 11.53
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692271/ft1_filtered_4FGL_J2307.6+1451_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692271/ft2_4FGL_J2307.6+1451_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/692271/ltcube_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.fits outfile=/scratch/kocevski/692271/expmap_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.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/692271/ltcube_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.fits
.....................!
real 192.74
user 186.93
sys 5.38

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/692271/ft1_filtered_4FGL_J2307.6+1451_daily_bin1669.fits scfile=/scratch/kocevski/692271/ft2_4FGL_J2307.6+1451_daily_bin1669.fits outfile=/scratch/kocevski/692271/cmap_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/692271/ft1_filtered_4FGL_J2307.6+1451_daily_bin1669.fits scfile=/scratch/kocevski/692271/ft2_4FGL_J2307.6+1451_daily_bin1669.fits outfile=/scratch/kocevski/692271/cmap_HighResolution_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/692271/ft1_filtered_4FGL_J2307.6+1451_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692271/ft2_4FGL_J2307.6+1451_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692271/Model_4FGL_J2307.6+1451_daily_bin1669.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/692271/ft1_filtered_4FGL_J2307.6+1451_daily_bin1669.fits....................!
real 93.73
user 92.23
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/692271/ft1_filtered_4FGL_J2307.6+1451_daily_bin1669.fits', '/scratch/kocevski/692271/ft2_4FGL_J2307.6+1451_daily_bin1669.fits', expMap='/scratch/kocevski/692271/expmap_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.fits', expCube='/scratch/kocevski/692271/ltcube_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/692271/Model_4FGL_J2307.6+1451_daily_bin1669.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  1.000e-04  1.000e+04 ( 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/692271/ft1_filtered_4FGL_J2307.6+1451_daily_bin1669.fits
Spacecraft file(s): /scratch/kocevski/692271/ft2_4FGL_J2307.6+1451_daily_bin1669.fits
Exposure map: /scratch/kocevski/692271/expmap_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.fits
Exposure cube: /scratch/kocevski/692271/ltcube_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/692271/Model_4FGL_J2307.6+1451_daily_bin1669.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) = 8940.67631862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.867       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .86868E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2623       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0888       1.0000         .10000E-03   10000.    
     5 'norm      '    2.0124       1.0000         .10000E-03   10000.    
     6 'Prefactor '    68.940       1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.331       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .28281       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13651E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10284E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.8714       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.265       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1177       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10467E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10377E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .81642E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .57748E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .13936E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96595       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0055       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.

 FCN=   8940.668     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2776 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.870        15.180        .21414E-02   -.15733E-02
   2  Prefactor     .10475E-03    7.9789        .94484E-01** at limit **
   3  Prefactor     1.2623        .25855        .45434E-02    .20669E-02
   4  Prefactor     3.0889        4.4129        .57691E-02    .74515E-03
   5  norm          2.0125        1.3695        .72954E-02    .13051E-03
   6  Prefactor     68.931        38.704        .12086E-02   -.98910E-03
   7  Prefactor     29.332        13.288        .18494E-02   -.61767E-03
   8  Prefactor     .10000E-03    6.1111        .90712E-02** at limit **
   9  Prefactor     .28285        .13997        .50279E-02    .27064E-02
  10  Prefactor     .10000E-03    9.9893        .90712E-02** at limit **
  11  Prefactor     .10002E-03    30.517        .90712E-02** at limit **
  12  Prefactor     .10000E-03    1.6703        .90712E-02** at limit **
  13  Prefactor     5.8732        10.293        .41434E-02    .40672E-03
  14  Prefactor     18.259        22.677        .23429E-02   -.94580E-03
  15  Prefactor     .10000E-03    3.7999        .90712E-02** at limit **
  16  Prefactor     3.1206        10.126        .57407E-02    .24420E-03
  17  Prefactor     .10000E-03    21.816        .90712E-02** at limit **
  18  norm          .10000E-03    3.5437        .90712E-02** at limit **
  19  Prefactor     .10000E-03    1.5712        .90712E-02** at limit **
  20  Prefactor     .10000E-03    89.353        .10445E-01** at limit **
  21  norm          .10133E-03    7.7827        .10542    ** at limit **
  22  Prefactor     .10000E-03    3.1509        .90712E-01** at limit **
  23  Normalizat    .96601        .19246        .78052E-01    .10087E-03
  24  Prefactor     1.0055        .10863        .44084E-01    .18674E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.8699
  Prefactor  = 0.000104748
  Prefactor  = 1.26233
  Prefactor  = 3.08892
  norm       = 2.0125
  Prefactor  = 68.9305
  Prefactor  = 29.3324
  Prefactor  = 0.0001
  Prefactor  = 0.282849
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  Prefactor  = 0.0001
  Prefactor  = 5.87316
  Prefactor  = 18.2585
  Prefactor  = 0.0001
  Prefactor  = 3.12064
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.000101326
  Prefactor  = 0.000100001
  Normalizat = 0.966013
  Prefactor  = 1.00548
 **********
 **   18 **HESSE 
 **********

 FCN=   8940.668     FROM HESSE     STATUS=OK           403 CALLS     3179 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.870        15.229        .85655E-04   -1.4772    
   2  Prefactor     .10475E-03    8.5363        .88919E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2623        .25919        .20106E-04   -1.5483    
   4  Prefactor     3.0889        4.4013        .23051E-03   -1.5356    
   5  norm          2.0125        1.3702        .87763E-04   -1.5424    
   6  Prefactor     68.931        38.613        .48343E-04   -1.4046    
   7  Prefactor     29.332        13.268        .73977E-04   -1.4624    
   8  Prefactor     .10000E-03    6.1164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .28285        .13667        .22594E-04   -1.5602    
  10  Prefactor     .10000E-03    10.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    30.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.6754        .11933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.8732        10.282        .16573E-03   -1.5223    
  14  Prefactor     18.259        22.677        .93716E-04   -1.4853    
  15  Prefactor     .10000E-03    3.8342        .17988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.1206        10.082        .22963E-03   -1.5355    
  17  Prefactor     .10000E-03    21.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.5655        .17365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.5743        .11573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    92.707        .41780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10133E-03    43.959        .51051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    17.441        .32477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .96601        .22085        .34545E-03   -.94178    
  24  Prefactor     1.0055        .12605        .19607E-03   -.92547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80955e-08
Minuit parameter uncertainties:
  1  15.2314
  2  0.0127344
  3  0.259186
  4  4.40175
  5  1.37018
  6  38.6271
  7  13.269
  8  7.77007e-06
  9  0.136669
  10  6.44097e-05
  11  0.00166051
  12  1.18582e-05
  13  10.2852
  14  22.6873
  15  1.21417e-05
  16  10.0873
  17  9.22319e-05
  18  1.8718e-06
  19  1.95429e-05
  20  0.00133214
  21  0.0152833
  22  0.000226843
  23  0.221059
  24  0.126087
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  1.186e-05  1.000e-04  1.000e+04 ( 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.005e+00  1.261e-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:  9.660e-01  2.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 4.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/692271/likelihoodResults_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.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): 102
logL (Free Index) = 8940.67128517
delta logL = -0.00283031154686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8940.66845418
delta logL = 6.74164766679e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1591       1.0000          .0000       10.000    
     3 'Normalizat'    .96600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0055       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=   8940.668     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      260 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.8985        .12227E-01** at limit **
   2  Index         1.6126        5.5864        .50000       -.32969E-07
   3  Normalizat    .96601        .71707E-02    .34545E-03    .39413E-03
   4  Prefactor     1.0055        .41721E-02    .19607E-03    .69529E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.61261
  Normalizat = 0.966014
  Prefactor  = 1.00548
 **********
 **   18 **HESSE 
 **********

 FCN=   8940.668     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      289 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.795        .14003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6126        5.8063        .50000       -.74433    
   3  Normalizat    .96601        .26379E-01    .13818E-04   -.94178    
   4  Prefactor     1.0055        .15348E-01    .39215E-04   -.92547    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.68846e-11
Minuit parameter uncertainties:
  1  8.17055e-07
  2  418.985
  3  0.0263797
  4  0.015348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692271': 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): 102
logL (Free Index) = 8940.66844671
delta logL = 8.1406760728e-06

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  8.171e-07  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  1.613e+00  4.190e+02  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.005e+00  1.535e-02  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:  9.660e-01  2.638e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.922 14.864

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/692271/cmap_HighResolution_671932801_672192001_4FGL_J2307.6+1451_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-03', job_status='DONE', photon_flux_upper_limit='4.61e-08', time_completed='2022-04-21 00:52:00.060681', job_id='692271', GAL2='1.01', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1650527520.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='8.14e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1669' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:52:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 692271: <4FGL_J2307.6+1451_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1669> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Apr 21 00:35:41 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:35:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:35:42 2022
Terminated at Thu Apr 21 00:52:00 2022
Results reported at Thu Apr 21 00:52:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1669 346.922 14.8644 671932801 672192001 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 :                                   814.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            979 sec.

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

