/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 82 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 = 74173 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1631.2+1046_monthly_bin166 RA = 247.804, Dec = 10.7753 tmin = 667267201, tmax = 669859201 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='18589', job_status='RUN', time_executed='2022-03-25 02:12:02.478370', time_epoch_executed='1648199522.48' WHERE source_name='4FGL J1631.2+1046' and cadence='monthly' and bin_id='166' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/18589 Creating custom pfile directory: /scratch/kocevski/18589/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=667267201.0 && nMetStart<669859201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=667267201.0 && nMetStart<669859201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/18589/ft1_4FGL_J1631.2+1046_monthly_bin166.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=667267201.0 && nMetStart<669859201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/18589/ft1_4FGL_J1631.2+1046_monthly_bin166.fits outfile=/scratch/kocevski/18589/ft1_filteredMKT_4FGL_J1631.2+1046_monthly_bin166.fits ra=247.804 dec=10.7753 rad=12.0 tmin=667267201.0 tmax=669859201.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 40.13 user 39.37 sys 0.65 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.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/18589/ft1_filteredMKT_4FGL_J1631.2+1046_monthly_bin166.fits evtable="EVENTS" outfile="/scratch/kocevski/18589/ft1_filtered_4FGL_J1631.2+1046_monthly_bin166.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.84 user 0.64 sys 0.18 Number of photons that the gtmktime cut: 10454 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/18589/ft1_filtered_4FGL_J1631.2+1046_monthly_bin166.fits" evtable="EVENTS" scfile=/scratch/kocevski/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.fits sctable="SC_DATA" outfile=/scratch/kocevski/18589/ltcube_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.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/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.fits .....................! real 110.05 user 109.02 sys 0.53 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/18589/ft1_filtered_4FGL_J1631.2+1046_monthly_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.fits sctable="SC_DATA" expcube=/scratch/kocevski/18589/ltcube_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.fits outfile=/scratch/kocevski/18589/expmap_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.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/18589/ltcube_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.fits .....................! real 191.15 user 186.15 sys 4.33 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 Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model. Added 168 point sources and 1 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J1631.2+1046 @ 247.804 10.7753 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/18589/ft1_filtered_4FGL_J1631.2+1046_monthly_bin166.fits scfile=/scratch/kocevski/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.fits outfile=/scratch/kocevski/18589/cmap_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.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=247.804 yref=10.7753 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.77 user 0.61 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/18589/ft1_filtered_4FGL_J1631.2+1046_monthly_bin166.fits scfile=/scratch/kocevski/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.fits outfile=/scratch/kocevski/18589/cmap_HighResolution_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.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=247.804 yref=10.7753 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.79 user 0.62 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/18589/ft1_filtered_4FGL_J1631.2+1046_monthly_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/18589/Model_4FGL_J1631.2+1046_monthly_bin166.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 FHES J1723.5-0501 adding source GAL_V02 Working on... /scratch/kocevski/18589/ft1_filtered_4FGL_J1631.2+1046_monthly_bin166.fits.....................! real 752.99 user 749.67 sys 1.56 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/18589/ft1_filtered_4FGL_J1631.2+1046_monthly_bin166.fits', '/scratch/kocevski/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.fits', expMap='/scratch/kocevski/18589/expmap_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.fits', expCube='/scratch/kocevski/18589/ltcube_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/18589/Model_4FGL_J1631.2+1046_monthly_bin166.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1631.2+1046' 4FGL J1631.2+1046 Spectrum: PowerLaw 254 Prefactor: 8.500e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 2.463e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 256 Scale: 8.952e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/18589/ft1_filtered_4FGL_J1631.2+1046_monthly_bin166.fits Spacecraft file(s): /scratch/kocevski/18589/ft2_4FGL_J1631.2+1046_monthly_bin166.fits Exposure map: /scratch/kocevski/18589/expmap_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.fits Exposure cube: /scratch/kocevski/18589/ltcube_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/18589/Model_4FGL_J1631.2+1046_monthly_bin166.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) = 112489.963978 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 112489.834424 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 4.3772 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'norm ' 2.5845 1.0000 .10000E-03 10000. 4 'Prefactor ' 10.340 1.0000 .10000E-03 10000. 5 'norm ' 3.4602 1.0000 .10000E-03 10000. 6 'norm ' 3.8309 1.0000 .10000E-03 10000. 7 'norm ' 31.373 1.0000 .10000E-03 10000. 8 'norm ' 14.677 1.0000 .10000E-03 10000. 9 'Prefactor ' .86934 1.0000 .10000E-03 10000. 10 'Prefactor ' .10378E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 4.4262 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.5959 1.0000 .10000E-03 10000. 13 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .63468 1.0000 .10000E-03 10000. 15 'Prefactor ' .92838 1.0000 .10000E-03 10000. 16 'Prefactor ' .10287E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10047E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .17709E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .17109E-03 1.0000 .10000E-03 10000. 20 'Normalizat' 1.2011 1.0000 .10000E-01 10.000 21 'Prefactor ' 1.0330 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5640E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 112489.8 FROM MIGRAD STATUS=CONVERGED 453 CALLS 1980 TOTAL EDM= .50E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 4.3772 .81333 .78187E-09 .16525E-05 2 Prefactor .10000E-03 1.7810 .43316E-07** at limit ** 3 norm 2.5846 .95734 .24870E-07 .32572E-04 4 Prefactor 10.321 8.4539 -.25302E-05 -.18882E-05 5 norm 3.4601 1.9354 .30979E-07 -.66034E-04 6 norm 3.8310 .51126 .77778E-08 .44694E-04 7 norm 31.374 4.8263 -.30374E-08 .11349E-04 8 norm 14.690 12.273 .99259E-05 -.34376E-06 9 Prefactor .86499 1.4140 -.52203E-07 .16553E-03 10 Prefactor .10000E-03 7.3686 .86720E-06** at limit ** 11 Prefactor 4.4285 8.2611 -.19410E-07 .33460E-05 12 Prefactor 1.5961 2.0941 .21281E-08 -.16580E-03 13 Prefactor .10000E-03 .76492 .25715E-08** at limit ** 14 Prefactor .63784 .31780 -.39995E-08 -.73346E-03 15 Prefactor .92846 1.5363 .15785E-07 .55294E-04 16 Prefactor .10000E-03 4.8040 .57941E-06** at limit ** 17 Prefactor .10000E-03 10.801 .22265E-05** at limit ** 18 Prefactor .10002E-03 .28511 -.10837E-06** at limit ** 19 Prefactor .10000E-03 .69092 -.16513E-07** at limit ** 20 Normalizat 1.2011 .72908E-01 .10880E-06 .84602E-04 21 Prefactor 1.0330 .27090E-01 -.42248E-07 .43764E-03 ERR DEF= .500 Final values: norm = 4.37724 Prefactor = 0.0001 norm = 2.58464 Prefactor = 10.3212 norm = 3.46007 norm = 3.83104 norm = 31.3744 norm = 14.6898 Prefactor = 0.864985 Prefactor = 0.0001 Prefactor = 4.42845 Prefactor = 1.5961 Prefactor = 0.0001 Prefactor = 0.637841 Prefactor = 0.928458 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100016 Prefactor = 0.0001 Normalizat = 1.20112 Prefactor = 1.03302 ********** ** 18 **HESSE ********** FCN= 112489.8 FROM HESSE STATUS=OK 337 CALLS 2317 TOTAL EDM= .17E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 4.3772 .81263 .12616E-03 -1.5290 2 Prefactor .10000E-03 1.7820 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 2.5846 .95594 .19389E-03 -1.5386 4 Prefactor 10.321 8.4524 .12460E-03 -1.5065 5 norm 3.4601 1.9400 .10870E-02 -1.5336 6 norm 3.8310 .51105 .84633E-04 -1.5316 7 norm 31.374 4.8373 .71535E-04 -1.4587 8 norm 14.690 12.274 .52274E-03 -1.4941 9 Prefactor .86499 3.3441 .48792E-02 -1.5522 10 Prefactor .10000E-03 7.4088 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 4.4285 8.2010 .19141E-03 -1.5287 12 Prefactor 1.5961 2.1358 .16786E-02 -1.5455 13 Prefactor .10000E-03 .79684 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .63784 1.2398 .23618E-02 -1.5548 15 Prefactor .92846 1.5365 .49861E-03 -1.5515 16 Prefactor .10000E-03 4.8756 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 10.866 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10002E-03 .53682 .56865E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 3.3550 .53901E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat 1.2011 .86742E-01 .40145E-03 -.86568 21 Prefactor 1.0330 .32593E-01 .16521E-03 -.91637 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.68353e-07 Minuit parameter uncertainties: 1 0.812636 2 2.05532e-08 3 0.95595 4 8.45339 5 1.94004 6 0.511046 7 4.83738 8 12.2764 9 3.34482 10 2.61079e-06 11 8.20304 12 2.13586 13 8.32329e-08 14 1.23981 15 1.53656 16 2.13649e-06 17 1.32534e-06 18 0.000185159 19 1.15213e-05 20 0.086752 21 0.0325932 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 112489.834401 Extracting fit parameters... 4FGL J1631.2+1046 Spectrum: PowerLaw 254 Prefactor: 4.428e+00 8.203e+00 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 2.463e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 256 Scale: 8.952e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 561 Prefactor: 1.033e+00 3.259e-02 0.000e+00 1.000e+01 ( 1.000e+00) 562 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 563 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 557 Normalization: 1.201e+00 8.675e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.35 Ra Dec: 247.804 10.775 Photon Flux Upper Limit: 3.18e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.47e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/18589/likelihoodResults_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.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): 0 logL (Free Index) = 112489.434771 delta logL = 0.399629634616 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 112489.171605 delta logL = 0.662795368771 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .50048 1.0000 .10000E-03 10000. 2 'Index ' 4.5110 1.0000 .0000 10.000 3 'Normalizat' 1.1709 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0406 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5640E+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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 112489.2 FROM MIGRAD STATUS=FAILED 108 CALLS 333 TOTAL EDM= .50E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .50024 12.832 .16920E-02 .12479 2 Index 4.5114 7.0340 .76177E-02 .17621E-02 3 Normalizat 1.1709 .43598E-01 .40600E-03 -.60484E-04 4 Prefactor 1.0406 .16719E-01 .16467E-03 -.17342E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 112489.2 FROM SIMPLEX STATUS=UNCHANGED 88 CALLS 421 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .50024 12.832 .11948E-03 .12479 2 Index 4.5114 7.0340 .13748E-02 .17621E-02 3 Normalizat 1.1709 .43598E-01 .49388E-04 -.60484E-04 4 Prefactor 1.0406 .16719E-01 .13377E-04 -.17342E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 112489.2 FROM MIGRAD STATUS=CONVERGED 70 CALLS 491 TOTAL EDM= .34E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .50024 29.082 .67680E-04 -.80629E-04 2 Index 4.5114 7.2409 .60941E-04 -.89545E-05 3 Normalizat 1.1709 .88010E-01 .32480E-05 -.56004E-04 4 Prefactor 1.0406 .33723E-01 .13174E-05 -.16569E-03 ERR DEF= .500 Final values: Prefactor = 0.500242 Index = 4.51136 Normalizat = 1.17085 Prefactor = 1.04063 ********** ** 18 **HESSE ********** FCN= 112489.2 FROM HESSE STATUS=OK 23 CALLS 514 TOTAL EDM= .40E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .50024 2.7955 .27072E-05 -1.5567 2 Index 4.5114 2.3412 .12188E-04 -.97884E-01 3 Normalizat 1.1709 .83609E-01 .64960E-06 -.87508 4 Prefactor 1.0406 .31378E-01 .26347E-06 -.91387 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.01382e-12 Minuit parameter uncertainties: 1 2.36504 2 2.43756 3 0.0836181 4 0.0313783 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/18589': 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) = 112489.171605 delta logL = 0.662795538316 Extracting fit parameters... 4FGL J1631.2+1046 Spectrum: PowerLaw 254 Prefactor: 5.002e-01 2.365e+00 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 4.511e+00 2.438e+00 0.000e+00 1.000e+01 (-1.000e+00) 256 Scale: 8.952e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 561 Prefactor: 1.041e+00 3.138e-02 0.000e+00 1.000e+01 ( 1.000e+00) 562 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 563 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 557 Normalization: 1.171e+00 8.362e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.81 Ra Dec: 247.804 10.775 Photon Index (Free Index): 4.51 +/- 2.44 Photon Flux (Free Index): 2.82e-08 +/- 2.25e-08 Energy Flux (Free Index): 3.93e-06 +/- 3.34e-06 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/18589/cmap_HighResolution_667267201_669859201_4FGL_J1631.2+1046_monthly_bin166.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/18589 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-03', comment='SUCCESS', energy_flux2='3.93e-06', dlogl='6.63e-01', photon_flux2='2.82e-08', job_status='DONE', time_completed='2022-03-25 03:53:43.358672', photon_index_error2='2.44', photon_index2='4.51', ts='0.35', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='3.18e-08', energy_flux_error2='3.34e-06', EG='1.20', time_epoch_completed='1648205623.36', return_code='0', job_id='18589', GAL2='1.04', EG2='1.17', return_code2='0', photon_flux_error2='2.25e-08', ts2='1.81', photon_index='2.46' WHERE bin_id='166' AND source_name='4FGL J1631.2+1046' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Mar 25 03:53:43 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 18589: <4FGL_J1631.2+1046_monthly_bin166> in cluster Done Job <4FGL_J1631.2+1046_monthly_bin166> was submitted from host by user in cluster at Fri Mar 25 02:10:28 2022 Job was executed on host(s) , in queue , as user in cluster at Fri Mar 25 02:10:29 2022 was used as the home directory. was used as the working directory. Started at Fri Mar 25 02:10:29 2022 Terminated at Fri Mar 25 03:53:44 2022 Results reported at Fri Mar 25 03:53:44 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1631.2+1046_monthly_bin166 247.804 10.7753 667267201 669859201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1631.2+1046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 6083.00 sec. Max Memory : 635 MB Average Memory : 433.00 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 6195 sec. Turnaround time : 6196 sec. The output (if any) is above this job summary.