/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 211 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7311
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2304.3+0618_daily_bin513
RA = 346.078, Dec = 6.3071
tmin = 372297601, tmax = 372556801
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='649379', job_status='RUN', time_executed='2021-09-29 06:04:31.746368', time_epoch_executed='1632920671.75' WHERE source_name='4FGL J2304.3+0618' and cadence='daily' and bin_id='513'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649379

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649379/ft1_4FGL_J2304.3+0618_daily_bin513.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649379/ft2_4FGL_J2304.3+0618_daily_bin513.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649379/ft1_4FGL_J2304.3+0618_daily_bin513.fits outfile=/scratch/kocevski/649379/ft1_filteredMKT_4FGL_J2304.3+0618_daily_bin513.fits ra=346.078 dec=6.3071 rad=12.0 tmin=372297601.0 tmax=372556801.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.28
user 3.07
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/649379/ft2_4FGL_J2304.3+0618_daily_bin513.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/649379/ft1_filteredMKT_4FGL_J2304.3+0618_daily_bin513.fits evtable="EVENTS" outfile="/scratch/kocevski/649379/ft1_filtered_4FGL_J2304.3+0618_daily_bin513.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649379/ft1_filtered_4FGL_J2304.3+0618_daily_bin513.fits" evtable="EVENTS" scfile=/scratch/kocevski/649379/ft2_4FGL_J2304.3+0618_daily_bin513.fits sctable="SC_DATA" outfile=/scratch/kocevski/649379/ltcube_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.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/649379/ft2_4FGL_J2304.3+0618_daily_bin513.fits
.....................!
real 11.70
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649379/ft1_filtered_4FGL_J2304.3+0618_daily_bin513.fits evtable="EVENTS" scfile=/scratch/kocevski/649379/ft2_4FGL_J2304.3+0618_daily_bin513.fits sctable="SC_DATA" expcube=/scratch/kocevski/649379/ltcube_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.fits outfile=/scratch/kocevski/649379/expmap_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.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/649379/ltcube_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.fits
.....................!
real 189.69
user 184.99
sys 4.33

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/649379/ft1_filtered_4FGL_J2304.3+0618_daily_bin513.fits scfile=/scratch/kocevski/649379/ft2_4FGL_J2304.3+0618_daily_bin513.fits outfile=/scratch/kocevski/649379/cmap_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.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.62
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649379/ft1_filtered_4FGL_J2304.3+0618_daily_bin513.fits scfile=/scratch/kocevski/649379/ft2_4FGL_J2304.3+0618_daily_bin513.fits outfile=/scratch/kocevski/649379/cmap_HighResolution_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/649379/ft1_filtered_4FGL_J2304.3+0618_daily_bin513.fits', '/scratch/kocevski/649379/ft2_4FGL_J2304.3+0618_daily_bin513.fits', expMap='/scratch/kocevski/649379/expmap_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.fits', expCube='/scratch/kocevski/649379/ltcube_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/649379/Model_4FGL_J2304.3+0618_daily_bin513.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  1.000e-04  1.000e+04 ( 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/649379/ft1_filtered_4FGL_J2304.3+0618_daily_bin513.fits
Spacecraft file(s): /scratch/kocevski/649379/ft2_4FGL_J2304.3+0618_daily_bin513.fits
Exposure map: /scratch/kocevski/649379/expmap_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.fits
Exposure cube: /scratch/kocevski/649379/ltcube_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/649379/Model_4FGL_J2304.3+0618_daily_bin513.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) = 6440.93422409

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7952       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0191       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6391       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .26549E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .48529       1.0000         .10000E-03   10000.    
     7 'norm      '    6.9007       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.7525       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .61544       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7218       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .19163E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1072       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.6638       1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    72.839       1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.463       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .88237       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96366       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.

 FCN=   6440.900     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2895 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7992        22.413        .60123E-06    .26113E-04
   2  Prefactor     3.0190        .40172        .58405E-08    .60917E-04
   3  Prefactor     3.6403        5.3701       -.12530E-05   -.49860E-03
   4  Prefactor     .10000E-03    108.19       -.21629E-05** at limit **
   5  Prefactor     .10000E-03    11.494       -.12877E-06** at limit **
   6  Prefactor     .48531        .17032       -.68524E-08    .14913E-03
   7  norm          6.9014        9.9394        .12135E-05   -.44058E-03
   8  Prefactor     .10000E-03    31.494       -.41270E-05** at limit **
   9  Prefactor     7.7527        6.6185        .99378E-06   -.83193E-03
  10  Prefactor     .10000E-03    7.1586       -.16978E-06** at limit **
  11  Prefactor     .10000E-03    10.038       -.30196E-06** at limit **
  12  norm          .61646        .82027        .28154E-07   -.10337E-03
  13  Prefactor     7.7182        10.040        .49796E-06    .19536E-04
  14  Prefactor     .10000E-03    11.560        .28893E-06** at limit **
  15  norm          .10001E-03    6.6551       -.36576E-06** at limit **
  16  Prefactor     2.0986        6.9202        .93356E-06   -.23859E-03
  17  Prefactor     .10000E-03    70.616       -.18092E-05** at limit **
  18  Prefactor     .10000E-03    5.4175       -.39683E-07** at limit **
  19  Prefactor     .10000E-03    39.608        .45820E-05** at limit **
  20  norm          3.6668        11.146        .83447E-07   -.41768E-04
  21  norm          .10000E-03    7.9215        .19718E-06** at limit **
  22  Prefactor     72.844        38.082        .12315E-05    .16368E-03
  23  Prefactor     17.464        24.122        .14594E-06    .16464E-05
  24  Normalizat    .88300        .23233       -.73233E-06    .18416E-04
  25  Prefactor     .96323        .13537        .24399E-07   -.34299E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.79916
  Prefactor  = 3.01904
  Prefactor  = 3.64026
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.485314
  norm       = 6.9014
  Prefactor  = 0.000100004
  Prefactor  = 7.75273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.616458
  Prefactor  = 7.71817
  Prefactor  = 0.0001
  norm       = 0.000100007
  Prefactor  = 2.09858
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 3.66681
  norm       = 0.0001
  Prefactor  = 72.8444
  Prefactor  = 17.4642
  Normalizat = 0.882996
  Prefactor  = 0.963233
 **********
 **   18 **HESSE 
 **********

 FCN=   6440.900     FROM HESSE     STATUS=OK           431 CALLS     3326 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7992        22.522        .12804E-03   -1.5082    
   2  Prefactor     3.0190        .40448        .16883E-04   -1.5360    
   3  Prefactor     3.6403        5.5379        .21177E-03   -1.5326    
   4  Prefactor     .10000E-03    110.24        .21441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .48531        .16911        .18555E-04   -1.5569    
   7  norm          6.9014        10.403        .76363E-03   -1.5182    
   8  Prefactor     .10000E-03    32.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.7527        7.0660        .72010E-03   -1.5151    
  10  Prefactor     .10000E-03    7.1954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61646        .72156        .81185E-03   -1.5551    
  13  Prefactor     7.7182        9.8844        .14431E-03   -1.5152    
  14  Prefactor     .10000E-03    11.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10001E-03    26.907        .33982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.0986        6.3490        .28423E-03   -1.5418    
  17  Prefactor     .10000E-03    70.814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.4459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    40.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.6668        11.149        .21103E-03   -1.5325    
  21  norm          .10000E-03    7.9276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     72.844        38.300        .47041E-04   -1.3999    
  23  Prefactor     17.464        24.129        .95842E-04   -1.4872    
  24  Normalizat    .88300        .27238        .35063E-03   -.97060    
  25  Prefactor     .96323        .16063        .20295E-03   -.93965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7465e-09
