/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 63 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 = 7418 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin328 RA = 250.119, Dec = 39.7626 tmin = 324345601, tmax = 324604801 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='831724', job_status='RUN', time_executed='2021-09-15 06:24:44.402359', time_epoch_executed='1631712284.4' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='328' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/831724 Creating custom pfile directory: /scratch/kocevski/831724/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=324345601.0 && nMetStart<324604801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=324345601.0 && nMetStart<324604801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/831724/ft1_4FGL_J1640.4+3945_daily_bin328.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=324345601.0 && nMetStart<324604801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/831724/ft2_4FGL_J1640.4+3945_daily_bin328.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/831724/ft1_4FGL_J1640.4+3945_daily_bin328.fits outfile=/scratch/kocevski/831724/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin328.fits ra=250.119 dec=39.7626 rad=12.0 tmin=324345601.0 tmax=324604801.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 14.13 user 13.63 sys 0.43 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831724/ft2_4FGL_J1640.4+3945_daily_bin328.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/831724/ft2_4FGL_J1640.4+3945_daily_bin328.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/831724/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin328.fits evtable="EVENTS" outfile="/scratch/kocevski/831724/ft1_filtered_4FGL_J1640.4+3945_daily_bin328.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.51 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/831724/ft1_filtered_4FGL_J1640.4+3945_daily_bin328.fits" evtable="EVENTS" scfile=/scratch/kocevski/831724/ft2_4FGL_J1640.4+3945_daily_bin328.fits sctable="SC_DATA" outfile=/scratch/kocevski/831724/ltcube_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.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/831724/ft2_4FGL_J1640.4+3945_daily_bin328.fits .....................! real 12.54 user 12.14 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/831724/ft1_filtered_4FGL_J1640.4+3945_daily_bin328.fits evtable="EVENTS" scfile=/scratch/kocevski/831724/ft2_4FGL_J1640.4+3945_daily_bin328.fits sctable="SC_DATA" expcube=/scratch/kocevski/831724/ltcube_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.fits outfile=/scratch/kocevski/831724/expmap_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.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/831724/ltcube_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.fits .....................! real 191.49 user 186.36 sys 4.25 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/831724/ft1_filtered_4FGL_J1640.4+3945_daily_bin328.fits scfile=/scratch/kocevski/831724/ft2_4FGL_J1640.4+3945_daily_bin328.fits outfile=/scratch/kocevski/831724/cmap_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.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.55 user 0.37 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/831724/ft1_filtered_4FGL_J1640.4+3945_daily_bin328.fits scfile=/scratch/kocevski/831724/ft2_4FGL_J1640.4+3945_daily_bin328.fits outfile=/scratch/kocevski/831724/cmap_HighResolution_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.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.55 user 0.38 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/831724/ft1_filtered_4FGL_J1640.4+3945_daily_bin328.fits evtable="EVENTS" scfile=/scratch/kocevski/831724/ft2_4FGL_J1640.4+3945_daily_bin328.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831724/Model_4FGL_J1640.4+3945_daily_bin328.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/831724/ft1_filtered_4FGL_J1640.4+3945_daily_bin328.fits.....................! real 35.95 user 34.55 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/831724/ft1_filtered_4FGL_J1640.4+3945_daily_bin328.fits', '/scratch/kocevski/831724/ft2_4FGL_J1640.4+3945_daily_bin328.fits', expMap='/scratch/kocevski/831724/expmap_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.fits', expCube='/scratch/kocevski/831724/ltcube_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/831724/Model_4FGL_J1640.4+3945_daily_bin328.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/831724/ft1_filtered_4FGL_J1640.4+3945_daily_bin328.fits Spacecraft file(s): /scratch/kocevski/831724/ft2_4FGL_J1640.4+3945_daily_bin328.fits Exposure map: /scratch/kocevski/831724/expmap_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.fits Exposure cube: /scratch/kocevski/831724/ltcube_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/831724/Model_4FGL_J1640.4+3945_daily_bin328.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) = 3882.63086145 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3882.6285181 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 129.23 1.0000 .10000E-03 10000. 3 'Prefactor ' 3.7296 1.0000 .10000E-03 10000. 4 'Prefactor ' 3.0427 1.0000 .10000E-03 10000. 5 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10519E-03 1.0000 .10000E-03 10000. 7 'norm ' 1.0360 1.0000 .10000E-03 10000. 8 'norm ' 29.832 1.0000 .10000E-03 10000. 9 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 11.949 1.0000 .10000E-03 10000. 11 'norm ' 26.960 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.0652 1.0000 .10000E-03 10000. 13 'Prefactor ' .10407E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 3.1835 1.0000 .10000E-03 10000. 15 'Prefactor ' .10339E-03 1.0000 .10000E-03 10000. 16 'norm ' 5.3057 1.0000 .10000E-03 10000. 17 'norm ' .10018E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 19 'norm ' 2.8189 1.0000 .10000E-03 10000. 20 'norm ' .10008E-03 1.0000 .10000E-03 10000. 21 'norm ' 3.7192 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'norm ' 10.424 1.0000 .10000E-03 10000. 24 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .91776 1.0000 .10000E-01 10.000 26 'Prefactor ' .96079 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. FCN= 3882.629 FROM MIGRAD STATUS=CONVERGED 610 CALLS 3134 TOTAL EDM= .95E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 19.260 .17784E-05** at limit ** 2 Prefactor 129.22 100.18 -.79488E-05 .14880E-04 3 Prefactor 3.7291 6.4758 -.11632E-05 -.33156E-03 4 Prefactor 3.0386 6.1474 -.10325E-05 -.88602E-04 5 Prefactor .10000E-03 28.557 -.11571E-04** at limit ** 6 Prefactor .10001E-03 9.0085 .13851E-05** at limit ** 7 norm 1.0361 .31576 .28629E-07 -.13311E-02 8 norm 29.837 23.958 .54961E-05 -.40065E-05 9 Prefactor .10000E-03 39.977 .16571E-04** at limit ** 10 Prefactor 11.949 8.0179 -.84523E-07 -.14995E-04 11 norm 26.907 76.794 -.91668E-04 -.34305E-04 12 Prefactor 3.0661 2.0260 .15051E-05 -.31581E-03 13 Prefactor .10000E-03 1.2311 .44465E-06** at limit ** 14 Prefactor 3.1832 4.3370 -.41382E-06 -.25192E-03 15 Prefactor .10000E-03 1.9695 .72523E-06** at limit ** 16 norm 5.3056 2.8597 .23875E-06 -.77703E-04 17 norm .10000E-03 .48940 -.40829E-07** at limit ** 18 Prefactor .10000E-03 5.2787 -.48996E-07** at limit ** 19 norm 2.8189 1.2963 -.34088E-07 -.52268E-04 20 norm .10000E-03 6.5802 .44319E-08** at limit ** 21 norm 3.7192 2.2598 -.15479E-06 -.58805E-04 22 Prefactor .10000E-03 50.713 -.12476E-04** at limit ** 23 norm 10.422 7.6813 .75290E-07 .77844E-05 24 Prefactor .10000E-03 32.969 .48515E-05** at limit ** 25 Normalizat .91789 .27534 .38658E-05 -.75688E-04 26 Prefactor .96075 .21541 .14832E-05 -.99401E-05 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 129.225 Prefactor = 3.72911 Prefactor = 3.03862 Prefactor = 0.0001 Prefactor = 0.000100005 norm = 1.03608 norm = 29.8366 Prefactor = 0.0001 Prefactor = 11.949 norm = 26.9069 Prefactor = 3.06615 Prefactor = 0.000100001 Prefactor = 3.18315 Prefactor = 0.000100001 norm = 5.30564 norm = 0.0001 Prefactor = 0.0001 norm = 2.81891 norm = 0.0001 norm = 3.71917 Prefactor = 0.0001 norm = 10.4223 Prefactor = 0.0001 Normalizat = 0.917894 Prefactor = 0.960755 ********** ** 18 **HESSE ********** FCN= 3882.629 FROM HESSE STATUS=OK 460 CALLS 3594 TOTAL EDM= .19E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 19.281 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 129.22 100.14 .17708E-03 -1.3429 3 Prefactor 3.7291 6.4742 .19809E-03 -1.5322 4 Prefactor 3.0386 6.1203 .21018E-03 -1.5359 5 Prefactor .10000E-03 28.588 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10001E-03 9.3495 .36285E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 1.0361 .31641 .17786E-04 -1.5504 8 norm 29.837 23.952 .73355E-04 -1.4615 9 Prefactor .10000E-03 40.017 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 11.949 8.0018 .11589E-03 -1.5016 11 norm 26.907 76.903 .77155E-04 -1.4670 12 Prefactor 3.0661 2.0097 .64172E-04 -1.5358 13 Prefactor .10000E-03 1.2679 .13360E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 3.1832 4.2889 .13793E-03 -1.5351 15 Prefactor .10000E-03 1.9865 .85461E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.3056 2.8578 .74531E-04 -1.5247 17 norm .10000E-03 .66718 .83653E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 5.3300 .13975E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 2.8189 1.2942 .46002E-04 -1.5372 20 norm .10000E-03 6.6432 .15608E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.7192 2.2576 .70129E-04 -1.5322 22 Prefactor .10000E-03 50.765 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 10.422 7.6857 .12410E-03 -1.5062 24 Prefactor .10000E-03 32.969 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .91789 .32097 .31206E-03 -.95834 26 Prefactor .96075 .25169 .25166E-03 -.94049 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.89428e-09 Minuit parameter uncertainties: 1 2.9099e-05 2 100.275 3 6.47539 4 6.12157 5 0.000144065 6 0.000450438 7 0.31641 8 23.9599 9 0.000146859 10 8.00247 11 77.1882 12 2.00973 13 5.08307e-05 14 4.28933 15 0.000101745 16 2.85787 17 3.12469e-06 18 8.45517e-06 19 1.29421 20 1.73226e-05 21 2.25767 22 5.11989e-05 23 7.68645 24 1.6662e-05 25 0.321644 26 0.251993 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3882.6285145 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.066e+00 2.010e+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: 9.608e-01 2.520e-01 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.179e-01 3.216e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 6.94 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.21e-07 +/- 7.93e-08 Energy Flux (Fixed Index): 3.86e-05 +/- 2.53e-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) = 3881.06196409 delta logL = 1.56655040949 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 3880.98442483 delta logL = 1.64408966907 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.1248 1.0000 .10000E-03 10000. 2 'Index ' 1.5493 1.0000 .0000 10.000 3 'Normalizat' .98232 1.0000 .10000E-01 10.000 4 'Prefactor ' .93326 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= 3880.984 FROM MIGRAD STATUS=CONVERGED 47 CALLS 208 TOTAL EDM= .54E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.1248 2.7404 .49620E-02 .86313E-03 2 Index 1.5494 .38417 .15451 .58127E-04 3 Normalizat .98232 .25867 .68567E-01 -.30935E-03 4 Prefactor .93325 .21322 .45428E-01 -.42833E-03 ERR DEF= .500 Final values: Prefactor = 4.12484 Index = 1.54935 Normalizat = 0.982323 Prefactor = 0.933249 ********** ** 18 **HESSE ********** FCN= 3880.984 FROM HESSE STATUS=OK 29 CALLS 237 TOTAL EDM= .81E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.1248 3.0006 .81604E-04 -1.5302 2 Index 1.5494 .44681 .64049E-02 -.76167 3 Normalizat .98232 .30017 .30332E-03 -.93625 4 Prefactor .93325 .24809 .25524E-03 -.94989 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.14029e-10 Minuit parameter uncertainties: 1 3.00069 2 0.447957 3 0.30069 4 0.248388 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/831724': 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) = 3880.98442482 delta logL = 1.64408967534 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 4.125e+00 3.001e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.549e+00 4.480e-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: 9.332e-01 2.484e-01 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.823e-01 3.007e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 10.30 Ra Dec: 250.119 39.763 Photon Index (Free Index): 1.55 +/- 0.45 Photon Flux (Free Index): 4.21e-08 +/- 4.14e-08 Energy Flux (Free Index): 1.13e-04 +/- 1.15e-04 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/831724/cmap_HighResolution_324345601_324604801_4FGL_J1640.4+3945_daily_bin328.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/831724 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-07', energy_flux2='1.13e-04', photon_flux_error='7.93e-08', dlogl='1.64e+00', energy_flux='3.86e-05', photon_flux2='4.21e-08', job_status='DONE', time_completed='2021-09-15 06:35:02.545697', photon_index_error2='0.45', photon_index2='1.55', ts='6.94', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.15e-04', EG='0.92', time_epoch_completed='1631712902.55', return_code='0', job_id='831724', GAL2='0.93', EG2='0.98', return_code2='0', energy_flux_error='2.53e-05', photon_flux_error2='4.14e-08', ts2='10.30', photon_index='2.42' WHERE bin_id='328' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:35:02 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 831724: <4FGL_J1640.4+3945_daily_bin328> in cluster Done Job <4FGL_J1640.4+3945_daily_bin328> was submitted from host by user in cluster at Wed Sep 15 06:20:33 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:23:30 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:23:30 2021 Terminated at Wed Sep 15 06:35:03 2021 Results reported at Wed Sep 15 06:35:03 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin328 250.119 39.7626 324345601 324604801 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 : 613.00 sec. Max Memory : 1257 MB Average Memory : 316.92 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 694 sec. Turnaround time : 870 sec. The output (if any) is above this job summary.