/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 74 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 = 73220 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.3+6850_monthly_bin42 RA = 250.082, Dec = 68.8483 tmin = 345859201, tmax = 348451201 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='969769', job_status='RUN', time_executed='2021-10-29 09:11:59.371908', time_epoch_executed='1635523919.37' WHERE source_name='4FGL J1640.3+6850' and cadence='monthly' and bin_id='42' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/969769 Creating custom pfile directory: /scratch/kocevski/969769/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=345859201.0 && nMetStart<348451201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=345859201.0 && nMetStart<348451201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/969769/ft1_4FGL_J1640.3+6850_monthly_bin42.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=345859201.0 && nMetStart<348451201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/969769/ft1_4FGL_J1640.3+6850_monthly_bin42.fits outfile=/scratch/kocevski/969769/ft1_filteredMKT_4FGL_J1640.3+6850_monthly_bin42.fits ra=250.082 dec=68.8483 rad=12.0 tmin=345859201.0 tmax=348451201.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 30.20 user 29.42 sys 0.69 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.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/969769/ft1_filteredMKT_4FGL_J1640.3+6850_monthly_bin42.fits evtable="EVENTS" outfile="/scratch/kocevski/969769/ft1_filtered_4FGL_J1640.3+6850_monthly_bin42.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.64 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/969769/ft1_filtered_4FGL_J1640.3+6850_monthly_bin42.fits" evtable="EVENTS" scfile=/scratch/kocevski/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.fits sctable="SC_DATA" outfile=/scratch/kocevski/969769/ltcube_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.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/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.fits .....................! real 117.28 user 116.66 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/969769/ft1_filtered_4FGL_J1640.3+6850_monthly_bin42.fits evtable="EVENTS" scfile=/scratch/kocevski/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.fits sctable="SC_DATA" expcube=/scratch/kocevski/969769/ltcube_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.fits outfile=/scratch/kocevski/969769/expmap_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.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/969769/ltcube_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.fits .....................! real 191.89 user 186.10 sys 5.36 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/969769/ft1_filtered_4FGL_J1640.3+6850_monthly_bin42.fits scfile=/scratch/kocevski/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.fits outfile=/scratch/kocevski/969769/cmap_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.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.78 user 0.60 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/969769/ft1_filtered_4FGL_J1640.3+6850_monthly_bin42.fits scfile=/scratch/kocevski/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.fits outfile=/scratch/kocevski/969769/cmap_HighResolution_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.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.78 user 0.61 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/969769/ft1_filtered_4FGL_J1640.3+6850_monthly_bin42.fits evtable="EVENTS" scfile=/scratch/kocevski/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/969769/Model_4FGL_J1640.3+6850_monthly_bin42.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/969769/ft1_filtered_4FGL_J1640.3+6850_monthly_bin42.fits.....................! real 699.28 user 696.58 sys 1.30 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/969769/ft1_filtered_4FGL_J1640.3+6850_monthly_bin42.fits', '/scratch/kocevski/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.fits', expMap='/scratch/kocevski/969769/expmap_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.fits', expCube='/scratch/kocevski/969769/ltcube_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/969769/Model_4FGL_J1640.3+6850_monthly_bin42.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/969769/ft1_filtered_4FGL_J1640.3+6850_monthly_bin42.fits Spacecraft file(s): /scratch/kocevski/969769/ft2_4FGL_J1640.3+6850_monthly_bin42.fits Exposure map: /scratch/kocevski/969769/expmap_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.fits Exposure cube: /scratch/kocevski/969769/ltcube_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/969769/Model_4FGL_J1640.3+6850_monthly_bin42.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) = 88923.1629405 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 88923.0506144 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.0678 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.9051 1.0000 .10000E-03 10000. 5 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 11.462 1.0000 .10000E-03 10000. 7 'norm ' 4.5392 1.0000 .10000E-03 10000. 8 'Prefactor ' 15.108 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'norm ' 9.8969 1.0000 .10000E-03 10000. 11 'Prefactor ' 6.6719 1.0000 .10000E-03 10000. 12 'Prefactor ' 11.373 1.0000 .10000E-03 10000. 13 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 14 'norm ' 4.0013 1.0000 .10000E-03 10000. 15 'Prefactor ' 6.5565 1.0000 .10000E-03 10000. 16 'norm ' .34784 1.0000 .10000E-03 10000. 17 'Prefactor ' 3.1050 1.0000 .10000E-03 10000. 18 'Prefactor ' .56947 1.0000 .10000E-03 10000. 19 'Prefactor ' 1.9282 1.0000 .10000E-03 10000. 20 'Prefactor ' .79990 1.0000 .10000E-03 10000. 21 'Prefactor ' 3.4621 1.0000 .10000E-03 10000. 22 'Prefactor ' 1.8652 1.0000 .10000E-03 10000. 23 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 24 'norm ' 4.7012 1.0000 .10000E-03 10000. 25 'norm ' 2.2702 1.0000 .10000E-03 10000. 26 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 27 'norm ' 7.3586 1.0000 .10000E-03 10000. 28 'Prefactor ' 4.3373 1.0000 .10000E-03 10000. 29 'Prefactor ' 58.281 1.0000 .10000E-03 10000. 30 'Prefactor ' 1.3953 1.0000 .10000E-03 10000. 31 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 32 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 33 'Normalizat' 1.0160 1.0000 .10000E-01 10.000 34 'Prefactor ' 1.0237 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= 88923.05 FROM MIGRAD STATUS=CONVERGED 917 CALLS 4166 TOTAL EDM= .32E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.0678 6.7640 .0000 .44810E-04 2 Prefactor .10000E-03 1.2655 .0000 ** at limit ** 3 Prefactor .10000E-03 2.1950 .0000 ** at limit ** 4 Prefactor 1.9050 6.9982 .0000 .56697E-03 5 Prefactor .10000E-03 .66229 .0000 ** at limit ** 6 Prefactor 11.462 5.5053 .0000 .97397E-04 7 norm 4.5393 .86399 .0000 .16033E-02 8 Prefactor 15.108 13.732 .0000 .21601E-03 9 Prefactor .10003E-03 9.4951 .0000 ** at limit ** 10 norm 9.8975 4.0004 .0000 .26877E-02 11 Prefactor 6.6721 8.5538 .0000 -.11194E-04 12 Prefactor 11.373 2.3792 .0000 .44924E-02 13 Prefactor .10001E-03 3.2387 .0000 ** at limit ** 14 norm 4.0016 2.1582 .0000 .80381E-02 15 Prefactor 6.5566 3.9955 .0000 .10774E-02 16 norm .34776 .19486 .0000 .17911E-01 17 Prefactor 3.1053 1.9848 .0000 .11330 18 Prefactor .56947 .56619 .0000 .12424E-01 19 Prefactor 1.9295 3.2223 .0000 .68698E-01 20 Prefactor .79949 1.1007 .0000 .10340E-01 21 Prefactor 3.4660 7.0964 .0000 .69371E-03 22 Prefactor 1.8653 1.5344 .0000 .13429 23 Prefactor .10028E-03 8.8797 .0000 ** at limit ** 24 norm 4.7012 .78334 .0000 .11229E-02 25 norm 2.2702 .24785 .0000 .26978E-02 26 Prefactor .10000E-03 1.8283 .0000 ** at limit ** 27 norm 7.3587 1.3822 .0000 .31678E-02 28 Prefactor 4.3366 4.7971 .0000 .12338E-01 29 Prefactor 58.280 27.050 .0000 .37313E-03 30 Prefactor 1.3953 1.6111 .0000 .14040E-01 31 Prefactor .10013E-03 1.0111 .0000 ** at limit ** 32 Prefactor .10002E-03 4.2323 .0000 ** at limit ** 33 Normalizat 1.0160 .52636E-01 .0000 .26728E-03 34 Prefactor 1.0238 .41419E-01 .0000 .21592E-03 ERR DEF= .500 Final values: Prefactor = 5.06779 Prefactor = 0.0001 Prefactor = 0.000100004 Prefactor = 1.90505 Prefactor = 0.0001 Prefactor = 11.4618 norm = 4.53929 Prefactor = 15.1078 Prefactor = 0.000100029 norm = 9.89752 Prefactor = 6.67208 Prefactor = 11.3732 Prefactor = 0.00010001 norm = 4.00159 Prefactor = 6.55657 norm = 0.347763 Prefactor = 3.10534 Prefactor = 0.569467 Prefactor = 1.92945 Prefactor = 0.799493 Prefactor = 3.46598 Prefactor = 1.86528 Prefactor = 0.000100281 norm = 4.70122 norm = 2.27023 Prefactor = 0.000100001 norm = 7.35868 Prefactor = 4.33662 Prefactor = 58.2804 Prefactor = 1.39533 Prefactor = 0.00010013 Prefactor = 0.000100018 Normalizat = 1.01598 Prefactor = 1.02376 ********** ** 18 **HESSE ********** FCN= 88923.05 FROM HESSE STATUS=OK 762 CALLS 4928 TOTAL EDM= .53E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.0678 6.7592 .17861E-03 -1.5258 2 Prefactor .10000E-03 1.2711 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 2.2164 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 1.9050 7.0030 .30127E-03 -1.5432 5 Prefactor .10000E-03 2.4071 .46173E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 11.462 5.4506 .11833E-03 -1.5031 7 norm 4.5393 .86340 .11595E-03 -1.5282 8 Prefactor 15.108 13.739 .51523E-03 -1.4930 9 Prefactor .10003E-03 9.7537 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 9.8975 3.9795 .63688E-03 -1.5079 11 Prefactor 6.6721 8.5510 .15535E-03 -1.5191 12 Prefactor 11.373 2.3806 .11879E-03 -1.5033 13 Prefactor .10001E-03 3.2684 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 4.0016 2.1517 .20162E-03 -1.5308 15 Prefactor 6.5566 3.9740 .15673E-03 -1.5196 16 norm .34776 .15931 .84615E-03 -1.5590 17 Prefactor 3.1053 1.9388 .11506E-02 -1.5356 18 Prefactor .56947 .59321 .18211E-02 -1.5557 19 Prefactor 1.9295 3.0938 .14957E-02 -1.5430 20 Prefactor .79949 1.5381 .33633E-02 -1.5529 21 Prefactor 3.4660 6.6259 .21734E-03 -1.5336 22 Prefactor 1.8653 1.5190 .15252E-02 -1.5435 23 Prefactor .10028E-03 8.9362 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 4.7012 .78210 .10174E-03 -1.5274 25 norm 2.2702 .24658 .46302E-04 -1.5407 26 Prefactor .10000E-03 1.8919 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm 7.3587 1.3682 .13804E-03 -1.5165 28 Prefactor 4.3366 4.7929 .96709E-03 -1.5291 29 Prefactor 58.280 27.003 .52551E-04 -1.4180 30 Prefactor 1.3953 1.5747 .35940E-03 -1.5472 31 Prefactor .10013E-03 .95018 .94988E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 32 Prefactor .10002E-03 4.2358 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 33 Normalizat 1.0160 .59299E-01 .26942E-03 -.92497 34 Prefactor 1.0238 .47646E-01 .22075E-03 -.91942 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.25439e-08 Minuit parameter uncertainties: 1 6.76022 2 2.86712e-07 3 0.000199653 4 7.00603 5 5.90577e-05 6 5.4508 7 0.863398 8 13.7414 9 0.00107182 10 3.97957 11 8.55259 12 2.38062 13 0.00036279 14 2.1517 15 3.9742 16 0.159313 17 1.93888 18 0.593212 19 3.09402 20 1.53813 21 6.62728 22 1.51904 23 0.00316996 24 0.782105 25 0.246585 26 8.20603e-05 27 1.36826 28 4.79332 29 27.0088 30 1.57477 31 0.00070255 32 0.000549322 33 0.0593032 34 0.0476481 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 88923.0506138 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 1.000e-04 3.628e-04 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: 1.024e+00 4.765e-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.016e+00 5.930e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.082 68.848 Photon Flux Upper Limit: 8.38e-09 ph cm-2 s-1 Energy Flux Upper Limit: 6.35e-04 MeV cm-2 s-1 Saving results to: /scratch/kocevski/969769/likelihoodResults_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.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) = 88923.0520727 delta logL = -0.00145881342178 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 88923.0506139 delta logL = -4.56493580714e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10054E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.1193 1.0000 .0000 10.000 3 'Normalizat' 1.0160 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0237 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 88923.05 FROM MIGRAD STATUS=CONVERGED 88 CALLS 238 TOTAL EDM= .20E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10019E-03 17.176 .18142E-02** at limit ** 2 Index 2.0982 5.5557 .50000 .27469E-04 3 Normalizat 1.0160 .28391E-02 .26942E-03 .40510E-04 4 Prefactor 1.0238 .23460E-02 .22075E-03 .51913E-04 ERR DEF= .500 Final values: Prefactor = 0.000100188 Index = 2.09818 Normalizat = 1.01598 Prefactor = 1.02376 ********** ** 18 **HESSE ********** FCN= 88923.05 FROM HESSE STATUS=NOT POSDEF 29 CALLS 267 TOTAL EDM= .10E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10019E-03 86.125 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.0982 7.8176 .50000 -.61917 3 Normalizat 1.0160 .65093E-02 .10777E-04 -.92497 4 Prefactor 1.0238 .53785E-02 .88299E-05 -.91942 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 9.97831e-09 Minuit parameter uncertainties: 1 0.00805721 2 191.712 3 0.00650928 4 0.00537852 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/969769': 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) = 88923.0506136 delta logL = 2.25467374548e-07 Extracting fit parameters... 4FGL J1640.3+6850 Spectrum: PowerLaw 350 Prefactor: 1.002e-04 8.057e-03 1.000e-04 1.000e+04 ( 1.000e-14) 351 Index: 2.098e+00 1.917e+02 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: 1.024e+00 5.379e-03 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.016e+00 6.509e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.082 68.848 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/969769/cmap_HighResolution_345859201_348451201_4FGL_J1640.3+6850_monthly_bin42.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/969769 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-04', job_status='DONE', photon_flux_upper_limit='8.38e-09', time_completed='2021-10-29 12:16:52.662324', job_id='969769', GAL2='1.02', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1635535012.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='42' AND source_name='4FGL J1640.3+6850' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 29 12:16:52 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 969769: <4FGL_J1640.3+6850_monthly_bin42> in cluster Done Job <4FGL_J1640.3+6850_monthly_bin42> was submitted from host by user in cluster at Fri Oct 29 09:10:13 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 09:10:36 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 09:10:36 2021 Terminated at Fri Oct 29 12:16:53 2021 Results reported at Fri Oct 29 12:16:53 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.3+6850_monthly_bin42 250.082 68.8483 345859201 348451201 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 : 11001.00 sec. Max Memory : 631 MB Average Memory : 437.80 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 11178 sec. Turnaround time : 11200 sec. The output (if any) is above this job summary.