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 Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Waiting 11 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_gnumber of points = 17082 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0202.7+4204_weekly_bin173 RA = 30.6862, Dec = 42.0714 tmin = 343612801, tmax = 344217601 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='326414', job_status='RUN', time_executed='2021-07-04 06:17:33.516693', time_epoch_executed='1625404653.52' WHERE source_name='4FGL J0202.7+4204' and cadence='weekly' and bin_id='173' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/326414 Creating custom pfile directory: /scratch/kocevski/326414/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=343612801.0 && nMetStart<344217601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=343612801.0 && nMetStart<344217601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/326414/ft1_4FGL_J0202.7+4204_weekly_bin173.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=343612801.0 && nMetStart<344217601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/326414/ft1_4FGL_J0202.7+4204_weekly_bin173.fits outfile=/scratch/kocevski/326414/ft1_filteredMKT_4FGL_J0202.7+4204_weekly_bin173.fits ra=30.6862 dec=42.0714 rad=12.0 tmin=343612801.0 tmax=344217601.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 8.34 user 6.98 sys 0.29 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.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/326414/ft1_filteredMKT_4FGL_J0202.7+4204_weekly_bin173.fits evtable="EVENTS" outfile="/scratch/kocevski/326414/ft1_filtered_4FGL_J0202.7+4204_weekly_bin173.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 1.83 user 0.38 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/326414/ft1_filtered_4FGL_J0202.7+4204_weekly_bin173.fits" evtable="EVENTS" scfile=/scratch/kocevski/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.fits sctable="SC_DATA" outfile=/scratch/kocevski/326414/ltcube_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.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/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.fits .....................! real 27.94 user 26.59 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/326414/ft1_filtered_4FGL_J0202.7+4204_weekly_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.fits sctable="SC_DATA" expcube=/scratch/kocevski/326414/ltcube_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.fits outfile=/scratch/kocevski/326414/expmap_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.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/326414/ltcube_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.fits .....................! real 195.13 user 185.77 sys 4.51 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. Added 176 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 J0202.7+4204 @ 30.6862 42.0714 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/326414/ft1_filtered_4FGL_J0202.7+4204_weekly_bin173.fits scfile=/scratch/kocevski/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.fits outfile=/scratch/kocevski/326414/cmap_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.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=30.6862 yref=42.0714 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.30 user 0.40 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/326414/ft1_filtered_4FGL_J0202.7+4204_weekly_bin173.fits scfile=/scratch/kocevski/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.fits outfile=/scratch/kocevski/326414/cmap_HighResolution_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.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=30.6862 yref=42.0714 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.06 user 0.42 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/326414/ft1_filtered_4FGL_J0202.7+4204_weekly_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/326414/Model_4FGL_J0202.7+4204_weekly_bin173.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 HB 3 adding source W 3 Working on... /scratch/kocevski/326414/ft1_filtered_4FGL_J0202.7+4204_weekly_bin173.fits.....................! real 259.37 user 247.29 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/326414/ft1_filtered_4FGL_J0202.7+4204_weekly_bin173.fits', '/scratch/kocevski/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.fits', expMap='/scratch/kocevski/326414/expmap_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.fits', expCube='/scratch/kocevski/326414/ltcube_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/326414/Model_4FGL_J0202.7+4204_weekly_bin173.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0202.7+4204' 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 4.935e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.173e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/326414/ft1_filtered_4FGL_J0202.7+4204_weekly_bin173.fits Spacecraft file(s): /scratch/kocevski/326414/ft2_4FGL_J0202.7+4204_weekly_bin173.fits Exposure map: /scratch/kocevski/326414/expmap_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.fits Exposure cube: /scratch/kocevski/326414/ltcube_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/326414/Model_4FGL_J0202.7+4204_weekly_bin173.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) = 24395.874305 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24395.7856719 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10886E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.2326 1.0000 .10000E-03 10000. 3 'Prefactor ' 7.2150 1.0000 .10000E-03 10000. 4 'norm ' .10021E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 26.592 1.0000 .10000E-03 10000. 6 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 7 'norm ' 1.0614 1.0000 .10000E-03 10000. 8 'norm ' 1.4663 1.0000 .10000E-03 10000. 9 'Prefactor ' 2.9724 1.0000 .10000E-03 10000. 10 'Prefactor ' .75498 1.0000 .10000E-03 10000. 11 'Prefactor ' .14477E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 13 'norm ' 13.540 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.5392 1.0000 .10000E-03 10000. 15 'norm ' 3.8305 1.0000 .10000E-03 10000. 16 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 17 'norm ' .67102 1.0000 .10000E-03 10000. 18 'norm ' .54461 1.0000 .10000E-03 10000. 19 'Prefactor ' .63851E-03 1.0000 .10000E-03 10000. 20 'norm ' .41042 1.0000 .10000E-03 10000. 21 'Prefactor ' .10017E-03 1.0000 .10000E-03 10000. 22 'norm ' 4.4873 1.0000 .10000E-03 10000. 23 'Normalizat' 1.2808 1.0000 .10000E-01 10.000 24 'Prefactor ' .94401 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 24395.79 FROM MIGRAD STATUS=CONVERGED 551 CALLS 2425 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 4.5182 .53195E-05** at limit ** 2 Prefactor 1.2093 2.0647 .27830E-06 -.80852E-03 3 Prefactor 7.2110 26.877 -.10334E-04 -.45870E-04 4 norm .10000E-03 .73419 .20334E-06** at limit ** 5 Prefactor 26.588 17.655 -.32766E-05 -.52060E-04 6 Prefactor .10000E-03 5.9360 -.25693E-05** at limit ** 7 norm 1.0614 .66293 -.23040E-07 -.13461E-04 8 norm 1.4663 .45511 .53852E-07 .82180E-04 9 Prefactor 2.9720 7.7996 -.17938E-06 .21258E-04 10 Prefactor .75469 1.2845 -.22319E-07 -.21117E-03 11 Prefactor .10008E-03 3.5711 -.18225E-05** at limit ** 12 Prefactor .10000E-03 9.9835 -.82547E-06** at limit ** 13 norm 13.541 3.7131 .50630E-06 .53208E-03 14 Prefactor 1.5382 4.1607 -.46563E-06 .12777E-03 15 norm 3.8302 1.7765 -.29059E-07 -.91409E-04 16 Prefactor .10000E-03 4.4602 -.45419E-05** at limit ** 17 norm .67097 .32653 .38946E-08 .98775E-04 18 norm .54461 .18713 -.55810E-08 -.66384E-03 19 Prefactor .10003E-03 .92494 .31917E-06** at limit ** 20 norm .39802 1.9529 -.72037E-07 -.45183E-03 21 Prefactor .10000E-03 12.128 .78624E-05** at limit ** 22 norm 4.4871 2.6840 .55807E-07 -.46325E-03 23 Normalizat 1.2808 .12658 .35527E-06 -.54607E-04 24 Prefactor .94403 .51862E-01 .71210E-07 -.12791E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 1.20933 Prefactor = 7.21105 norm = 0.0001 Prefactor = 26.5883 Prefactor = 0.0001 norm = 1.06137 norm = 1.46631 Prefactor = 2.97203 Prefactor = 0.75469 Prefactor = 0.000100083 Prefactor = 0.0001 norm = 13.541 Prefactor = 1.5382 norm = 3.83023 Prefactor = 0.0001 norm = 0.67097 norm = 0.544609 Prefactor = 0.000100025 norm = 0.398022 Prefactor = 0.0001 norm = 4.4871 Normalizat = 1.28078 Prefactor = 0.944033 ********** ** 18 **HESSE ********** FCN= 24395.79 FROM HESSE STATUS=OK 415 CALLS 2840 TOTAL EDM= .21E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 4.6852 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 1.2093 14.084 .20240E-02 -1.5488 3 Prefactor 7.2110 27.059 .14933E-03 -1.5171 4 norm .10000E-03 1.5273 .25917E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 26.588 17.619 .77686E-04 -1.4676 6 Prefactor .10000E-03 5.9393 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 1.0614 .66383 .97760E-04 -1.5502 8 norm 1.4663 .45333 .55936E-04 -1.5466 9 Prefactor 2.9720 7.6464 .23550E-03 -1.5363 10 Prefactor .75469 1.1862 .21137E-02 -1.5534 11 Prefactor .10008E-03 13.801 .55625E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 9.9951 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 13.541 3.6756 .10885E-03 -1.4972 14 Prefactor 1.5382 4.0960 .34372E-03 -1.5460 15 norm 3.8302 1.7706 .12806E-03 -1.5317 16 Prefactor .10000E-03 4.5391 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .67097 .31884 .55946E-04 -1.5544 18 norm .54461 .18538 .37937E-04 -1.5560 19 Prefactor .10003E-03 6.8910 .25900E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .39802 7.3512 .37730E-02 -1.5582 21 Prefactor .10000E-03 12.210 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 4.4871 2.7008 .95035E-03 -1.5284 23 Normalizat 1.2808 .14062 .34717E-03 -.84142 24 Prefactor .94403 .58361E-01 .17420E-03 -.94619 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.06726e-07 Minuit parameter uncertainties: 1 1.83026e-05 2 8.25605 3 27.1049 4 1.53893e-05 5 17.6224 6 2.88233e-06 7 0.663839 8 0.453327 9 7.6489 10 1.1862 11 0.00214081 12 2.59913e-06 13 3.67571 14 4.09678 15 1.77067 16 1.40384e-05 17 0.318841 18 0.185378 19 0.00083365 20 3.42114 21 3.55372e-05 22 2.70086 23 0.140658 24 0.0583645 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24395.7856198 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 1.000e-04 2.599e-06 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.173e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 587 Prefactor: 9.440e-01 5.836e-02 0.000e+00 1.000e+01 ( 1.000e+00) 588 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 589 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 586 Normalization: 1.281e+00 1.407e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 30.686 42.071 Photon Flux Upper Limit: 2.85e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.17e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/326414/likelihoodResults_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.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) = 24395.7860966 delta logL = -0.000476861576317 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 24395.7856198 delta logL = 8.18181433715e-09 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 'Index ' 2.1663 1.0000 .0000 10.000 3 'Normalizat' 1.2808 1.0000 .10000E-01 10.000 4 'Prefactor ' .94404 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 24395.79 FROM MIGRAD STATUS=CONVERGED 55 CALLS 212 TOTAL EDM= .11E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 313.98 .90712E-02** at limit ** 2 Index 2.1594 6.5247 .50000 .56471E-05 3 Normalizat 1.2808 .19743E-01 .78436E-01 .46924E-04 4 Prefactor .94403 .87031E-02 .45564E-01 .60042E-05 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.15936 Normalizat = 1.28078 Prefactor = 0.944033 ********** ** 18 **HESSE ********** FCN= 24395.79 FROM HESSE STATUS=OK 33 CALLS 245 TOTAL EDM= .34E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 10.839 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.1594 6.0727 .50000 -.60423 3 Normalizat 1.2808 .12986 .34717E-03 -.84142 4 Prefactor .94403 .57335E-01 .17420E-03 -.94619 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.36372e-11 Minuit parameter uncertainties: 1 6.44348e-06 2 4.28521 3 0.129896 4 0.0573382 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/326414': 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) = 24395.7856197 delta logL = 1.9481376512e-08 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 1.000e-04 6.443e-06 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.159e+00 4.285e+00 0.000e+00 1.000e+01 (-1.000e+00) 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 587 Prefactor: 9.440e-01 5.734e-02 0.000e+00 1.000e+01 ( 1.000e+00) 588 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 589 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 586 Normalization: 1.281e+00 1.299e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 30.686 42.071 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/326414/cmap_HighResolution_343612801_344217601_4FGL_J0202.7+4204_weekly_bin173.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/326414 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-03', job_status='DONE', photon_flux_upper_limit='2.85e-08', time_completed='2021-07-04 06:58:04.707786', job_id='326414', GAL2='0.94', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1625407084.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.95e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='173' AND source_name='4FGL J0202.7+4204' AND cadence='weekly'; Database successfully updated. Analysis Complete. Sun Jul 4 06:58:04 PDT 2021 'SUCCESS', return_code='0', GAL='0.94', dlogl='1.95e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='173' AND source_name='4FGL J0202.7+4204' AND cadence='weekly'; Database successfully updated. Analysis Complete. Sun Jul 4 06:57:58 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 326359: <4FGL_J0202.7+4204_weekly_bin173> in cluster Done Job <4FGL_J0202.7+4204_weekly_bin173> was submitted from host by user in cluster at Sun Jul 4 06:15:56 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Jul 4 06:15:58 2021 was used as the home directory. was used as the working directory. Started at Sun Jul 4 06:15:58 2021 Terminated at Sun Jul 4 06:58:02 2021 Results reported at Sun Jul 4 06:58:02 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0202.7+4204_weekly_bin173 30.6862 42.0714 343612801 344217601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0202.7+4204 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1887.00 sec. Max Memory : 1259 MB Average Memory : 317.28 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2524 sec. Turnaround time : 2526 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 326414: <4FGL_J0202.7+4204_weekly_bin173> in cluster Done Job <4FGL_J0202.7+4204_weekly_bin173> was submitted from host by user in cluster at Sun Jul 4 06:16:00 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Jul 4 06:16:02 2021 was used as the home directory. was used as the working directory. Started at Sun Jul 4 06:16:02 2021 Terminated at Sun Jul 4 06:58:07 2021 Results reported at Sun Jul 4 06:58:07 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0202.7+4204_weekly_bin173 30.6862 42.0714 343612801 344217601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0202.7+4204 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1884.00 sec. Max Memory : 1259 MB Average Memory : 321.80 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2524 sec. Turnaround time : 2527 sec. The output (if any) is above this job summary.