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


Performing analysis on: 4FGL_J2304.6+3704_daily_bin1726
RA = 346.173, Dec = 37.0826
tmin = 686707201, tmax = 686966401
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='88396', job_status='RUN', time_executed='2022-10-09 00:36:29.332778', time_epoch_executed='1665300989.33' WHERE source_name='4FGL J2304.6+3704' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88396

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88396/ft1_4FGL_J2304.6+3704_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88396/ft1_4FGL_J2304.6+3704_daily_bin1726.fits outfile=/scratch/kocevski/88396/ft1_filteredMKT_4FGL_J2304.6+3704_daily_bin1726.fits ra=346.173 dec=37.0826 rad=12.0 tmin=686707201.0 tmax=686966401.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 2.54
user 2.32
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.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/88396/ft1_filteredMKT_4FGL_J2304.6+3704_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/88396/ft1_filtered_4FGL_J2304.6+3704_daily_bin1726.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.46
user 0.28
sys 0.15

Number of photons that the gtmktime cut: 396

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88396/ft1_filtered_4FGL_J2304.6+3704_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/88396/ltcube_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.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/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.fits
.....................!
real 10.73
user 10.39
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88396/ft1_filtered_4FGL_J2304.6+3704_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/88396/ltcube_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.fits outfile=/scratch/kocevski/88396/expmap_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.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/88396/ltcube_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.fits
.....................!
real 155.42
user 150.86
sys 4.15

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 155 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2304.6+3704 @ 346.173 37.0826

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/88396/ft1_filtered_4FGL_J2304.6+3704_daily_bin1726.fits scfile=/scratch/kocevski/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.fits outfile=/scratch/kocevski/88396/cmap_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.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.173 yref=37.0826 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.48
user 0.30
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88396/ft1_filtered_4FGL_J2304.6+3704_daily_bin1726.fits scfile=/scratch/kocevski/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.fits outfile=/scratch/kocevski/88396/cmap_HighResolution_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.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.173 yref=37.0826 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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88396/ft1_filtered_4FGL_J2304.6+3704_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88396/Model_4FGL_J2304.6+3704_daily_bin1726.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/88396/ft1_filtered_4FGL_J2304.6+3704_daily_bin1726.fits.....................!
real 48.98
user 47.83
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88396/ft1_filtered_4FGL_J2304.6+3704_daily_bin1726.fits', '/scratch/kocevski/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.fits', expMap='/scratch/kocevski/88396/expmap_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.fits', expCube='/scratch/kocevski/88396/ltcube_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88396/Model_4FGL_J2304.6+3704_daily_bin1726.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2304.6+3704'

4FGL J2304.6+3704
   Spectrum: PowerLaw
376    Prefactor:  4.732e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
377        Index:  1.849e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
378        Scale:  3.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/88396/ft1_filtered_4FGL_J2304.6+3704_daily_bin1726.fits
Spacecraft file(s): /scratch/kocevski/88396/ft2_4FGL_J2304.6+3704_daily_bin1726.fits
Exposure map: /scratch/kocevski/88396/expmap_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.fits
Exposure cube: /scratch/kocevski/88396/ltcube_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88396/Model_4FGL_J2304.6+3704_daily_bin1726.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) = 4342.45900998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64940       1.0000          .0000       .10000E+07
     2 'norm      '    1.8470       1.0000          .0000       .10000E+07
     3 'Prefactor '    .33131E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.709       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21660E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .35116E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13918       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15707E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    65.222       1.0000          .0000       .10000E+07
    10 'norm      '    .20485E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .17629E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .26287E-02   1.0000          .0000       .10000E+07
    13 'norm      '    3.5190       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18674       1.0000          .0000       .10000E+07
    15 'Prefactor '    322.72       1.0000          .0000       .10000E+07
    16 'Prefactor '    .90528E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    21.704       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1127       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4342.447     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1501 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .64729        1.8996        .66487E-06   -.64626E-04
   2  norm          1.8548        6.4740       -.17715E-05   -.24859E-04
   3  Prefactor     .28866E-08    42.056       -.52135E-05** at limit **
   4  Prefactor     17.611        15.715        .10550E-05    .44640E-03
   5  Prefactor      .0000        23.706       -.71975E-05** at limit **
   6  norm           .0000        1.8102        .89588E-06** at limit **
   7  Prefactor     .31216E-03    875.25       -.27954E-04** at limit **
   8  Prefactor     .55511E-10    17.244       -.79820E-06** at limit **
   9  Prefactor     59.825        86.036       -.42074E-05   -.56230E-01
  10  norm          .11102E-09    18.909       -.18460E-06** at limit **
  11  norm          .44409E-09    34.008        .61488E-06** at limit **
  12  Prefactor     .22361E-04    201.08       -.72583E-05** at limit **
  13  norm          3.4677        5.4319        .93053E-07    .10913E-02
  14  Prefactor     .14792E-04    400.09        .14189E-04** at limit **
  15  Prefactor     322.06        31.337       -.93294E-06    .54402    
  16  Prefactor     .12212E-08    284.62        .75264E-05** at limit **
  17  Prefactor     21.665        1.6076       -.11736E-06   -.57223E-02
  18  Normalizat    1.0708        .46912       -.54316E-04    .98819E-05
  19  Prefactor     1.1124        .15750        .29346E-05    .12388E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.647287
  norm       = 1.85477
  Prefactor  = 2.88658e-09
  Prefactor  = 17.6113
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0.000312155
  Prefactor  = 5.55112e-11
  Prefactor  = 59.8251
  norm       = 1.11022e-10
  norm       = 4.44089e-10
  Prefactor  = 2.23609e-05
  norm       = 3.4677
  Prefactor  = 1.47917e-05
  Prefactor  = 322.055
  Prefactor  = 1.22125e-09
  Prefactor  = 21.6646
  Normalizat = 1.07076
  Prefactor  = 1.1124
 **********
 **   18 **HESSE 
 **********

 FCN=   4342.447     FROM HESSE     STATUS=OK           306 CALLS     1807 TOTAL
                     EDM=   .35E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .64729        1.9206        .64915E-03   -1.5692    
   2  norm          1.8548        6.6383        .76697E-03   -1.5681    
   3  Prefactor     .28866E-08    41.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.611        16.024        .23773E-03   -1.5624    
   5  Prefactor      .0000        23.698        .16930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.8060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .31216E-03    91.566        .18810E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    17.281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     59.825        89.940        .12383E-03   -1.5553    
  10  norm          .11102E-09    18.949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .44409E-09    33.475        .17198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22361E-04    202.14        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.4677        5.4503        .53866E-03   -1.5671    
  14  Prefactor     .14792E-04    400.75        .12017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     322.06        619.42        .55674E-04   -1.5349    
  16  Prefactor     .12212E-08    285.79        .14191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     21.665        39.156        .21471E-03   -1.5615    
  18  Normalizat    1.0708        .43476        .11263       -.90696    
  19  Prefactor     1.1124        .14093        .37123E-01   -.89071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000354574
