/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 166 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 = 73159 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+1012_monthly_bin53 RA = 77.351, Dec = 10.2008 tmin = 374371201, tmax = 376963201 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='286866', job_status='RUN', time_executed='2021-10-14 02:33:16.726798', time_epoch_executed='1634203996.73' WHERE source_name='4FGL J0509.4+1012' and cadence='monthly' and bin_id='53' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/286866 Creating custom pfile directory: /scratch/kocevski/286866/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=374371201.0 && nMetStart<376963201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=374371201.0 && nMetStart<376963201.0' /Data/Flight/Level1/LPA Retrieving 454 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/286866/ft1_4FGL_J0509.4+1012_monthly_bin53.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=374371201.0 && nMetStart<376963201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/286866/ft1_4FGL_J0509.4+1012_monthly_bin53.fits outfile=/scratch/kocevski/286866/ft1_filteredMKT_4FGL_J0509.4+1012_monthly_bin53.fits ra=77.351 dec=10.2008 rad=12.0 tmin=374371201.0 tmax=376963201.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 34.79 user 33.73 sys 0.84 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.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/286866/ft1_filteredMKT_4FGL_J0509.4+1012_monthly_bin53.fits evtable="EVENTS" outfile="/scratch/kocevski/286866/ft1_filtered_4FGL_J0509.4+1012_monthly_bin53.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.84 user 0.65 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/286866/ft1_filtered_4FGL_J0509.4+1012_monthly_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/286866/ltcube_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.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/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.fits .....................! real 119.20 user 116.49 sys 1.60 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/286866/ft1_filtered_4FGL_J0509.4+1012_monthly_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/286866/ltcube_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.fits outfile=/scratch/kocevski/286866/expmap_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.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/286866/ltcube_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.fits .....................! real 194.77 user 186.34 sys 7.18 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 S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template. Added 159 point sources and 3 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 J0509.4+1012 @ 77.351 10.2008 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/286866/ft1_filtered_4FGL_J0509.4+1012_monthly_bin53.fits scfile=/scratch/kocevski/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.fits outfile=/scratch/kocevski/286866/cmap_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.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=77.351 yref=10.2008 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.78 user 0.63 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/286866/ft1_filtered_4FGL_J0509.4+1012_monthly_bin53.fits scfile=/scratch/kocevski/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.fits outfile=/scratch/kocevski/286866/cmap_HighResolution_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.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=77.351 yref=10.2008 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.79 user 0.63 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/286866/ft1_filtered_4FGL_J0509.4+1012_monthly_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/286866/Model_4FGL_J0509.4+1012_monthly_bin53.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 adding source IC 443 adding source Rosette adding source S 147 Working on... /scratch/kocevski/286866/ft1_filtered_4FGL_J0509.4+1012_monthly_bin53.fits.....................! real 3260.40 user 3239.81 sys 11.03 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/286866/ft1_filtered_4FGL_J0509.4+1012_monthly_bin53.fits', '/scratch/kocevski/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.fits', expMap='/scratch/kocevski/286866/expmap_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.fits', expCube='/scratch/kocevski/286866/ltcube_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/286866/Model_4FGL_J0509.4+1012_monthly_bin53.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0509.4+1012' 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.153e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/286866/ft1_filtered_4FGL_J0509.4+1012_monthly_bin53.fits Spacecraft file(s): /scratch/kocevski/286866/ft2_4FGL_J0509.4+1012_monthly_bin53.fits Exposure map: /scratch/kocevski/286866/expmap_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.fits Exposure cube: /scratch/kocevski/286866/ltcube_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/286866/Model_4FGL_J0509.4+1012_monthly_bin53.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) = 138069.814686 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 138069.647627 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.3601 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.9593 1.0000 .10000E-03 10000. 3 'norm ' 3.5135 1.0000 .10000E-03 10000. 4 'Prefactor ' 8.8863 1.0000 .10000E-03 10000. 5 'Prefactor ' 2.7923 1.0000 .10000E-03 10000. 6 'norm ' 1.7789 1.0000 .10000E-03 10000. 7 'Prefactor ' .10057E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 11.389 1.0000 .10000E-03 10000. 9 'Prefactor ' 2.3089 1.0000 .10000E-03 10000. 10 'norm ' .67599 1.0000 .10000E-03 10000. 11 'norm ' 5.3929 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.7034 1.0000 .10000E-03 10000. 13 'norm ' 15.809 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.7675 1.0000 .10000E-03 10000. 15 'Prefactor ' .30341E-02 1.0000 .10000E-03 10000. 16 'Prefactor ' 3.0928 1.0000 .10000E-03 10000. 17 'norm ' 7.0439 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.7992 1.0000 .10000E-03 10000. 19 'norm ' .10012E-03 1.0000 .10000E-03 10000. 20 'norm ' 2.8902 1.0000 .10000E-03 10000. 21 'Prefactor ' .10192E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10017E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 5.0548 1.0000 .10000E-03 10000. 24 'Prefactor ' 6.5744 1.0000 .10000E-03 10000. 25 'Normalizat' .94254 1.0000 .10000E-01 10.000 26 'Prefactor ' .99915 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 138069.6 FROM MIGRAD STATUS=CONVERGED 610 CALLS 2704 TOTAL EDM= .20E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.3597 7.5240 .0000 .68139E-02 2 Prefactor 1.9578 3.2571 .0000 .56257E-02 3 norm 3.5134 1.0340 .0000 .91809E-02 4 Prefactor 8.8859 6.5952 .0000 -.97404E-04 5 Prefactor 2.7920 2.0880 .0000 .10087 6 norm 1.7788 .70814 .0000 .16710E-01 7 Prefactor .10000E-03 8.5359 .0000 ** at limit ** 8 Prefactor 11.397 9.4980 .0000 .73208E-03 9 Prefactor 2.3100 2.3584 .0000 .89428E-01 10 norm .67581 .19744 .0000 .11355E-01 11 norm 5.3928 1.2093 .0000 .46741E-01 12 Prefactor 1.7031 1.0017 .0000 .13670E-01 13 norm 15.810 1.9404 .0000 .66234E-03 14 Prefactor 2.7681 1.2179 .0000 .51228E-02 15 Prefactor .10000E-03 22.528 .0000 ** at limit ** 16 Prefactor 3.0929 4.8241 .0000 .65097E-03 17 norm 7.0440 .90555 .0000 .33601E-03 18 Prefactor 2.7994 1.6869 .0000 .44081E-01 19 norm .10000E-03 .22258 .0000 ** at limit ** 20 norm 2.8903 .42670 .0000 .61568E-02 21 Prefactor .10000E-03 3.8250 .0000 ** at limit ** 22 Prefactor .10000E-03 2.5710 .0000 ** at limit ** 23 Prefactor 5.0553 3.7591 .0000 .11814E-03 24 Prefactor 6.5747 1.5245 .0000 .35733E-02 25 Normalizat .94256 .99047E-01 .0000 .75406E-03 26 Prefactor .99915 .19907E-01 .0000 .40834E-03 ERR DEF= .500 Final values: Prefactor = 5.35968 Prefactor = 1.95776 norm = 3.51338 Prefactor = 8.88586 Prefactor = 2.79201 norm = 1.77879 Prefactor = 0.0001 Prefactor = 11.3973 Prefactor = 2.30998 norm = 0.675814 norm = 5.39282 Prefactor = 1.70305 norm = 15.8097 Prefactor = 2.76813 Prefactor = 0.0001 Prefactor = 3.09293 norm = 7.04399 Prefactor = 2.79941 norm = 0.0001 norm = 2.89026 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 5.05534 Prefactor = 6.57466 Normalizat = 0.942564 Prefactor = 0.999152 ********** ** 18 **HESSE ********** FCN= 138069.6 FROM HESSE STATUS=OK 474 CALLS 3178 TOTAL EDM= .96E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.3597 7.4611 .86792E-03 -1.5245 2 Prefactor 1.9578 3.2496 .29637E-03 -1.5428 3 norm 3.5134 1.0218 .17702E-03 -1.5333 4 Prefactor 8.8859 6.5928 .13446E-03 -1.5112 5 Prefactor 2.7920 2.0773 .12174E-02 -1.5374 6 norm 1.7788 .69968 .18393E-03 -1.5441 7 Prefactor .10000E-03 8.7322 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 11.397 9.3828 .11871E-03 -1.5033 9 Prefactor 2.3100 2.3455 .13501E-02 -1.5404 10 norm .67581 .19110 .76263E-04 -1.5544 11 norm 5.3928 1.2060 .86523E-03 -1.5243 12 Prefactor 1.7031 .99408 .26892E-03 -1.5447 13 norm 15.810 1.9392 .10073E-03 -1.4913 14 Prefactor 2.7681 1.2153 .24465E-03 -1.5375 15 Prefactor .10000E-03 23.431 .39632E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.0929 4.8107 .23061E-03 -1.5356 17 norm 7.0440 .90589 .12330E-03 -1.5177 18 Prefactor 2.7994 1.6833 .12158E-02 -1.5373 19 norm .10000E-03 1.2019 .33299E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 2.8903 .42466 .88728E-04 -1.5368 21 Prefactor .10000E-03 3.8948 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 2.5949 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 5.0553 3.7595 .17885E-03 -1.5258 24 Prefactor 6.5747 1.5049 .15651E-03 -1.5195 25 Normalizat .94256 .10035 .66571E-03 -.94980 26 Prefactor .99915 .20785E-01 .14404E-03 -.92758 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.56359e-09 Minuit parameter uncertainties: 1 7.46235 2 3.24987 3 1.02182 4 6.59331 5 2.07732 6 0.699685 7 2.38211e-06 8 9.38405 9 2.34558 10 0.191103 11 1.20601 12 0.99409 13 1.93921 14 1.21526 15 0.000183421 16 4.81133 17 0.905893 18 1.68332 19 2.45416e-06 20 0.424656 21 1.82353e-05 22 7.59778e-06 23 3.75965 24 1.50489 25 0.10037 26 0.0207855 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 138069.647562 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.703e+00 9.941e-01 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.992e-01 2.079e-02 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: 9.426e-01 1.004e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.92 Ra Dec: 77.351 10.201 Photon Index (Fixed Index): 2.41 +/- 0.00 Photon Flux (Fixed Index): 2.78e-08 +/- 1.62e-08 Energy Flux (Fixed Index): 9.02e-06 +/- 5.26e-06 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) = 138068.835768 delta logL = 0.8117942471 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 138068.650526 delta logL = 0.99703596707 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .23193 1.0000 .10000E-03 10000. 2 'Index ' 4.0321 1.0000 .0000 10.000 3 'Normalizat' .88872 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0065 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+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= 138068.7 FROM MIGRAD STATUS=FAILED 102 CALLS 298 TOTAL EDM= .15E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .23098 1.7234 .67794E-04 -.98738E-03 2 Index 4.0341 2.6685 .79905E-02 .67764E-02 3 Normalizat .88873 .76526E-01 .68372E-03 -.14898E-04 4 Prefactor 1.0065 .16849E-01 .14357E-03 .32940E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 138068.7 FROM SIMPLEX STATUS=UNCHANGED 79 CALLS 377 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .23098 1.7234 .49080E-04 -.98738E-03 2 Index 4.0341 2.6685 .90605E-03 .67764E-02 3 Normalizat .88873 .76526E-01 .75282E-04 -.14898E-04 4 Prefactor 1.0065 .16849E-01 .19884E-04 .32940E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 138068.7 FROM MIGRAD STATUS=CONVERGED 30 CALLS 407 TOTAL EDM= .49E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .23098 1.7739 .27118E-05 -.10732E-02 2 Index 4.0341 2.7035 .15981E-02 -.37561E-04 3 Normalizat .88873 .91082E-01 .27349E-04 -.15963E-04 4 Prefactor 1.0065 .20130E-01 .57430E-05 .25339E-04 ERR DEF= .500 Final values: Prefactor = 0.230976 Index = 4.03408 Normalizat = 0.888729 Prefactor = 1.00645 ********** ** 18 **HESSE ********** FCN= 138068.7 FROM HESSE STATUS=OK 23 CALLS 430 TOTAL EDM= .53E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .23098 1.0198 .54235E-06 -1.5612 2 Index 4.0341 2.0993 .63924E-04 -.19441 3 Normalizat .88873 .94246E-01 .54698E-05 -.96857 4 Prefactor 1.0065 .20625E-01 .11486E-05 -.92515 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.26763e-12 Minuit parameter uncertainties: 1 0.970481 2 2.16933 3 0.0942631 4 0.0206249 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/286866': 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) = 138068.650525 delta logL = 0.997036704532 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 2.310e-01 9.705e-01 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 4.034e+00 2.169e+00 0.000e+00 1.000e+01 (-1.000e+00) 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 1.006e+00 2.062e-02 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.887e-01 9.426e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 7.52 Ra Dec: 77.351 10.201 Photon Index (Free Index): 4.03 +/- 2.17 Photon Flux (Free Index): 6.90e-08 +/- 2.83e-08 Energy Flux (Free Index): 1.03e-05 +/- 5.54e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/286866/cmap_HighResolution_374371201_376963201_4FGL_J0509.4+1012_monthly_bin53.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/286866 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.78e-08', energy_flux2='1.03e-05', photon_flux_error='1.62e-08', dlogl='9.97e-01', energy_flux='9.02e-06', photon_flux2='6.90e-08', job_status='DONE', time_completed='2021-10-14 05:19:33.122152', photon_index_error2='2.17', photon_index2='4.03', ts='4.92', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='5.54e-06', EG='0.94', time_epoch_completed='1634213973.12', return_code='0', job_id='286866', GAL2='1.01', EG2='0.89', return_code2='0', energy_flux_error='5.26e-06', photon_flux_error2='2.83e-08', ts2='7.52', photon_index='2.41' WHERE bin_id='53' AND source_name='4FGL J0509.4+1012' AND cadence='monthly'; Database successfully updated. Analysis Complete. Thu Oct 14 05:19:33 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 286866: <4FGL_J0509.4+1012_monthly_bin53> in cluster Done Job <4FGL_J0509.4+1012_monthly_bin53> was submitted from host by user in cluster at Thu Oct 14 02:30:12 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Oct 14 02:30:14 2021 was used as the home directory. was used as the working directory. Started at Thu Oct 14 02:30:14 2021 Terminated at Thu Oct 14 05:19:35 2021 Results reported at Thu Oct 14 05:19:35 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+1012_monthly_bin53 77.351 10.2008 374371201 376963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0509.4+1012 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 9870.00 sec. Max Memory : 645 MB Average Memory : 503.70 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 10160 sec. Turnaround time : 10163 sec. The output (if any) is above this job summary.