/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 0 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 = 7493
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2304.3+0618_daily_bin724
RA = 346.078, Dec = 6.3071
tmin = 426988801, tmax = 427248001
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='650731', job_status='RUN', time_executed='2021-09-29 06:05:38.134871', time_epoch_executed='1632920738.13' WHERE source_name='4FGL J2304.3+0618' and cadence='daily' and bin_id='724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/650731

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/650731/ft1_4FGL_J2304.3+0618_daily_bin724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/650731/ft2_4FGL_J2304.3+0618_daily_bin724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/650731/ft1_4FGL_J2304.3+0618_daily_bin724.fits outfile=/scratch/kocevski/650731/ft1_filteredMKT_4FGL_J2304.3+0618_daily_bin724.fits ra=346.078 dec=6.3071 rad=12.0 tmin=426988801.0 tmax=427248001.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 5.78
user 5.50
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/650731/ft1_filtered_4FGL_J2304.3+0618_daily_bin724.fits" evtable="EVENTS" scfile=/scratch/kocevski/650731/ft2_4FGL_J2304.3+0618_daily_bin724.fits sctable="SC_DATA" outfile=/scratch/kocevski/650731/ltcube_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.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/650731/ft2_4FGL_J2304.3+0618_daily_bin724.fits
.....................!
real 11.92
user 11.55
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/650731/ft1_filtered_4FGL_J2304.3+0618_daily_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/650731/ft2_4FGL_J2304.3+0618_daily_bin724.fits sctable="SC_DATA" expcube=/scratch/kocevski/650731/ltcube_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.fits outfile=/scratch/kocevski/650731/expmap_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.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/650731/ltcube_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.fits
.....................!
real 189.56
user 184.99
sys 4.25

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/650731/ft1_filtered_4FGL_J2304.3+0618_daily_bin724.fits scfile=/scratch/kocevski/650731/ft2_4FGL_J2304.3+0618_daily_bin724.fits outfile=/scratch/kocevski/650731/cmap_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/650731/ft1_filtered_4FGL_J2304.3+0618_daily_bin724.fits scfile=/scratch/kocevski/650731/ft2_4FGL_J2304.3+0618_daily_bin724.fits outfile=/scratch/kocevski/650731/cmap_HighResolution_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.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.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/650731/ft1_filtered_4FGL_J2304.3+0618_daily_bin724.fits', '/scratch/kocevski/650731/ft2_4FGL_J2304.3+0618_daily_bin724.fits', expMap='/scratch/kocevski/650731/expmap_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.fits', expCube='/scratch/kocevski/650731/ltcube_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/650731/Model_4FGL_J2304.3+0618_daily_bin724.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/650731/ft1_filtered_4FGL_J2304.3+0618_daily_bin724.fits
Spacecraft file(s): /scratch/kocevski/650731/ft2_4FGL_J2304.3+0618_daily_bin724.fits
Exposure map: /scratch/kocevski/650731/expmap_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.fits
Exposure cube: /scratch/kocevski/650731/ltcube_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/650731/Model_4FGL_J2304.3+0618_daily_bin724.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) = 4441.22148593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.565       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .23812       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4075       1.0000         .10000E-03   10000.    
     7 'norm      '    85.348       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.420       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0728       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.8128       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    105.93       1.0000         .10000E-03   10000.    
    15 'norm      '    3.6002       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10497E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.262       1.0000         .10000E-03   10000.    
    20 'norm      '    11.872       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    48.903       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.9590       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2879       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .76285       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=   4441.180     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2902 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.532        38.861       -.11659E-04   -.74742E-05
   2  Prefactor     .23832        .27558        .21658E-06    .12478E-02
   3  Prefactor     .10000E-03    9.7914       -.16198E-06** at limit **
   4  Prefactor     .10000E-03    27.431        .15928E-04** at limit **
   5  Prefactor     .10000E-03    17.909        .16657E-05** at limit **
   6  Prefactor     8.4072        .71561       -.50954E-07    .57758E-03
   7  norm          85.336        37.560       -.47393E-05    .56517E-04
   8  Prefactor     33.390        57.105       -.31326E-04    .37977E-04
   9  Prefactor     2.0736        17.576       -.44043E-05   -.21607E-03
  10  Prefactor     .10000E-03    4.3045        .14671E-07** at limit **
  11  Prefactor     .10000E-03    55.535        .36667E-05** at limit **
  12  norm          2.8125        2.0418       -.42071E-07    .19852E-03
  13  Prefactor     .10000E-03    32.497       -.11996E-04** at limit **
  14  Prefactor     105.90        123.42       -.27311E-04    .26226E-04
  15  norm          3.6060        14.303        .36724E-05    .11950E-03
  16  Prefactor     .10000E-03    13.572       -.52507E-06** at limit **
  17  Prefactor     .10000E-03    197.40        .77693E-05** at limit **
  18  Prefactor     .10000E-03    7.1873        .42819E-07** at limit **
  19  Prefactor     27.243        47.540       -.14714E-04    .12152E-03
  20  norm          11.872        20.318       -.22398E-05    .98164E-05
  21  norm          .10000E-03    22.289       -.75732E-05** at limit **
  22  Prefactor     48.890        65.142       -.11693E-04    .47053E-04
  23  Prefactor     1.9453        153.38       -.10969E-04   -.61642E-05
  24  Normalizat    1.2892        .37686        .17006E-04   -.13039E-03
  25  Prefactor     .76218        .19008       -.47967E-06    .39907E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.5317
  Prefactor  = 0.238317
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.40722
  norm       = 85.3361
  Prefactor  = 33.3897
  Prefactor  = 2.07355
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.81248
  Prefactor  = 0.000100001
  Prefactor  = 105.902
  norm       = 3.60599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.2427
  norm       = 11.8724
  norm       = 0.0001
  Prefactor  = 48.8901
  Prefactor  = 1.94533
  Normalizat = 1.28923
  Prefactor  = 0.762179
 **********
 **   18 **HESSE 
 **********

 FCN=   4441.180     FROM HESSE     STATUS=OK           423 CALLS     3325 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.532        38.357        .56397E-04   -1.4285    
   2  Prefactor     .23832        .26067        .33646E-03   -1.5610    
   3  Prefactor     .10000E-03    9.8437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.4072        .71606        .15664E-04   -1.5128    
   7  norm          85.336        37.633        .43484E-04   -1.3858    
   8  Prefactor     33.390        57.121        .69316E-04   -1.4552    
   9  Prefactor     2.0736        17.666        .28691E-03   -1.5420    
  10  Prefactor     .10000E-03    4.3048        .13504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    55.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.8125        2.0435        .78245E-04   -1.5373    
  13  Prefactor     .10000E-03    32.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     105.90        123.47        .19536E-03   -1.3646    
  15  norm          3.6060        14.115        .21296E-03   -1.5328    
  16  Prefactor     .10000E-03    13.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    197.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.1903        .17450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.243        46.820        .76727E-04   -1.4664    
  20  norm          11.872        20.320        .11627E-03   -1.5019    
  21  norm          .10000E-03    22.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     48.890        65.083        .57343E-04   -1.4308    
  23  Prefactor     1.9453        155.23        .29639E-03   -1.5429    
  24  Normalizat    1.2892        .44411        .37832E-03   -.83889    
  25  Prefactor     .76218        .22579        .26896E-03   -1.0114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35444e-09
