/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 28 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 = 7387 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_daily_bin1064 RA = 346.173, Dec = 37.0826 tmin = 515116801, tmax = 515376001 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='661781', job_status='RUN', time_executed='2021-09-29 06:40:53.377939', time_epoch_executed='1632922853.38' WHERE source_name='4FGL J2304.6+3704' and cadence='daily' and bin_id='1064' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/661781 Creating custom pfile directory: /scratch/kocevski/661781/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=515116801.0 && nMetStart<515376001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=515116801.0 && nMetStart<515376001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/661781/ft1_4FGL_J2304.6+3704_daily_bin1064.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=515116801.0 && nMetStart<515376001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/661781/ft1_4FGL_J2304.6+3704_daily_bin1064.fits outfile=/scratch/kocevski/661781/ft1_filteredMKT_4FGL_J2304.6+3704_daily_bin1064.fits ra=346.173 dec=37.0826 rad=12.0 tmin=515116801.0 tmax=515376001.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.53 user 3.28 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.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/661781/ft1_filteredMKT_4FGL_J2304.6+3704_daily_bin1064.fits evtable="EVENTS" outfile="/scratch/kocevski/661781/ft1_filtered_4FGL_J2304.6+3704_daily_bin1064.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/661781/ft1_filtered_4FGL_J2304.6+3704_daily_bin1064.fits" evtable="EVENTS" scfile=/scratch/kocevski/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.fits sctable="SC_DATA" outfile=/scratch/kocevski/661781/ltcube_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.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/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.fits .....................! real 12.11 user 11.75 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/661781/ft1_filtered_4FGL_J2304.6+3704_daily_bin1064.fits evtable="EVENTS" scfile=/scratch/kocevski/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.fits sctable="SC_DATA" expcube=/scratch/kocevski/661781/ltcube_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.fits outfile=/scratch/kocevski/661781/expmap_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.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/661781/ltcube_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.fits .....................! real 192.37 user 186.69 sys 5.29 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/661781/ft1_filtered_4FGL_J2304.6+3704_daily_bin1064.fits scfile=/scratch/kocevski/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.fits outfile=/scratch/kocevski/661781/cmap_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.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.54 user 0.37 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/661781/ft1_filtered_4FGL_J2304.6+3704_daily_bin1064.fits scfile=/scratch/kocevski/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.fits outfile=/scratch/kocevski/661781/cmap_HighResolution_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.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.59 user 0.39 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/661781/ft1_filtered_4FGL_J2304.6+3704_daily_bin1064.fits evtable="EVENTS" scfile=/scratch/kocevski/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/661781/Model_4FGL_J2304.6+3704_daily_bin1064.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/661781/ft1_filtered_4FGL_J2304.6+3704_daily_bin1064.fits.....................! real 123.64 user 122.13 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/661781/ft1_filtered_4FGL_J2304.6+3704_daily_bin1064.fits', '/scratch/kocevski/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.fits', expMap='/scratch/kocevski/661781/expmap_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.fits', expCube='/scratch/kocevski/661781/ltcube_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/661781/Model_4FGL_J2304.6+3704_daily_bin1064.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 1.000e-04 1.000e+04 ( 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/661781/ft1_filtered_4FGL_J2304.6+3704_daily_bin1064.fits Spacecraft file(s): /scratch/kocevski/661781/ft2_4FGL_J2304.6+3704_daily_bin1064.fits Exposure map: /scratch/kocevski/661781/expmap_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.fits Exposure cube: /scratch/kocevski/661781/ltcube_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/661781/Model_4FGL_J2304.6+3704_daily_bin1064.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) = 10668.593225 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10668.5106831 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10286E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'norm ' 16.346 1.0000 .10000E-03 10000. 6 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .10055E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 10.067 1.0000 .10000E-03 10000. 9 'norm ' 2.7356 1.0000 .10000E-03 10000. 10 'Prefactor ' 16.686 1.0000 .10000E-03 10000. 11 'Prefactor ' 5.1174 1.0000 .10000E-03 10000. 12 'Prefactor ' 6.7860 1.0000 .10000E-03 10000. 13 'norm ' 23.514 1.0000 .10000E-03 10000. 14 'norm ' .10015E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10077E-03 1.0000 .10000E-03 10000. 16 'norm ' 4.7345 1.0000 .10000E-03 10000. 17 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10324E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 22 'Normalizat' 1.0157 1.0000 .10000E-01 10.000 23 'Prefactor ' .93562 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. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10668.51 FROM MIGRAD STATUS=CONVERGED 519 CALLS 2515 TOTAL EDM= .58E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .10000E-03 .22566 .30778E-07** at limit ** 2 Prefactor .10000E-03 16.906 -.12929E-05** at limit ** 3 Prefactor .10000E-03 5.4728 -.30251E-06** at limit ** 4 Prefactor .10000E-03 5.0298 .82437E-07** at limit ** 5 norm 16.346 4.6553 -.43629E-07 -.21272E-04 6 Prefactor .10000E-03 7.3322 .37185E-06** at limit ** 7 Prefactor .10000E-03 5.6588 .21812E-06** at limit ** 8 Prefactor 9.9973 25.929 -.60357E-05 -.26708E-03 9 norm 2.7353 1.4581 .16461E-07 -.13272E-03 10 Prefactor 16.684 19.426 .11847E-06 -.43295E-05 11 Prefactor 5.1152 11.292 .60010E-05 -.44856E-03 12 Prefactor 6.7843 19.032 .27356E-06 -.68105E-05 13 norm 23.515 7.1242 .38462E-07 -.18195E-04 14 norm .10000E-03 6.9633 -.64129E-06** at limit ** 15 Prefactor .10000E-03 6.1247 .16221E-06** at limit ** 16 norm 4.7346 2.6446 .84107E-07 -.47098E-03 17 Prefactor .10000E-03 10.005 .14639E-06** at limit ** 18 Prefactor .10000E-03 32.567 -.33084E-05** at limit ** 19 Prefactor .10001E-03 51.709 .48104E-05** at limit ** 20 Prefactor .10000E-03 19.942 .26531E-05** at limit ** 21 Prefactor .10000E-03 3.8064 .55591E-07** at limit ** 22 Normalizat 1.0155 .20171 -.10588E-05 -.74719E-06 23 Prefactor .93573 .76699E-01 .99297E-07 -.89905E-04 ERR DEF= .500 Final values: norm = 0.0001 Prefactor = 0.000100001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 16.3458 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 9.9973 norm = 2.73532 Prefactor = 16.684 Prefactor = 5.11516 Prefactor = 6.7843 norm = 23.5148 norm = 0.0001 Prefactor = 0.0001 norm = 4.73456 Prefactor = 0.0001 Prefactor = 0.000100004 Prefactor = 0.000100006 Prefactor = 0.000100002 Prefactor = 0.0001 Normalizat = 1.01552 Prefactor = 0.93573 ********** ** 18 **HESSE ********** FCN= 10668.51 FROM HESSE STATUS=OK 362 CALLS 2877 TOTAL EDM= .14E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .10000E-03 .22814 .47903E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 17.000 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 5.5614 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 5.0344 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 16.346 4.6403 .99063E-04 -1.4899 6 Prefactor .10000E-03 7.3617 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10000E-03 5.8072 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 9.9973 26.914 .12629E-03 -1.5075 9 norm 2.7353 1.4524 .86696E-04 -1.5377 10 Prefactor 16.684 19.438 .98048E-04 -1.4891 11 Prefactor 5.1152 11.741 .88863E-03 -1.5256 12 Prefactor 6.7843 19.021 .15402E-03 -1.5187 13 norm 23.515 7.1230 .82604E-04 -1.4738 14 norm .10000E-03 7.0292 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 6.1354 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 4.7346 2.6424 .60325E-03 -1.5273 17 Prefactor .10000E-03 10.029 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 33.188 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10001E-03 53.178 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 20.321 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 3.8414 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Normalizat 1.0155 .23188 .39822E-03 -.92512 23 Prefactor .93573 .88694E-01 .16064E-03 -.94904 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.35457e-09 Minuit parameter uncertainties: 1 2.86238e-07 2 0.000190678 3 2.23145e-05 4 5.31523e-06 5 4.64039 6 4.16393e-05 7 1.81218e-05 8 26.9462 9 1.45238 10 19.4458 11 11.7467 12 19.038 13 7.12324 14 6.52251e-05 15 1.18327e-05 16 2.64243 17 1.10004e-05 18 0.000687469 19 0.00111813 20 0.000419191 21 1.17093e-06 22 0.232113 23 0.0887079 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10668.5106786 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 9.997e+00 2.695e+01 1.000e-04 1.000e+04 ( 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: 9.357e-01 8.871e-02 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.016e+00 2.321e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.16 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 7.71e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.71e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/661781/likelihoodResults_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.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) = 10667.901199 delta logL = 0.609479625769 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 10667.8776656 delta logL = 0.633013026167 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.1679 1.0000 .10000E-03 10000. 2 'Index ' 2.7748 1.0000 .0000 10.000 3 'Normalizat' .97430 1.0000 .10000E-01 10.000 4 'Prefactor ' .94040 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 10667.88 FROM MIGRAD STATUS=FAILED 96 CALLS 440 TOTAL EDM= .10E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.1679 173.37 .93361E-03 -.42800E-03 2 Index 2.7748 3.7573 .43681E-02 .89241E-03 3 Normalizat .97429 .22816 .40532E-03 -.60753E-04 4 Prefactor .94041 .85915E-01 .16018E-03 .23706E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 10667.88 FROM SIMPLEX STATUS=UNCHANGED 86 CALLS 526 TOTAL EDM= .17E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.1679 173.37 .24257E-03 -.42800E-03 2 Index 2.7748 3.7573 .97558E-03 .89241E-03 3 Normalizat .97429 .22816 .21455E-03 -.60753E-04 4 Prefactor .94041 .85915E-01 .87825E-04 .23706E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 10667.88 FROM MIGRAD STATUS=CONVERGED 31 CALLS 557 TOTAL EDM= .15E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.1682 11.450 .37345E-04 -.13456E-03 2 Index 2.7748 .94095 .87362E-03 -.88413E-04 3 Normalizat .97429 .22961 .16213E-04 -.53012E-04 4 Prefactor .94041 .88511E-01 .64071E-05 .53942E-04 ERR DEF= .500 Final values: Prefactor = 4.16823 Index = 2.77478 Normalizat = 0.974293 Prefactor = 0.940405 ********** ** 18 **HESSE ********** FCN= 10667.88 FROM HESSE STATUS=OK 23 CALLS 580 TOTAL EDM= .13E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.1682 10.205 .14938E-05 -1.5300 2 Index 2.7748 .83963 .34945E-04 -.46122 3 Normalizat .97429 .22856 .32426E-05 -.93897 4 Prefactor .94041 .88143E-01 .12814E-05 -.94743 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.33942e-10 Minuit parameter uncertainties: 1 10.2094 2 0.844628 3 0.22879 4 0.0881564 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/661781': 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) = 10667.8776656 delta logL = 0.6330130323 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.168e+00 1.021e+01 1.000e-04 1.000e+04 ( 1.000e-14) 377 Index: 2.775e+00 8.446e-01 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: 9.404e-01 8.816e-02 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: 9.743e-01 2.288e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.45 Ra Dec: 346.173 37.083 Photon Index (Free Index): 2.77 +/- 0.84 Photon Flux (Free Index): 5.78e-08 +/- 5.76e-08 Energy Flux (Free Index): 1.32e-05 +/- 1.28e-05 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/661781/cmap_HighResolution_515116801_515376001_4FGL_J2304.6+3704_daily_bin1064.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/661781 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-03', comment='SUCCESS', energy_flux2='1.32e-05', dlogl='6.33e-01', photon_flux2='5.78e-08', job_status='DONE', time_completed='2021-09-29 06:56:13.660294', photon_index_error2='0.84', photon_index2='2.77', ts='0.16', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='7.71e-08', energy_flux_error2='1.28e-05', EG='1.02', time_epoch_completed='1632923773.66', return_code='0', job_id='661781', GAL2='0.94', EG2='0.97', return_code2='0', photon_flux_error2='5.76e-08', ts2='1.45', photon_index='1.85' WHERE bin_id='1064' AND source_name='4FGL J2304.6+3704' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 29 06:56:13 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 661781: <4FGL_J2304.6+3704_daily_bin1064> in cluster Done Job <4FGL_J2304.6+3704_daily_bin1064> was submitted from host by user in cluster at Wed Sep 29 06:40:15 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 29 06:40:16 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 29 06:40:16 2021 Terminated at Wed Sep 29 06:56:14 2021 Results reported at Wed Sep 29 06:56:14 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.6+3704_daily_bin1064 346.173 37.0826 515116801 515376001 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 : 910.12 sec. Max Memory : 1256 MB Average Memory : 350.27 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 958 sec. Turnaround time : 959 sec. The output (if any) is above this job summary.