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 77 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 = 17009 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_weekly_bin641 RA = 75.6341, Dec = 13.6685 tmin = 626659201, tmax = 627264001 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='803596', job_status='RUN', time_executed='2021-07-07 21:23:07.355079', time_epoch_executed='1625718187.36' WHERE source_name='4FGL J0502.5+1340' and cadence='weekly' and bin_id='641' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/803596 Creating custom pfile directory: /scratch/kocevski/803596/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=626659201.0 && nMetStart<627264001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=626659201.0 && nMetStart<627264001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/803596/ft1_4FGL_J0502.5+1340_weekly_bin641.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=626659201.0 && nMetStart<627264001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/803596/ft1_4FGL_J0502.5+1340_weekly_bin641.fits outfile=/scratch/kocevski/803596/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin641.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=626659201.0 tmax=627264001.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 6.19 user 5.89 sys 0.25 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.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/803596/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin641.fits evtable="EVENTS" outfile="/scratch/kocevski/803596/ft1_filtered_4FGL_J0502.5+1340_weekly_bin641.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.55 user 0.36 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/803596/ft1_filtered_4FGL_J0502.5+1340_weekly_bin641.fits" evtable="EVENTS" scfile=/scratch/kocevski/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.fits sctable="SC_DATA" outfile=/scratch/kocevski/803596/ltcube_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.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/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.fits .....................! real 29.07 user 28.57 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/803596/ft1_filtered_4FGL_J0502.5+1340_weekly_bin641.fits evtable="EVENTS" scfile=/scratch/kocevski/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.fits sctable="SC_DATA" expcube=/scratch/kocevski/803596/ltcube_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.fits outfile=/scratch/kocevski/803596/expmap_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.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/803596/ltcube_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.fits .....................! real 191.90 user 185.41 sys 5.05 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 S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Added 161 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 J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/803596/ft1_filtered_4FGL_J0502.5+1340_weekly_bin641.fits scfile=/scratch/kocevski/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.fits outfile=/scratch/kocevski/803596/cmap_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.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=75.6341 yref=13.6685 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.60 user 0.40 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/803596/ft1_filtered_4FGL_J0502.5+1340_weekly_bin641.fits scfile=/scratch/kocevski/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.fits outfile=/scratch/kocevski/803596/cmap_HighResolution_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.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=75.6341 yref=13.6685 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.59 user 0.42 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/803596/ft1_filtered_4FGL_J0502.5+1340_weekly_bin641.fits evtable="EVENTS" scfile=/scratch/kocevski/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/803596/Model_4FGL_J0502.5+1340_weekly_bin641.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 IC 443 adding source S 147 Working on... /scratch/kocevski/803596/ft1_filtered_4FGL_J0502.5+1340_weekly_bin641.fits.....................! real 164.06 user 161.03 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/803596/ft1_filtered_4FGL_J0502.5+1340_weekly_bin641.fits', '/scratch/kocevski/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.fits', expMap='/scratch/kocevski/803596/expmap_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.fits', expCube='/scratch/kocevski/803596/ltcube_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/803596/Model_4FGL_J0502.5+1340_weekly_bin641.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/803596/ft1_filtered_4FGL_J0502.5+1340_weekly_bin641.fits Spacecraft file(s): /scratch/kocevski/803596/ft2_4FGL_J0502.5+1340_weekly_bin641.fits Exposure map: /scratch/kocevski/803596/expmap_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.fits Exposure cube: /scratch/kocevski/803596/ltcube_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/803596/Model_4FGL_J0502.5+1340_weekly_bin641.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) = 6939.33088444 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6939.282334 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .54864E-02 1.0000 .10000E-03 10000. 2 'Prefactor ' .22514E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 27.462 1.0000 .10000E-03 10000. 4 'norm ' 4.9067 1.0000 .10000E-03 10000. 5 'Prefactor ' 116.78 1.0000 .10000E-03 10000. 6 'Prefactor ' .10976E-03 1.0000 .10000E-03 10000. 7 'norm ' 6.4400 1.0000 .10000E-03 10000. 8 'Prefactor ' 57.028 1.0000 .10000E-03 10000. 9 'Prefactor ' .12082E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 41.028 1.0000 .10000E-03 10000. 11 'norm ' .48152E-03 1.0000 .10000E-03 10000. 12 'norm ' 10.054 1.0000 .10000E-03 10000. 13 'Prefactor ' .33788 1.0000 .10000E-03 10000. 14 'norm ' .10006E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 66.288 1.0000 .10000E-03 10000. 17 'norm ' 5.6080 1.0000 .10000E-03 10000. 18 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 19 'norm ' 8.0230 1.0000 .10000E-03 10000. 20 'norm ' 2.2882 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.1386 1.0000 .10000E-03 10000. 22 'norm ' .10549E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 1.4389 1.0000 .10000E-03 10000. 24 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' 17.257 1.0000 .10000E-03 10000. 26 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' 7.5130 1.0000 .10000E-03 10000. 28 'Normalizat' .62645 1.0000 .10000E-01 10.000 29 'Prefactor ' .95153 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6939.282 FROM MIGRAD STATUS=CONVERGED 747 CALLS 3844 TOTAL EDM= .37E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 872.74 .39269E-05** at limit ** 2 Prefactor .10000E-03 287.43 -.10531E-05** at limit ** 3 Prefactor 27.442 63.569 -.27471E-06 -.65696E-05 4 norm 4.8949 11.864 -.43381E-06 .16561E-05 5 Prefactor 116.54 208.18 .69150E-06 -.11845E-04 6 Prefactor .10000E-03 28.266 -.32547E-06** at limit ** 7 norm 6.4360 9.1766 -.26536E-06 .32817E-04 8 Prefactor 57.057 73.816 -.63356E-06 .58237E-04 9 Prefactor .10000E-03 76.338 .22143E-06** at limit ** 10 Prefactor 41.017 27.859 -.40203E-06 .23055E-04 11 norm .10048E-03 .74710 -.38629E-06** at limit ** 12 norm 10.064 8.4398 .52610E-07 .31394E-03 13 Prefactor .33272 6.2102 -.10668E-05 .33955E-03 14 norm .10000E-03 3.6845 -.16353E-07** at limit ** 15 Prefactor .10000E-03 4.4717 -.78003E-07** at limit ** 16 Prefactor 66.259 102.63 -.72663E-06 -.10062E-04 17 norm 5.6074 4.3419 -.16102E-08 -.37523E-04 18 Prefactor .10000E-03 24.125 .21563E-07** at limit ** 19 norm 8.0208 9.4820 -.63028E-06 -.44323E-04 20 norm 2.2875 2.0919 -.11421E-06 .31852E-04 21 Prefactor 1.1386 .18671 .19906E-08 -.19174E-02 22 norm .10000E-03 2.1146 .28799E-07** at limit ** 23 Prefactor 1.4384 1.5044 -.12769E-06 -.14755E-03 24 Prefactor .10000E-03 10.054 -.15903E-07** at limit ** 25 Prefactor 17.251 23.585 -.56107E-06 -.90847E-05 26 Prefactor .10000E-03 10.529 .88182E-08** at limit ** 27 Prefactor 7.5107 6.9451 .13216E-05 .36532E-03 28 Normalizat .62706 .62302 .75083E-05 .70279E-04 29 Prefactor .95150 .10465 -.85431E-06 .20733E-03 ERR DEF= .500 Final values: Prefactor = 0.000100005 Prefactor = 0.0001 Prefactor = 27.4417 norm = 4.89492 Prefactor = 116.541 Prefactor = 0.0001 norm = 6.43599 Prefactor = 57.0571 Prefactor = 0.0001 Prefactor = 41.0173 norm = 0.000100476 norm = 10.0637 Prefactor = 0.332723 norm = 0.0001 Prefactor = 0.0001 Prefactor = 66.2594 norm = 5.60743 Prefactor = 0.0001 norm = 8.02076 norm = 2.2875 Prefactor = 1.13862 norm = 0.0001 Prefactor = 1.43835 Prefactor = 0.0001 Prefactor = 17.2515 Prefactor = 0.0001 Prefactor = 7.51071 Normalizat = 0.627061 Prefactor = 0.951498 ********** ** 18 **HESSE ********** FCN= 6939.282 FROM HESSE STATUS=OK 565 CALLS 4409 TOTAL EDM= .26E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 865.81 .19072E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 287.25 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 27.442 63.683 .76448E-04 -1.4660 4 norm 4.8949 11.852 .18158E-03 -1.5265 5 Prefactor 116.54 207.41 .18617E-03 -1.3545 6 Prefactor .10000E-03 28.350 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 6.4360 9.1539 .15815E-03 -1.5201 8 Prefactor 57.057 73.182 .53122E-04 -1.4196 9 Prefactor .10000E-03 76.390 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 41.017 27.844 .62582E-04 -1.4426 11 norm .10048E-03 1.7974 .22279E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 10.064 8.6360 .12637E-03 -1.5073 13 Prefactor .33272 25.341 .36502E-02 -1.5593 14 norm .10000E-03 3.6969 .15615E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 4.4872 .17195E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 66.259 103.11 .49294E-04 -1.4078 17 norm 5.6074 4.3504 .14652E-03 -1.5234 18 Prefactor .10000E-03 24.169 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 8.0208 9.5581 .14155E-03 -1.5141 20 norm 2.2875 2.1006 .10589E-03 -1.5405 21 Prefactor 1.1386 .16489 .99265E-05 -1.5495 22 norm .10000E-03 7.5883 .20592E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 1.4384 1.4668 .77959E-04 -1.5468 24 Prefactor .10000E-03 10.058 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 17.251 23.606 .96414E-04 -1.4877 26 Prefactor .10000E-03 10.536 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 7.5107 7.0211 .73157E-03 -1.5160 28 Normalizat .62706 .63782 .10928E-02 -1.0685 29 Prefactor .95150 .10737 .15871E-03 -.94364 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.64375e-09 Minuit parameter uncertainties: 1 0.00406808 2 0.000205287 3 63.8415 4 11.8573 5 208.727 6 5.68784e-06 7 9.15588 8 73.2971 9 0.000103407 10 27.853 11 0.00184953 12 8.63705 13 5.80913 14 7.84401e-07 15 9.8263e-08 16 103.389 17 4.35068 18 1.22255e-05 19 9.55988 20 2.10072 21 0.164889 22 8.42698e-06 23 1.46679 24 3.21973e-07 25 23.6185 26 5.6585e-06 27 7.0219 28 0.645547 29 0.107393 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6939.28232024 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 4.102e+01 2.785e+01 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.515e-01 1.074e-01 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 6.271e-01 6.455e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.28 Ra Dec: 75.634 13.668 Photon Index (Fixed Index): 2.23 +/- 0.00 Photon Flux (Fixed Index): 2.33e-07 +/- 1.58e-07 Energy Flux (Fixed Index): 9.90e-05 +/- 6.72e-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) = 6938.63108482 delta logL = 0.651235412075 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6938.51045848 delta logL = 0.77186175517 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 59.614 1.0000 .10000E-03 10000. 2 'Index ' 1.5860 1.0000 .0000 10.000 3 'Normalizat' .74367 1.0000 .10000E-01 10.000 4 'Prefactor ' .94119 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+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. FCN= 6938.510 FROM MIGRAD STATUS=CONVERGED 95 CALLS 287 TOTAL EDM= .16E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 59.577 40.852 .25982E-03 -.84012E-05 2 Index 1.5857 .44998 .79445E-02 -.10225E-03 3 Normalizat .74417 .55875 .10120E-02 -.25837E-06 4 Prefactor .94125 .99842E-01 .15943E-03 -.22105E-05 ERR DEF= .500 Final values: Prefactor = 59.5771 Index = 1.58566 Normalizat = 0.744173 Prefactor = 0.941246 ********** ** 18 **HESSE ********** FCN= 6938.510 FROM HESSE STATUS=OK 25 CALLS 312 TOTAL EDM= .27E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 59.577 41.020 .10393E-04 -1.4163 2 Index 1.5857 .45171 .15889E-02 -.75168 3 Normalizat .74417 .55840 .40481E-04 -1.0217 4 Prefactor .94125 .99796E-01 .63773E-05 -.94714 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.65122e-13 Minuit parameter uncertainties: 1 41.0393 2 0.452866 3 0.562765 4 0.0998158 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/803596': 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) = 6938.5104555 delta logL = 0.77186473281 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 5.958e+01 4.104e+01 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 1.586e+00 4.529e-01 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.412e-01 9.982e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 7.442e-01 5.628e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.73 Ra Dec: 75.634 13.668 Photon Index (Free Index): 1.59 +/- 0.45 Photon Flux (Free Index): 1.05e-07 +/- 1.05e-07 Energy Flux (Free Index): 2.49e-04 +/- 2.55e-04 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/803596/cmap_HighResolution_626659201_627264001_4FGL_J0502.5+1340_weekly_bin641.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/803596 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.33e-07', energy_flux2='2.49e-04', photon_flux_error='1.58e-07', dlogl='7.72e-01', energy_flux='9.90e-05', photon_flux2='1.05e-07', job_status='DONE', time_completed='2021-07-07 21:38:19.653768', photon_index_error2='0.45', photon_index2='1.59', ts='4.28', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.55e-04', EG='0.63', time_epoch_completed='1625719099.65', return_code='0', job_id='803596', GAL2='0.94', EG2='0.74', return_code2='0', energy_flux_error='6.72e-05', photon_flux_error2='1.05e-07', ts2='5.73', photon_index='2.23' WHERE bin_id='641' AND source_name='4FGL J0502.5+1340' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Jul 7 21:38:19 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 803596: <4FGL_J0502.5+1340_weekly_bin641> in cluster Done Job <4FGL_J0502.5+1340_weekly_bin641> was submitted from host by user in cluster at Wed Jul 7 21:20:17 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Jul 7 21:21:42 2021 was used as the home directory. was used as the working directory. Started at Wed Jul 7 21:21:42 2021 Terminated at Wed Jul 7 21:38:20 2021 Results reported at Wed Jul 7 21:38:20 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_weekly_bin641 75.6341 13.6685 626659201 627264001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 885.00 sec. Max Memory : 1096 MB Average Memory : 317.71 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 997 sec. Turnaround time : 1083 sec. The output (if any) is above this job summary.