/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 36 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 = 73237 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.3+6850_monthly_bin29 RA = 250.082, Dec = 68.8483 tmin = 312163201, tmax = 314755201 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='969749', job_status='RUN', time_executed='2021-10-29 09:11:06.766618', time_epoch_executed='1635523866.77' WHERE source_name='4FGL J1640.3+6850' and cadence='monthly' and bin_id='29' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/969749 Creating custom pfile directory: /scratch/kocevski/969749/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=312163201.0 && nMetStart<314755201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=312163201.0 && nMetStart<314755201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/969749/ft1_4FGL_J1640.3+6850_monthly_bin29.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=312163201.0 && nMetStart<314755201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/969749/ft1_4FGL_J1640.3+6850_monthly_bin29.fits outfile=/scratch/kocevski/969749/ft1_filteredMKT_4FGL_J1640.3+6850_monthly_bin29.fits ra=250.082 dec=68.8483 rad=12.0 tmin=312163201.0 tmax=314755201.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 29.81 user 28.78 sys 0.65 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.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/969749/ft1_filteredMKT_4FGL_J1640.3+6850_monthly_bin29.fits evtable="EVENTS" outfile="/scratch/kocevski/969749/ft1_filtered_4FGL_J1640.3+6850_monthly_bin29.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.85 user 0.65 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/969749/ft1_filtered_4FGL_J1640.3+6850_monthly_bin29.fits" evtable="EVENTS" scfile=/scratch/kocevski/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.fits sctable="SC_DATA" outfile=/scratch/kocevski/969749/ltcube_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.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/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.fits .....................! real 118.49 user 117.73 sys 0.37 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/969749/ft1_filtered_4FGL_J1640.3+6850_monthly_bin29.fits evtable="EVENTS" scfile=/scratch/kocevski/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.fits sctable="SC_DATA" expcube=/scratch/kocevski/969749/ltcube_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.fits outfile=/scratch/kocevski/969749/expmap_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.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/969749/ltcube_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.fits .....................! real 193.72 user 187.68 sys 5.31 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 209 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.3+6850 @ 250.082 68.8483 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/969749/ft1_filtered_4FGL_J1640.3+6850_monthly_bin29.fits scfile=/scratch/kocevski/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.fits outfile=/scratch/kocevski/969749/cmap_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.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.082 yref=68.8483 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.81 user 0.61 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/969749/ft1_filtered_4FGL_J1640.3+6850_monthly_bin29.fits scfile=/scratch/kocevski/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.fits outfile=/scratch/kocevski/969749/cmap_HighResolution_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.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.082 yref=68.8483 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.82 user 0.63 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/969749/ft1_filtered_4FGL_J1640.3+6850_monthly_bin29.fits evtable="EVENTS" scfile=/scratch/kocevski/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/969749/Model_4FGL_J1640.3+6850_monthly_bin29.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/969749/ft1_filtered_4FGL_J1640.3+6850_monthly_bin29.fits.....................! real 655.18 user 652.53 sys 1.30 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/969749/ft1_filtered_4FGL_J1640.3+6850_monthly_bin29.fits', '/scratch/kocevski/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.fits', expMap='/scratch/kocevski/969749/expmap_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.fits', expCube='/scratch/kocevski/969749/ltcube_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/969749/Model_4FGL_J1640.3+6850_monthly_bin29.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.3+6850' 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 3.992e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 351 Index: 2.132e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/969749/ft1_filtered_4FGL_J1640.3+6850_monthly_bin29.fits Spacecraft file(s): /scratch/kocevski/969749/ft2_4FGL_J1640.3+6850_monthly_bin29.fits Exposure map: /scratch/kocevski/969749/expmap_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.fits Exposure cube: /scratch/kocevski/969749/ltcube_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/969749/Model_4FGL_J1640.3+6850_monthly_bin29.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) = 80146.2393778 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 80146.0523285 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14460E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .67003 1.0000 .10000E-03 10000. 3 'Prefactor ' 7.4488 1.0000 .10000E-03 10000. 4 'Prefactor ' 15.055 1.0000 .10000E-03 10000. 5 'Prefactor ' 9.2133 1.0000 .10000E-03 10000. 6 'Prefactor ' 26.721 1.0000 .10000E-03 10000. 7 'norm ' 2.4726 1.0000 .10000E-03 10000. 8 'Prefactor ' .99849E-02 1.0000 .10000E-03 10000. 9 'Prefactor ' .12157E-03 1.0000 .10000E-03 10000. 10 'norm ' .10055E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .48936E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 4.6368 1.0000 .10000E-03 10000. 13 'Prefactor ' 14.040 1.0000 .10000E-03 10000. 14 'norm ' 3.7869 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.3272 1.0000 .10000E-03 10000. 16 'norm ' 1.7924 1.0000 .10000E-03 10000. 17 'Prefactor ' 1.1715 1.0000 .10000E-03 10000. 18 'Prefactor ' .77006 1.0000 .10000E-03 10000. 19 'Prefactor ' 5.9475 1.0000 .10000E-03 10000. 20 'Prefactor ' 6.7224 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.3523 1.0000 .10000E-03 10000. 22 'Prefactor ' 4.6486 1.0000 .10000E-03 10000. 23 'Prefactor ' .15795E-03 1.0000 .10000E-03 10000. 24 'norm ' 2.2419 1.0000 .10000E-03 10000. 25 'norm ' .73662 1.0000 .10000E-03 10000. 26 'Prefactor ' .10285E-03 1.0000 .10000E-03 10000. 27 'norm ' 3.6060 1.0000 .10000E-03 10000. 28 'Prefactor ' 5.1185 1.0000 .10000E-03 10000. 29 'Prefactor ' .11060E-03 1.0000 .10000E-03 10000. 30 'Prefactor ' 2.0065 1.0000 .10000E-03 10000. 31 'Prefactor ' .28522E-03 1.0000 .10000E-03 10000. 32 'Prefactor ' .17931E-03 1.0000 .10000E-03 10000. 33 'Normalizat' 1.0697 1.0000 .10000E-01 10.000 34 'Prefactor ' .92253 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 80146.05 FROM MIGRAD STATUS=CONVERGED 987 CALLS 4317 TOTAL EDM= .16E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 3.3178 .0000 ** at limit ** 2 Prefactor .66969 1.5894 .0000 .77578E-02 3 Prefactor 7.4492 4.5908 .0000 .31470E-02 4 Prefactor 15.062 8.5833 .0000 -.15042E-03 5 Prefactor 9.2252 3.7848 .0000 .41244E-02 6 Prefactor 26.722 8.1998 .0000 .81633E-03 7 norm 2.4727 .73550 .0000 .19603E-02 8 Prefactor .10000E-03 6.9175 .0000 ** at limit ** 9 Prefactor .10001E-03 1.7341 .0000 ** at limit ** 10 norm .10000E-03 .95457 .0000 ** at limit ** 11 Prefactor .10000E-03 23.512 .0000 ** at limit ** 12 Prefactor 4.6368 1.9426 .0000 .54653E-01 13 Prefactor 14.061 9.7785 .0000 .18621E-02 14 norm 3.7867 2.1879 .0000 .22748E-02 15 Prefactor 1.3206 3.6330 .0000 .68368E-01 16 norm 1.7924 .26624 .0000 .27635E-02 17 Prefactor 1.1724 2.1525 .0000 .26103 18 Prefactor .76975 .90057 .0000 .17446E-01 19 Prefactor 5.9373 3.1792 .0000 .52174E-03 20 Prefactor 6.7233 2.0592 .0000 .53420E-01 21 Prefactor 1.3574 7.9145 .0000 .15328E-02 22 Prefactor 4.6490 2.2520 .0000 .35856E-01 23 Prefactor .10000E-03 13.706 .0000 ** at limit ** 24 norm 2.2419 .60717 .0000 .15782E-02 25 norm .73664 .17131 .0000 .44887E-02 26 Prefactor .10000E-03 2.4534 .0000 ** at limit ** 27 norm 3.6065 1.0989 .0000 .24806E-02 28 Prefactor 5.1309 4.2251 .0000 .83074E-03 29 Prefactor .10001E-03 9.8699 .0000 ** at limit ** 30 Prefactor 2.0059 1.7550 .0000 .97705E-02 31 Prefactor .10005E-03 .99881 .0000 ** at limit ** 32 Prefactor .10000E-03 3.9570 .0000 ** at limit ** 33 Normalizat 1.0697 .53163E-01 .0000 .22737E-03 34 Prefactor .92254 .40552E-01 .0000 .14479E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.669695 Prefactor = 7.44918 Prefactor = 15.0624 Prefactor = 9.22523 Prefactor = 26.7215 norm = 2.47271 Prefactor = 0.0001 Prefactor = 0.000100008 norm = 0.0001 Prefactor = 0.000100001 Prefactor = 4.63683 Prefactor = 14.0613 norm = 3.78672 Prefactor = 1.32061 norm = 1.7924 Prefactor = 1.17235 Prefactor = 0.769745 Prefactor = 5.93727 Prefactor = 6.72328 Prefactor = 1.35738 Prefactor = 4.64901 Prefactor = 0.000100002 norm = 2.24195 norm = 0.736639 Prefactor = 0.0001 norm = 3.60653 Prefactor = 5.13088 Prefactor = 0.000100009 Prefactor = 2.00586 Prefactor = 0.000100054 Prefactor = 0.0001 Normalizat = 1.06971 Prefactor = 0.922544 ********** ** 18 **HESSE ********** FCN= 80146.05 FROM HESSE STATUS=OK 772 CALLS 5089 TOTAL EDM= .74E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 3.3208 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .66969 2.2254 .53495E-02 -1.5544 3 Prefactor 7.4492 4.5941 .73475E-03 -1.5162 4 Prefactor 15.062 8.5854 .10322E-03 -1.4932 5 Prefactor 9.2252 3.7874 .13204E-03 -1.5100 6 Prefactor 26.722 8.1931 .77499E-04 -1.4674 7 norm 2.4727 .73451 .12639E-03 -1.5393 8 Prefactor .10000E-03 5.9971 .20851 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10001E-03 8.7493 .72194E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .10000E-03 .87747 .10044 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 24.139 .42336E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 4.6368 1.9413 .93454E-03 -1.5277 13 Prefactor 14.061 9.7716 .10690E-03 -1.4958 14 norm 3.7867 2.1790 .20744E-03 -1.5319 15 Prefactor 1.3206 3.6213 .19073E-02 -1.5478 16 norm 1.7924 .26327 .49823E-04 -1.5440 17 Prefactor 1.1724 2.1275 .21192E-02 -1.5491 18 Prefactor .76975 .79536 .21785E-03 -1.5533 19 Prefactor 5.9373 3.1737 .16466E-03 -1.5221 20 Prefactor 6.7233 2.0504 .77380E-03 -1.5189 21 Prefactor 1.3574 6.3096 .37611E-03 -1.5475 22 Prefactor 4.6490 2.2466 .93332E-03 -1.5277 23 Prefactor .10000E-03 13.774 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 2.2419 .60521 .10977E-03 -1.5408 25 norm .73664 .16787 .53787E-04 -1.5536 26 Prefactor .10000E-03 2.5522 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm 3.6065 1.0889 .15164E-03 -1.5328 28 Prefactor 5.1309 4.2245 .17771E-03 -1.5255 29 Prefactor .10001E-03 9.8842 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 Prefactor 2.0059 1.6725 .29231E-03 -1.5425 31 Prefactor .10005E-03 6.4001 .52496E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 32 Prefactor .10000E-03 3.9613 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 33 Normalizat 1.0697 .62050E-01 .25758E-03 -.90730 34 Prefactor .92254 .47467E-01 .22237E-03 -.95358 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.41258e-07 Minuit parameter uncertainties: 1 1.63001e-05 2 2.22568 3 4.5943 4 8.58606 5 3.7875 6 8.19345 7 0.734515 8 0.000102832 9 0.000516117 10 3.66925e-05 11 0.000374533 12 1.94138 13 9.77275 14 2.179 15 3.6219 16 0.263267 17 2.12768 18 0.795369 19 3.17383 20 2.0504 21 5.85384 22 2.24668 23 0.000317036 24 0.605209 25 0.16787 26 6.43543e-06 27 1.08892 28 4.22476 29 0.00059483 30 1.67255 31 0.00117212 32 4.57193e-05 33 0.0620541 34 0.0474692 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 80146.0522518 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 1.406e+01 9.773e+00 1.000e-04 1.000e+04 ( 1.000e-14) 351 Index: 2.132e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 673 Prefactor: 9.225e-01 4.747e-02 0.000e+00 1.000e+01 ( 1.000e+00) 674 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 675 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 672 Normalization: 1.070e+00 6.205e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.83 Ra Dec: 250.082 68.848 Photon Index (Fixed Index): 2.13 +/- 0.00 Photon Flux (Fixed Index): 1.02e-08 +/- 7.10e-09 Energy Flux (Fixed Index): 5.24e-06 +/- 3.64e-06 TS (Fixed Index): 2.83 Ra Dec: 250.082 68.848 Photon Flux Upper Limit: 2.36e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.79e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/969749/likelihoodResults_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.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) = 80142.7586705 delta logL = 3.29358122978 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 80142.7548235 delta logL = 3.29742825234 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.1754 1.0000 .10000E-03 10000. 2 'Index ' 3.2403 1.0000 .0000 10.000 3 'Normalizat' 1.0395 1.0000 .10000E-01 10.000 4 'Prefactor ' .93511 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6760E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 80142.75 FROM MIGRAD STATUS=CONVERGED 59 CALLS 259 TOTAL EDM= .49E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.1744 10.396 .56855E-02 .75961E-02 2 Index 3.2404 .92894 .10551 .22235E-02 3 Normalizat 1.0395 .14553E-01 .41323E-01 .11105E-03 4 Prefactor .93511 .11183E-01 .45451E-01 .96132E-04 ERR DEF= .500 Final values: Prefactor = 3.17439 Index = 3.24044 Normalizat = 1.03947 Prefactor = 0.93511 ********** ** 18 **HESSE ********** FCN= 80142.75 FROM HESSE STATUS=NOT POSDEF 33 CALLS 292 TOTAL EDM= .18E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.1744 19.345 .17082E-03 -1.5352 2 Index 3.2404 1.9069 .58364E-02 -.35961 3 Normalizat 1.0395 .55438E-01 .26050E-03 -.91720 4 Prefactor .93511 .42281E-01 .22093E-03 -.94925 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.755e-08 Minuit parameter uncertainties: 1 15.6802 2 1.96404 3 0.0554408 4 0.0422828 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/969749': 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): 102 logL (Free Index) = 80142.7548235 delta logL = 3.2974282889 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 3.174e+00 1.568e+01 1.000e-04 1.000e+04 ( 1.000e-14) 351 Index: 3.240e+00 1.964e+00 0.000e+00 1.000e+01 (-1.000e+00) 352 Scale: 2.329e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 673 Prefactor: 9.351e-01 4.228e-02 0.000e+00 1.000e+01 ( 1.000e+00) 674 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 675 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 672 Normalization: 1.039e+00 5.544e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 9.60 Ra Dec: 250.082 68.848 Photon Index (Free Index): 3.24 +/- 1.96 Photon Flux (Free Index): 3.82e-08 +/- 1.96e-08 Energy Flux (Free Index): 6.89e-06 +/- 3.27e-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/969749/cmap_HighResolution_312163201_314755201_4FGL_J1640.3+6850_monthly_bin29.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/969749 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.79e-03', comment='SUCCESS', photon_flux='1.02e-08', energy_flux2='6.89e-06', photon_flux_error='7.10e-09', dlogl='3.30e+00', energy_flux='5.24e-06', photon_flux2='3.82e-08', job_status='DONE', time_completed='2021-10-29 12:04:06.121389', photon_index_error2='1.96', photon_index2='3.24', ts='2.83', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='2.36e-08', energy_flux_error2='3.27e-06', EG='1.07', time_epoch_completed='1635534246.12', return_code='0', job_id='969749', GAL2='0.94', EG2='1.04', return_code2='102', energy_flux_error='3.64e-06', photon_flux_error2='1.96e-08', ts2='9.60', photon_index='2.13' WHERE bin_id='29' AND source_name='4FGL J1640.3+6850' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 29 12:04:06 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 969749: <4FGL_J1640.3+6850_monthly_bin29> in cluster Done Job <4FGL_J1640.3+6850_monthly_bin29> was submitted from host by user in cluster at Fri Oct 29 09:10:12 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 09:10:14 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 09:10:14 2021 Terminated at Fri Oct 29 12:04:07 2021 Results reported at Fri Oct 29 12:04:07 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.3+6850_monthly_bin29 250.082 68.8483 312163201 314755201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.3+6850 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 10292.00 sec. Max Memory : 878 MB Average Memory : 426.53 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 10432 sec. Turnaround time : 10435 sec. The output (if any) is above this job summary.