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 6 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 = 17111 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0502.5+1340_weekly_bin98 RA = 75.6341, Dec = 13.6685 tmin = 298252801, tmax = 298857601 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='799378', job_status='RUN', time_executed='2021-07-07 21:07:33.049565', time_epoch_executed='1625717253.05' WHERE source_name='4FGL J0502.5+1340' and cadence='weekly' and bin_id='98' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/799378 Creating custom pfile directory: /scratch/kocevski/799378/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=298252801.0 && nMetStart<298857601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=298252801.0 && nMetStart<298857601.0' /Data/Flight/Level1/LPA Retrieving 105 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/799378/ft1_4FGL_J0502.5+1340_weekly_bin98.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=298252801.0 && nMetStart<298857601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/799378/ft1_4FGL_J0502.5+1340_weekly_bin98.fits outfile=/scratch/kocevski/799378/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin98.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=298252801.0 tmax=298857601.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.25 user 6.92 sys 0.29 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.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/799378/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin98.fits evtable="EVENTS" outfile="/scratch/kocevski/799378/ft1_filtered_4FGL_J0502.5+1340_weekly_bin98.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.58 user 0.39 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/799378/ft1_filtered_4FGL_J0502.5+1340_weekly_bin98.fits" evtable="EVENTS" scfile=/scratch/kocevski/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.fits sctable="SC_DATA" outfile=/scratch/kocevski/799378/ltcube_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.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/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.fits .....................! real 29.10 user 28.72 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/799378/ft1_filtered_4FGL_J0502.5+1340_weekly_bin98.fits evtable="EVENTS" scfile=/scratch/kocevski/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.fits sctable="SC_DATA" expcube=/scratch/kocevski/799378/ltcube_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.fits outfile=/scratch/kocevski/799378/expmap_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.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/799378/ltcube_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.fits .....................! real 190.72 user 185.96 sys 4.33 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source 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/799378/ft1_filtered_4FGL_J0502.5+1340_weekly_bin98.fits scfile=/scratch/kocevski/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.fits outfile=/scratch/kocevski/799378/cmap_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.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.59 user 0.42 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/799378/ft1_filtered_4FGL_J0502.5+1340_weekly_bin98.fits scfile=/scratch/kocevski/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.fits outfile=/scratch/kocevski/799378/cmap_HighResolution_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.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.60 user 0.43 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/799378/ft1_filtered_4FGL_J0502.5+1340_weekly_bin98.fits evtable="EVENTS" scfile=/scratch/kocevski/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/799378/Model_4FGL_J0502.5+1340_weekly_bin98.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/799378/ft1_filtered_4FGL_J0502.5+1340_weekly_bin98.fits....................! real 971.33 user 966.80 sys 1.69 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/799378/ft1_filtered_4FGL_J0502.5+1340_weekly_bin98.fits', '/scratch/kocevski/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.fits', expMap='/scratch/kocevski/799378/expmap_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.fits', expCube='/scratch/kocevski/799378/ltcube_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/799378/Model_4FGL_J0502.5+1340_weekly_bin98.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/799378/ft1_filtered_4FGL_J0502.5+1340_weekly_bin98.fits Spacecraft file(s): /scratch/kocevski/799378/ft2_4FGL_J0502.5+1340_weekly_bin98.fits Exposure map: /scratch/kocevski/799378/expmap_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.fits Exposure cube: /scratch/kocevski/799378/ltcube_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/799378/Model_4FGL_J0502.5+1340_weekly_bin98.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) = 44557.4806155 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 44557.357106 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10022E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.7529 1.0000 .10000E-03 10000. 4 'norm ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 11.698 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' 4.4063 1.0000 .10000E-03 10000. 8 'Prefactor ' .10452E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 17.010 1.0000 .10000E-03 10000. 10 'Prefactor ' 2.3518 1.0000 .10000E-03 10000. 11 'norm ' 1.0784 1.0000 .10000E-03 10000. 12 'norm ' 3.3395 1.0000 .10000E-03 10000. 13 'Prefactor ' 3.6559 1.0000 .10000E-03 10000. 14 'norm ' 1.8167 1.0000 .10000E-03 10000. 15 'Prefactor ' .10244E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 8.0531 1.0000 .10000E-03 10000. 17 'norm ' 5.0501 1.0000 .10000E-03 10000. 18 'Prefactor ' 9.9682 1.0000 .10000E-03 10000. 19 'norm ' .26601 1.0000 .10000E-03 10000. 20 'norm ' 1.5665 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.3925 1.0000 .10000E-03 10000. 22 'norm ' 4.6308 1.0000 .10000E-03 10000. 23 'Prefactor ' 2.4665 1.0000 .10000E-03 10000. 24 'Prefactor ' 29.717 1.0000 .10000E-03 10000. 25 'Prefactor ' 7.5859 1.0000 .10000E-03 10000. 26 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 28 'Normalizat' .84297 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0497 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= 44557.36 FROM MIGRAD STATUS=CONVERGED 730 CALLS 3861 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10001E-03 26.396 .20490E-05** at limit ** 2 Prefactor .10000E-03 6.6628 -.23446E-07** at limit ** 3 Prefactor 1.7543 6.0173 .75092E-05 -.46749E-03 4 norm .10000E-03 .38510 .18305E-06** at limit ** 5 Prefactor 11.704 27.776 .24434E-05 .27914E-03 6 Prefactor .10000E-03 1.1671 .12516E-06** at limit ** 7 norm 4.4068 1.5679 -.29996E-07 -.46428E-03 8 Prefactor .10000E-03 19.926 .52557E-06** at limit ** 9 Prefactor 17.017 25.048 .57144E-06 .68291E-04 10 Prefactor 2.3526 5.1539 .47558E-05 -.38471E-03 11 norm 1.0784 .49006 -.38786E-07 -.52780E-03 12 norm 3.3392 2.0997 .73272E-06 -.43174E-03 13 Prefactor 3.6561 2.2454 -.20919E-07 -.37731E-03 14 norm 1.8169 1.7698 .63157E-08 -.82096E-04 15 Prefactor .10000E-03 .64539 -.16595E-06** at limit ** 16 Prefactor 8.0507 27.239 -.14756E-06 -.36121E-04 17 norm 5.0504 1.7891 -.77601E-08 -.18425E-03 18 Prefactor 9.9690 13.641 .33484E-06 -.45080E-04 19 norm .28504 1.2291 -.67069E-06 .75288E-04 20 norm 1.5666 .83242 -.11555E-07 -.24543E-02 21 Prefactor 1.3925 .10434 -.66974E-08 -.19917E-02 22 norm 4.6310 2.0680 .47633E-07 -.93278E-04 23 Prefactor 2.4666 .82756 .58260E-07 -.68779E-03 24 Prefactor 29.733 22.715 -.13748E-05 -.48395E-03 25 Prefactor 7.5593 25.741 .31927E-05 -.11256E-03 26 Prefactor .10000E-03 15.609 .26894E-06** at limit ** 27 Prefactor .10000E-03 1.1189 -.35279E-06** at limit ** 28 Normalizat .84298 .21561 -.41210E-05 -.84030E-04 29 Prefactor 1.0496 .38185E-01 .31481E-06 .21814E-02 ERR DEF= .500 Final values: Prefactor = 0.000100009 Prefactor = 0.0001 Prefactor = 1.75429 norm = 0.0001 Prefactor = 11.7043 Prefactor = 0.0001 norm = 4.40677 Prefactor = 0.0001 Prefactor = 17.0168 Prefactor = 2.35256 norm = 1.07839 norm = 3.33924 Prefactor = 3.65614 norm = 1.81692 Prefactor = 0.0001 Prefactor = 8.05075 norm = 5.05041 Prefactor = 9.96903 norm = 0.285045 norm = 1.56659 Prefactor = 1.39249 norm = 4.63098 Prefactor = 2.46665 Prefactor = 29.7328 Prefactor = 7.55927 Prefactor = 0.0001 Prefactor = 0.0001 Normalizat = 0.842983 Prefactor = 1.04962 ********** ** 18 **HESSE ********** FCN= 44557.36 FROM HESSE STATUS=OK 565 CALLS 4426 TOTAL EDM= .36E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10001E-03 26.970 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 6.6672 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.7543 6.0421 .15831E-02 -1.5443 4 norm .10000E-03 .98641 .25331E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 11.704 27.846 .11713E-03 -1.5024 6 Prefactor .10000E-03 1.1763 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 4.4068 1.5574 .14744E-03 -1.5288 8 Prefactor .10000E-03 20.073 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 17.017 24.903 .97110E-04 -1.4883 10 Prefactor 2.3526 5.1598 .13364E-02 -1.5401 11 norm 1.0784 .47511 .79821E-04 -1.5500 12 norm 3.3392 2.0960 .11074E-02 -1.5342 13 Prefactor 3.6561 2.2314 .21127E-03 -1.5326 14 norm 1.8169 1.7680 .26902E-03 -1.5438 15 Prefactor .10000E-03 3.0395 .32484E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 8.0507 27.086 .14129E-03 -1.5140 17 norm 5.0504 1.7894 .16138E-03 -1.5258 18 Prefactor 9.9690 13.645 .63458E-03 -1.5076 19 norm .28504 19.082 .43338E-02 -1.5601 20 norm 1.5666 .81895 .12843E-03 -1.5458 21 Prefactor 1.3925 .11142 .12869E-04 -1.5472 22 norm 4.6310 2.1583 .17366E-03 -1.5278 23 Prefactor 2.4666 .85023 .83345E-04 -1.5394 24 Prefactor 29.733 22.675 .73496E-04 -1.4617 25 Prefactor 7.5593 25.748 .14560E-03 -1.5158 26 Prefactor .10000E-03 15.783 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .10000E-03 1.1350 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat .84298 .21175 .82506E-03 -.98494 29 Prefactor 1.0496 .40031E-01 .14965E-03 -.91093 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.58952e-09 Minuit parameter uncertainties: 1 0.000958367 2 5.19616e-06 3 6.04416 4 1.04478e-05 5 27.8771 6 1.06165e-05 7 1.55744 8 8.07674e-05 9 24.9178 10 5.16078 11 0.475116 12 2.09603 13 2.23149 14 1.76808 15 1.77217e-06 16 27.1277 17 1.78938 18 13.6494 19 4.66518 20 0.818953 21 0.111417 22 2.15832 23 0.850239 24 22.6813 25 25.7854 26 0.000106059 27 2.84666e-05 28 0.211954 29 0.0400317 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 44557.3570966 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 2.353e+00 5.161e+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 GAL_V02 Spectrum: PowerLaw 541 Prefactor: 1.050e+00 4.003e-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: 8.430e-01 2.120e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.24 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 7.91e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.04e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/799378/likelihoodResults_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.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) = 44556.9468032 delta logL = 0.410293400324 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 44556.7834509 delta logL = 0.573645733806 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10414E-02 1.0000 .10000E-03 10000. 2 'Index ' 5.8628 1.0000 .0000 10.000 3 'Normalizat' .78212 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0574 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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 44556.78 FROM MIGRAD STATUS=FAILED 105 CALLS 434 TOTAL EDM= .55E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10120E-02 .41440E-01 .58912E-04** at limit ** 2 Index 5.8741 3.7989 .81745E-02 .37405E-02 3 Normalizat .78172 .11885 .85384E-03 -.70835E-04 4 Prefactor 1.0575 .23692E-01 .14914E-03 -.11343E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 44556.78 FROM SIMPLEX STATUS=UNCHANGED 89 CALLS 523 TOTAL EDM= .68E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10120E-02 .41440E-01 .51638E-05** at limit ** 2 Index 5.8741 3.7989 .12249E-02 .37405E-02 3 Normalizat .78172 .11885 .16756E-03 -.70835E-04 4 Prefactor 1.0575 .23692E-01 .11322E-04 -.11343E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 44556.78 FROM MIGRAD STATUS=CONVERGED 40 CALLS 563 TOTAL EDM= .10E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10119E-02 .45339E-01 .11782E-04** at limit ** 2 Index 5.8742 3.9262 .16349E-02 -.13407E-04 3 Normalizat .78172 .16817 .34154E-04 -.56455E-04 4 Prefactor 1.0575 .33117E-01 .59654E-05 -.57935E-04 ERR DEF= .500 Final values: Prefactor = 0.00101187 Index = 5.87415 Normalizat = 0.781716 Prefactor = 1.05745 ********** ** 18 **HESSE ********** FCN= 44556.78 FROM HESSE STATUS=OK 27 CALLS 590 TOTAL EDM= .52E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10119E-02 .96269E-01 .47130E-06 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 5.8742 7.7378 .65396E-04 .17573 3 Normalizat .78172 .19460 .68307E-05 -1.0075 4 Prefactor 1.0575 .38013E-01 .11931E-05 -.90838 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.21104e-11 Minuit parameter uncertainties: 1 0.0187388 2 6.61922 3 0.194772 4 0.0380143 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/799378': 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) = 44556.7834402 delta logL = 0.573656483597 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.012e-03 1.874e-02 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 5.874e+00 6.619e+00 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: 1.057e+00 3.801e-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.817e-01 1.948e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.51 Ra Dec: 75.634 13.668 Photon Index (Free Index): 5.87 +/- 6.62 Photon Flux (Free Index): 6.47e-08 +/- 6.51e-08 Energy Flux (Free Index): 8.11e-06 +/- 9.71e-06 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/799378/cmap_HighResolution_298252801_298857601_4FGL_J0502.5+1340_weekly_bin98.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/799378 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.04e-03', comment='SUCCESS', energy_flux2='8.11e-06', dlogl='5.74e-01', photon_flux2='6.47e-08', job_status='DONE', time_completed='2021-07-07 22:50:20.388580', photon_index_error2='6.62', photon_index2='5.87', ts='0.24', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='7.91e-08', energy_flux_error2='9.71e-06', EG='0.84', time_epoch_completed='1625723420.39', return_code='0', job_id='799378', GAL2='1.06', EG2='0.78', return_code2='0', photon_flux_error2='6.51e-08', ts2='1.51', photon_index='2.23' WHERE bin_id='98' AND source_name='4FGL J0502.5+1340' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Jul 7 22:50:20 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 799378: <4FGL_J0502.5+1340_weekly_bin98> in cluster Done Job <4FGL_J0502.5+1340_weekly_bin98> was submitted from host by user in cluster at Wed Jul 7 21:05:41 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Jul 7 21:07:17 2021 was used as the home directory. was used as the working directory. Started at Wed Jul 7 21:07:17 2021 Terminated at Wed Jul 7 22:50:21 2021 Results reported at Wed Jul 7 22:50:21 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_weekly_bin98 75.6341 13.6685 298252801 298857601 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 : 4761.00 sec. Max Memory : 624 MB Average Memory : 337.88 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 6183 sec. Turnaround time : 6280 sec. The output (if any) is above this job summary.