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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1731
RA = 346.922, Dec = 14.8644
tmin = 688003201, tmax = 688262401
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='551249', job_status='RUN', time_executed='2022-10-24 00:41:01.820935', time_epoch_executed='1666597261.82' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551249

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551249/ft1_4FGL_J2307.6+1451_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551249/ft2_4FGL_J2307.6+1451_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551249/ft1_4FGL_J2307.6+1451_daily_bin1731.fits outfile=/scratch/kocevski/551249/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1731.fits ra=346.922 dec=14.8644 rad=12.0 tmin=688003201.0 tmax=688262401.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.57
user 3.33
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551249/ft2_4FGL_J2307.6+1451_daily_bin1731.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/551249/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1731.fits evtable="EVENTS" outfile="/scratch/kocevski/551249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1731.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.32
sys 0.16

Number of photons that the gtmktime cut: 830

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551249/ft2_4FGL_J2307.6+1451_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551249/ltcube_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.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/551249/ft2_4FGL_J2307.6+1451_daily_bin1731.fits
.....................!
real 12.06
user 11.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551249/ft2_4FGL_J2307.6+1451_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551249/ltcube_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.fits outfile=/scratch/kocevski/551249/expmap_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.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/551249/ltcube_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.fits
.....................!
real 191.16
user 185.44
sys 5.22

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/551249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1731.fits scfile=/scratch/kocevski/551249/ft2_4FGL_J2307.6+1451_daily_bin1731.fits outfile=/scratch/kocevski/551249/cmap_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1731.fits scfile=/scratch/kocevski/551249/ft2_4FGL_J2307.6+1451_daily_bin1731.fits outfile=/scratch/kocevski/551249/cmap_HighResolution_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.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.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1731.fits', '/scratch/kocevski/551249/ft2_4FGL_J2307.6+1451_daily_bin1731.fits', expMap='/scratch/kocevski/551249/expmap_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.fits', expCube='/scratch/kocevski/551249/ltcube_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551249/Model_4FGL_J2307.6+1451_daily_bin1731.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/551249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1731.fits
Spacecraft file(s): /scratch/kocevski/551249/ft2_4FGL_J2307.6+1451_daily_bin1731.fits
Exposure map: /scratch/kocevski/551249/expmap_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.fits
Exposure cube: /scratch/kocevski/551249/ltcube_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551249/Model_4FGL_J2307.6+1451_daily_bin1731.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) = 8419.57249219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.736       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.292       1.0000          .0000       .10000E+07
     3 'Prefactor '    .91368       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9642       1.0000         .10000E-03   10000.    
     5 'norm      '    .20539E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    16.665       1.0000          .0000       .10000E+07
     7 'Prefactor '    17.539       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.8215       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0424       1.0000          .0000       .10000E+07
    10 'Prefactor '    .39832E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.6196       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17704E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13711E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.1928       1.0000          .0000       .10000E+07
    15 'norm      '    7.6090       1.0000          .0000       .10000E+07
    16 'Prefactor '    .99991       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17761E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .15788E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.6784       1.0000          .0000       .10000E+07
    20 'Normalizat'    .95613       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89365       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=   8419.506     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1298 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.067        9.7979       -.97067E-06   -.25917E-01
   2  Prefactor     15.404        9.4284        .10324E-05   -.41982E-01
   3  Prefactor     .91265        .24243        .43470E-06   -.13916E-03
   4  Prefactor     5.9451        3.0742       -.78679E-05   -.85383E-02
   5  norm           .0000        .80229       -.68466E-08** at limit **
   6  Prefactor     13.872        35.876       -.34926E-06    .28942E-02
   7  Prefactor     17.423        7.2135        .31332E-06   -.11615E-02
   8  Prefactor     3.8266        .32662        .28160E-06    .66976E-03
   9  Prefactor     .72561E-05    1135.9        .31831E-04** at limit **
  10  Prefactor     .20539E-08    3.2809       -.81205E-06** at limit **
  11  Prefactor     5.5623        8.8623       -.14322E-05    .10239E-01
  12  Prefactor     .33307E-09    2.8597       -.72323E-06** at limit **
  13  Prefactor     .14433E-08    3.2224       -.81954E-06** at limit **
  14  Prefactor     6.1663        12.200        .21916E-06    .17326E-01
  15  norm          7.5876        6.8207       -.49264E-06    .10938E-03
  16  Prefactor     .97025        1.5642        .40289E-06   -.53413E-02
  17  Prefactor      .0000        4.8084       -.18296E-05** at limit **
  18  norm          .38858E-09    5.1032       -.39717E-06** at limit **
  19  Prefactor     1.6269        7.4851        .11544E-05   -.10532E-02
  20  Normalizat    .95614        .25195       -.25356E-04    .59424E-04
  21  Prefactor     .89470        .14118        .91203E-05    .14358E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0672
  Prefactor  = 15.4036
  Prefactor  = 0.912646
  Prefactor  = 5.94508
  norm       = 0
  Prefactor  = 13.8723
  Prefactor  = 17.4231
  Prefactor  = 3.82659
  Prefactor  = 7.25614e-06
  Prefactor  = 2.05391e-09
  Prefactor  = 5.56225
  Prefactor  = 3.33067e-10
  Prefactor  = 1.44329e-09
  Prefactor  = 6.16625
  norm       = 7.58756
  Prefactor  = 0.970248
  Prefactor  = 0
  norm       = 3.88578e-10
  Prefactor  = 1.62688
  Normalizat = 0.956143
  Prefactor  = 0.894702
 **********
 **   18 **HESSE 
 **********

 FCN=   8419.506     FROM HESSE     STATUS=OK           371 CALLS     1669 TOTAL
                     EDM=   .86E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.067        13.678        .28042E-03   -1.5636    
   2  Prefactor     15.404        15.770        .25586E-03   -1.5629    
   3  Prefactor     .91265        .24684        .49948E-02   -1.5517    
   4  Prefactor     5.9451        8.5293        .41105E-02   -1.5220    
   5  norm           .0000        .80034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.872        35.997        .24507E-03   -1.5633    
   7  Prefactor     17.423        11.893        .23888E-03   -1.5624    
   8  Prefactor     3.8266        .32558        .31951E-02   -1.5317    
   9  Prefactor     .72561E-05    20.652        .14862E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .20539E-08    3.3068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.5623        15.498        .42354E-03   -1.5661    
  12  Prefactor     .33307E-09    2.8564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14433E-08    3.2369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1663        14.361        .40317E-03   -1.5658    
  15  norm          7.5876        7.7144        .36331E-03   -1.5653    
  16  Prefactor     .97025        10.965        .43762E-03   -1.5688    
  17  Prefactor      .0000        6.1749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .38858E-09    6.1512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.6269        7.5167        .81295E-03   -1.5682    
  20  Normalizat    .95614        .22052        .82475E-01   -.94515    
  21  Prefactor     .89470        .12056        .44924E-01   -.96326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.62311e-07
