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


Performing analysis on: 4FGL_J2307.6+1451_weekly_bin741
RA = 346.922, Dec = 14.8644
tmin = 687139201, tmax = 687744001
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='396700', job_status='RUN', time_executed='2022-10-18 01:42:25.707758', time_epoch_executed='1666082545.71' WHERE source_name='4FGL J2307.6+1451' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/396700

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/396700/ft1_4FGL_J2307.6+1451_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/396700/ft2_4FGL_J2307.6+1451_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/396700/ft1_4FGL_J2307.6+1451_weekly_bin741.fits outfile=/scratch/kocevski/396700/ft1_filteredMKT_4FGL_J2307.6+1451_weekly_bin741.fits ra=346.922 dec=14.8644 rad=12.0 tmin=687139201.0 tmax=687744001.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 6.60
user 6.35
sys 0.22

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

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

Number of photons that the gtmktime cut: 779

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/396700/ft1_filtered_4FGL_J2307.6+1451_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/396700/ft2_4FGL_J2307.6+1451_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/396700/ltcube_687139201_687744001_4FGL_J2307.6+1451_weekly_bin741.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/396700/ft2_4FGL_J2307.6+1451_weekly_bin741.fits
.....................!
real 27.42
user 26.98
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/396700/ft1_filtered_4FGL_J2307.6+1451_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/396700/ft2_4FGL_J2307.6+1451_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/396700/ltcube_687139201_687744001_4FGL_J2307.6+1451_weekly_bin741.fits outfile=/scratch/kocevski/396700/expmap_687139201_687744001_4FGL_J2307.6+1451_weekly_bin741.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/396700/ltcube_687139201_687744001_4FGL_J2307.6+1451_weekly_bin741.fits
.....................!
real 190.14
user 185.75
sys 3.99

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/396700/ft1_filtered_4FGL_J2307.6+1451_weekly_bin741.fits scfile=/scratch/kocevski/396700/ft2_4FGL_J2307.6+1451_weekly_bin741.fits outfile=/scratch/kocevski/396700/cmap_687139201_687744001_4FGL_J2307.6+1451_weekly_bin741.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/396700/ft1_filtered_4FGL_J2307.6+1451_weekly_bin741.fits scfile=/scratch/kocevski/396700/ft2_4FGL_J2307.6+1451_weekly_bin741.fits outfile=/scratch/kocevski/396700/cmap_HighResolution_687139201_687744001_4FGL_J2307.6+1451_weekly_bin741.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.58
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7997.37806076

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9336       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45831E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .79186       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.7860       1.0000          .0000       .10000E+07
     6 'Prefactor '    15.173       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18711E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.7484       1.0000         .10000E-03   10000.    
     9 'Prefactor '    47.048       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.7893       1.0000          .0000       .10000E+07
    11 'Prefactor '    48.860       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.003       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9661       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39602E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .27948E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    21.863       1.0000          .0000       .10000E+07
    17 'Prefactor '    .25190E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .26150       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.891       1.0000          .0000       .10000E+07
    20 'Normalizat'    .93504E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1609       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=   7997.374     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1637 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0139        9.3507        .41044E-05    .32570E-01
   2  Prefactor     .59341E-07    7.8900       -.18778E-05** at limit **
   3  Prefactor     .79207        .21314       -.13655E-06    .66079E-02
   4  Prefactor     .10000E-03    2.4104       -.37988E-06** at limit **
   5  norm          1.7877        1.2795        .20986E-07    .75006E-02
   6  Prefactor     15.496        14.975        .21991E-05    .16973E-01
   7  Prefactor     .12468E-06    5.3256        .71815E-06** at limit **
   8  Prefactor     5.7473        .39290        .40505E-07    .88170E-02
   9  Prefactor     47.399        19.069        .18113E-05   -.32213E-01
  10  Prefactor     3.9541        9.9707       -.20341E-06    .47301E-03
  11  Prefactor     49.288        24.148        .21979E-05   -.19244E-01
  12  Prefactor     16.030        9.4630        .97842E-06    .30215E-01
  13  Prefactor     4.1187        7.2201        .22854E-07    .43801E-02
  14  Prefactor     .43021E-07    14.339       -.75363E-06** at limit **
  15  norm          .27828E-06    5.9910        .17235E-05** at limit **
  16  Prefactor     22.146        10.440        .78491E-06    .52863E-01
  17  Prefactor     .11102E-09    25.803        .15529E-05** at limit **
  18  norm          .15106E-05    17.979        .44599E-05** at limit **
  19  Prefactor     15.924        6.0124       -.75377E-06    .32222E-01
  20  Normalizat    .91869E-01    .26698       -.55506E-04    .77292E-04
  21  Prefactor     1.1607        .15345       -.64406E-06    .15484E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.01391
  Prefactor  = 5.93414e-08
  Prefactor  = 0.792068
  Prefactor  = 0.000100001
  norm       = 1.78769
  Prefactor  = 15.4964
  Prefactor  = 1.24678e-07
  Prefactor  = 5.74733
  Prefactor  = 47.3994
  Prefactor  = 3.9541
  Prefactor  = 49.2882
  Prefactor  = 16.0302
  Prefactor  = 4.11867
  Prefactor  = 4.30211e-08
  norm       = 2.78277e-07
  Prefactor  = 22.1456
  Prefactor  = 1.11022e-10
  norm       = 1.51062e-06
  Prefactor  = 15.924
  Normalizat = 0.0918687
  Prefactor  = 1.16068
 **********
 **   18 **HESSE 
 **********

 FCN=   7997.374     FROM HESSE     STATUS=NOT POSDEF   363 CALLS     2000 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0139        13.154        .50840E-03   -1.5668    
   2  Prefactor     .59341E-07    7.8897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .79207        .34069        .45138E-02   -1.5530    
   4  Prefactor     .10000E-03    2.1527        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.7877        1.2921        .78257E-03   -1.5681    
   6  Prefactor     15.496        30.282        .25686E-03   -1.5629    
   7  Prefactor     .12468E-06    9.5515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.7473        .72702        .30955E-02   -1.5228    
   9  Prefactor     47.399        60.345        .14580E-03   -1.5570    
  10  Prefactor     3.9541        10.378        .51833E-03   -1.5668    
  11  Prefactor     49.288        47.265        .14307E-03   -1.5568    
  12  Prefactor     16.030        18.003        .25010E-03   -1.5628    
  13  Prefactor     4.1187        7.3872        .50624E-03   -1.5667    
  14  Prefactor     .43021E-07    13.000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .27828E-06    10.237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.146        22.036        .21393E-03   -1.5614    
  17  Prefactor     .11102E-09    23.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .15106E-05    45.629        .10770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.924        24.293        .25098E-03   -1.5628    
  20  Normalizat    .91869E-01    7.4023        .27814       -1.3895    
  21  Prefactor     1.1607        .87344        .35628E-01   -.87550    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.73439e-07
