/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 8 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 = 7371 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+0542_daily_bin849 RA = 77.3593, Dec = 5.7014 tmin = 459388801, tmax = 459648001 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='41418', job_status='RUN', time_executed='2021-08-22 00:38:21.971657', time_epoch_executed='1629617901.97' WHERE source_name='4FGL J0509.4+0542' and cadence='daily' and bin_id='849' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/41418 Creating custom pfile directory: /scratch/kocevski/41418/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=459388801.0 && nMetStart<459648001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=459388801.0 && nMetStart<459648001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/41418/ft1_4FGL_J0509.4+0542_daily_bin849.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=459388801.0 && nMetStart<459648001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/41418/ft2_4FGL_J0509.4+0542_daily_bin849.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/41418/ft1_4FGL_J0509.4+0542_daily_bin849.fits outfile=/scratch/kocevski/41418/ft1_filteredMKT_4FGL_J0509.4+0542_daily_bin849.fits ra=77.3593 dec=5.7014 rad=12.0 tmin=459388801.0 tmax=459648001.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 12.41 user 3.22 sys 9.13 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/41418/ft2_4FGL_J0509.4+0542_daily_bin849.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/41418/ft2_4FGL_J0509.4+0542_daily_bin849.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/41418/ft1_filteredMKT_4FGL_J0509.4+0542_daily_bin849.fits evtable="EVENTS" outfile="/scratch/kocevski/41418/ft1_filtered_4FGL_J0509.4+0542_daily_bin849.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 9.76 user 0.33 sys 9.39 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/41418/ft1_filtered_4FGL_J0509.4+0542_daily_bin849.fits" evtable="EVENTS" scfile=/scratch/kocevski/41418/ft2_4FGL_J0509.4+0542_daily_bin849.fits sctable="SC_DATA" outfile=/scratch/kocevski/41418/ltcube_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.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/41418/ft2_4FGL_J0509.4+0542_daily_bin849.fits .....................! real 22.08 user 11.31 sys 10.70 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/41418/ft1_filtered_4FGL_J0509.4+0542_daily_bin849.fits evtable="EVENTS" scfile=/scratch/kocevski/41418/ft2_4FGL_J0509.4+0542_daily_bin849.fits sctable="SC_DATA" expcube=/scratch/kocevski/41418/ltcube_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.fits outfile=/scratch/kocevski/41418/expmap_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.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/41418/ltcube_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.fits .....................! real 202.57 user 185.88 sys 16.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 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/41418/ft1_filtered_4FGL_J0509.4+0542_daily_bin849.fits scfile=/scratch/kocevski/41418/ft2_4FGL_J0509.4+0542_daily_bin849.fits outfile=/scratch/kocevski/41418/cmap_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.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 9.30 user 0.39 sys 8.86 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/41418/ft1_filtered_4FGL_J0509.4+0542_daily_bin849.fits scfile=/scratch/kocevski/41418/ft2_4FGL_J0509.4+0542_daily_bin849.fits outfile=/scratch/kocevski/41418/cmap_HighResolution_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.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 9.60 user 0.40 sys 9.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/41418/ft1_filtered_4FGL_J0509.4+0542_daily_bin849.fits evtable="EVENTS" scfile=/scratch/kocevski/41418/ft2_4FGL_J0509.4+0542_daily_bin849.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/41418/Model_4FGL_J0509.4+0542_daily_bin849.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/41418/ft1_filtered_4FGL_J0509.4+0542_daily_bin849.fits.....................! real 311.35 user 297.36 sys 13.32 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/41418/ft1_filtered_4FGL_J0509.4+0542_daily_bin849.fits', '/scratch/kocevski/41418/ft2_4FGL_J0509.4+0542_daily_bin849.fits', expMap='/scratch/kocevski/41418/expmap_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.fits', expCube='/scratch/kocevski/41418/ltcube_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/41418/Model_4FGL_J0509.4+0542_daily_bin849.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/41418/ft1_filtered_4FGL_J0509.4+0542_daily_bin849.fits Spacecraft file(s): /scratch/kocevski/41418/ft2_4FGL_J0509.4+0542_daily_bin849.fits Exposure map: /scratch/kocevski/41418/expmap_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.fits Exposure cube: /scratch/kocevski/41418/ltcube_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/41418/Model_4FGL_J0509.4+0542_daily_bin849.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) = 16071.8759798 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16071.6470816 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 24.830 1.0000 .10000E-03 10000. 2 'Prefactor ' .10060E-03 1.0000 .10000E-03 10000. 3 'norm ' 2.7426 1.0000 .10000E-03 10000. 4 'Prefactor ' 63.885 1.0000 .10000E-03 10000. 5 'norm ' 2.0820 1.0000 .10000E-03 10000. 6 'Prefactor ' .56199E-02 1.0000 .10000E-03 10000. 7 'norm ' 4.9476 1.0000 .10000E-03 10000. 8 'Prefactor ' .10100E-03 1.0000 .10000E-03 10000. 9 'norm ' 1.0472 1.0000 .10000E-03 10000. 10 'Prefactor ' .10184E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 6.9607 1.0000 .10000E-03 10000. 12 'norm ' 2.3655 1.0000 .10000E-03 10000. 13 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 14 'norm ' .10000E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 3.4125 1.0000 .10000E-03 10000. 16 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 17 'norm ' 5.9482 1.0000 .10000E-03 10000. 18 'Prefactor ' 34.999 1.0000 .10000E-03 10000. 19 'Prefactor ' .10018E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 21 'norm ' .10000E-03 1.0000 .10000E-03 10000. 22 'norm ' 1.2899 1.0000 .10000E-03 10000. 23 'Prefactor ' 59.703 1.0000 .10000E-03 10000. 24 'Prefactor ' .10203E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 26 'norm ' 25.493 1.0000 .10000E-03 10000. 27 'norm ' .10935E-03 1.0000 .10000E-03 10000. 28 'Normalizat' 1.7220 1.0000 .10000E-01 10.000 29 'Prefactor ' .84746 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. FCN= 16071.65 FROM MIGRAD STATUS=CONVERGED 726 CALLS 3832 TOTAL EDM= .36E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 24.833 25.525 -.85578E-06 -.39123E-04 2 Prefactor .10000E-03 50.646 .13210E-05** at limit ** 3 norm 2.7415 3.2301 .64159E-06 -.77065E-04 4 Prefactor 63.884 39.398 -.15593E-06 -.14985E-04 5 norm 2.0828 2.2877 .14953E-06 -.44749E-04 6 Prefactor .10000E-03 2.5539 .15337E-06** at limit ** 7 norm 4.9471 2.2345 -.31797E-07 -.66693E-04 8 Prefactor .10000E-03 24.999 .33478E-06** at limit ** 9 norm 1.0473 1.8207 .17034E-06 .38258E-04 10 Prefactor .10000E-03 39.073 -.15623E-05** at limit ** 11 Prefactor 6.9594 7.8667 -.93816E-08 .15410E-04 12 norm 2.3656 .67522 -.92764E-07 .65736E-04 13 Prefactor .10000E-03 6.0514 -.28292E-07** at limit ** 14 norm .10000E-03 .94411 .47524E-07** at limit ** 15 Prefactor 3.4118 3.5405 -.61388E-07 -.31663E-04 16 Prefactor .10000E-03 3.6350 -.41413E-06** at limit ** 17 norm 5.9549 22.950 -.15928E-06 -.82355E-05 18 Prefactor 35.017 62.643 -.64216E-06 -.11010E-04 19 Prefactor .10000E-03 8.8286 .50078E-07** at limit ** 20 Prefactor .10000E-03 1.7494 .62442E-07** at limit ** 21 norm .10000E-03 4.3145 -.43827E-07** at limit ** 22 norm 1.2903 1.2633 .24318E-07 .83766E-04 23 Prefactor 59.703 26.738 .41636E-07 .69827E-05 24 Prefactor .10000E-03 25.415 -.22560E-07** at limit ** 25 Prefactor .10000E-03 1.5825 .21067E-08** at limit ** 26 norm 25.546 17.460 .66353E-06 .15069E-03 27 norm .10000E-03 5.6022 -.22589E-05** at limit ** 28 Normalizat 1.7218 .25233 -.15002E-05 .30895E-04 29 Prefactor .84750 .53773E-01 .31941E-06 -.87311E-04 ERR DEF= .500 Final values: Prefactor = 24.8333 Prefactor = 0.0001 norm = 2.7415 Prefactor = 63.8839 norm = 2.08276 Prefactor = 0.000100001 norm = 4.94713 Prefactor = 0.0001 norm = 1.04731 Prefactor = 0.0001 Prefactor = 6.95941 norm = 2.36559 Prefactor = 0.0001 norm = 0.0001 Prefactor = 3.41175 Prefactor = 0.0001 norm = 5.95487 Prefactor = 35.0173 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 1.29031 Prefactor = 59.7033 Prefactor = 0.0001 Prefactor = 0.0001 norm = 25.5461 norm = 0.0001 Normalizat = 1.72177 Prefactor = 0.847503 ********** ** 18 **HESSE ********** FCN= 16071.65 FROM HESSE STATUS=OK 553 CALLS 4385 TOTAL EDM= .11E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 24.833 25.618 .80389E-04 -1.4711 2 Prefactor .10000E-03 50.930 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 2.7415 3.2423 .10214E-02 -1.5377 4 Prefactor 63.884 39.305 .50207E-04 -1.4108 5 norm 2.0828 2.2922 .18572E-03 -1.5419 6 Prefactor .10000E-03 27.706 .38032E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 4.9471 2.2269 .12052E-03 -1.5263 8 Prefactor .10000E-03 25.154 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.0473 1.8009 .20864E-03 -1.5503 10 Prefactor .10000E-03 39.231 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 6.9594 7.8547 .15206E-03 -1.5180 12 norm 2.3656 .67845 .52664E-04 -1.5400 13 Prefactor .10000E-03 6.0560 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .10000E-03 .94935 .12027E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 3.4118 3.5301 .21899E-03 -1.5339 16 Prefactor .10000E-03 3.7227 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 5.9549 22.950 .16465E-03 -1.5220 18 Prefactor 35.017 62.617 .67739E-04 -1.4524 19 Prefactor .10000E-03 8.8356 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 1.7566 .16374E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .10000E-03 4.4276 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 1.2903 1.2299 .12618E-03 -1.5481 23 Prefactor 59.703 26.367 .51925E-04 -1.4161 24 Prefactor .10000E-03 25.472 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .10000E-03 1.5948 .15572E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm 25.546 17.886 .79340E-04 -1.4697 27 norm .10000E-03 5.8240 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat 1.7218 .27209 .47888E-03 -.71723 29 Prefactor .84750 .59185E-01 .15600E-03 -.98000 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.10526e-09 Minuit parameter uncertainties: 1 25.6298 2 0.000229875 3 3.24254 4 39.3209 5 2.29232 6 0.000322382 7 2.22697 8 7.97882e-05 9 1.801 10 8.61994e-05 11 7.85585 12 0.678449 13 8.93622e-07 14 2.77585e-06 15 3.53036 16 7.14271e-06 17 22.9836 18 62.7347 19 4.86588e-07 20 4.42122e-07 21 7.50517e-07 22 1.22997 23 26.3719 24 2.46278e-05 25 1.82132e-07 26 17.8897 27 1.05081e-05 28 0.272326 29 0.0591891 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16071.6469778 Extracting fit parameters... 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 1.000e-04 2.776e-06 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: 8.475e-01 5.919e-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.722e+00 2.723e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 77.359 5.701 Photon Flux Upper Limit: 4.76e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.05e-05 MeV cm-2 s-1 Saving results to: /scratch/kocevski/41418/likelihoodResults_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.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) = 16071.6519758 delta logL = -0.00499800652506 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16071.6469778 delta logL = -6.89396983944e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10039E-03 1.0000 .10000E-03 10000. 2 'alpha ' 2.0061 1.0000 .0000 5.0000 3 'Normalizat' 1.7218 1.0000 .10000E-01 10.000 4 'Prefactor ' .84751 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= 16070.55 FROM MIGRAD STATUS=FAILED 309 CALLS 448 TOTAL EDM= .58E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .41396E-01 .81441 .39969E-02 .13188E-01 2 alpha 5.0000 2.9119 .50000 ** at limit ** 3 Normalizat 1.5951 .12979 .47888E-02 -.85560E-05 4 Prefactor .86466 .25342E-01 .15600E-03 -.29880E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 16070.55 FROM SIMPLEX STATUS=UNCHANGED 159 CALLS 607 TOTAL EDM= .54E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .41396E-01 .81441 .17213E-07 .13188E-01 2 alpha 5.0000 2.9119 .39170E-02** at limit ** 3 Normalizat 1.5951 .12979 .17182E-07 -.85560E-05 4 Prefactor .86466 .25342E-01 .12528E-08 -.29880E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16070.55 FROM MIGRAD STATUS=CONVERGED 37 CALLS 644 TOTAL EDM= .68E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .41396E-01 .31558E-01 .18232E-03 .53026E-01 2 alpha 5.0000 .85002 .72373E-01** at limit ** 3 Normalizat 1.5951 .24677 .19155E-03 -.13057E-04 4 Prefactor .86466 .57405E-01 .62398E-05 -.29880E-04 ERR DEF= .500 Final values: norm = 0.0413958 alpha = 5 Normalizat = 1.59505 Prefactor = 0.864659 ********** ** 18 **HESSE ********** FCN= 16070.55 FROM HESSE STATUS=OK 25 CALLS 669 TOTAL EDM= .11E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .41396E-01 .30833E-01 .36464E-04 -1.5667 2 alpha 5.0000 .84466 .28949E-02 1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Normalizat 1.5951 .24672 .76621E-05 -.75141 4 Prefactor .86466 .57447E-01 .12480E-05 -.97387 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.09919e-11 Minuit parameter uncertainties: 1 0.0308334 2 4.08014e-07 3 0.246905 4 0.057451 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/41418': 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) = 16070.5501641 delta logL = 1.09681368477 Extracting fit parameters... 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 4.140e-02 3.083e-02 1.000e-04 1.000e+04 ( 1.000e-12) 204 alpha: 5.000e+00 4.080e-07 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: 8.647e-01 5.745e-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.595e+00 2.469e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.44 Ra Dec: 77.359 5.701 Photon Index (Free Index): 5.00 +/- 0.00 Photon Flux (Free Index): 1.18e-07 +/- 8.70e-08 Energy Flux (Free Index): 1.59e-05 +/- 1.18e-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/41418/cmap_HighResolution_459388801_459648001_4FGL_J0509.4+0542_daily_bin849.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/41418 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.05e-05', comment='SUCCESS', energy_flux2='1.59e-05', dlogl='1.10e+00', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-08-22 01:08:48.896262', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='4.76e-08', energy_flux_error2='1.18e-05', EG='1.72', time_epoch_completed='1629619728.9', return_code='0', job_id='41418', GAL2='0.86', EG2='1.60', return_code2='0', photon_flux_error2='8.70e-08', ts2='2.44', photon_index='2.00' WHERE bin_id='849' AND source_name='4FGL J0509.4+0542' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Aug 22 01:08:49 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 41418: <4FGL_J0509.4+0542_daily_bin849> in cluster Done Job <4FGL_J0509.4+0542_daily_bin849> was submitted from host by user in cluster at Sun Aug 22 00:35:40 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Aug 22 00:35:41 2021 was used as the home directory. was used as the working directory. Started at Sun Aug 22 00:35:41 2021 Terminated at Sun Aug 22 01:08:51 2021 Results reported at Sun Aug 22 01:08:51 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+0542_daily_bin849 77.3593 5.7014 459388801 459648001 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 : 1961.26 sec. Max Memory : 1256 MB Average Memory : 336.53 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 1989 sec. Turnaround time : 1991 sec. The output (if any) is above this job summary.