/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 15 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 = 7495 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin994 RA = 250.119, Dec = 39.7626 tmin = 496972801, tmax = 497232001 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='837003', job_status='RUN', time_executed='2021-09-15 06:43:22.107439', time_epoch_executed='1631713402.11' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='994' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/837003 Creating custom pfile directory: /scratch/kocevski/837003/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=496972801.0 && nMetStart<497232001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=496972801.0 && nMetStart<497232001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/837003/ft1_4FGL_J1640.4+3945_daily_bin994.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=496972801.0 && nMetStart<497232001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/837003/ft2_4FGL_J1640.4+3945_daily_bin994.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/837003/ft1_4FGL_J1640.4+3945_daily_bin994.fits outfile=/scratch/kocevski/837003/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin994.fits ra=250.119 dec=39.7626 rad=12.0 tmin=496972801.0 tmax=497232001.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.16 user 4.90 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/837003/ft2_4FGL_J1640.4+3945_daily_bin994.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/837003/ft2_4FGL_J1640.4+3945_daily_bin994.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/837003/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin994.fits evtable="EVENTS" outfile="/scratch/kocevski/837003/ft1_filtered_4FGL_J1640.4+3945_daily_bin994.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.49 user 0.34 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/837003/ft1_filtered_4FGL_J1640.4+3945_daily_bin994.fits" evtable="EVENTS" scfile=/scratch/kocevski/837003/ft2_4FGL_J1640.4+3945_daily_bin994.fits sctable="SC_DATA" outfile=/scratch/kocevski/837003/ltcube_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.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/837003/ft2_4FGL_J1640.4+3945_daily_bin994.fits .....................! real 13.94 user 13.58 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/837003/ft1_filtered_4FGL_J1640.4+3945_daily_bin994.fits evtable="EVENTS" scfile=/scratch/kocevski/837003/ft2_4FGL_J1640.4+3945_daily_bin994.fits sctable="SC_DATA" expcube=/scratch/kocevski/837003/ltcube_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.fits outfile=/scratch/kocevski/837003/expmap_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.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/837003/ltcube_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.fits .....................! real 191.65 user 186.13 sys 5.10 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/837003/ft1_filtered_4FGL_J1640.4+3945_daily_bin994.fits scfile=/scratch/kocevski/837003/ft2_4FGL_J1640.4+3945_daily_bin994.fits outfile=/scratch/kocevski/837003/cmap_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.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/837003/ft1_filtered_4FGL_J1640.4+3945_daily_bin994.fits scfile=/scratch/kocevski/837003/ft2_4FGL_J1640.4+3945_daily_bin994.fits outfile=/scratch/kocevski/837003/cmap_HighResolution_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.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.41 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/837003/ft1_filtered_4FGL_J1640.4+3945_daily_bin994.fits evtable="EVENTS" scfile=/scratch/kocevski/837003/ft2_4FGL_J1640.4+3945_daily_bin994.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/837003/Model_4FGL_J1640.4+3945_daily_bin994.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/837003/ft1_filtered_4FGL_J1640.4+3945_daily_bin994.fits.....................! real 37.52 user 36.22 sys 1.17 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/837003/ft1_filtered_4FGL_J1640.4+3945_daily_bin994.fits', '/scratch/kocevski/837003/ft2_4FGL_J1640.4+3945_daily_bin994.fits', expMap='/scratch/kocevski/837003/expmap_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.fits', expCube='/scratch/kocevski/837003/ltcube_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/837003/Model_4FGL_J1640.4+3945_daily_bin994.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/837003/ft1_filtered_4FGL_J1640.4+3945_daily_bin994.fits Spacecraft file(s): /scratch/kocevski/837003/ft2_4FGL_J1640.4+3945_daily_bin994.fits Exposure map: /scratch/kocevski/837003/expmap_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.fits Exposure cube: /scratch/kocevski/837003/ltcube_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/837003/Model_4FGL_J1640.4+3945_daily_bin994.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) = 3599.37333584 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3599.36978732 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10531E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10171E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10015E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10019E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 2.3746 1.0000 .10000E-03 10000. 7 'norm ' .59398 1.0000 .10000E-03 10000. 8 'norm ' .10096E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10681E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .44621E-01 1.0000 .10000E-03 10000. 11 'norm ' 193.01 1.0000 .10000E-03 10000. 12 'Prefactor ' .10309E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.6919 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.4276 1.0000 .10000E-03 10000. 15 'Prefactor ' 7.3879 1.0000 .10000E-03 10000. 16 'norm ' 2.3128 1.0000 .10000E-03 10000. 17 'norm ' 3.3633 1.0000 .10000E-03 10000. 18 'Prefactor ' .10023E-03 1.0000 .10000E-03 10000. 19 'norm ' 1.4354 1.0000 .10000E-03 10000. 20 'norm ' .10044E-03 1.0000 .10000E-03 10000. 21 'norm ' 3.1702 1.0000 .10000E-03 10000. 22 'Prefactor ' .10024E-03 1.0000 .10000E-03 10000. 23 'norm ' 3.6838 1.0000 .10000E-03 10000. 24 'Prefactor ' .10827E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0435 1.0000 .10000E-01 10.000 26 'Prefactor ' .86006 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= 3599.370 FROM MIGRAD STATUS=CONVERGED 635 CALLS 3086 TOTAL EDM= .53E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 14.255 -.41836E-05** at limit ** 2 Prefactor .10000E-03 66.073 -.75717E-05** at limit ** 3 Prefactor .10000E-03 1.8176 -.12013E-07** at limit ** 4 Prefactor .10000E-03 4.7546 .15785E-07** at limit ** 5 Prefactor .10000E-03 54.380 -.46205E-05** at limit ** 6 Prefactor 2.3767 5.2057 .70335E-06 -.31794E-03 7 norm .59402 .24275 .28516E-07 -.18300E-02 8 norm .10000E-03 14.779 .18207E-05** at limit ** 9 Prefactor .10000E-03 52.940 -.47485E-06** at limit ** 10 Prefactor .10001E-03 8.6835 .69065E-07** at limit ** 11 norm 192.97 131.62 -.26763E-04 -.53465E-04 12 Prefactor .10000E-03 1.2184 .47668E-06** at limit ** 13 Prefactor 1.6944 1.7568 .43702E-06 -.90394E-03 14 Prefactor 1.4278 4.2469 -.65485E-06 -.46695E-03 15 Prefactor 7.3934 6.7100 .18728E-05 -.28926E-03 16 norm 2.3128 1.7692 .39575E-07 .35528E-04 17 norm 3.3633 1.7296 .12816E-07 -.25367E-04 18 Prefactor .10000E-03 4.8590 -.19019E-07** at limit ** 19 norm 1.4353 1.2217 -.26636E-07 -.15447E-03 20 norm .10000E-03 13.816 .24761E-05** at limit ** 21 norm 3.1700 2.9308 -.10151E-06 -.22985E-03 22 Prefactor .10000E-03 52.008 .50585E-05** at limit ** 23 norm 3.6833 6.1189 -.13591E-05 -.22433E-03 24 Prefactor .10000E-03 76.012 .11279E-04** at limit ** 25 Normalizat 1.0438 .26834 .77535E-06 -.11165E-03 26 Prefactor .85996 .19598 .20878E-06 -.87426E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 2.3767 norm = 0.594022 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100015 norm = 192.973 Prefactor = 0.000100001 Prefactor = 1.69444 Prefactor = 1.42781 Prefactor = 7.39343 norm = 2.31281 norm = 3.36332 Prefactor = 0.0001 norm = 1.43533 norm = 0.0001 norm = 3.16998 Prefactor = 0.0001 norm = 3.68326 Prefactor = 0.0001 Normalizat = 1.04375 Prefactor = 0.859958 ********** ** 18 **HESSE ********** FCN= 3599.370 FROM HESSE STATUS=OK 464 CALLS 3550 TOTAL EDM= .95E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 14.246 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 66.040 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 1.8325 .78956E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 4.7579 .12776E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 54.479 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 2.3767 5.1638 .19074E-03 -1.5400 7 norm .59402 .24062 .17530E-04 -1.5554 8 norm .10000E-03 14.790 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 53.229 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10001E-03 9.8630 .51976E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 192.97 130.37 .14537E-03 -1.2921 12 Prefactor .10000E-03 1.7177 .11839E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.6944 1.6417 .70841E-04 -1.5448 14 Prefactor 1.4278 4.1999 .20281E-03 -1.5469 15 Prefactor 7.3934 6.6676 .13326E-03 -1.5164 16 norm 2.3128 1.7738 .67857E-04 -1.5404 17 norm 3.3633 1.7247 .53622E-04 -1.5341 18 Prefactor .10000E-03 4.8675 .12912E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 1.4353 1.2230 .58489E-04 -1.5468 20 norm .10000E-03 13.917 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.1700 2.9291 .93861E-04 -1.5352 22 Prefactor .10000E-03 52.065 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 3.6833 6.1241 .18604E-03 -1.5324 24 Prefactor .10000E-03 76.023 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0438 .32177 .27977E-03 -.91579 26 Prefactor .85996 .23502 .23225E-03 -.97555 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.47895e-10 Minuit parameter uncertainties: 1 4.51504e-07 2 5.5032e-07 3 1.99077e-06 4 1.38412e-06 5 4.28369e-05 6 5.16473 7 0.240619 8 3.89655e-05 9 4.78954e-05 10 0.000758049 11 130.562 12 6.44657e-05 13 1.64172 14 4.20076 15 6.66831 16 1.77379 17 1.72477 18 1.27729e-06 19 1.22303 20 5.70682e-06 21 2.92921 22 1.31363e-05 23 6.12513 24 5.28211e-05 25 0.322377 26 0.235299 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3599.36960038 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 6.447e-05 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: 8.600e-01 2.353e-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: 1.044e+00 3.224e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.72e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.33e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/837003/likelihoodResults_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.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) = 3599.37236789 delta logL = -0.00276751288584 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 3599.36959816 delta logL = 2.21770824282e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10963E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3570 1.0000 .0000 10.000 3 'Normalizat' 1.0440 1.0000 .10000E-01 10.000 4 'Prefactor ' .85984 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= 3599.320 FROM MIGRAD STATUS=CONVERGED 142 CALLS 304 TOTAL EDM= .23E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .74480 5.5906 .90712E-02 -.80917E-03 2 Index 1.4722 1.3515 .24073 -.31333E-04 3 Normalizat 1.0444 .25553 .63206E-01 .44840E-04 4 Prefactor .85641 .19575 .44491E-01 .77591E-04 ERR DEF= .500 Final values: Prefactor = 0.744805 Index = 1.47222 Normalizat = 1.04442 Prefactor = 0.856412 ********** ** 18 **HESSE ********** FCN= 3599.320 FROM HESSE STATUS=OK 33 CALLS 337 TOTAL EDM= .21E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .74480 2.5387 .17245E-03 -1.5881 2 Index 1.4722 .98178 .14281E-01 -.78321 3 Normalizat 1.0444 .30306 .27957E-03 -.91557 4 Prefactor .85641 .23220 .23252E-03 -.97681 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.06065e-11 Minuit parameter uncertainties: 1 2.53908 2 0.9948 3 0.30356 4 0.232467 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/837003': 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) = 3599.31998755 delta logL = 0.0496128312539 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 7.448e-01 2.539e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.472e+00 9.948e-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: 8.564e-01 2.325e-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: 1.044e+00 3.036e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 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/837003/cmap_HighResolution_496972801_497232001_4FGL_J1640.4+3945_daily_bin994.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/837003 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-02', job_status='DONE', photon_flux_upper_limit='1.72e-07', time_completed='2021-09-15 06:53:40.789720', job_id='837003', GAL2='0.86', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631714020.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='4.96e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='994' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:53:40 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 837003: <4FGL_J1640.4+3945_daily_bin994> in cluster Done Job <4FGL_J1640.4+3945_daily_bin994> was submitted from host by user in cluster at Wed Sep 15 06:40:21 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:43:00 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:43:00 2021 Terminated at Wed Sep 15 06:53:41 2021 Results reported at Wed Sep 15 06:53:41 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin994 250.119 39.7626 496972801 497232001 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 : 614.00 sec. Max Memory : 618 MB Average Memory : 303.48 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 641 sec. Turnaround time : 800 sec. The output (if any) is above this job summary.