Minuit parameter uncertainties:
  1  13.6778
  2  15.7705
  3  0.24684
  4  8.53101
  5  2.67805e-06
  6  35.9976
  7  11.8927
  8  0.325577
  9  0.0244828
  10  0.000164573
  11  15.4985
  12  5.99328e-05
  13  0.000135765
  14  14.3615
  15  7.71444
  16  6.5235
  17  1.47549e-05
  18  9.4772e-05
  19  6.99392
  20  0.220727
  21  0.120591
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  2.054e-09  1.646e-04  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:  8.947e-01  1.206e-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.561e-01  2.207e-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: 7.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551249/likelihoodResults_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.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) = 8419.50577845
delta logL = -0.000267356595941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8419.50551111
delta logL = -1.90702849068e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15710E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .48485       1.0000          .0000       10.000    
     3 'Normalizat'    .95611       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89472       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=   8419.506     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      303 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44675E-06    .20837E-03    .13297E-02** at limit **
   2  Index         4.1858        7.0927        .39460        .33542E-05
   3  Normalizat    .95614        .43683E-03    .82475E-01    .16391E-05
   4  Prefactor     .89471        .25399E-03    .44938E-01    .58422E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.46754e-07
  Index      = 4.1858
  Normalizat = 0.956137
  Prefactor  = 0.894706
 **********
 **   18 **HESSE 
 **********

 FCN=   8419.506     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      344 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44675E-06    .66377E-03    .51796E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.1858        3.0439        .50000       -.16357    
   3  Normalizat    .95614        .36994E-03    .36511E-03   -.94515    
   4  Prefactor     .89471        .21550E-03    .21757E-03   -.96326    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.89941e-12
Minuit parameter uncertainties:
  1  3.44403e-05
  2  3.28032
  3  0.00036994
  4  0.000215501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551249': 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) = 8419.50551109
delta logL = -4.0017766878e-10

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  4.468e-07  3.444e-05  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  4.186e+00  3.280e+00  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:  8.947e-01  2.155e-04  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.561e-01  3.699e-04  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/551249/cmap_HighResolution_688003201_688262401_4FGL_J2307.6+1451_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2022-10-24 00:52:07.290780', job_id='551249', GAL2='0.89', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1666597927.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-4.00e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1731' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:52:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 551249: <4FGL_J2307.6+1451_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:28 2022
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:29 2022
Terminated at Mon Oct 24 00:52:08 2022
Results reported at Mon Oct 24 00:52:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1731 346.922 14.8644 688003201 688262401 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 :                                   667.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            700 sec.

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

