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


Performing analysis on: 4FGL_J2304.3+0618_daily_bin1753
RA = 346.078, Dec = 6.3071
tmin = 693705601, tmax = 693964801
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='469059', job_status='RUN', time_executed='2022-12-29 01:47:11.398569', time_epoch_executed='1672307231.4' WHERE source_name='4FGL J2304.3+0618' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469059

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469059/ft1_4FGL_J2304.3+0618_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469059/ft1_4FGL_J2304.3+0618_daily_bin1753.fits outfile=/scratch/kocevski/469059/ft1_filteredMKT_4FGL_J2304.3+0618_daily_bin1753.fits ra=346.078 dec=6.3071 rad=12.0 tmin=693705601.0 tmax=693964801.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 4.66
user 4.36
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.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/469059/ft1_filteredMKT_4FGL_J2304.3+0618_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/469059/ft1_filtered_4FGL_J2304.3+0618_daily_bin1753.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.50
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 701

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469059/ft1_filtered_4FGL_J2304.3+0618_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/469059/ltcube_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.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/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.fits
.....................!
real 14.91
user 14.45
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469059/ft1_filtered_4FGL_J2304.3+0618_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/469059/ltcube_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.fits outfile=/scratch/kocevski/469059/expmap_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.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/469059/ltcube_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.fits
.....................!
real 193.26
user 186.90
sys 5.45

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

Setting source of interest to:
4FGL J2304.3+0618 @ 346.078 6.3071

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/469059/ft1_filtered_4FGL_J2304.3+0618_daily_bin1753.fits scfile=/scratch/kocevski/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.fits outfile=/scratch/kocevski/469059/cmap_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.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.078 yref=6.3071 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469059/ft1_filtered_4FGL_J2304.3+0618_daily_bin1753.fits scfile=/scratch/kocevski/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.fits outfile=/scratch/kocevski/469059/cmap_HighResolution_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.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.078 yref=6.3071 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469059/ft1_filtered_4FGL_J2304.3+0618_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469059/Model_4FGL_J2304.3+0618_daily_bin1753.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/469059/ft1_filtered_4FGL_J2304.3+0618_daily_bin1753.fits.....................!
real 77.50
user 75.76
sys 1.50

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469059/ft1_filtered_4FGL_J2304.3+0618_daily_bin1753.fits', '/scratch/kocevski/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.fits', expMap='/scratch/kocevski/469059/expmap_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.fits', expCube='/scratch/kocevski/469059/ltcube_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469059/Model_4FGL_J2304.3+0618_daily_bin1753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2304.3+0618'

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  4.761e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/469059/ft1_filtered_4FGL_J2304.3+0618_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/469059/ft2_4FGL_J2304.3+0618_daily_bin1753.fits
Exposure map: /scratch/kocevski/469059/expmap_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.fits
Exposure cube: /scratch/kocevski/469059/ltcube_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469059/Model_4FGL_J2304.3+0618_daily_bin1753.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) = 7830.30569666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35888       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7626       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19931       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16226E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1236       1.0000         .10000E-03   10000.    
     6 'norm      '    .36556E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    20.103       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25003E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .42736E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.1653       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.7876       1.0000          .0000       .10000E+07
    12 'Prefactor '    .68455E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .14284E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.3877       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.2698       1.0000          .0000       .10000E+07
    16 'norm      '    .13695E-02   1.0000          .0000       .10000E+07
    17 'norm      '    3.2684       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12382E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.1737       1.0000          .0000       .10000E+07
    20 'Normalizat'    .64086       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7830.274     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1778 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26896E-05    7.8682       -.71307E-07** at limit **
   2  Prefactor     1.7641        .32173        .13084E-07   -.24484E-03
   3  Prefactor     .18327        .83765        .76295E-06   -.79675E-03
   4  Prefactor     .16182E-06    13.485       -.12154E-06** at limit **
   5  Prefactor     1.1232        .23980        .19815E-06   -.62435E-03
   6  norm          .81253E-05    79.177       -.19933E-05** at limit **
   7  Prefactor     18.067        22.642       -.62217E-07   -.99741E-01
   8  Prefactor     .11102E-09    42.810       -.15742E-05** at limit **
   9  Prefactor     .86597E-08    8.7243        .43742E-07** at limit **
  10  norm          1.1636        .76878       -.63807E-07    .47093E-02
  11  Prefactor     9.8561        9.0257        .13818E-06   -.58117E-02
  12  Prefactor     .10891E-06    14.100       -.40953E-06** at limit **
  13  norm          .12801E-04    23.462        .78151E-06** at limit **
  14  Prefactor     3.3990        7.6960       -.31045E-06   -.41952E-02
  15  Prefactor     8.2709        4.0060       -.51977E-07    .55215E-01
  16  norm          .68279E-08    5.8760        .71685E-07** at limit **
  17  norm          3.2484        11.835       -.69701E-06   -.51888E-02
  18  Prefactor     .72919E-06    19.760        .61789E-06** at limit **
  19  Prefactor     5.1292        1.4707        .18434E-07    .21733E-02
  20  Normalizat    .64282        .24026        .15194E-05    .53925E-04
  21  Prefactor     1.2073        .14665       -.11735E-05    .10464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.68957e-06
  Prefactor  = 1.76409
  Prefactor  = 0.183271
  Prefactor  = 1.61815e-07
  Prefactor  = 1.12319
  norm       = 8.12528e-06
  Prefactor  = 18.0672
  Prefactor  = 1.11022e-10
  Prefactor  = 8.65974e-09
  norm       = 1.16363
  Prefactor  = 9.85609
  Prefactor  = 1.08913e-07
  norm       = 1.28005e-05
  Prefactor  = 3.39896
  Prefactor  = 8.27092
  norm       = 6.82787e-09
  norm       = 3.24837
  Prefactor  = 7.29194e-07
  Prefactor  = 5.12917
  Normalizat = 0.642816
  Prefactor  = 1.20731
 **********
 **   18 **HESSE 
 **********

 FCN=   7830.274     FROM HESSE     STATUS=OK           375 CALLS     2153 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26896E-05    90.491        .94414E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7641        .32656        .46287E-02   -1.5442    
   3  Prefactor     .18327        4.0118        .99745E-01   -1.5622    
   4  Prefactor     .16182E-06    14.258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1232        .24525        .43227E-02   -1.5496    
   6  norm          .81253E-05    83.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.067        31.732        .22311E-03   -1.5623    
   8  Prefactor     .11102E-09    4.4421        .11790E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .86597E-08    8.7777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1636        .78568        .10649E-02   -1.5686    
  11  Prefactor     9.8561        9.1035        .32006E-03   -1.5645    
  12  Prefactor     .10891E-06    15.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .12801E-04    35.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3990        7.7760        .54947E-03   -1.5671    
  15  Prefactor     8.2709        15.017        .34838E-03   -1.5650    
  16  norm          .68279E-08    5.9040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.2484        11.876        .55989E-03   -1.5672    
  18  Prefactor     .72919E-06    21.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.1292        19.506        .44173E-03   -1.5663    
  20  Normalizat    .64282        .22054        .92608E-01   -1.0620    
  21  Prefactor     1.2073        .13242        .34462E-01   -.86107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18618e-06