Minuit parameter uncertainties:
  1  38.3754
  2  0.260672
  3  5.01636e-05
  4  1.02744e-05
  5  1.14534e-05
  6  0.716056
  7  37.6433
  8  57.2148
  9  12.1092
  10  9.02054e-07
  11  0.000164273
  12  2.04351
  13  0.000265774
  14  123.77
  15  14.128
  16  0.000136362
  17  7.22718e-06
  18  1.53775e-05
  19  46.8832
  20  20.332
  21  9.31434e-07
  22  65.1775
  23  34.848
  24  0.445432
  25  0.226063
Done.

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

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  3.339e+01  5.721e+01  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:  7.622e-01  2.261e-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:  1.289e+00  4.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 346.078 6.307
Photon Flux Upper Limit: 2.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/650731/likelihoodResults_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.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) = 4441.01704494
delta logL = 0.16340309869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4441.01610404
delta logL = 0.164344004583

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.830       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4471       1.0000          .0000       10.000    
     3 'Normalizat'    1.2468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77876       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=   4441.016     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      286 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.822        209.10        .10770E-03   -.11283E-02
   2  Index         3.4494        6.6570        .82835E-02   -.41286E-03
   3  Normalizat    1.2469        .41173        .38375E-03   -.66868E-03
   4  Prefactor     .77880        .22974        .26634E-03   -.86048E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8216
  Index      = 3.44945
  Normalizat = 1.24693
  Prefactor  = 0.778795
 **********
 **   18 **HESSE 
 **********

 FCN=   4441.016     FROM HESSE     STATUS=OK            23 CALLS      309 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.822        43.023        .21541E-04   -1.4964    
   2  Index         3.4494        1.8842        .33134E-03   -.31531    
   3  Normalizat    1.2469        .40393        .76749E-04   -.85165    
   4  Prefactor     .77880        .22409        .53269E-04   -1.0051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33448e-09
Minuit parameter uncertainties:
  1  43.1202
  2  1.9374
  3  0.404948
  4  0.224355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/650731': 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) = 4441.01609959
delta logL = 0.16434844811

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  1.382e+01  4.312e+01  1.000e-04  1.000e+04 ( 1.000e-13)
363        Index:  3.449e+00  1.937e+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:  7.788e-01  2.244e-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:  1.247e+00  4.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/650731/cmap_HighResolution_426988801_427248001_4FGL_J2304.3+0618_daily_bin724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-02', job_status='DONE', photon_flux_upper_limit='2.21e-07', time_completed='2021-09-29 06:16:11.902130', job_id='650731', GAL2='0.78', fit_tolerance='1e-08', EG2='1.25', EG='1.29', time_epoch_completed='1632921371.9', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.64e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='724' AND source_name='4FGL J2304.3+0618' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 06:16:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 650731: <4FGL_J2304.3+0618_daily_bin724> in cluster <slac> Done

Job <4FGL_J2304.3+0618_daily_bin724> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 06:05:28 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 06:05:30 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:05:30 2021
Terminated at Wed Sep 29 06:16:15 2021
Results reported at Wed Sep 29 06:16:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.3+0618_daily_bin724 346.078 6.3071 426988801 427248001 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 :                                   628.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             341.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            647 sec.

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