Minuit parameter uncertainties:
  1  1.92056
  2  6.63836
  3  0.000694842
  4  16.0237
  5  3.94936e-05
  6  2.24304e-06
  7  0.338134
  8  4.43764e-05
  9  89.9421
  10  9.54783e-05
  11  0.000244812
  12  0.134469
  13  5.45032
  14  0.153994
  15  619.541
  16  0.00117414
  17  39.1563
  18  0.436224
  19  0.140975
Done.

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

Extracting fit parameters...

4FGL J2304.6+3704
   Spectrum: PowerLaw
376    Prefactor:  0.000e+00  3.949e-05  0.000e+00  1.000e+06 ( 1.000e-14)
377        Index:  1.849e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
378        Scale:  3.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  1.112e+00  1.410e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.071e+00  4.362e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 346.173 37.083
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88396/likelihoodResults_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.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) = 4342.46689293
delta logL = -0.0201283539673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4342.44676472
delta logL = -1.4011766325e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4342.447     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      225 TOTAL
                     EDM=   .96E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .13630        .42118E-03** at limit **
   2  Index         1.5108        6.9470        .50000        .21828E-10
   3  Normalizat    1.0708        .75928E-03    .11263       -.15882E-03
   4  Prefactor     1.1124        .25661E-03    .37133E-01   -.72830E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.51076
  Normalizat = 1.07077
  Prefactor  = 1.11239
 **********
 **   18 **HESSE 
 **********

 FCN=   4342.447     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      250 TOTAL
                     EDM=   .53E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .73242        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5108        9.2294        .50000       -.77239    
   3  Normalizat    1.0708        .17535E-02    .49941E-03   -.90696    
   4  Prefactor     1.1124        .59473E-03    .16521E-03   -.89071    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.3312e-14
Minuit parameter uncertainties:
  1  9.53842e-06
  2  54737.4
  3  0.00175346
  4  0.000594727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88396': 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) = 4342.44676458
delta logL = -1.73713488039e-10

Extracting fit parameters...

4FGL J2304.6+3704
   Spectrum: PowerLaw
376    Prefactor:  5.551e-11  9.538e-06  0.000e+00  1.000e+06 ( 1.000e-14)
377        Index:  1.511e+00  5.474e+04  0.000e+00  1.000e+01 (-1.000e+00)
378        Scale:  3.823e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  1.112e+00  5.947e-04  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.071e+00  1.753e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 346.173 37.083

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/88396/cmap_HighResolution_686707201_686966401_4FGL_J2304.6+3704_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.42e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2022-10-09 00:42:45.258616', job_id='88396', GAL2='1.11', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1665301365.26', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-1.74e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='1726' AND source_name='4FGL J2304.6+3704' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:42:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 88396: <4FGL_J2304.6+3704_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2304.6+3704_daily_bin1726> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Oct  9 00:35:58 2022
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:36:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:36:08 2022
Terminated at Sun Oct  9 00:42:46 2022
Results reported at Sun Oct  9 00:42:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.6+3704_daily_bin1726 346.173 37.0826 686707201 686966401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2304.6+3704 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   377.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             347.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   397 sec.
    Turnaround time :                            408 sec.

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

