/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 238 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 = 17128 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin701 RA = 250.119, Dec = 39.7626 tmin = 662947201, tmax = 663552001 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='569162', job_status='RUN', time_executed='2022-01-11 02:46:41.226576', time_epoch_executed='1641898001.23' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='701' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/569162 Creating custom pfile directory: /scratch/kocevski/569162/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=662947201.0 && nMetStart<663552001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=662947201.0 && nMetStart<663552001.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/569162/ft1_4FGL_J1640.4+3945_weekly_bin701.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=662947201.0 && nMetStart<663552001.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /scratch/kocevski/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/569162/ft1_4FGL_J1640.4+3945_weekly_bin701.fits outfile=/scratch/kocevski/569162/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin701.fits ra=250.119 dec=39.7626 rad=12.0 tmin=662947201.0 tmax=663552001.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 5.84 user 5.50 sys 0.26 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.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/569162/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin701.fits evtable="EVENTS" outfile="/scratch/kocevski/569162/ft1_filtered_4FGL_J1640.4+3945_weekly_bin701.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.55 user 0.38 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/569162/ft1_filtered_4FGL_J1640.4+3945_weekly_bin701.fits" evtable="EVENTS" scfile=/scratch/kocevski/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.fits sctable="SC_DATA" outfile=/scratch/kocevski/569162/ltcube_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.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/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.fits .....................! real 33.00 user 32.14 sys 0.38 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/569162/ft1_filtered_4FGL_J1640.4+3945_weekly_bin701.fits evtable="EVENTS" scfile=/scratch/kocevski/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.fits sctable="SC_DATA" expcube=/scratch/kocevski/569162/ltcube_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.fits outfile=/scratch/kocevski/569162/expmap_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.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/569162/ltcube_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.fits .....................! real 194.46 user 186.34 sys 4.95 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 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/569162/ft1_filtered_4FGL_J1640.4+3945_weekly_bin701.fits scfile=/scratch/kocevski/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.fits outfile=/scratch/kocevski/569162/cmap_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.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=250.119 yref=39.7626 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.59 user 0.39 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/569162/ft1_filtered_4FGL_J1640.4+3945_weekly_bin701.fits scfile=/scratch/kocevski/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.fits outfile=/scratch/kocevski/569162/cmap_HighResolution_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.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=250.119 yref=39.7626 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.59 user 0.43 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/569162/ft1_filtered_4FGL_J1640.4+3945_weekly_bin701.fits evtable="EVENTS" scfile=/scratch/kocevski/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/569162/Model_4FGL_J1640.4+3945_weekly_bin701.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/569162/ft1_filtered_4FGL_J1640.4+3945_weekly_bin701.fits.....................! real 192.53 user 188.87 sys 1.31 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/569162/ft1_filtered_4FGL_J1640.4+3945_weekly_bin701.fits', '/scratch/kocevski/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.fits', expMap='/scratch/kocevski/569162/expmap_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.fits', expCube='/scratch/kocevski/569162/ltcube_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/569162/Model_4FGL_J1640.4+3945_weekly_bin701.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/569162/ft1_filtered_4FGL_J1640.4+3945_weekly_bin701.fits Spacecraft file(s): /scratch/kocevski/569162/ft2_4FGL_J1640.4+3945_weekly_bin701.fits Exposure map: /scratch/kocevski/569162/expmap_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.fits Exposure cube: /scratch/kocevski/569162/ltcube_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/569162/Model_4FGL_J1640.4+3945_weekly_bin701.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) = 29840.8355051 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 29840.7635446 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.5966 1.0000 .10000E-03 10000. 2 'Prefactor ' .10387E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 3.4359 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 2.6093 1.0000 .10000E-03 10000. 7 'norm ' .15543 1.0000 .10000E-03 10000. 8 'norm ' 5.1826 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .96836 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.9922 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.9622 1.0000 .10000E-03 10000. 14 'Prefactor ' 3.8375 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.9487 1.0000 .10000E-03 10000. 17 'norm ' .41123 1.0000 .10000E-03 10000. 18 'Prefactor ' .47716 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' 9.9035 1.0000 .10000E-03 10000. 21 'norm ' 16.817 1.0000 .10000E-03 10000. 22 'Prefactor ' .26730E-01 1.0000 .10000E-03 10000. 23 'norm ' 1.5986 1.0000 .10000E-03 10000. 24 'Prefactor ' .41271 1.0000 .10000E-03 10000. 25 'Normalizat' .97221 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0721 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+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= 29840.76 FROM MIGRAD STATUS=CONVERGED 1167 CALLS 3329 TOTAL EDM= .53E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.5974 8.8758 .18774E-03 -.10609E-03 2 Prefactor .10000E-03 16.001 .18142E-02** at limit ** 3 Prefactor 3.4362 1.7265 .15317E-03 -.10391E-04 4 Prefactor .10000E-03 1.2210 .18142E-02** at limit ** 5 Prefactor .10000E-03 4.3299 .18142E-02** at limit ** 6 Prefactor 2.6093 1.7717 .17523E-03 .10261E-03 7 norm .15543 .62329E-01 .25878E-03 .13121E-02 8 norm 5.1803 5.4665 .17658E-03 .12361E-04 9 Prefactor .10000E-03 2.5817 .18142E-02** at limit ** 10 Prefactor .96845 1.0621 .18354E-03 .15931E-03 11 norm .10000E-03 9.2018 .18142E-02** at limit ** 12 Prefactor 1.9923 1.0803 .76883E-04 -.31348E-04 13 Prefactor 2.9623 1.0911 .64822E-04 -.14452E-03 14 Prefactor 3.8375 1.5768 .13191E-03 .22719E-03 15 Prefactor .10000E-03 .38822 .10390E-02** at limit ** 16 norm 2.9488 .76473 .37051E-03 -.67013E-04 17 norm .41170 .32072 .92767E-03 -.97310E-03 18 Prefactor .47516 1.4430 .53677E-01 .26465E-02 19 norm .10000E-03 .12081 .80653E-03** at limit ** 20 norm 9.9021 3.9277 .12733E-03 -.22285E-03 21 norm 16.818 1.4587 .58373E-04 -.57914E-03 22 Prefactor .33413 6.7512 .15164 .55655E-03 23 norm 1.5958 1.9772 .25329E-03 -.47038E-03 24 Prefactor .36731 13.569 .18114 .31547E-03 25 Normalizat .97233 .11703 .29423E-03 -.43338E-03 26 Prefactor 1.0719 .93681E-01 .23608E-03 -.36580E-03 ERR DEF= .500 Final values: Prefactor = 4.59739 Prefactor = 0.0001 Prefactor = 3.43624 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 2.60928 norm = 0.155431 norm = 5.18032 Prefactor = 0.0001 Prefactor = 0.968447 norm = 0.0001 Prefactor = 1.99231 Prefactor = 2.96228 Prefactor = 3.83754 Prefactor = 0.0001 norm = 2.94877 norm = 0.411698 Prefactor = 0.475165 norm = 0.0001 norm = 9.90213 norm = 16.8181 Prefactor = 0.334129 norm = 1.5958 Prefactor = 0.36731 Normalizat = 0.972327 Prefactor = 1.07195 ********** ** 18 **HESSE ********** FCN= 29840.76 FROM HESSE STATUS=OK 460 CALLS 3789 TOTAL EDM= .19E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.5974 8.8747 .75096E-05 -1.5279 2 Prefactor .10000E-03 16.002 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.4362 1.7257 .61268E-05 -1.5337 4 Prefactor .10000E-03 1.2220 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 4.3307 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 2.6093 1.7711 .35046E-04 -1.5385 7 norm .15543 .62266E-01 .10351E-04 -1.5629 8 norm 5.1803 5.4665 .70633E-05 -1.5253 9 Prefactor .10000E-03 2.5822 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .96845 1.0620 .73416E-05 -1.5511 11 norm .10000E-03 9.2025 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 1.9923 1.0804 .30753E-05 -1.5426 13 Prefactor 2.9623 1.0914 .25929E-05 -1.5364 14 Prefactor 3.8375 1.5760 .52763E-05 -1.5316 15 Prefactor .10000E-03 .38832 .20780E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.9488 .76470 .14820E-04 -1.5365 17 norm .41170 .31888 .37107E-04 -1.5580 18 Prefactor .47516 2.5398 .33528E-02 -1.5570 19 norm .10000E-03 .12116 .16131E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 9.9021 3.9275 .50933E-05 -1.5079 21 norm 16.818 1.4491 .11675E-04 -1.4888 22 Prefactor .33413 6.7374 .15194 -1.5592 23 norm 1.5958 1.9768 .10132E-04 -1.5455 24 Prefactor .36731 13.735 .17950 -1.5587 25 Normalizat .97233 .11640 .11769E-04 -.93963 26 Prefactor 1.0719 .93691E-01 .94431E-05 -.90368 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.89847e-07 Minuit parameter uncertainties: 1 8.87721 2 3.25432e-06 3 1.72571 4 8.63526e-07 5 1.71074e-06 6 1.7711 7 0.0622659 8 5.46702 9 2.50185e-06 10 1.06197 11 9.2584e-06 12 1.08043 13 1.09143 14 1.57597 15 7.7858e-07 16 0.764701 17 0.318884 18 2.19702 19 2.657e-06 20 3.92763 21 1.44909 22 3.00071 23 1.97692 24 4.49276 25 0.116429 26 0.0937058 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 29840.7632505 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.992e+00 1.080e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.072e+00 9.371e-02 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 9.723e-01 1.164e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 13.14 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 7.87e-08 +/- 4.26e-08 Energy Flux (Fixed Index): 2.51e-05 +/- 1.36e-05 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) = 29839.7962073 delta logL = 0.967043205521 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 29839.7917162 delta logL = 0.971534261535 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.1492 1.0000 .10000E-03 10000. 2 'Index ' 2.8518 1.0000 .0000 10.000 3 'Normalizat' .93842 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0906 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 29839.79 FROM MIGRAD STATUS=CONVERGED 53 CALLS 216 TOTAL EDM= .47E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.1492 2.9499 .10799E-01 .21645E-02 2 Index 2.8518 1.0079 .12368 .56986E-03 3 Normalizat .93842 .23787E-01 .67493E-01 .18209E-03 4 Prefactor 1.0906 .19429E-01 .37956E-01 -.81498E-04 ERR DEF= .500 Final values: Prefactor = 1.14916 Index = 2.85178 Normalizat = 0.938418 Prefactor = 1.09057 ********** ** 18 **HESSE ********** FCN= 29839.79 FROM HESSE STATUS=OK 33 CALLS 249 TOTAL EDM= .81E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.1492 .98819 .51649E-04 -1.5494 2 Index 2.8518 .45821 .42206E-02 -.44410 3 Normalizat .93842 .11453 .29857E-03 -.95123 4 Prefactor 1.0906 .93826E-01 .23424E-03 -.89768 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.06725e-08 Minuit parameter uncertainties: 1 0.988207 2 0.459004 3 0.114561 4 0.0938397 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/569162': 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) = 29839.7917162 delta logL = 0.971534273005 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.149e+00 9.882e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.852e+00 4.590e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.091e+00 9.384e-02 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 9.384e-01 1.146e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 16.12 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.85 +/- 0.46 Photon Flux (Free Index): 1.07e-07 +/- 3.52e-08 Energy Flux (Free Index): 2.33e-05 +/- 7.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/569162/cmap_HighResolution_662947201_663552001_4FGL_J1640.4+3945_weekly_bin701.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/569162 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.87e-08', energy_flux2='2.33e-05', photon_flux_error='4.26e-08', dlogl='9.72e-01', energy_flux='2.51e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2022-01-11 03:26:52.879236', photon_index_error2='0.46', photon_index2='2.85', ts='13.14', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='7.56e-06', EG='0.97', time_epoch_completed='1641900412.88', return_code='0', job_id='569162', GAL2='1.09', EG2='0.94', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='3.52e-08', ts2='16.12', photon_index='2.42' WHERE bin_id='701' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jan 11 03:26:52 PST 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 568798: <4FGL_J1640.4+3945_weekly_bin701> in cluster Done Job <4FGL_J1640.4+3945_weekly_bin701> was submitted from host by user in cluster at Tue Jan 11 00:07:47 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Jan 11 02:37:09 2022 was used as the home directory. was used as the working directory. Started at Tue Jan 11 02:37:09 2022 Terminated at Tue Jan 11 03:18:40 2022 Results reported at Tue Jan 11 03:18:40 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_weekly_bin701 250.119 39.7626 662947201 663552001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2401.00 sec. Max Memory : 621 MB Average Memory : 337.64 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2490 sec. Turnaround time : 11453 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 569162: <4FGL_J1640.4+3945_weekly_bin701> in cluster Done Job <4FGL_J1640.4+3945_weekly_bin701> was submitted from host by user in cluster at Tue Jan 11 00:08:09 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Jan 11 02:42:31 2022 was used as the home directory. was used as the working directory. Started at Tue Jan 11 02:42:31 2022 Terminated at Tue Jan 11 03:26:53 2022 Results reported at Tue Jan 11 03:26:53 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_weekly_bin701 250.119 39.7626 662947201 663552001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2386.00 sec. Max Memory : 1258 MB Average Memory : 322.15 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2662 sec. Turnaround time : 11924 sec. The output (if any) is above this job summary.