Minuit parameter uncertainties:
  1  0.0312017
  2  0.326564
  3  1.71459
  4  0.00303784
  5  0.245249
  6  0.0521476
  7  31.7323
  8  4.88308e-05
  9  0.000550922
  10  0.785682
  11  9.10353
  12  0.00259627
  13  0.0425005
  14  7.776
  15  15.0168
  16  0.000401246
  17  11.8758
  18  0.00790524
  19  19.5061
  20  0.220839
  21  0.132461
Done.

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

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  1.807e+01  3.173e+01  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.207e+00  1.325e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.428e-01  2.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.41
Ra Dec: 346.078 6.307
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469059/likelihoodResults_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.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) = 7830.23921402
delta logL = 0.0346134019856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7830.2237989
delta logL = 0.0500285212738

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.745       1.0000          .0000       .10000E+07
     2 'Index     '    3.0859       1.0000          .0000       10.000    
     3 'Normalizat'    .62547       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2145       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+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=   7830.224     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      249 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.727        40.713        .11682E-04   -.38732E-03
   2  Index         3.0876        2.2770        .87668E-03   -.17247E-05
   3  Normalizat    .62543        .24458        .41572E-03    .52999E-04
   4  Prefactor     1.2145        .14942        .19005E-03   -.83210E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7268
  Index      = 3.08757
  Normalizat = 0.625431
  Prefactor  = 1.21452
 **********
 **   18 **HESSE 
 **********

 FCN=   7830.224     FROM HESSE     STATUS=OK            23 CALLS      272 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.727        38.651        .46729E-06   -1.5639    
   2  Index         3.0876        2.1707        .35067E-04   -.39249    
   3  Normalizat    .62543        .24432        .16629E-04   -1.0691    
   4  Prefactor     1.2145        .14925        .76019E-05   -.85886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67336e-11
Minuit parameter uncertainties:
  1  38.6517
  2  2.25974
  3  0.244743
  4  0.149305
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469059': 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) = 7830.2237985
delta logL = 0.0500289152842

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  1.173e+01  3.865e+01  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  3.088e+00  2.260e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.215e+00  1.493e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.254e-01  2.447e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
Ra Dec: 346.078 6.307

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/469059/cmap_HighResolution_693705601_693964801_4FGL_J2304.3+0618_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.22e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2022-12-29 01:57:56.307504', job_id='469059', GAL2='1.21', fit_tolerance='1e-08', EG2='0.63', EG='0.64', time_epoch_completed='1672307876.31', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='5.00e-02', ts2='0.52', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1753' AND source_name='4FGL J2304.3+0618' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:57:56 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 469059: <4FGL_J2304.3+0618_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2304.3+0618_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:45:18 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:46:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:46:00 2022
Terminated at Thu Dec 29 01:57:57 2022
Results reported at Thu Dec 29 01:57:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.3+0618_daily_bin1753 346.078 6.3071 693705601 693964801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2304.3+0618 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   646.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             321.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            759 sec.

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

