/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 235 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 = 17184 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0507.9+6737_weekly_bin700 RA = 76.9956, Dec = 67.6223 tmin = 662342401, tmax = 662947201 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='36094', job_status='RUN', time_executed='2022-01-04 01:10:16.859682', time_epoch_executed='1641287416.86' WHERE source_name='4FGL J0507.9+6737' and cadence='weekly' and bin_id='700' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/36094 Creating custom pfile directory: /scratch/kocevski/36094/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=662342401.0 && nMetStart<662947201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=662342401.0 && nMetStart<662947201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/36094/ft1_4FGL_J0507.9+6737_weekly_bin700.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=662342401.0 && nMetStart<662947201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/36094/ft1_4FGL_J0507.9+6737_weekly_bin700.fits outfile=/scratch/kocevski/36094/ft1_filteredMKT_4FGL_J0507.9+6737_weekly_bin700.fits ra=76.9956 dec=67.6223 rad=12.0 tmin=662342401.0 tmax=662947201.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 6.14 user 5.86 sys 0.25 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.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/36094/ft1_filteredMKT_4FGL_J0507.9+6737_weekly_bin700.fits evtable="EVENTS" outfile="/scratch/kocevski/36094/ft1_filtered_4FGL_J0507.9+6737_weekly_bin700.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.59 user 0.40 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/36094/ft1_filtered_4FGL_J0507.9+6737_weekly_bin700.fits" evtable="EVENTS" scfile=/scratch/kocevski/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.fits sctable="SC_DATA" outfile=/scratch/kocevski/36094/ltcube_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.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/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.fits .....................! real 36.19 user 35.74 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/36094/ft1_filtered_4FGL_J0507.9+6737_weekly_bin700.fits evtable="EVENTS" scfile=/scratch/kocevski/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.fits sctable="SC_DATA" expcube=/scratch/kocevski/36094/ltcube_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.fits outfile=/scratch/kocevski/36094/expmap_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.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/36094/ltcube_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.fits .....................! real 193.25 user 188.43 sys 4.44 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 G150.3+4.5 in ROI with RadialDisk spatial model. Extended source HB 3 in ROI with RadialDisk spatial model. Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template. Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template. Added 180 point sources and 4 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 J0507.9+6737 @ 76.9956 67.6223 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/36094/ft1_filtered_4FGL_J0507.9+6737_weekly_bin700.fits scfile=/scratch/kocevski/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.fits outfile=/scratch/kocevski/36094/cmap_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.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=76.9956 yref=67.6223 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.60 user 0.43 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/36094/ft1_filtered_4FGL_J0507.9+6737_weekly_bin700.fits scfile=/scratch/kocevski/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.fits outfile=/scratch/kocevski/36094/cmap_HighResolution_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.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=76.9956 yref=67.6223 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.60 user 0.45 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/36094/ft1_filtered_4FGL_J0507.9+6737_weekly_bin700.fits evtable="EVENTS" scfile=/scratch/kocevski/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/36094/Model_4FGL_J0507.9+6737_weekly_bin700.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 G150.3+4.5 adding source GAL_V02 adding source HB 3 adding source HB 9 adding source W 3 Working on... /scratch/kocevski/36094/ft1_filtered_4FGL_J0507.9+6737_weekly_bin700.fits.....................! real 577.16 user 573.65 sys 1.69 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/36094/ft1_filtered_4FGL_J0507.9+6737_weekly_bin700.fits', '/scratch/kocevski/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.fits', expMap='/scratch/kocevski/36094/expmap_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.fits', expCube='/scratch/kocevski/36094/ltcube_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/36094/Model_4FGL_J0507.9+6737_weekly_bin700.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0507.9+6737' 4FGL J0507.9+6737 Spectrum: PowerLaw 288 Prefactor: 5.003e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 289 Index: 1.578e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 290 Scale: 6.445e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/36094/ft1_filtered_4FGL_J0507.9+6737_weekly_bin700.fits Spacecraft file(s): /scratch/kocevski/36094/ft2_4FGL_J0507.9+6737_weekly_bin700.fits Exposure map: /scratch/kocevski/36094/expmap_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.fits Exposure cube: /scratch/kocevski/36094/ltcube_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/36094/Model_4FGL_J0507.9+6737_weekly_bin700.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) = 31912.7014629 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 31912.6983816 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10063E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10267E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.9944 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.6327 1.0000 .10000E-03 10000. 5 'Prefactor ' .10678E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 6.5865 1.0000 .10000E-03 10000. 7 'Prefactor ' .10281E-03 1.0000 .10000E-03 10000. 8 'norm ' 1.7116 1.0000 .10000E-03 10000. 9 'norm ' 1.4758 1.0000 .10000E-03 10000. 10 'Prefactor ' .11645 1.0000 .10000E-03 10000. 11 'Prefactor ' .10071E-03 1.0000 .10000E-03 10000. 12 'norm ' .10255E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 73.336 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.1277 1.0000 .10000E-03 10000. 15 'Prefactor ' 33.044 1.0000 .10000E-03 10000. 16 'Prefactor ' .10114E-03 1.0000 .10000E-03 10000. 17 'Normalizat' 1.2555 1.0000 .10000E-01 10.000 18 'Prefactor ' .96054 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6120E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 31912.70 FROM MIGRAD STATUS=CONVERGED 386 CALLS 1809 TOTAL EDM= .20E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 6.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .10000E-03 1.6698 -.22151E-07** at limit ** 2 Prefactor .10000E-03 11.189 .10032E-07** at limit ** 3 Prefactor 1.9942 1.9519 -.53524E-08 -.14509E-04 4 Prefactor 1.6328 1.2471 -.85298E-08 -.23707E-04 5 Prefactor .10000E-03 33.318 .25928E-06** at limit ** 6 Prefactor 6.5895 5.8786 .10241E-05 .21508E-03 7 Prefactor .10000E-03 11.023 -.62922E-07** at limit ** 8 norm 1.7133 7.2225 .62518E-06 .13901E-04 9 norm 1.4738 36.619 .49684E-06 -.11317E-05 10 Prefactor .10772E-03 4.2915 .79718E-06** at limit ** 11 Prefactor .10000E-03 25.219 -.61545E-07** at limit ** 12 norm .10000E-03 25.325 .27258E-07** at limit ** 13 Prefactor 73.326 33.490 .10406E-05 .80367E-04 14 Prefactor 1.3786 264.32 -.14228E-04 -.25707E-05 15 Prefactor 33.043 17.280 -.44107E-06 -.67463E-05 16 Prefactor .10000E-03 3.9117 .15790E-07** at limit ** 17 Normalizat 1.2553 .15574 .37403E-06 .63377E-04 18 Prefactor .96057 .31834E-01 -.64108E-07 .26561E-03 ERR DEF= .500 Final values: norm = 0.0001 Prefactor = 0.0001 Prefactor = 1.9942 Prefactor = 1.63283 Prefactor = 0.0001 Prefactor = 6.58953 Prefactor = 0.0001 norm = 1.71328 norm = 1.47384 Prefactor = 0.00010772 Prefactor = 0.0001 norm = 0.0001 Prefactor = 73.3264 Prefactor = 1.37858 Prefactor = 33.0433 Prefactor = 0.0001 Normalizat = 1.25528 Prefactor = 0.960571 ********** ** 18 **HESSE ********** FCN= 31912.70 FROM HESSE STATUS=OK 254 CALLS 2063 TOTAL EDM= .36E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .10000E-03 1.7318 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 11.236 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.9942 1.9582 .23922E-03 -1.5426 4 Prefactor 1.6328 1.2540 .16915E-03 -1.5452 5 Prefactor .10000E-03 33.608 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 6.5895 5.8870 .78183E-03 -1.5195 7 Prefactor .10000E-03 11.088 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 1.7133 7.1719 .32128E-03 -1.5446 9 norm 1.4738 36.752 .35352E-03 -1.5465 10 Prefactor .10772E-03 3.8528 .12522 -1.5709 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 25.290 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .10000E-03 25.327 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 73.326 33.816 .46883E-04 -1.3993 14 Prefactor 1.3786 265.99 .44058E-03 -1.5473 15 Prefactor 33.043 17.336 .69708E-04 -1.4558 16 Prefactor .10000E-03 3.9147 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Normalizat 1.2553 .16407 .54239E-03 -.84911 18 Prefactor .96057 .33652E-01 .13117E-03 -.94056 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.60767e-10 Minuit parameter uncertainties: 1 1.0128e-06 2 3.44117e-06 3 1.95826 4 1.25398 5 6.63399e-06 6 5.88748 7 7.68646e-06 8 7.01193 9 14.7292 10 0.010908 11 8.22258e-06 12 4.75526e-07 13 33.8249 14 38.4718 15 17.3383 16 1.19002e-06 17 0.164137 18 0.0336527 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 31912.6980566 Extracting fit parameters... 4FGL J0507.9+6737 Spectrum: PowerLaw 288 Prefactor: 1.077e-04 1.091e-02 1.000e-04 1.000e+04 ( 1.000e-14) 289 Index: 1.578e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 290 Scale: 6.445e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 597 Prefactor: 9.606e-01 3.365e-02 0.000e+00 1.000e+01 ( 1.000e+00) 598 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 599 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 592 Normalization: 1.255e+00 1.641e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 76.996 67.622 Photon Flux Upper Limit: 2.78e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.01e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/36094/likelihoodResults_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.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): 102 logL (Free Index) = 31912.6980727 delta logL = -1.60396666615e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 31912.0032082 delta logL = 0.694848400271 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .61374 1.0000 .10000E-03 10000. 2 'Index ' 2.8377 1.0000 .0000 10.000 3 'Normalizat' 1.2143 1.0000 .10000E-01 10.000 4 'Prefactor ' .96286 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6120E+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= 31912.00 FROM MIGRAD STATUS=FAILED 97 CALLS 342 TOTAL EDM= .53E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61389 26.038 .12796E-03 .11888E-02 2 Index 2.8378 3.5629 .91683E-02 .38633E-03 3 Normalizat 1.2144 .15897 .55006E-03 .34392E-04 4 Prefactor .96285 .27959E-01 .13101E-03 .43042E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 31912.00 FROM SIMPLEX STATUS=UNCHANGED 90 CALLS 432 TOTAL EDM= .94E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61389 26.038 .66519E-04 .11888E-02 2 Index 2.8378 3.5629 .83509E-03 .38633E-03 3 Normalizat 1.2144 .15897 .88549E-04 .34392E-04 4 Prefactor .96285 .27959E-01 .26535E-04 .43042E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 31912.00 FROM MIGRAD STATUS=CONVERGED 30 CALLS 462 TOTAL EDM= .11E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .61391 1.8675 .51184E-05 .12971E-02 2 Index 2.8378 .95559 .36673E-03 .14223E-03 3 Normalizat 1.2144 .15729 .22002E-04 .39683E-04 4 Prefactor .96285 .32830E-01 .52403E-05 .45299E-03 ERR DEF= .500 Final values: Prefactor = 0.613906 Index = 2.83782 Normalizat = 1.21436 Prefactor = 0.962852 ********** ** 18 **HESSE ********** FCN= 31912.00 FROM HESSE STATUS=OK 23 CALLS 485 TOTAL EDM= .11E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .61391 1.7442 .10237E-05 -1.5551 2 Index 2.8378 .89312 .14669E-04 -.44719 3 Normalizat 1.2144 .15697 .44005E-05 -.86160 4 Prefactor .96285 .32794E-01 .10481E-05 -.93978 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.09812e-10 Minuit parameter uncertainties: 1 1.74439 2 0.899069 3 0.157035 4 0.0327949 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/36094': 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) = 31912.0032078 delta logL = 0.694848815248 Extracting fit parameters... 4FGL J0507.9+6737 Spectrum: PowerLaw 288 Prefactor: 6.139e-01 1.744e+00 1.000e-04 1.000e+04 ( 1.000e-14) 289 Index: 2.838e+00 8.991e-01 0.000e+00 1.000e+01 (-1.000e+00) 290 Scale: 6.445e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 597 Prefactor: 9.629e-01 3.279e-02 0.000e+00 1.000e+01 ( 1.000e+00) 598 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 599 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 592 Normalization: 1.214e+00 1.570e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.48 Ra Dec: 76.996 67.622 Photon Index (Free Index): 2.84 +/- 0.90 Photon Flux (Free Index): 4.56e-08 +/- 5.11e-08 Energy Flux (Free Index): 9.95e-06 +/- 9.56e-06 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/36094/cmap_HighResolution_662342401_662947201_4FGL_J0507.9+6737_weekly_bin700.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/36094 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', comment='SUCCESS', energy_flux2='9.95e-06', dlogl='6.95e-01', photon_flux2='4.56e-08', job_status='DONE', time_completed='2022-01-04 01:48:05.429783', photon_index_error2='0.90', photon_index2='2.84', ts='-0.00', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='2.78e-08', energy_flux_error2='9.56e-06', EG='1.26', time_epoch_completed='1641289685.43', return_code='0', job_id='36094', GAL2='0.96', EG2='1.21', return_code2='0', photon_flux_error2='5.11e-08', ts2='1.48', photon_index='1.58' WHERE bin_id='700' AND source_name='4FGL J0507.9+6737' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jan 4 01:48:05 PST 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 36066: <4FGL_J0507.9+6737_weekly_bin700> in cluster Done Job <4FGL_J0507.9+6737_weekly_bin700> was submitted from host by user in cluster at Tue Jan 4 00:05:49 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Jan 4 01:05:40 2022 was used as the home directory. was used as the working directory. Started at Tue Jan 4 01:05:40 2022 Terminated at Tue Jan 4 01:45:48 2022 Results reported at Tue Jan 4 01:45:48 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0507.9+6737_weekly_bin700 76.9956 67.6223 662342401 662947201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0507.9+6737 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2268.00 sec. Max Memory : 624 MB Average Memory : 382.60 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2408 sec. Turnaround time : 5999 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 36094: <4FGL_J0507.9+6737_weekly_bin700> in cluster Done Job <4FGL_J0507.9+6737_weekly_bin700> was submitted from host by user in cluster at Tue Jan 4 00:05:51 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Jan 4 01:06:13 2022 was used as the home directory. was used as the working directory. Started at Tue Jan 4 01:06:13 2022 Terminated at Tue Jan 4 01:48:05 2022 Results reported at Tue Jan 4 01:48:05 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0507.9+6737_weekly_bin700 76.9956 67.6223 662342401 662947201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0507.9+6737 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2265.71 sec. Max Memory : 638 MB Average Memory : 375.24 MB Total Requested Memory : - Delta Memory : - Max Swap : 2937 MB Max Processes : 6 Max Threads : 21 Run time : 2512 sec. Turnaround time : 6134 sec. The output (if any) is above this job summary.