/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 5 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 = 6613 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+0542_daily_bin609 RA = 77.3593, Dec = 5.7014 tmin = 397180801, tmax = 397440001 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='39905', job_status='RUN', time_executed='2021-08-22 00:31:28.901279', time_epoch_executed='1629617488.9' WHERE source_name='4FGL J0509.4+0542' and cadence='daily' and bin_id='609' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/39905 Creating custom pfile directory: /scratch/kocevski/39905/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=397180801.0 && nMetStart<397440001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=397180801.0 && nMetStart<397440001.0' /Data/Flight/Level1/LPA Retrieving 41 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/39905/ft1_4FGL_J0509.4+0542_daily_bin609.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=397180801.0 && nMetStart<397440001.0' /Data/Flight/Level1/LPA Retrieving 41 files... Done. Merging files... Merged file saved to: /scratch/kocevski/39905/ft2_4FGL_J0509.4+0542_daily_bin609.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/39905/ft1_4FGL_J0509.4+0542_daily_bin609.fits outfile=/scratch/kocevski/39905/ft1_filteredMKT_4FGL_J0509.4+0542_daily_bin609.fits ra=77.3593 dec=5.7014 rad=12.0 tmin=397180801.0 tmax=397440001.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 7.37 user 3.69 sys 3.53 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/39905/ft2_4FGL_J0509.4+0542_daily_bin609.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/39905/ft2_4FGL_J0509.4+0542_daily_bin609.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/39905/ft1_filteredMKT_4FGL_J0509.4+0542_daily_bin609.fits evtable="EVENTS" outfile="/scratch/kocevski/39905/ft1_filtered_4FGL_J0509.4+0542_daily_bin609.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 3.81 user 0.31 sys 3.47 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/39905/ft1_filtered_4FGL_J0509.4+0542_daily_bin609.fits" evtable="EVENTS" scfile=/scratch/kocevski/39905/ft2_4FGL_J0509.4+0542_daily_bin609.fits sctable="SC_DATA" outfile=/scratch/kocevski/39905/ltcube_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.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/39905/ft2_4FGL_J0509.4+0542_daily_bin609.fits .....................! real 14.99 user 10.81 sys 4.02 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/39905/ft1_filtered_4FGL_J0509.4+0542_daily_bin609.fits evtable="EVENTS" scfile=/scratch/kocevski/39905/ft2_4FGL_J0509.4+0542_daily_bin609.fits sctable="SC_DATA" expcube=/scratch/kocevski/39905/ltcube_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.fits outfile=/scratch/kocevski/39905/expmap_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.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/39905/ltcube_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.fits .....................! real 194.66 user 185.74 sys 8.49 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 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 147 point sources and 1 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+0542 @ 77.3593 5.7014 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/39905/ft1_filtered_4FGL_J0509.4+0542_daily_bin609.fits scfile=/scratch/kocevski/39905/ft2_4FGL_J0509.4+0542_daily_bin609.fits outfile=/scratch/kocevski/39905/cmap_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.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.3593 yref=5.7014 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 4.89 user 0.37 sys 3.36 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/39905/ft1_filtered_4FGL_J0509.4+0542_daily_bin609.fits scfile=/scratch/kocevski/39905/ft2_4FGL_J0509.4+0542_daily_bin609.fits outfile=/scratch/kocevski/39905/cmap_HighResolution_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.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.3593 yref=5.7014 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 3.78 user 0.37 sys 3.38 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/39905/ft1_filtered_4FGL_J0509.4+0542_daily_bin609.fits evtable="EVENTS" scfile=/scratch/kocevski/39905/ft2_4FGL_J0509.4+0542_daily_bin609.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/39905/Model_4FGL_J0509.4+0542_daily_bin609.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 Rosette Working on... /scratch/kocevski/39905/ft1_filtered_4FGL_J0509.4+0542_daily_bin609.fits.....................! real 239.43 user 232.96 sys 5.90 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/39905/ft1_filtered_4FGL_J0509.4+0542_daily_bin609.fits', '/scratch/kocevski/39905/ft2_4FGL_J0509.4+0542_daily_bin609.fits', expMap='/scratch/kocevski/39905/expmap_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.fits', expCube='/scratch/kocevski/39905/ltcube_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/39905/Model_4FGL_J0509.4+0542_daily_bin609.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0509.4+0542' 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 7.518e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 204 alpha: 1.996e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 205 beta: 5.199e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 206 Eb: 1.074e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/39905/ft1_filtered_4FGL_J0509.4+0542_daily_bin609.fits Spacecraft file(s): /scratch/kocevski/39905/ft2_4FGL_J0509.4+0542_daily_bin609.fits Exposure map: /scratch/kocevski/39905/expmap_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.fits Exposure cube: /scratch/kocevski/39905/ltcube_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/39905/Model_4FGL_J0509.4+0542_daily_bin609.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) = 12429.2334606 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12429.1706377 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 21.831 1.0000 .10000E-03 10000. 2 'Prefactor ' 3.0783 1.0000 .10000E-03 10000. 3 'norm ' .29157 1.0000 .10000E-03 10000. 4 'Prefactor ' .10023E-03 1.0000 .10000E-03 10000. 5 'norm ' 20.338 1.0000 .10000E-03 10000. 6 'Prefactor ' 2.9091 1.0000 .10000E-03 10000. 7 'norm ' 2.9965 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'norm ' 2.1444 1.0000 .10000E-03 10000. 10 'Prefactor ' .10090E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10030E-03 1.0000 .10000E-03 10000. 12 'norm ' 2.4855 1.0000 .10000E-03 10000. 13 'Prefactor ' .12897E-03 1.0000 .10000E-03 10000. 14 'norm ' 3.4440 1.0000 .10000E-03 10000. 15 'Prefactor ' .46846E-02 1.0000 .10000E-03 10000. 16 'Prefactor ' 6.6010 1.0000 .10000E-03 10000. 17 'norm ' .10043E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 44.341 1.0000 .10000E-03 10000. 19 'Prefactor ' .10308E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 21 'norm ' .10004E-03 1.0000 .10000E-03 10000. 22 'norm ' .68323E-01 1.0000 .10000E-03 10000. 23 'Prefactor ' .67687 1.0000 .10000E-03 10000. 24 'Prefactor ' 18.829 1.0000 .10000E-03 10000. 25 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 26 'norm ' .10578E-03 1.0000 .10000E-03 10000. 27 'norm ' .95993E-03 1.0000 .10000E-03 10000. 28 'Normalizat' 1.4455 1.0000 .10000E-01 10.000 29 'Prefactor ' .92915 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5060E+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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 12429.17 FROM MIGRAD STATUS=FAILED 1345 CALLS 4431 TOTAL EDM= .53E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 21.835 24.506 .85726E-04 .14455E-03 2 Prefactor 3.1079 285.23 .23118E-03 -.38653E-04 3 norm .29182 5.3879 .21236E-02 .43032E-02 4 Prefactor .10000E-03 54.839 .18142E-02** at limit ** 5 norm 20.338 4.2442 .88814E-04 .18350E-02 6 Prefactor 2.9179 7.9366 .11911E-02 .35240E-04 7 norm 2.9969 2.3643 .14353E-03 -.91882E-05 8 Prefactor .10000E-03 11.823 .18142E-02** at limit ** 9 norm 2.1449 1.9275 .13906E-03 .21090E-02 10 Prefactor .10000E-03 12.504 .18142E-02** at limit ** 11 Prefactor .10000E-03 5.1046 .18142E-02** at limit ** 12 norm 2.4856 .79372 .51376E-04 -.50895E-04 13 Prefactor .10003E-03 95.908 .36285E-03** at limit ** 14 norm 3.4435 3.4553 .19367E-03 -.21837E-04 15 Prefactor .10005E-03 34.796 .24513E-02** at limit ** 16 Prefactor 6.6024 5.1276 .15619E-03 .25301E-03 17 norm .10000E-03 12.020 .18142E-02** at limit ** 18 Prefactor 44.344 57.478 .60207E-04 -.21148E-04 19 Prefactor .10000E-03 11.023 .18142E-02** at limit ** 20 Prefactor .10000E-03 2.3429 .16633E-02** at limit ** 21 norm .10000E-03 1.6135 .13800E-02** at limit ** 22 norm .72075E-01 4.6740 .13715E-02 -.57321E-03 23 Prefactor .73507 1032.8 .78560E-02 .10307E-02 24 Prefactor 18.741 54.788 .92303E-04 -.13819E-03 25 Prefactor .10000E-03 3.2662 .36285E-03** at limit ** 26 norm .10000E-03 20.090 .18142E-02** at limit ** 27 norm .10000E-03 26.986 .35555E-02** at limit ** 28 Normalizat 1.4452 .31518 .51517E-03 .42463E-03 29 Prefactor .92909 .68187E-01 .15149E-03 .68887E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 12429.17 FROM SIMPLEX STATUS=PROGRESS 1311 CALLS 5742 TOTAL EDM= .19E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 21.835 24.506 .35232E-06 -1.4773 2 Prefactor 3.1087 285.23 .43439E-05 -1.5355 3 norm .29183 5.3879 .26778E-06 -1.5600 4 Prefactor .10000E-03 54.839 .11664E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 20.338 4.2442 .40263E-07 -1.4806 6 Prefactor 2.9179 7.9366 .43359E-07 -1.5366 7 norm 2.9969 2.3643 .42781E-07 -1.5362 8 Prefactor .10000E-03 11.823 .45780E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.1449 1.9275 .42240E-07 -1.5415 10 Prefactor .10000E-03 12.504 .55397E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 5.1046 .27504E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 2.4856 .79372 .41938E-07 -1.5393 13 Prefactor .10003E-03 95.908 .40797E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 3.4435 3.4553 .43519E-07 -1.5337 15 Prefactor .10005E-03 34.796 .22909E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 6.6024 5.1276 .41393E-07 -1.5194 17 norm .10000E-03 12.020 .50854E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 44.344 57.478 .39056E-07 -1.4375 19 Prefactor .10000E-03 11.023 .25201E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 2.3429 .14011E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .10000E-03 1.6135 .16570E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .72075E-01 4.6740 .43403E-07 -1.5654 23 Prefactor .73507 1032.8 .21346E-06 -1.5537 24 Prefactor 18.741 54.788 .43509E-07 -1.4842 25 Prefactor .10000E-03 3.2662 .69312E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm .10000E-03 20.090 .34197E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm .10000E-03 26.986 .12901E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat 1.4452 .31518 .21485E-07 -.79329 29 Prefactor .92909 .68187E-01 .26024E-07 -.95132 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 12429.17 FROM MIGRAD STATUS=CONVERGED 534 CALLS 6276 TOTAL EDM= .50E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 21.835 24.195 .34290E-05 -.10609E-04 2 Prefactor 3.1092 284.15 .92471E-05 -.19671E-06 3 norm .29186 5.2427 .42472E-03 .16168E-04 4 Prefactor .10000E-03 54.848 .36285E-03** at limit ** 5 norm 20.338 4.2408 .17763E-04 -.11265E-04 6 Prefactor 2.9179 7.9084 .47643E-04 -.10022E-04 7 norm 2.9969 2.3624 .57412E-05 -.50693E-04 8 Prefactor .10000E-03 11.823 .36285E-03** at limit ** 9 norm 2.1449 1.9262 .55625E-05 .81752E-06 10 Prefactor .10000E-03 12.504 .36285E-03** at limit ** 11 Prefactor .10000E-03 5.1074 .36285E-03** at limit ** 12 norm 2.4856 .79349 .20550E-05 -.12171E-03 13 Prefactor .10000E-03 95.921 .72569E-04** at limit ** 14 norm 3.4435 3.4549 .77468E-05 -.24655E-04 15 Prefactor .10000E-03 36.259 .98053E-04** at limit ** 16 Prefactor 6.6024 5.1269 .62477E-05 -.11646E-04 17 norm .10000E-03 12.020 .36285E-03** at limit ** 18 Prefactor 44.344 57.474 .12041E-04 -.15106E-05 19 Prefactor .10000E-03 11.023 .36285E-03** at limit ** 20 Prefactor .10000E-03 2.3432 .33266E-03** at limit ** 21 norm .10000E-03 1.6137 .27600E-03** at limit ** 22 norm .72109E-01 3.9267 .54859E-04 .11605E-04 23 Prefactor .73492 463.91 .15712E-02 -.14703E-04 24 Prefactor 18.741 36.899 .36921E-05 .24634E-05 25 Prefactor .10000E-03 3.2664 .72569E-04** at limit ** 26 norm .10000E-03 20.096 .36285E-03** at limit ** 27 norm .10000E-03 27.413 .71109E-03** at limit ** 28 Normalizat 1.4452 .31291 .20607E-04 -.51197E-04 29 Prefactor .92909 .68139E-01 .30299E-04 -.14874E-03 ERR DEF= .500 Final values: Prefactor = 21.835 Prefactor = 3.10915 norm = 0.291861 Prefactor = 0.0001 norm = 20.3384 Prefactor = 2.91792 norm = 2.99694 Prefactor = 0.0001 norm = 2.14485 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.4856 Prefactor = 0.0001 norm = 3.44347 Prefactor = 0.0001 Prefactor = 6.60238 norm = 0.0001 Prefactor = 44.3444 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 0.0721087 Prefactor = 0.734919 Prefactor = 18.7413 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 Normalizat = 1.44521 Prefactor = 0.929093 ********** ** 18 **HESSE ********** FCN= 12429.17 FROM HESSE STATUS=OK 525 CALLS 6801 TOTAL EDM= .53E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 21.835 23.946 .68581E-06 -1.4773 2 Prefactor 3.1092 284.31 .92471E-05 -1.5355 3 norm .29186 5.1955 .16989E-04 -1.5600 4 Prefactor .10000E-03 54.847 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 20.338 4.2399 .35526E-05 -1.4806 6 Prefactor 2.9179 7.9079 .19057E-05 -1.5366 7 norm 2.9969 2.3619 .11482E-05 -1.5362 8 Prefactor .10000E-03 11.823 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.1449 1.9260 .55625E-05 -1.5415 10 Prefactor .10000E-03 12.504 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 5.1075 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 2.4856 .79358 .41101E-06 -1.5393 13 Prefactor .10000E-03 95.942 .14514E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 3.4435 3.4552 .15494E-05 -1.5337 15 Prefactor .10000E-03 36.258 .19611E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 6.6024 5.1264 .12495E-05 -1.5194 17 norm .10000E-03 12.020 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 44.344 57.494 .24083E-05 -1.4375 19 Prefactor .10000E-03 11.023 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 2.3432 .66531E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .10000E-03 1.6137 .55199E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .72109E-01 3.8691 .21944E-05 -1.5654 23 Prefactor .73492 404.26 .62848E-04 -1.5537 24 Prefactor 18.741 34.573 .73842E-06 -1.4842 25 Prefactor .10000E-03 3.2663 .14514E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm .10000E-03 20.096 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm .10000E-03 27.431 .14222E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat 1.4452 .31261 .41214E-05 -.79330 29 Prefactor .92909 .68111E-01 .60598E-05 -.95132 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.28743e-11 Minuit parameter uncertainties: 1 23.956 2 59.7569 3 2.46264 4 4.85213e-06 5 4.23998 6 7.91077 7 2.36198 8 7.60789e-07 9 1.92607 10 8.07379e-07 11 7.49745e-07 12 0.793585 13 1.5742e-05 14 3.45539 15 2.90725e-05 16 5.12672 17 9.88121e-07 18 57.566 19 9.2413e-07 20 3.58822e-07 21 8.43591e-08 22 1.05574 23 34.7086 24 34.6104 25 1.08139e-07 26 1.34864e-06 27 2.05937e-05 28 0.313026 29 0.0681177 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12429.1705437 Extracting fit parameters... 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 3.443e+00 3.455e+00 1.000e-04 1.000e+04 ( 1.000e-12) 204 alpha: 1.996e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 205 beta: 5.199e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 206 Eb: 1.074e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.291e-01 6.812e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 498 Normalization: 1.445e+00 3.130e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.49 Ra Dec: 77.359 5.701 Photon Index (Fixed Index): 2.00 +/- 0.00 Photon Flux (Fixed Index): 3.42e-08 +/- 3.43e-08 Energy Flux (Fixed Index): 2.19e-05 +/- 2.20e-05 TS (Fixed Index): 2.49 Ra Dec: 77.359 5.701 Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1 Energy Flux Upper Limit: 7.55e-05 MeV cm-2 s-1 Saving results to: /scratch/kocevski/39905/likelihoodResults_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.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) = 12429.0090304 delta logL = 0.161513309318 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 12428.9165762 delta logL = 0.253967496348 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.6826 1.0000 .10000E-03 10000. 2 'alpha ' 1.2722 1.0000 .0000 5.0000 3 'Normalizat' 1.4682 1.0000 .10000E-01 10.000 4 'Prefactor ' .92739 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5060E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 12428.92 FROM MIGRAD STATUS=CONVERGED 55 CALLS 217 TOTAL EDM= .43E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.6844 1.8312 .81177E-02 -.15443E-03 2 alpha 1.2723 .46173 .50000 -.92159E-04 3 Normalizat 1.4684 .24700 .11547 .54088E-04 4 Prefactor .92734 .60152E-01 .34320E-01 -.11898E-04 ERR DEF= .500 Final values: norm = 1.68435 alpha = 1.27232 Normalizat = 1.46839 Prefactor = 0.92734 ********** ** 18 **HESSE ********** FCN= 12428.92 FROM HESSE STATUS=OK 33 CALLS 250 TOTAL EDM= .55E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.6844 2.9040 .15121E-03 -1.5448 2 alpha 1.2723 .84264 .22881E-01 -.51332 3 Normalizat 1.4684 .26624 .51197E-03 -.78670 4 Prefactor .92734 .65062E-01 .15165E-03 -.95192 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.51558e-11 Minuit parameter uncertainties: 1 2.90422 2 0.865219 3 0.26649 4 0.0650672 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/39905': 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) = 12428.9165756 delta logL = 0.253968122843 Extracting fit parameters... 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 1.684e+00 2.904e+00 1.000e-04 1.000e+04 ( 1.000e-12) 204 alpha: 1.272e+00 8.652e-01 0.000e+00 5.000e+00 ( 1.000e+00) 205 beta: 5.199e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 206 Eb: 1.074e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.273e-01 6.507e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 498 Normalization: 1.468e+00 2.665e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.00 Ra Dec: 77.359 5.701 Photon Index (Free Index): 1.27 +/- 0.87 Photon Flux (Free Index): 9.20e-09 +/- 1.66e-08 Energy Flux (Free Index): 4.09e-05 +/- 6.23e-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/39905/cmap_HighResolution_397180801_397440001_4FGL_J0509.4+0542_daily_bin609.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/39905 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.55e-05', comment='SUCCESS', photon_flux='3.42e-08', energy_flux2='4.09e-05', photon_flux_error='3.43e-08', dlogl='2.54e-01', energy_flux='2.19e-05', photon_flux2='9.20e-09', job_status='DONE', time_completed='2021-08-22 01:00:07.292215', photon_index_error2='0.87', photon_index2='1.27', ts='2.49', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='6.23e-05', EG='1.45', time_epoch_completed='1629619207.29', return_code='0', job_id='39905', GAL2='0.93', EG2='1.47', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='1.66e-08', ts2='3.00', photon_index='2.00' WHERE bin_id='609' AND source_name='4FGL J0509.4+0542' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Aug 22 01:00:07 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 39905: <4FGL_J0509.4+0542_daily_bin609> in cluster Done Job <4FGL_J0509.4+0542_daily_bin609> was submitted from host by user in cluster at Sun Aug 22 00:30:19 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Aug 22 00:30:20 2021 was used as the home directory. was used as the working directory. Started at Sun Aug 22 00:30:20 2021 Terminated at Sun Aug 22 01:00:08 2021 Results reported at Sun Aug 22 01:00:08 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+0542_daily_bin609 77.3593 5.7014 397180801 397440001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0509.4+0542 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1765.00 sec. Max Memory : 1257 MB Average Memory : 341.97 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1787 sec. Turnaround time : 1789 sec. The output (if any) is above this job summary.