aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189) while getting realm /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 2 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 = 17147 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0240.5+6113_weekly_bin548 RA = 40.1426, Dec = 61.2287 tmin = 570412801, tmax = 571017601 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='632405', job_status='RUN', time_executed='2021-07-04 23:17:35.122154', time_epoch_executed='1625465855.12' WHERE source_name='4FGL J0240.5+6113' and cadence='weekly' and bin_id='548' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/632405 Creating custom pfile directory: /scratch/kocevski/632405/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=570412801.0 && nMetStart<571017601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=570412801.0 && nMetStart<571017601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/632405/ft1_4FGL_J0240.5+6113_weekly_bin548.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=570412801.0 && nMetStart<571017601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/632405/ft1_4FGL_J0240.5+6113_weekly_bin548.fits outfile=/scratch/kocevski/632405/ft1_filteredMKT_4FGL_J0240.5+6113_weekly_bin548.fits ra=40.1426 dec=61.2287 rad=12.0 tmin=570412801.0 tmax=571017601.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 7.28 user 6.44 sys 0.32 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.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/632405/ft1_filteredMKT_4FGL_J0240.5+6113_weekly_bin548.fits evtable="EVENTS" outfile="/scratch/kocevski/632405/ft1_filtered_4FGL_J0240.5+6113_weekly_bin548.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.40 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/632405/ft1_filtered_4FGL_J0240.5+6113_weekly_bin548.fits" evtable="EVENTS" scfile=/scratch/kocevski/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.fits sctable="SC_DATA" outfile=/scratch/kocevski/632405/ltcube_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.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/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.fits .....................! real 27.24 user 26.72 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/632405/ft1_filtered_4FGL_J0240.5+6113_weekly_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.fits sctable="SC_DATA" expcube=/scratch/kocevski/632405/ltcube_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.fits outfile=/scratch/kocevski/632405/expmap_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.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/632405/ltcube_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.fits .....................! real 195.63 user 189.30 sys 4.75 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 HB 3 in ROI with RadialDisk spatial model. Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template. Extended source G150.3+4.5 in ROI with RadialDisk spatial model. Added 179 point sources and 3 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 J0240.5+6113 @ 40.1426 61.2287 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/632405/ft1_filtered_4FGL_J0240.5+6113_weekly_bin548.fits scfile=/scratch/kocevski/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.fits outfile=/scratch/kocevski/632405/cmap_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.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=40.1426 yref=61.2287 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 1.02 user 0.44 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/632405/ft1_filtered_4FGL_J0240.5+6113_weekly_bin548.fits scfile=/scratch/kocevski/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.fits outfile=/scratch/kocevski/632405/cmap_HighResolution_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.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=40.1426 yref=61.2287 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.72 user 0.44 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/632405/ft1_filtered_4FGL_J0240.5+6113_weekly_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/632405/Model_4FGL_J0240.5+6113_weekly_bin548.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 G150.3+4.5 adding source GAL_V02 adding source HB 3 adding source W 3 Working on... /scratch/kocevski/632405/ft1_filtered_4FGL_J0240.5+6113_weekly_bin548.fits.....................! real 1846.72 user 1831.66 sys 4.03 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/632405/ft1_filtered_4FGL_J0240.5+6113_weekly_bin548.fits', '/scratch/kocevski/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.fits', expMap='/scratch/kocevski/632405/expmap_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.fits', expCube='/scratch/kocevski/632405/ltcube_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/632405/Model_4FGL_J0240.5+6113_weekly_bin548.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0240.5+6113' 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 4.756e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/632405/ft1_filtered_4FGL_J0240.5+6113_weekly_bin548.fits Spacecraft file(s): /scratch/kocevski/632405/ft2_4FGL_J0240.5+6113_weekly_bin548.fits Exposure map: /scratch/kocevski/632405/expmap_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.fits Exposure cube: /scratch/kocevski/632405/ltcube_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/632405/Model_4FGL_J0240.5+6113_weekly_bin548.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) = 127512.938321 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 127512.883704 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .14494E-01 1.0000 .10000E-03 10000. 2 'Prefactor ' 10.240 1.0000 .10000E-03 10000. 3 'norm ' .10135E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.9157 1.0000 .10000E-03 10000. 5 'Prefactor ' 5.6509 1.0000 .10000E-03 10000. 6 'Prefactor ' .10604E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 1.9386 1.0000 .10000E-03 10000. 8 'norm ' 2.1380 1.0000 .10000E-03 10000. 9 'Prefactor ' .10303E-03 1.0000 .10000E-03 10000. 10 'norm ' 3.3819 1.0000 .10000E-03 10000. 11 'norm ' .10002E-03 1.0000 .10000E-03 10000. 12 'norm ' .10201E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.2915 1.0000 .10000E-03 10000. 14 'norm ' 1.3552 1.0000 .10000E-03 10000. 15 'Prefactor ' 5.1417 1.0000 .10000E-03 10000. 16 'Prefactor ' 1.4025 1.0000 .10000E-03 10000. 17 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 13.109 1.0000 .10000E-03 10000. 19 'Prefactor ' .12671E-03 1.0000 .10000E-03 10000. 20 'Normalizat' 1.8384 1.0000 .10000E-01 10.000 21 'Prefactor ' .94200 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 127512.9 FROM MIGRAD STATUS=CONVERGED 502 CALLS 2328 TOTAL EDM= .84E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .16847E-03 .67061 .12472E-06** at limit ** 2 Prefactor 10.246 7.3477 -.41333E-06 -.46755E-04 3 norm .10000E-03 .33742 .36479E-07** at limit ** 4 Prefactor 1.9148 1.5480 .94729E-07 .99469E-05 5 Prefactor 5.6445 7.6949 -.23290E-05 -.66031E-05 6 Prefactor .10000E-03 4.9329 .16294E-07** at limit ** 7 Prefactor 1.9385 .45432 .30006E-07 -.85253E-04 8 norm 2.1328 2.5045 .12712E-07 -.24591E-05 9 Prefactor .10000E-03 14.830 .14156E-06** at limit ** 10 norm 3.3819 .29550 .15552E-07 -.44426E-03 11 norm .10000E-03 1.5717 .10924E-06** at limit ** 12 norm .10000E-03 .64358 .73657E-07** at limit ** 13 Prefactor 1.2909 1.1462 .24558E-07 -.24541E-04 14 norm 1.3555 1.0804 .36740E-07 -.19900E-02 15 Prefactor 5.0265 16.902 -.13149E-05 -.49493E-04 16 Prefactor 1.4033 1.4001 -.45490E-07 -.16382E-02 17 Prefactor .10000E-03 .26493 .92567E-07** at limit ** 18 Prefactor 13.095 17.041 .19440E-04 -.49537E-05 19 Prefactor .10000E-03 24.481 -.23004E-06** at limit ** 20 Normalizat 1.8387 .16607 .24561E-06 -.24121E-03 21 Prefactor .94200 .15836E-01 -.24580E-06 -.91638E-04 ERR DEF= .500 Final values: norm = 0.000168466 Prefactor = 10.2456 norm = 0.0001 Prefactor = 1.91484 Prefactor = 5.64452 Prefactor = 0.0001 Prefactor = 1.93853 norm = 2.13283 Prefactor = 0.0001 norm = 3.38188 norm = 0.0001 norm = 0.0001 Prefactor = 1.29091 norm = 1.35552 Prefactor = 5.02651 Prefactor = 1.40332 Prefactor = 0.0001 Prefactor = 13.0955 Prefactor = 0.000100001 Normalizat = 1.8387 Prefactor = 0.942004 ********** ** 18 **HESSE ********** FCN= 127512.9 FROM HESSE STATUS=OK 347 CALLS 2675 TOTAL EDM= .11E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .16847E-03 .87091 .88269E-01 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 10.246 7.3535 .12522E-03 -1.5068 3 norm .10000E-03 1.2369 .40408E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 1.9148 1.5460 .30029E-03 -1.5431 5 Prefactor 5.6445 7.7117 .16899E-03 -1.5233 6 Prefactor .10000E-03 4.9368 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.9385 .45192 .11182E-03 -1.5429 8 norm 2.1328 2.4994 .28190E-03 -1.5416 9 Prefactor .10000E-03 14.840 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 3.3819 .29509 .54713E-04 -1.5340 11 norm .10000E-03 1.5791 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .10000E-03 .69050 .12208 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.2909 1.1471 .38959E-04 -1.5481 14 norm 1.3555 1.6471 .18776E-02 -1.5475 15 Prefactor 5.0265 16.212 .17730E-03 -1.5260 16 Prefactor 1.4033 1.8323 .18314E-02 -1.5471 17 Prefactor .10000E-03 .89244 .33874E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 13.095 17.042 .11063E-03 -1.4984 19 Prefactor .10000E-03 24.850 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat 1.8387 .17275 .92386E-03 -.68658 21 Prefactor .94200 .16772E-01 .12101E-03 -.94688 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.08921e-09 Minuit parameter uncertainties: 1 0.015444 2 7.35414 3 7.20308e-06 4 1.54605 5 7.71305 6 1.72563e-06 7 0.451917 8 2.49949 9 3.97012e-06 10 0.295088 11 1.08949e-06 12 5.63514e-06 13 1.14715 14 1.64719 15 16.2263 16 1.83239 17 1.18822e-05 18 17.0485 19 0.000234249 20 0.172811 21 0.016772 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 127512.883663 Extracting fit parameters... 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 3.382e+00 2.951e-01 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 618 Prefactor: 9.420e-01 1.677e-02 0.000e+00 1.000e+01 ( 1.000e+00) 619 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 620 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 613 Normalization: 1.839e+00 1.728e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 274.02 Ra Dec: 40.143 61.229 Photon Index (Fixed Index): 2.40 +/- 0.00 Photon Flux (Fixed Index): 5.55e-07 +/- 4.84e-08 Energy Flux (Fixed Index): 2.09e-04 +/- 1.82e-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) = 127512.224437 delta logL = 0.659226209405 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 127512.200973 delta logL = 0.682690071902 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 3.0622 1.0000 .10000E-03 10000. 2 'alpha ' 2.5035 1.0000 .0000 5.0000 3 'Normalizat' 1.8111 1.0000 .10000E-01 10.000 4 'Prefactor ' .94274 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6290E+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= 127512.2 FROM MIGRAD STATUS=FAILED 96 CALLS 264 TOTAL EDM= .57E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.0622 .40847 .51022E-04 -.11515E-02 2 alpha 2.5034 .95189E-01 .74508E-02 .62948E-02 3 Normalizat 1.8111 .16500 .92872E-03 .39133E-03 4 Prefactor .94274 .16382E-01 .12094E-03 .13236E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 127512.2 FROM SIMPLEX STATUS=UNCHANGED 71 CALLS 335 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.0622 .40847 .72613E-05 -1.5358 2 alpha 2.5034 .95189E-01 .17774E-03 .13730E-02 3 Normalizat 1.8111 .16500 .18677E-03 -.69373 4 Prefactor .94274 .16382E-01 .26434E-04 -.94663 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 127512.2 FROM MIGRAD STATUS=CONVERGED 28 CALLS 363 TOTAL EDM= .46E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.0622 .39013 .20409E-05 -.10695E-03 2 alpha 2.5034 .90868E-01 .14902E-02 .13305E-04 3 Normalizat 1.8111 .16484 .37149E-04 .0000 4 Prefactor .94274 .16380E-01 .48376E-05 -.75203E-05 ERR DEF= .500 Final values: norm = 3.06218 alpha = 2.50343 Normalizat = 1.81114 Prefactor = 0.942741 ********** ** 18 **HESSE ********** FCN= 127512.2 FROM HESSE STATUS=OK 23 CALLS 386 TOTAL EDM= .11E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.0622 .38649 .40818E-06 -1.5358 2 alpha 2.5034 .90000E-01 .59607E-04 .13731E-02 3 Normalizat 1.8111 .16481 .37149E-04 -.69373 4 Prefactor .94274 .16381E-01 .96751E-06 -.94663 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.07551e-13 Minuit parameter uncertainties: 1 0.386492 2 0.0900198 3 0.164856 4 0.0163811 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/632405': 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) = 127512.200973 delta logL = 0.682690227419 Extracting fit parameters... 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 3.062e+00 3.865e-01 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.503e+00 9.002e-02 0.000e+00 5.000e+00 ( 1.000e+00) 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 618 Prefactor: 9.427e-01 1.638e-02 0.000e+00 1.000e+01 ( 1.000e+00) 619 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 620 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 613 Normalization: 1.811e+00 1.649e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 275.11 Ra Dec: 40.143 61.229 Photon Index (Free Index): 2.50 +/- 0.09 Photon Flux (Free Index): 5.95e-07 +/- 6.05e-08 Energy Flux (Free Index): 2.02e-04 +/- 1.83e-05 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/632405/cmap_HighResolution_570412801_571017601_4FGL_J0240.5+6113_weekly_bin548.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/632405 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.55e-07', energy_flux2='2.02e-04', photon_flux_error='4.84e-08', dlogl='6.83e-01', energy_flux='2.09e-04', photon_flux2='5.95e-07', job_status='DONE', time_completed='2021-07-05 01:30:25.760009', photon_index_error2='0.09', photon_index2='2.50', ts='274.02', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.83e-05', EG='1.84', time_epoch_completed='1625473825.76', return_code='0', job_id='632405', GAL2='0.94', EG2='1.81', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='6.05e-08', ts2='275.11', photon_index='2.40' WHERE bin_id='548' AND source_name='4FGL J0240.5+6113' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 5 01:30:25 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 632405: <4FGL_J0240.5+6113_weekly_bin548> in cluster Done Job <4FGL_J0240.5+6113_weekly_bin548> was submitted from host by user in cluster at Sun Jul 4 23:16:48 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Jul 4 23:16:49 2021 was used as the home directory. was used as the working directory. Started at Sun Jul 4 23:16:49 2021 Terminated at Mon Jul 5 01:30:28 2021 Results reported at Mon Jul 5 01:30:28 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0240.5+6113_weekly_bin548 40.1426 61.2287 570412801 571017601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0240.5+6113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 7941.00 sec. Max Memory : 1096 MB Average Memory : 525.76 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 8018 sec. Turnaround time : 8020 sec. The output (if any) is above this job summary.