/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 5 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 = 72800 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1841.8+3218_monthly_bin48 RA = 280.453, Dec = 32.301 tmin = 361411201, tmax = 364003201 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='735732', job_status='RUN', time_executed='2021-11-03 03:50:39.339782', time_epoch_executed='1635936639.34' WHERE source_name='4FGL J1841.8+3218' and cadence='monthly' and bin_id='48' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/735732 Creating custom pfile directory: /scratch/kocevski/735732/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=361411201.0 && nMetStart<364003201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=361411201.0 && nMetStart<364003201.0' /Data/Flight/Level1/LPA Retrieving 462 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/735732/ft1_4FGL_J1841.8+3218_monthly_bin48.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=361411201.0 && nMetStart<364003201.0' /Data/Flight/Level1/LPA Retrieving 462 files... Done. Merging files... Merged file saved to: /scratch/kocevski/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/735732/ft1_4FGL_J1841.8+3218_monthly_bin48.fits outfile=/scratch/kocevski/735732/ft1_filteredMKT_4FGL_J1841.8+3218_monthly_bin48.fits ra=280.453 dec=32.301 rad=12.0 tmin=361411201.0 tmax=364003201.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 43.17 user 41.96 sys 0.98 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.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/735732/ft1_filteredMKT_4FGL_J1841.8+3218_monthly_bin48.fits evtable="EVENTS" outfile="/scratch/kocevski/735732/ft1_filtered_4FGL_J1841.8+3218_monthly_bin48.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.87 user 0.65 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/735732/ft1_filtered_4FGL_J1841.8+3218_monthly_bin48.fits" evtable="EVENTS" scfile=/scratch/kocevski/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.fits sctable="SC_DATA" outfile=/scratch/kocevski/735732/ltcube_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.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/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.fits .....................! real 124.59 user 123.67 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/735732/ft1_filtered_4FGL_J1841.8+3218_monthly_bin48.fits evtable="EVENTS" scfile=/scratch/kocevski/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.fits sctable="SC_DATA" expcube=/scratch/kocevski/735732/ltcube_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.fits outfile=/scratch/kocevski/735732/expmap_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.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/735732/ltcube_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.fits .....................! real 192.95 user 186.42 sys 5.68 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 W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template. Extended source gamma Cygni in ROI with RadialDisk spatial model. Added 236 point sources and 2 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 J1841.8+3218 @ 280.453 32.301 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/735732/ft1_filtered_4FGL_J1841.8+3218_monthly_bin48.fits scfile=/scratch/kocevski/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.fits outfile=/scratch/kocevski/735732/cmap_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.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=280.453 yref=32.301 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.80 user 0.61 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/735732/ft1_filtered_4FGL_J1841.8+3218_monthly_bin48.fits scfile=/scratch/kocevski/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.fits outfile=/scratch/kocevski/735732/cmap_HighResolution_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.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=280.453 yref=32.301 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.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/735732/ft1_filtered_4FGL_J1841.8+3218_monthly_bin48.fits evtable="EVENTS" scfile=/scratch/kocevski/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/735732/Model_4FGL_J1841.8+3218_monthly_bin48.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 adding source W 51C adding source gamma Cygni Working on... /scratch/kocevski/735732/ft1_filtered_4FGL_J1841.8+3218_monthly_bin48.fits.....................! real 1888.03 user 1874.89 sys 5.19 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/735732/ft1_filtered_4FGL_J1841.8+3218_monthly_bin48.fits', '/scratch/kocevski/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.fits', expMap='/scratch/kocevski/735732/expmap_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.fits', expCube='/scratch/kocevski/735732/ltcube_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/735732/Model_4FGL_J1841.8+3218_monthly_bin48.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1841.8+3218' 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 4.939e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/735732/ft1_filtered_4FGL_J1841.8+3218_monthly_bin48.fits Spacecraft file(s): /scratch/kocevski/735732/ft2_4FGL_J1841.8+3218_monthly_bin48.fits Exposure map: /scratch/kocevski/735732/expmap_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.fits Exposure cube: /scratch/kocevski/735732/ltcube_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/735732/Model_4FGL_J1841.8+3218_monthly_bin48.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) = 117976.507815 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 117976.378411 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .43319 1.0000 .10000E-03 10000. 2 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'norm ' .10000E-03 1.0000 .10000E-03 10000. 5 'norm ' 9.8810 1.0000 .10000E-03 10000. 6 'Prefactor ' .10027E-03 1.0000 .10000E-03 10000. 7 'norm ' 2.9723 1.0000 .10000E-03 10000. 8 'Prefactor ' .86040 1.0000 .10000E-03 10000. 9 'Prefactor ' 4.3031 1.0000 .10000E-03 10000. 10 'norm ' .10001E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 1.0531 1.0000 .10000E-03 10000. 12 'norm ' .28084 1.0000 .10000E-03 10000. 13 'norm ' 3.0866 1.0000 .10000E-03 10000. 14 'norm ' 1.1160 1.0000 .10000E-03 10000. 15 'Prefactor ' 4.3179 1.0000 .10000E-03 10000. 16 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 14.682 1.0000 .10000E-03 10000. 19 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 27.155 1.0000 .10000E-03 10000. 21 'Normalizat' 1.1823 1.0000 .10000E-01 10.000 22 'Prefactor ' .95418 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 117976.4 FROM MIGRAD STATUS=CONVERGED 486 CALLS 2441 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .45177 1.2678 .38234E-06 .42598E-03 2 Prefactor .10000E-03 5.5251 -.33952E-05** at limit ** 3 Prefactor .10000E-03 5.0762 .29420E-05** at limit ** 4 norm .10000E-03 .70720E-01 .18469E-07** at limit ** 5 norm 9.8719 11.586 -.84134E-05 -.85762E-04 6 Prefactor .10000E-03 .27745 .66420E-07** at limit ** 7 norm 2.9732 1.8972 -.19449E-07 -.76646E-05 8 Prefactor .86017 1.2344 -.53415E-07 -.45050E-04 9 Prefactor 4.3025 5.3441 -.46385E-07 -.57772E-04 10 norm .10000E-03 3.3592 -.91211E-07** at limit ** 11 Prefactor 1.0637 .18019 -.15887E-07 -.13589E-02 12 norm .29515 2.0656 .16231E-05 -.18514E-02 13 norm 3.0866 1.2197 .16524E-07 -.87096E-03 14 norm 1.1156 .75203 -.85489E-07 -.11516E-02 15 Prefactor 4.3179 2.9572 -.67739E-06 -.94023E-05 16 Prefactor .10000E-03 11.626 .32721E-05** at limit ** 17 Prefactor .10000E-03 .98002 .41021E-06** at limit ** 18 Prefactor 14.675 18.786 -.11476E-04 .10921E-05 19 Prefactor .10000E-03 .98092 -.33289E-06** at limit ** 20 Prefactor 27.150 31.125 -.89363E-05 .22778E-05 21 Normalizat 1.1823 .69848E-01 .27209E-06 -.21351E-03 22 Prefactor .95417 .19051E-01 .11497E-06 -.74635E-03 ERR DEF= .500 Final values: Prefactor = 0.451772 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 9.87191 Prefactor = 0.0001 norm = 2.97317 Prefactor = 0.860171 Prefactor = 4.30253 norm = 0.0001 Prefactor = 1.06368 norm = 0.295149 norm = 3.08656 norm = 1.11559 Prefactor = 4.31794 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 14.6747 Prefactor = 0.0001 Prefactor = 27.1499 Normalizat = 1.18228 Prefactor = 0.954169 ********** ** 18 **HESSE ********** FCN= 117976.4 FROM HESSE STATUS=OK 360 CALLS 2801 TOTAL EDM= .14E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .45177 6.3305 .61501E-02 -1.5574 2 Prefactor .10000E-03 5.5872 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 5.0853 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .10000E-03 .11755 .17767E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 9.8719 11.669 .12748E-03 -1.5079 6 Prefactor .10000E-03 1.5555 .34639E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 2.9732 1.8902 .23551E-03 -1.5363 8 Prefactor .86017 1.2299 .50653E-04 -1.5522 9 Prefactor 4.3025 5.3195 .97103E-03 -1.5293 10 norm .10000E-03 3.4074 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 1.0637 1.9920 .24055E-02 -1.5502 12 norm .29515 2.2385 .21357 -1.5599 13 norm 3.0866 1.1790 .16586E-03 -1.5357 14 norm 1.1156 .71720 .16821E-03 -1.5497 15 Prefactor 4.3179 2.9533 .19386E-03 -1.5292 16 Prefactor .10000E-03 11.708 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 .98387 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 14.675 18.771 .10453E-03 -1.4942 19 Prefactor .10000E-03 .98432 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 27.150 31.108 .76877E-04 -1.4665 21 Normalizat 1.1823 .75834E-01 .44779E-03 -.87152 22 Prefactor .95417 .20877E-01 .13902E-03 -.94273 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.35758e-08 Minuit parameter uncertainties: 1 3.38233 2 4.63151e-06 3 6.01322e-07 4 1.15975e-06 5 11.6721 6 2.89023e-05 7 1.89019 8 1.22992 9 5.32012 10 2.06552e-06 11 1.99212 12 1.62547 13 1.17904 14 0.71721 15 2.95344 16 1.07871e-05 17 5.20066e-07 18 18.7782 19 1.13304e-06 20 31.127 21 0.0758411 22 0.0208777 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 117976.378376 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 2.951e-01 1.625e+00 1.000e-04 1.000e+04 ( 1.000e-14) 366 alpha: 1.556e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 367 beta: 2.467e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.542e-01 2.088e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.182e+00 7.584e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 280.453 32.301 Photon Flux Upper Limit: 3.19e-09 ph cm-2 s-1 Energy Flux Upper Limit: 1.04e-05 MeV cm-2 s-1 Saving results to: /scratch/kocevski/735732/likelihoodResults_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.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) = 117976.194896 delta logL = 0.183480456792 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 117975.688599 delta logL = 0.689777765583 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.5653 1.0000 .10000E-03 10000. 2 'alpha ' 3.1917 1.0000 .0000 5.0000 3 'Normalizat' 1.1784 1.0000 .10000E-01 10.000 4 'Prefactor ' .95383 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .8320E+05 .2000E-04 ********** 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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 117975.7 FROM MIGRAD STATUS=FAILED 99 CALLS 321 TOTAL EDM= .79E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.5650 92.782 .33996E-03 .22473E-04 2 alpha 3.1919 3.1718 .34459E-01 .90256E-04 3 Normalizat 1.1784 .89871E-01 .44836E-03 -.20285E-05 4 Prefactor .95383 .21148E-01 .13902E-03 -.65420E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 117975.7 FROM SIMPLEX STATUS=UNCHANGED 84 CALLS 405 TOTAL EDM= .19E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.5650 92.782 .14962E-03 .22473E-04 2 alpha 3.1919 3.1718 .22939E-02 .90256E-04 3 Normalizat 1.1784 .89871E-01 .84986E-04 -.20285E-05 4 Prefactor .95383 .21148E-01 .22449E-04 -.65420E-05 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 117975.7 FROM MIGRAD STATUS=CONVERGED 33 CALLS 438 TOTAL EDM= .34E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.5650 2.6683 .13598E-04 .10701E-04 2 alpha 3.1919 .82469 .13784E-02 .21115E-05 3 Normalizat 1.1784 .72982E-01 .17934E-04 -.20285E-05 4 Prefactor .95383 .20667E-01 .55610E-05 -.65420E-05 ERR DEF= .500 Final values: norm = 1.56502 alpha = 3.1919 Normalizat = 1.17839 Prefactor = 0.953832 ********** ** 18 **HESSE ********** FCN= 117975.7 FROM HESSE STATUS=OK 23 CALLS 461 TOTAL EDM= .28E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.5650 2.6250 .27196E-05 -1.5458 2 alpha 3.1919 .81177 .55134E-04 .28042 3 Normalizat 1.1784 .72998E-01 .35868E-05 -.87273 4 Prefactor .95383 .20670E-01 .11122E-05 -.94285 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.7853e-13 Minuit parameter uncertainties: 1 2.62518 2 0.828066 3 0.073004 4 0.0206706 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/735732': 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) = 117975.688599 delta logL = 0.689777797859 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 1.565e+00 2.625e+00 1.000e-04 1.000e+04 ( 1.000e-14) 366 alpha: 3.192e+00 8.281e-01 0.000e+00 5.000e+00 ( 1.000e+00) 367 beta: 2.467e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 368 Eb: 3.657e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 821 Prefactor: 9.538e-01 2.067e-02 0.000e+00 1.000e+01 ( 1.000e+00) 822 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 823 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 820 Normalization: 1.178e+00 7.300e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.39 Ra Dec: 280.453 32.301 Photon Index (Free Index): 3.19 +/- 0.83 Photon Flux (Free Index): 7.36e-09 +/- 1.02e-08 Energy Flux (Free Index): 2.51e-06 +/- 2.67e-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/735732/cmap_HighResolution_361411201_364003201_4FGL_J1841.8+3218_monthly_bin48.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/735732 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-05', comment='SUCCESS', energy_flux2='2.51e-06', dlogl='6.90e-01', photon_flux2='7.36e-09', job_status='DONE', time_completed='2021-11-03 07:01:28.794284', photon_index_error2='0.83', photon_index2='3.19', ts='0.00', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='3.19e-09', energy_flux_error2='2.67e-06', EG='1.18', time_epoch_completed='1635948088.79', return_code='0', job_id='735732', GAL2='0.95', EG2='1.18', return_code2='0', photon_flux_error2='1.02e-08', ts2='1.39', photon_index='1.56' WHERE bin_id='48' AND source_name='4FGL J1841.8+3218' AND cadence='monthly'; Database successfully updated. Analysis Complete. Wed Nov 3 07:01:28 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 735732: <4FGL_J1841.8+3218_monthly_bin48> in cluster Done Job <4FGL_J1841.8+3218_monthly_bin48> was submitted from host by user in cluster at Wed Nov 3 03:50:15 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Nov 3 03:50:16 2021 was used as the home directory. was used as the working directory. Started at Wed Nov 3 03:50:16 2021 Terminated at Wed Nov 3 07:01:30 2021 Results reported at Wed Nov 3 07:01:30 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1841.8+3218_monthly_bin48 280.453 32.301 361411201 364003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1841.8+3218 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 11280.00 sec. Max Memory : 1101 MB Average Memory : 524.26 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 11473 sec. Turnaround time : 11475 sec. The output (if any) is above this job summary.