Minuit parameter uncertainties:
  1  22.5419
  2  0.404482
  3  5.53863
  4  0.000604046
  5  1.23601e-05
  6  0.169106
  7  10.4058
  8  0.000684045
  9  7.06679
  10  1.39522e-05
  11  2.82115e-05
  12  0.721571
  13  9.88645
  14  2.74265e-05
  15  0.000865473
  16  6.35106
  17  0.000450193
  18  4.93183e-06
  19  0.000756784
  20  11.1557
  21  1.51447e-05
  22  38.3132
  23  24.1424
  24  0.272807
  25  0.160714
Done.

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

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  1.000e-04  6.840e-04  1.000e-04  1.000e+04 ( 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:  9.632e-01  1.607e-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:  8.830e-01  2.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.078 6.307
Photon Flux Upper Limit: 9.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/649379/likelihoodResults_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.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) = 6440.89996389
delta logL = -0.000146178233081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6440.89981786
delta logL = -1.47247192217e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4552       1.0000          .0000       10.000    
     3 'Normalizat'    .88301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96324       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.

 FCN=   6440.900     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      237 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7267.8        .90712E-02** at limit **
   2  Index         2.4807        6.1910        .50000       -.76614E-05
   3  Normalizat    .88300        .10712        .79209E-01    .35801E-04
   4  Prefactor     .96323        .64476E-01    .45806E-01    .20590E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.48068
  Normalizat = 0.882996
  Prefactor  = 0.963234
 **********
 **   18 **HESSE 
 **********

 FCN=   6440.900     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4807        6.2303        .50000       -.52807    
   3  Normalizat    .88300        .26037        .35063E-03   -.97060    
   4  Prefactor     .96323        .15814        .20295E-03   -.93965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98929e-11
Minuit parameter uncertainties:
  1  0.000305472
  2  4.8901
  3  0.260742
  4  0.158217
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649379': 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) = 6440.8998178
delta logL = -8.91586751095e-08

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  1.000e-04  3.055e-04  1.000e-04  1.000e+04 ( 1.000e-13)
363        Index:  2.481e+00  4.890e+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:  9.632e-01  1.582e-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:  8.830e-01  2.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.078 6.307

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/649379/cmap_HighResolution_372297601_372556801_4FGL_J2304.3+0618_daily_bin513.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.63e-03', job_status='DONE', photon_flux_upper_limit='9.79e-08', time_completed='2021-09-29 06:16:29.704728', job_id='649379', GAL2='0.96', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632921389.7', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-8.92e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='513' AND source_name='4FGL J2304.3+0618' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 06:16:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 649379: <4FGL_J2304.3+0618_daily_bin513> in cluster <slac> Done

Job <4FGL_J2304.3+0618_daily_bin513> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 06:00:48 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 06:00:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 06:00:50 2021
Terminated at Wed Sep 29 06:16:30 2021
Results reported at Wed Sep 29 06:16:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.3+0618_daily_bin513 346.078 6.3071 372297601 372556801 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 :                                   716.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             249.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            942 sec.

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

