/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 210 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 = 17008 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1257.2+3646_weekly_bin682 RA = 194.31, Dec = 36.7706 tmin = 651456001, tmax = 652060801 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='615705', job_status='RUN', time_executed='2021-12-08 16:40:12.267331', time_epoch_executed='1639010412.27' WHERE source_name='4FGL J1257.2+3646' and cadence='weekly' and bin_id='682' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/615705 Creating custom pfile directory: /scratch/kocevski/615705/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=651456001.0 && nMetStart<652060801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=651456001.0 && nMetStart<652060801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/615705/ft1_4FGL_J1257.2+3646_weekly_bin682.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=651456001.0 && nMetStart<652060801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/615705/ft1_4FGL_J1257.2+3646_weekly_bin682.fits outfile=/scratch/kocevski/615705/ft1_filteredMKT_4FGL_J1257.2+3646_weekly_bin682.fits ra=194.31 dec=36.7706 rad=12.0 tmin=651456001.0 tmax=652060801.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.39 user 7.15 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.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/615705/ft1_filteredMKT_4FGL_J1257.2+3646_weekly_bin682.fits evtable="EVENTS" outfile="/scratch/kocevski/615705/ft1_filtered_4FGL_J1257.2+3646_weekly_bin682.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.54 user 0.39 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/615705/ft1_filtered_4FGL_J1257.2+3646_weekly_bin682.fits" evtable="EVENTS" scfile=/scratch/kocevski/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.fits sctable="SC_DATA" outfile=/scratch/kocevski/615705/ltcube_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.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/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.fits .....................! real 28.14 user 27.74 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/615705/ft1_filtered_4FGL_J1257.2+3646_weekly_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.fits sctable="SC_DATA" expcube=/scratch/kocevski/615705/ltcube_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.fits outfile=/scratch/kocevski/615705/expmap_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.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/615705/ltcube_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.fits .....................! real 192.01 user 187.19 sys 4.46 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 Added 188 point sources and 0 extended sources Setting source of interest to: 4FGL J1257.2+3646 @ 194.31 36.7706 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/615705/ft1_filtered_4FGL_J1257.2+3646_weekly_bin682.fits scfile=/scratch/kocevski/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.fits outfile=/scratch/kocevski/615705/cmap_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.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=194.31 yref=36.7706 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.57 user 0.43 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/615705/ft1_filtered_4FGL_J1257.2+3646_weekly_bin682.fits scfile=/scratch/kocevski/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.fits outfile=/scratch/kocevski/615705/cmap_HighResolution_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.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=194.31 yref=36.7706 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.58 user 0.43 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/615705/ft1_filtered_4FGL_J1257.2+3646_weekly_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615705/Model_4FGL_J1257.2+3646_weekly_bin682.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 Working on... /scratch/kocevski/615705/ft1_filtered_4FGL_J1257.2+3646_weekly_bin682.fits.....................! real 100.42 user 98.36 sys 1.18 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/615705/ft1_filtered_4FGL_J1257.2+3646_weekly_bin682.fits', '/scratch/kocevski/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.fits', expMap='/scratch/kocevski/615705/expmap_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.fits', expCube='/scratch/kocevski/615705/ltcube_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/615705/Model_4FGL_J1257.2+3646_weekly_bin682.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1257.2+3646' 4FGL J1257.2+3646 Spectrum: PowerLaw 300 Prefactor: 1.472e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 301 Index: 2.027e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 302 Scale: 1.897e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/615705/ft1_filtered_4FGL_J1257.2+3646_weekly_bin682.fits Spacecraft file(s): /scratch/kocevski/615705/ft2_4FGL_J1257.2+3646_weekly_bin682.fits Exposure map: /scratch/kocevski/615705/expmap_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.fits Exposure cube: /scratch/kocevski/615705/ltcube_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/615705/Model_4FGL_J1257.2+3646_weekly_bin682.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) = 14180.3934348 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14180.3804833 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 71.554 1.0000 .10000E-03 10000. 2 'norm ' 6.0588 1.0000 .10000E-03 10000. 3 'Prefactor ' 6.0499 1.0000 .10000E-03 10000. 4 'Prefactor ' 4.3149 1.0000 .10000E-03 10000. 5 'Prefactor ' .29330E-01 1.0000 .10000E-03 10000. 6 'Prefactor ' .10167E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 1.0618 1.0000 .10000E-03 10000. 8 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 41.528 1.0000 .10000E-03 10000. 10 'Prefactor ' 3.4868 1.0000 .10000E-03 10000. 11 'norm ' 13.280 1.0000 .10000E-03 10000. 12 'Prefactor ' .13570E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 8.6692 1.0000 .10000E-03 10000. 14 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 15 'norm ' 5.8490 1.0000 .10000E-03 10000. 16 'norm ' 10.716 1.0000 .10000E-03 10000. 17 'norm ' 2.1438 1.0000 .10000E-03 10000. 18 'norm ' 8.0754 1.0000 .10000E-03 10000. 19 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .13850 1.0000 .10000E-03 10000. 21 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' 2.8533 1.0000 .10000E-03 10000. 23 'Prefactor ' 34.208 1.0000 .10000E-03 10000. 24 'Normalizat' 1.2117 1.0000 .10000E-01 10.000 25 'Prefactor ' .70819 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14180.38 FROM MIGRAD STATUS=CONVERGED 600 CALLS 2938 TOTAL EDM= .62E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 71.550 27.427 -.13874E-05 -.25821E-03 2 norm 6.0586 2.0446 .17493E-08 .33083E-06 3 Prefactor 6.0502 3.8844 .10775E-05 -.20073E-02 4 Prefactor 4.3149 1.5628 -.45155E-08 .54483E-04 5 Prefactor .30427E-01 .48367 .17034E-07 -.16599E-03 6 Prefactor .10000E-03 6.6634 .28614E-07** at limit ** 7 Prefactor 1.0530 32.371 -.31188E-05 -.15918E-03 8 Prefactor .10000E-03 3.1465 -.14009E-07** at limit ** 9 Prefactor 41.518 39.464 -.45717E-05 -.26142E-03 10 Prefactor 3.4873 3.0388 .31748E-07 -.98382E-04 11 norm 13.280 3.9908 .15874E-06 -.27892E-04 12 Prefactor .10000E-03 45.817 .14098E-06** at limit ** 13 Prefactor 8.6730 12.279 -.24375E-06 -.38656E-04 14 Prefactor .10000E-03 4.3819 -.43150E-07** at limit ** 15 norm 5.8501 2.7375 -.76214E-08 .26628E-04 16 norm 10.711 7.1769 .28519E-06 .15241E-03 17 norm 2.1458 2.9147 .27714E-06 -.30308E-03 18 norm 8.0779 5.7905 -.28811E-06 -.11077E-03 19 Prefactor .10000E-03 .50833 .10564E-07** at limit ** 20 Prefactor .68002E-01 3.1261 -.63105E-07 -.22998E-04 21 Prefactor .10000E-03 14.467 .30234E-08** at limit ** 22 Prefactor 2.8549 6.4726 -.23779E-07 -.12787E-03 23 Prefactor 34.213 35.609 .12389E-05 .83684E-04 24 Normalizat 1.2115 .11333 .47996E-07 .47206E-04 25 Prefactor .70838 .13699 -.70455E-07 .33100E-04 ERR DEF= .500 Final values: Prefactor = 71.5501 norm = 6.05856 Prefactor = 6.05019 Prefactor = 4.31487 Prefactor = 0.0304265 Prefactor = 0.0001 Prefactor = 1.05297 Prefactor = 0.0001 Prefactor = 41.5183 Prefactor = 3.48732 norm = 13.2804 Prefactor = 0.0001 Prefactor = 8.67298 Prefactor = 0.0001 norm = 5.85012 norm = 10.711 norm = 2.14576 norm = 8.07788 Prefactor = 0.0001 Prefactor = 0.0680016 Prefactor = 0.0001 Prefactor = 2.85491 Prefactor = 34.2128 Normalizat = 1.21153 Prefactor = 0.708381 ********** ** 18 **HESSE ********** FCN= 14180.38 FROM HESSE STATUS=OK 445 CALLS 3383 TOTAL EDM= .52E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 71.550 27.526 .47459E-04 -1.4014 2 norm 6.0586 2.0506 .93363E-04 -1.5216 3 Prefactor 6.0502 4.7669 .81619E-03 -1.5216 4 Prefactor 4.3149 1.5671 .84984E-04 -1.5292 5 Prefactor .30427E-01 9.3066 .15847E-02 -1.5673 6 Prefactor .10000E-03 6.9612 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.0530 37.403 .47501E-02 -1.5503 8 Prefactor .10000E-03 3.1501 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 41.518 40.922 .62205E-04 -1.4418 10 Prefactor 3.4873 3.0366 .18715E-03 -1.5334 11 norm 13.280 3.9890 .10992E-03 -1.4979 12 Prefactor .10000E-03 46.240 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 8.6730 12.249 .13614E-03 -1.5119 14 Prefactor .10000E-03 4.4057 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 5.8501 2.7359 .13017E-03 -1.5224 16 norm 10.711 7.1822 .12239E-03 -1.5053 17 norm 2.1458 2.9757 .15858E-03 -1.5415 18 norm 8.0779 5.9526 .14109E-03 -1.5139 19 Prefactor .10000E-03 .51233 .82749E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .68002E-01 4.7570 .68789E-01 -1.5656 21 Prefactor .10000E-03 14.488 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 2.8549 6.4801 .24069E-03 -1.5370 23 Prefactor 34.213 35.711 .68516E-04 -1.4537 24 Normalizat 1.2115 .13107 .21255E-03 -.86247 25 Prefactor .70838 .15683 .33356E-03 -1.0320 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.24277e-08 Minuit parameter uncertainties: 1 27.531 2 2.05061 3 4.76719 4 1.56714 5 1.06269 6 5.73449e-06 7 12.5592 8 7.64301e-07 9 40.95 10 3.03678 11 3.98904 12 2.98563e-06 13 12.2522 14 3.28789e-06 15 2.73599 16 7.18282 17 2.97594 18 5.953 19 9.97472e-08 20 1.13677 21 3.33817e-06 22 6.48172 23 35.733 24 0.131104 25 0.156924 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14180.3804073 Extracting fit parameters... 4FGL J1257.2+3646 Spectrum: PowerLaw 300 Prefactor: 3.487e+00 3.037e+00 1.000e-04 1.000e+04 ( 1.000e-13) 301 Index: 2.027e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 302 Scale: 1.897e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 599 Prefactor: 7.084e-01 1.569e-01 0.000e+00 1.000e+01 ( 1.000e+00) 600 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 601 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 598 Normalization: 1.212e+00 1.311e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.07 Ra Dec: 194.310 36.771 Photon Index (Fixed Index): 2.03 +/- 0.00 Photon Flux (Fixed Index): 1.32e-08 +/- 1.15e-08 Energy Flux (Fixed Index): 8.56e-06 +/- 7.45e-06 TS (Fixed Index): 3.07 Ra Dec: 194.310 36.771 Photon Flux Upper Limit: 4.12e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.10e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/615705/likelihoodResults_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.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) = 14180.2415154 delta logL = 0.138891902428 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 14180.2344917 delta logL = 0.145915639843 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.5803 1.0000 .10000E-03 10000. 2 'Index ' 2.3933 1.0000 .0000 10.000 3 'Normalizat' 1.2021 1.0000 .10000E-01 10.000 4 'Prefactor ' .71451 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6020E+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. FCN= 14180.23 FROM MIGRAD STATUS=CONVERGED 96 CALLS 298 TOTAL EDM= .63E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.5803 3.4786 .14328E-03 .14726E-03 2 Index 2.3933 .79683 .87956E-02 .54835E-04 3 Normalizat 1.2021 .12835 .21324E-03 .32734E-04 4 Prefactor .71451 .15659 .33221E-03 -.21081E-04 ERR DEF= .500 Final values: Prefactor = 2.58034 Index = 2.39331 Normalizat = 1.20209 Prefactor = 0.714507 ********** ** 18 **HESSE ********** FCN= 14180.23 FROM HESSE STATUS=OK 25 CALLS 323 TOTAL EDM= .90E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.5803 2.9663 .57313E-05 -1.5387 2 Index 2.3933 .68003 .35182E-03 -.54842 3 Normalizat 1.2021 .12793 .85297E-05 -.86538 4 Prefactor .71451 .15640 .13288E-04 -1.0296 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.95788e-12 Minuit parameter uncertainties: 1 2.96649 2 0.682943 3 0.127965 4 0.156497 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/615705': 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) = 14180.2344917 delta logL = 0.145915641173 Extracting fit parameters... 4FGL J1257.2+3646 Spectrum: PowerLaw 300 Prefactor: 2.580e+00 2.966e+00 1.000e-04 1.000e+04 ( 1.000e-13) 301 Index: 2.393e+00 6.829e-01 0.000e+00 1.000e+01 (-1.000e+00) 302 Scale: 1.897e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 599 Prefactor: 7.145e-01 1.565e-01 0.000e+00 1.000e+01 ( 1.000e+00) 600 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 601 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 598 Normalization: 1.202e+00 1.280e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.39 Ra Dec: 194.310 36.771 Photon Index (Free Index): 2.39 +/- 0.68 Photon Flux (Free Index): 2.12e-08 +/- 2.18e-08 Energy Flux (Free Index): 7.01e-06 +/- 5.70e-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/615705/cmap_HighResolution_651456001_652060801_4FGL_J1257.2+3646_weekly_bin682.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/615705 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.10e-03', comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='7.01e-06', photon_flux_error='1.15e-08', dlogl='1.46e-01', energy_flux='8.56e-06', photon_flux2='2.12e-08', job_status='DONE', time_completed='2021-12-08 17:02:14.419660', photon_index_error2='0.68', photon_index2='2.39', ts='3.07', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='4.12e-08', energy_flux_error2='5.70e-06', EG='1.21', time_epoch_completed='1639011734.42', return_code='0', job_id='615705', GAL2='0.71', EG2='1.20', return_code2='0', energy_flux_error='7.45e-06', photon_flux_error2='2.18e-08', ts2='3.39', photon_index='2.03' WHERE bin_id='682' AND source_name='4FGL J1257.2+3646' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Dec 8 17:02:14 PST 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 615705: <4FGL_J1257.2+3646_weekly_bin682> in cluster Done Job <4FGL_J1257.2+3646_weekly_bin682> was submitted from host by user in cluster at Wed Dec 8 16:35:23 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Dec 8 16:36:34 2021 was used as the home directory. was used as the working directory. Started at Wed Dec 8 16:36:34 2021 Terminated at Wed Dec 8 17:02:14 2021 Results reported at Wed Dec 8 17:02:14 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1257.2+3646_weekly_bin682 194.31 36.7706 651456001 652060801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1257.2+3646 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1319.90 sec. Max Memory : 627 MB Average Memory : 284.34 MB Total Requested Memory : - Delta Memory : - Max Swap : 2934 MB Max Processes : 6 Max Threads : 21 Run time : 1540 sec. Turnaround time : 1611 sec. The output (if any) is above this job summary.