/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 113 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 = 7357 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin957 RA = 250.119, Dec = 39.7626 tmin = 487382401, tmax = 487641601 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='836949', job_status='RUN', time_executed='2021-09-15 06:44:14.784333', time_epoch_executed='1631713454.78' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='957' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/836949 Creating custom pfile directory: /scratch/kocevski/836949/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=487382401.0 && nMetStart<487641601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=487382401.0 && nMetStart<487641601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/836949/ft1_4FGL_J1640.4+3945_daily_bin957.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=487382401.0 && nMetStart<487641601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/836949/ft2_4FGL_J1640.4+3945_daily_bin957.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/836949/ft1_4FGL_J1640.4+3945_daily_bin957.fits outfile=/scratch/kocevski/836949/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin957.fits ra=250.119 dec=39.7626 rad=12.0 tmin=487382401.0 tmax=487641601.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 3.95 user 3.69 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/836949/ft2_4FGL_J1640.4+3945_daily_bin957.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/836949/ft2_4FGL_J1640.4+3945_daily_bin957.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/836949/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin957.fits evtable="EVENTS" outfile="/scratch/kocevski/836949/ft1_filtered_4FGL_J1640.4+3945_daily_bin957.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.32 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/836949/ft1_filtered_4FGL_J1640.4+3945_daily_bin957.fits" evtable="EVENTS" scfile=/scratch/kocevski/836949/ft2_4FGL_J1640.4+3945_daily_bin957.fits sctable="SC_DATA" outfile=/scratch/kocevski/836949/ltcube_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.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/836949/ft2_4FGL_J1640.4+3945_daily_bin957.fits .....................! real 14.90 user 14.50 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/836949/ft1_filtered_4FGL_J1640.4+3945_daily_bin957.fits evtable="EVENTS" scfile=/scratch/kocevski/836949/ft2_4FGL_J1640.4+3945_daily_bin957.fits sctable="SC_DATA" expcube=/scratch/kocevski/836949/ltcube_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.fits outfile=/scratch/kocevski/836949/expmap_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.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/836949/ltcube_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.fits .....................! real 193.29 user 187.22 sys 5.24 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/836949/ft1_filtered_4FGL_J1640.4+3945_daily_bin957.fits scfile=/scratch/kocevski/836949/ft2_4FGL_J1640.4+3945_daily_bin957.fits outfile=/scratch/kocevski/836949/cmap_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.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.56 user 0.39 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/836949/ft1_filtered_4FGL_J1640.4+3945_daily_bin957.fits scfile=/scratch/kocevski/836949/ft2_4FGL_J1640.4+3945_daily_bin957.fits outfile=/scratch/kocevski/836949/cmap_HighResolution_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.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.57 user 0.40 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/836949/ft1_filtered_4FGL_J1640.4+3945_daily_bin957.fits evtable="EVENTS" scfile=/scratch/kocevski/836949/ft2_4FGL_J1640.4+3945_daily_bin957.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/836949/Model_4FGL_J1640.4+3945_daily_bin957.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/836949/ft1_filtered_4FGL_J1640.4+3945_daily_bin957.fits.....................! real 49.70 user 48.29 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/836949/ft1_filtered_4FGL_J1640.4+3945_daily_bin957.fits', '/scratch/kocevski/836949/ft2_4FGL_J1640.4+3945_daily_bin957.fits', expMap='/scratch/kocevski/836949/expmap_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.fits', expCube='/scratch/kocevski/836949/ltcube_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/836949/Model_4FGL_J1640.4+3945_daily_bin957.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/836949/ft1_filtered_4FGL_J1640.4+3945_daily_bin957.fits Spacecraft file(s): /scratch/kocevski/836949/ft2_4FGL_J1640.4+3945_daily_bin957.fits Exposure map: /scratch/kocevski/836949/expmap_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.fits Exposure cube: /scratch/kocevski/836949/ltcube_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/836949/Model_4FGL_J1640.4+3945_daily_bin957.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) = 5954.91735855 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5954.89376478 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10028E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .11198E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 3.0669 1.0000 .10000E-03 10000. 4 'Prefactor ' .39689E-02 1.0000 .10000E-03 10000. 5 'Prefactor ' 6.5248 1.0000 .10000E-03 10000. 6 'Prefactor ' .71591 1.0000 .10000E-03 10000. 7 'norm ' .22661E-01 1.0000 .10000E-03 10000. 8 'norm ' 3.6979 1.0000 .10000E-03 10000. 9 'Prefactor ' 35.362 1.0000 .10000E-03 10000. 10 'Prefactor ' .73035E-01 1.0000 .10000E-03 10000. 11 'norm ' 9.9430 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.6422 1.0000 .10000E-03 10000. 13 'Prefactor ' .15381E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 3.4412 1.0000 .10000E-03 10000. 15 'Prefactor ' .18827E-03 1.0000 .10000E-03 10000. 16 'norm ' 4.1134 1.0000 .10000E-03 10000. 17 'norm ' 1.5874 1.0000 .10000E-03 10000. 18 'Prefactor ' 9.6778 1.0000 .10000E-03 10000. 19 'norm ' .10015E-03 1.0000 .10000E-03 10000. 20 'norm ' .10408E-03 1.0000 .10000E-03 10000. 21 'norm ' 2.0919 1.0000 .10000E-03 10000. 22 'Prefactor ' .10379E-03 1.0000 .10000E-03 10000. 23 'norm ' 3.3452 1.0000 .10000E-03 10000. 24 'Prefactor ' .31827E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .76439 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0655 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= 5954.894 FROM MIGRAD STATUS=CONVERGED 660 CALLS 3240 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 7.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 7.2178 -.40519E-07** at limit ** 2 Prefactor .10000E-03 30.084 .62317E-06** at limit ** 3 Prefactor 3.0683 3.9213 .29034E-06 .30684E-04 4 Prefactor .10160E-03 6.4256 .34591E-05** at limit ** 5 Prefactor 6.5598 22.683 -.33261E-05 -.51636E-03 6 Prefactor .71562 2.4906 .40536E-06 .93485E-04 7 norm .22624E-01 .10251 .14624E-06 .88435E-03 8 norm 3.7037 12.667 .36348E-05 .17315E-03 9 Prefactor 35.382 22.303 -.68517E-06 .16577E-04 10 Prefactor .93286E-01 2.2715 -.78004E-06 .38102E-03 11 norm 9.9435 77.188 -.26753E-06 .78056E-04 12 Prefactor 3.6413 1.8098 .20015E-06 .27421E-02 13 Prefactor .10000E-03 .72195 -.36971E-06** at limit ** 14 Prefactor 3.4417 2.8081 .52492E-07 -.28797E-04 15 Prefactor .10000E-03 1.6045 -.15264E-06** at limit ** 16 norm 4.1133 1.9983 .53403E-07 .62359E-03 17 norm 1.5873 .92810 .20751E-08 .84718E-04 18 Prefactor 9.6777 7.0666 .60359E-06 .27063E-03 19 norm .10000E-03 .32504 -.85992E-07** at limit ** 20 norm .10000E-03 12.245 -.42712E-06** at limit ** 21 norm 2.0918 1.8000 -.16678E-07 -.67559E-04 22 Prefactor .10000E-03 70.101 .86706E-06** at limit ** 23 norm 3.3386 4.6574 .15133E-05 .18869E-04 24 Prefactor .10001E-03 417.46 .20831E-04** at limit ** 25 Normalizat .76404 .21172 -.18688E-05 -.30476E-03 26 Prefactor 1.0656 .16272 .50724E-06 -.27217E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.06825 Prefactor = 0.0001016 Prefactor = 6.55983 Prefactor = 0.715618 norm = 0.0226236 norm = 3.70372 Prefactor = 35.3816 Prefactor = 0.0932857 norm = 9.94346 Prefactor = 3.64127 Prefactor = 0.000100005 Prefactor = 3.44175 Prefactor = 0.0001 norm = 4.11331 norm = 1.58727 Prefactor = 9.67767 norm = 0.0001 norm = 0.0001 norm = 2.0918 Prefactor = 0.0001 norm = 3.33863 Prefactor = 0.00010001 Normalizat = 0.76404 Prefactor = 1.0656 ********** ** 18 **HESSE ********** FCN= 5954.894 FROM HESSE STATUS=OK 474 CALLS 3714 TOTAL EDM= .26E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 7.2251 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 30.099 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.0683 3.9166 .16048E-03 -1.5358 4 Prefactor .10160E-03 69.909 .26829E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 6.5598 20.916 .15711E-03 -1.5196 6 Prefactor .71562 2.4107 .21174E-03 -1.5539 7 norm .22624E-01 .13225 .38282E-03 -1.5678 8 norm 3.7037 12.580 .10501E-02 -1.5323 9 Prefactor 35.382 21.228 .67392E-04 -1.4518 10 Prefactor .93286E-01 32.851 .20747E-02 -1.5647 11 norm 9.9435 73.357 .12708E-03 -1.5077 12 Prefactor 3.6413 1.5781 .52040E-04 -1.5326 13 Prefactor .10000E-03 11.575 .99579E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 3.4417 2.8073 .11141E-03 -1.5337 15 Prefactor .10000E-03 4.9577 .17963E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 4.1133 1.9901 .72638E-04 -1.5302 17 norm 1.5873 .92609 .53671E-04 -1.5456 18 Prefactor 9.6777 6.9727 .64407E-03 -1.5086 19 norm .10000E-03 .45551 .83998E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 12.547 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.0918 1.7884 .91510E-04 -1.5419 22 Prefactor .10000E-03 70.415 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 3.3386 4.7165 .96301E-03 -1.5343 24 Prefactor .10001E-03 400.56 .21365E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .76404 .25159 .28616E-03 -1.0142 26 Prefactor 1.0656 .19612 .20991E-03 -.90574 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.58915e-08 Minuit parameter uncertainties: 1 1.96615e-06 2 1.10225e-05 3 3.91696 4 0.0211754 5 20.9394 6 2.41103 7 0.109155 8 12.5892 9 21.232 10 3.50124 11 54.1088 12 1.5781 13 0.000477263 14 2.80738 15 2.46302e-05 16 1.99012 17 0.9261 18 6.97326 19 2.02239e-06 20 3.94168e-05 21 1.78846 22 9.43272e-05 23 4.71704 24 0.00392852 25 0.251972 26 0.196256 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5954.89370535 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.641e+00 1.578e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.066e+00 1.963e-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: 7.640e-01 2.520e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 12.75 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.44e-07 +/- 6.23e-08 Energy Flux (Fixed Index): 4.58e-05 +/- 1.99e-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) = 5954.47457477 delta logL = 0.419130585962 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 5954.4726313 delta logL = 0.421074052699 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.1914 1.0000 .10000E-03 10000. 2 'Index ' 2.7767 1.0000 .0000 10.000 3 'Normalizat' .71913 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0929 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= 5954.473 FROM MIGRAD STATUS=CONVERGED 54 CALLS 240 TOTAL EDM= .40E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.1916 9.3315 .69503E-02 .28612E-03 2 Index 2.7769 1.9631 .66459E-01 .17786E-03 3 Normalizat .71917 .82600E-01 .66408E-01 .23816E-04 4 Prefactor 1.0927 .63952E-01 .37864E-01 .75577E-06 ERR DEF= .500 Final values: Prefactor = 2.19162 Index = 2.77686 Normalizat = 0.719168 Prefactor = 1.09273 ********** ** 18 **HESSE ********** FCN= 5954.473 FROM HESSE STATUS=OK 33 CALLS 273 TOTAL EDM= .60E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.1916 1.9809 .37613E-04 -1.5412 2 Index 2.7769 .47995 .27812E-02 -.46076 3 Normalizat .71917 .23177 .29383E-03 -1.0314 4 Prefactor 1.0927 .19428 .20759E-03 -.89699 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.95915e-09 Minuit parameter uncertainties: 1 1.98092 2 0.480877 3 0.232086 4 0.194406 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/836949': 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) = 5954.4726298 delta logL = 0.421075555188 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.192e+00 1.981e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.777e+00 4.809e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.093e+00 1.944e-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: 7.192e-01 2.321e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 14.01 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.78 +/- 0.48 Photon Flux (Free Index): 1.75e-07 +/- 6.73e-08 Energy Flux (Free Index): 3.99e-05 +/- 1.57e-05 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/836949/cmap_HighResolution_487382401_487641601_4FGL_J1640.4+3945_daily_bin957.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/836949 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.44e-07', energy_flux2='3.99e-05', photon_flux_error='6.23e-08', dlogl='4.21e-01', energy_flux='4.58e-05', photon_flux2='1.75e-07', job_status='DONE', time_completed='2021-09-15 06:56:33.515116', photon_index_error2='0.48', photon_index2='2.78', ts='12.75', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.57e-05', EG='0.76', time_epoch_completed='1631714193.52', return_code='0', job_id='836949', GAL2='1.09', EG2='0.72', return_code2='0', energy_flux_error='1.99e-05', photon_flux_error2='6.73e-08', ts2='14.01', photon_index='2.42' WHERE bin_id='957' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:56:33 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 836949: <4FGL_J1640.4+3945_daily_bin957> in cluster Done Job <4FGL_J1640.4+3945_daily_bin957> was submitted from host by user in cluster at Wed Sep 15 06:40:17 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:42:12 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:42:12 2021 Terminated at Wed Sep 15 06:56:34 2021 Results reported at Wed Sep 15 06:56:34 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin957 250.119 39.7626 487382401 487641601 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 : 737.13 sec. Max Memory : 1257 MB Average Memory : 304.00 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 861 sec. Turnaround time : 977 sec. The output (if any) is above this job summary.