Minuit parameter uncertainties:
  1  13.1546
  2  0.00136844
  3  0.340691
  4  7.11963e-05
  5  1.29209
  6  30.2827
  7  0.00218233
  8  0.727024
  9  60.3457
  10  10.378
  11  47.2653
  12  18.0031
  13  7.38722
  14  0.00149533
  15  0.00337552
  16  22.0365
  17  0.000110227
  18  0.0166048
  19  24.293
  20  1.56026
  21  0.884643
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7997.37448441

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  3.954e+00  1.038e+01  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.161e+00  8.846e-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.187e-02  1.560e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/396700/likelihoodResults_687139201_687744001_4FGL_J2307.6+1451_weekly_bin741.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) = 7997.36578928
delta logL = 0.00869513736234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7997.36448039
delta logL = 0.0100040239658

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4936       1.0000          .0000       .10000E+07
     2 'Index     '    2.3329       1.0000          .0000       10.000    
     3 'Normalizat'    .89198E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1613       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=   7997.364     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      253 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4931        10.310        .21628E-04    .59504E-03
   2  Index         2.3330        1.1349        .85487E-02    .31448E-04
   3  Normalizat    .89242E-01    .27981        .10564E-01   -.37152E-04
   4  Prefactor     1.1613        .16676        .20294E-03   -.36536E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.49309
  Index      = 2.33302
  Normalizat = 0.0892421
  Prefactor  = 1.16129
 **********
 **   18 **HESSE 
 **********

 FCN=   7997.364     FROM HESSE     STATUS=OK            27 CALLS      280 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4931        9.5796        .86511E-06   -1.5671    
   2  Index         2.3330        1.0558        .34195E-03   -.56261    
   3  Normalizat    .89242E-01    .25755        .42256E-03   -1.3924    
   4  Prefactor     1.1613        .15317        .40588E-04   -.87531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20704e-10
Minuit parameter uncertainties:
  1  9.57963
  2  1.06706
  3  0.261322
  4  0.153229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/396700': 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) = 7997.36448037
delta logL = 0.0100040442276

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  3.493e+00  9.580e+00  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.333e+00  1.067e+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:  1.161e+00  1.532e-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:  8.924e-02  2.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
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/396700/cmap_HighResolution_687139201_687744001_4FGL_J2307.6+1451_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.50e-07', time_completed='2022-10-18 01:53:54.053298', job_id='396700', GAL2='1.16', fit_tolerance='1e-08', EG2='0.09', EG='0.09', time_epoch_completed='1666083234.05', return_code2='0', ts='0.18', comment='SUCCESS', return_code='102', GAL='1.16', dlogl='1.00e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='741' AND source_name='4FGL J2307.6+1451' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 01:53:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 396700: <4FGL_J2307.6+1451_weekly_bin741> in cluster <slac> Done

Job <4FGL_J2307.6+1451_weekly_bin741> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Oct 18 01:40:26 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 01:40:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 01:40:28 2022
Terminated at Tue Oct 18 01:53:54 2022
Results reported at Tue Oct 18 01:53:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_weekly_bin741 346.922 14.8644 687139201 687744001 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 :                                   689.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             285.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            808 sec.

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

