/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 = 73286 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1841.8+3218_monthly_bin151 RA = 280.453, Dec = 32.301 tmin = 628387201, tmax = 630979201 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='750050', job_status='RUN', time_executed='2021-11-03 04:51:13.452536', time_epoch_executed='1635940273.45' WHERE source_name='4FGL J1841.8+3218' and cadence='monthly' and bin_id='151' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/750050 Creating custom pfile directory: /scratch/kocevski/750050/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=628387201.0 && nMetStart<630979201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=628387201.0 && nMetStart<630979201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/750050/ft1_4FGL_J1841.8+3218_monthly_bin151.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=628387201.0 && nMetStart<630979201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Merged file saved to: /scratch/kocevski/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/750050/ft1_4FGL_J1841.8+3218_monthly_bin151.fits outfile=/scratch/kocevski/750050/ft1_filteredMKT_4FGL_J1841.8+3218_monthly_bin151.fits ra=280.453 dec=32.301 rad=12.0 tmin=628387201.0 tmax=630979201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 30.42 user 29.84 sys 0.48 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.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/750050/ft1_filteredMKT_4FGL_J1841.8+3218_monthly_bin151.fits evtable="EVENTS" outfile="/scratch/kocevski/750050/ft1_filtered_4FGL_J1841.8+3218_monthly_bin151.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.86 user 0.65 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/750050/ft1_filtered_4FGL_J1841.8+3218_monthly_bin151.fits" evtable="EVENTS" scfile=/scratch/kocevski/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.fits sctable="SC_DATA" outfile=/scratch/kocevski/750050/ltcube_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.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/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.fits .....................! real 130.86 user 130.11 sys 0.38 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/750050/ft1_filtered_4FGL_J1841.8+3218_monthly_bin151.fits evtable="EVENTS" scfile=/scratch/kocevski/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.fits sctable="SC_DATA" expcube=/scratch/kocevski/750050/ltcube_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.fits outfile=/scratch/kocevski/750050/expmap_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.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/750050/ltcube_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.fits .....................! real 192.93 user 187.16 sys 5.17 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/750050/ft1_filtered_4FGL_J1841.8+3218_monthly_bin151.fits scfile=/scratch/kocevski/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.fits outfile=/scratch/kocevski/750050/cmap_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.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.81 user 0.64 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/750050/ft1_filtered_4FGL_J1841.8+3218_monthly_bin151.fits scfile=/scratch/kocevski/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.fits outfile=/scratch/kocevski/750050/cmap_HighResolution_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.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.80 user 0.62 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/750050/ft1_filtered_4FGL_J1841.8+3218_monthly_bin151.fits evtable="EVENTS" scfile=/scratch/kocevski/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/750050/Model_4FGL_J1841.8+3218_monthly_bin151.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/750050/ft1_filtered_4FGL_J1841.8+3218_monthly_bin151.fits.....................! real 2392.15 user 2368.22 sys 1.32 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/750050/ft1_filtered_4FGL_J1841.8+3218_monthly_bin151.fits', '/scratch/kocevski/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.fits', expMap='/scratch/kocevski/750050/expmap_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.fits', expCube='/scratch/kocevski/750050/ltcube_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/750050/Model_4FGL_J1841.8+3218_monthly_bin151.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/750050/ft1_filtered_4FGL_J1841.8+3218_monthly_bin151.fits Spacecraft file(s): /scratch/kocevski/750050/ft2_4FGL_J1841.8+3218_monthly_bin151.fits Exposure map: /scratch/kocevski/750050/expmap_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.fits Exposure cube: /scratch/kocevski/750050/ltcube_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/750050/Model_4FGL_J1841.8+3218_monthly_bin151.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 147191.935776 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 147190.521121 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10210E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10048E-03 1.0000 .10000E-03 10000. 4 'norm ' .91385 1.0000 .10000E-03 10000. 5 'norm ' .10002E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .90425 1.0000 .10000E-03 10000. 7 'norm ' 2.1281 1.0000 .10000E-03 10000. 8 'Prefactor ' 5.0715 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'norm ' .36041 1.0000 .10000E-03 10000. 11 'Prefactor ' 1.8401 1.0000 .10000E-03 10000. 12 'norm ' .54981 1.0000 .10000E-03 10000. 13 'norm ' .10008E-03 1.0000 .10000E-03 10000. 14 'norm ' .65437 1.0000 .10000E-03 10000. 15 'Prefactor ' .10342E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 49.512 1.0000 .10000E-03 10000. 19 'Prefactor ' 2.4792 1.0000 .10000E-03 10000. 20 'Prefactor ' 13.100 1.0000 .10000E-03 10000. 21 'Normalizat' 1.2391 1.0000 .10000E-01 10.000 22 'Prefactor ' .96310 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= 147190.5 FROM MIGRAD STATUS=CONVERGED 519 CALLS 2196 TOTAL EDM= .13E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .77836 .26549E-07** at limit ** 2 Prefactor .10000E-03 4.5287 -.12118E-07** at limit ** 3 Prefactor .10000E-03 5.7646 -.24299E-07** at limit ** 4 norm .91366 .47064 -.80915E-07 -.56592E-02 5 norm .10000E-03 3.0256 .13390E-07** at limit ** 6 Prefactor .90415 1.1242 .10931E-05 .80384E-03 7 norm 2.1281 1.2273 .71610E-06 .10227E-02 8 Prefactor 5.0720 1.2433 .20791E-07 .19042E-03 9 Prefactor .10000E-03 1.6366 -.25088E-07** at limit ** 10 norm .35708 1.3205 .12216E-05 -.18619E-02 11 Prefactor 1.8404 1.6525 .33664E-06 .72258E-04 12 norm .51583 1.9909 -.27232E-06 -.34096E-03 13 norm .10000E-03 .12006 -.70783E-07** at limit ** 14 norm .65437 .41848 .86078E-07 -.13677E-02 15 Prefactor .10000E-03 .40410 .13955E-07** at limit ** 16 Prefactor .10000E-03 14.818 .98921E-08** at limit ** 17 Prefactor .10000E-03 2.0070 -.49952E-07** at limit ** 18 Prefactor 49.499 25.565 -.23061E-05 -.10242E-03 19 Prefactor 2.4825 4.3929 .36217E-06 -.14099E-04 20 Prefactor 12.989 42.348 .34675E-05 .13016E-04 21 Normalizat 1.2392 .61823E-01 -.16007E-06 .15036E-03 22 Prefactor .96309 .17301E-01 -.11501E-07 -.11135E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.913663 norm = 0.0001 Prefactor = 0.904151 norm = 2.12811 Prefactor = 5.07204 Prefactor = 0.0001 norm = 0.357078 Prefactor = 1.84037 norm = 0.515828 norm = 0.0001 norm = 0.654372 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 49.4987 Prefactor = 2.48247 Prefactor = 12.9895 Normalizat = 1.23916 Prefactor = 0.96309 ********** ** 18 **HESSE ********** FCN= 147190.5 FROM HESSE STATUS=OK 368 CALLS 2564 TOTAL EDM= .23E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .78444 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 4.5947 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 5.7910 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .91366 .39718 .18977E-02 -1.5517 5 norm .10000E-03 3.0327 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .90415 1.1218 .44145E-03 -1.5518 7 norm 2.1281 1.2246 .14132E-02 -1.5416 8 Prefactor 5.0720 1.2419 .17854E-03 -1.5258 9 Prefactor .10000E-03 1.6545 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .35708 1.2448 .15610 -1.5588 11 Prefactor 1.8404 1.6263 .30751E-03 -1.5437 12 norm .51583 2.0018 .21628 -1.5564 13 norm .10000E-03 .24913 .23708E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .65437 .39755 .17237E-02 -1.5546 15 Prefactor .10000E-03 2.9799 .47049E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 15.116 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 2.0467 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 49.499 25.332 .56991E-04 -1.4300 19 Prefactor 2.4825 4.3803 .25965E-03 -1.5393 20 Prefactor 12.989 42.205 .11067E-03 -1.4987 21 Normalizat 1.2392 .67201E-01 .43972E-03 -.85401 22 Prefactor .96309 .19005E-01 .14057E-03 -.93970 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.2633e-07 Minuit parameter uncertainties: 1 5.45602e-07 2 3.77009e-07 3 1.51998e-06 4 0.397177 5 3.12035e-07 6 1.12183 7 1.22457 8 1.24193 9 3.8622e-06 10 1.24491 11 1.62635 12 2.00203 13 1.73095e-06 14 0.397548 15 4.03433e-06 16 1.22383e-05 17 3.31472e-06 18 25.3376 19 4.38082 20 42.3021 21 0.0672055 22 0.019005 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 147190.5211 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 5.158e-01 2.002e+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.631e-01 1.901e-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.239e+00 6.721e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.01 Ra Dec: 280.453 32.301 Photon Flux Upper Limit: 3.20e-09 ph cm-2 s-1 Energy Flux Upper Limit: 1.04e-05 MeV cm-2 s-1 Saving results to: /scratch/kocevski/750050/likelihoodResults_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.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) = 147188.245771 delta logL = 2.27532900695 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 147188.215027 delta logL = 2.30607329233 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.6761 1.0000 .10000E-03 10000. 2 'alpha ' 3.2157 1.0000 .0000 5.0000 3 'Normalizat' 1.2319 1.0000 .10000E-01 10.000 4 'Prefactor ' .96232 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= 147188.2 FROM MIGRAD STATUS=FAILED 102 CALLS 291 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.6775 45.396 .12455E-02 .53497E-02 2 alpha 3.2154 4.0934 .20857E-01 .27296E-02 3 Normalizat 1.2319 .72437E-01 .44072E-03 -.96578E-04 4 Prefactor .96232 .17117E-01 .14059E-03 -.36744E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 147188.2 FROM SIMPLEX STATUS=UNCHANGED 84 CALLS 375 TOTAL EDM= .17E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.6775 45.396 .86457E-04 .53497E-02 2 alpha 3.2154 4.0934 .88133E-03 .27296E-02 3 Normalizat 1.2319 .72437E-01 .10379E-03 -.96578E-04 4 Prefactor .96232 .17117E-01 .31004E-04 -.36744E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 147188.2 FROM MIGRAD STATUS=CONVERGED 39 CALLS 414 TOTAL EDM= .31E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.6775 3.5159 .24911E-03 -.15042E-03 2 alpha 3.2154 .64573 .41715E-02 -.11686E-04 3 Normalizat 1.2319 .65926E-01 .17629E-04 -.86673E-04 4 Prefactor .96232 .18826E-01 .56238E-05 -.33639E-03 ERR DEF= .500 Final values: norm = 2.6775 alpha = 3.2154 Normalizat = 1.23192 Prefactor = 0.962318 ********** ** 18 **HESSE ********** FCN= 147188.2 FROM HESSE STATUS=OK 23 CALLS 437 TOTAL EDM= .46E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.6775 3.0343 .99643E-05 -1.5381 2 alpha 3.2154 .55891 .16686E-03 .29022 3 Normalizat 1.2319 .65812E-01 .35258E-05 -.85622 4 Prefactor .96232 .18819E-01 .11248E-05 -.93996 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.59349e-12 Minuit parameter uncertainties: 1 3.03444 2 0.564113 3 0.0658168 4 0.0188194 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/750050': 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) = 147188.215027 delta logL = 2.306073435 Extracting fit parameters... 4FGL J1841.8+3218 Spectrum: LogParabola 365 norm: 2.677e+00 3.034e+00 1.000e-04 1.000e+04 ( 1.000e-14) 366 alpha: 3.215e+00 5.641e-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.623e-01 1.882e-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.232e+00 6.582e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.63 Ra Dec: 280.453 32.301 Photon Index (Free Index): 3.22 +/- 0.56 Photon Flux (Free Index): 1.34e-08 +/- 1.06e-08 Energy Flux (Free Index): 4.49e-06 +/- 2.56e-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/750050/cmap_HighResolution_628387201_630979201_4FGL_J1841.8+3218_monthly_bin151.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/750050 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-05', comment='SUCCESS', energy_flux2='4.49e-06', dlogl='2.31e+00', photon_flux2='1.34e-08', job_status='DONE', time_completed='2021-11-03 08:39:01.707656', photon_index_error2='0.56', photon_index2='3.22', ts='0.01', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='3.20e-09', energy_flux_error2='2.56e-06', EG='1.24', time_epoch_completed='1635953941.71', return_code='0', job_id='750050', GAL2='0.96', EG2='1.23', return_code2='0', photon_flux_error2='1.06e-08', ts2='4.63', photon_index='1.56' WHERE bin_id='151' AND source_name='4FGL J1841.8+3218' AND cadence='monthly'; Database successfully updated. Analysis Complete. Wed Nov 3 08:39:01 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 750050: <4FGL_J1841.8+3218_monthly_bin151> in cluster Done Job <4FGL_J1841.8+3218_monthly_bin151> was submitted from host by user in cluster at Wed Nov 3 04:50:16 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Nov 3 04:50:50 2021 was used as the home directory. was used as the working directory. Started at Wed Nov 3 04:50:50 2021 Terminated at Wed Nov 3 08:39:03 2021 Results reported at Wed Nov 3 08:39:03 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1841.8+3218_monthly_bin151 280.453 32.301 628387201 630979201 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 : 13386.00 sec. Max Memory : 643 MB Average Memory : 570.74 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 13692 sec. Turnaround time : 13727 sec. The output (if any) is above this job summary.