/sdf/group/fermi/u/kocevski/software/conda/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) 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 make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/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 = 17484 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1520.5+4209_weekly_bin844 RA = 230.135, Dec = 42.16 tmin = 749433601, tmax = 750038401 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='56857179', job_status='RUN', time_executed='2024-10-08 01:01:13.327974', time_epoch_executed='1728374473.33' WHERE source_name='4FGL J1520.5+4209' and cadence='weekly' and bin_id='844' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/56857179 Creating custom pfile directory: /lscratch/kocevski/56857179/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=749433601.0 && nMetStart<750038401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=749433601.0 && nMetStart<750038401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/56857179/ft1_4FGL_J1520.5+4209_weekly_bin844.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=749433601.0 && nMetStart<750038401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/56857179/ft1_4FGL_J1520.5+4209_weekly_bin844.fits outfile=/lscratch/kocevski/56857179/ft1_filteredMKT_4FGL_J1520.5+4209_weekly_bin844.fits ra=230.135 dec=42.16 rad=12.0 tmin=749433601.0 tmax=750038401.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 5.50 user 5.15 sys 0.25 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/56857179/ft1_filteredMKT_4FGL_J1520.5+4209_weekly_bin844.fits evtable="EVENTS" outfile="/lscratch/kocevski/56857179/ft1_filtered_4FGL_J1520.5+4209_weekly_bin844.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.40 user 0.20 sys 0.15 Number of photons that the gtmktime cut: 1240 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/56857179/ft1_filtered_4FGL_J1520.5+4209_weekly_bin844.fits" evtable="EVENTS" scfile=/lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits sctable="SC_DATA" outfile=/lscratch/kocevski/56857179/ltcube_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.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 /lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits .....................! real 20.73 user 20.23 sys 0.27 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/56857179/ft1_filtered_4FGL_J1520.5+4209_weekly_bin844.fits evtable="EVENTS" scfile=/lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits sctable="SC_DATA" expcube=/lscratch/kocevski/56857179/ltcube_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.fits outfile=/lscratch/kocevski/56857179/expmap_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.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 /lscratch/kocevski/56857179/ltcube_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.fits .....................! real 68.32 user 63.83 sys 3.93 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 Added 195 point sources and 0 extended sources Setting source of interest to: 4FGL J1520.5+4209 @ 230.135 42.16 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/56857179/ft1_filtered_4FGL_J1520.5+4209_weekly_bin844.fits scfile=/lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits outfile=/lscratch/kocevski/56857179/cmap_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.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=230.135 yref=42.16 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.46 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/56857179/ft1_filtered_4FGL_J1520.5+4209_weekly_bin844.fits scfile=/lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits outfile=/lscratch/kocevski/56857179/cmap_HighResolution_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.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=230.135 yref=42.16 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.44 user 0.26 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/56857179/ft1_filtered_4FGL_J1520.5+4209_weekly_bin844.fits evtable="EVENTS" scfile=/lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/56857179/Model_4FGL_J1520.5+4209_weekly_bin844.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 Working on... /lscratch/kocevski/56857179/ft1_filtered_4FGL_J1520.5+4209_weekly_bin844.fits....................! real 37.37 user 36.18 sys 0.84 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/56857179/ft1_filtered_4FGL_J1520.5+4209_weekly_bin844.fits', '/lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits', expMap='/lscratch/kocevski/56857179/expmap_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.fits', expCube='/lscratch/kocevski/56857179/ltcube_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/56857179/Model_4FGL_J1520.5+4209_weekly_bin844.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1520.5+4209' 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 3.393e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 2.505e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 9.357e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/56857179/ft1_filtered_4FGL_J1520.5+4209_weekly_bin844.fits Spacecraft file(s): /lscratch/kocevski/56857179/ft2_4FGL_J1520.5+4209_weekly_bin844.fits Exposure map: /lscratch/kocevski/56857179/expmap_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.fits Exposure cube: /lscratch/kocevski/56857179/ltcube_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/56857179/Model_4FGL_J1520.5+4209_weekly_bin844.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) = 13783.3120931 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13783.3147129 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 14.151 1.0000 .0000 .10000E+07 2 'Prefactor ' .24153E-02 1.0000 .0000 .10000E+07 3 'norm ' 3.4892 1.0000 .0000 .10000E+07 4 'Prefactor ' .45247 1.0000 .0000 .10000E+07 5 'norm ' .43937 1.0000 .0000 .10000E+07 6 'Prefactor ' 9.8414 1.0000 .0000 .10000E+07 7 'norm ' 5.8794 1.0000 .0000 .10000E+07 8 'Prefactor ' 16.340 1.0000 .0000 .10000E+07 9 'norm ' 2.4413 1.0000 .0000 .10000E+07 10 'Prefactor ' .30250E-03 1.0000 .0000 .10000E+07 11 'Prefactor ' .99775E-01 1.0000 .0000 .10000E+07 12 'norm ' 1.2961 1.0000 .0000 .10000E+07 13 'norm ' 3.2734 1.0000 .0000 .10000E+07 14 'Prefactor ' .42393E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' .10444E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31589E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' .75135E-03 1.0000 .0000 .10000E+07 18 'norm ' .66672 1.0000 .0000 .10000E+07 19 'Prefactor ' .23631E-06 1.0000 .0000 .10000E+07 20 'norm ' 6.7333 1.0000 .0000 .10000E+07 21 'Prefactor ' .31484E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' 13.342 1.0000 .0000 .10000E+07 23 'Prefactor ' .10747E-03 1.0000 .0000 .10000E+07 24 'Prefactor ' 13.618 1.0000 .0000 .10000E+07 25 'Normalizat' 1.0079 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0049 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 13783.31 FROM MIGRAD STATUS=CONVERGED 161 CALLS 2211 TOTAL EDM= .27E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.150 1.9151 .45716E-07 -.50276E-02 2 Prefactor .28921E-07 4.6434 -.63095E-07** at limit ** 3 norm 3.5011 5.6338 -.58553E-07 -.89377E-04 4 Prefactor .57732E-08 64.147 .12043E-05** at limit ** 5 norm .47317 5.3987 .16604E-06 -.31357E-03 6 Prefactor 9.8478 6.8188 .19108E-07 .20059E-01 7 norm 5.8690 4.3371 -.10189E-06 -.70356E-03 8 Prefactor 16.339 1.9682 -.73458E-07 .92422E-02 9 norm 2.4408 1.0776 .79412E-07 .34476E-03 10 Prefactor .81046E-08 3.3927 .20535E-06** at limit ** 11 Prefactor .16483 13.946 .70553E-06** at limit ** 12 norm 1.2976 1.0572 .63571E-08 -.10552E-02 13 norm 3.2727 2.0764 -.34071E-07 .48722E-03 14 Prefactor .50515E-08 2.8248 -.42670E-06** at limit ** 15 Prefactor .49960E-09 12.562 .11976E-05** at limit ** 16 Prefactor .45020E-07 3.4411 .35029E-07** at limit ** 17 Prefactor .33307E-09 2.9427 -.81961E-07** at limit ** 18 norm .66634 .48920 -.41989E-08 -.13067E-02 19 Prefactor .0000 1.4201 -.19000E-06** at limit ** 20 norm 6.7081 4.0354 -.16613E-06 -.35308E-01 21 Prefactor .37748E-08 2.0986 .12366E-06** at limit ** 22 Prefactor 14.057 41.173 -.27063E-06 -.11981E-04 23 Prefactor .43854E-08 1.4517 -.13464E-06** at limit ** 24 Prefactor 13.513 10.209 -.42525E-06 .28572E-01 25 Normalizat 1.0079 .13661 -.15526E-05 -.74886E-04 26 Prefactor 1.0046 .14236 -.22817E-05 -.50705E-04 ERR DEF= .500 Final values: Prefactor = 14.1498 Prefactor = 2.89213e-08 norm = 3.50112 Prefactor = 5.77316e-09 norm = 0.473166 Prefactor = 9.84785 norm = 5.86904 Prefactor = 16.3394 norm = 2.44077 Prefactor = 8.10463e-09 Prefactor = 0.164832 norm = 1.29755 norm = 3.27265 Prefactor = 5.05151e-09 Prefactor = 4.996e-10 Prefactor = 4.50195e-08 Prefactor = 3.33067e-10 norm = 0.66634 Prefactor = 0 norm = 6.70809 Prefactor = 3.77476e-09 Prefactor = 14.0567 Prefactor = 4.38538e-09 Prefactor = 13.5133 Normalizat = 1.00792 Prefactor = 1.00458 ********** ** 18 **HESSE ********** FCN= 13783.31 FROM HESSE STATUS=OK 516 CALLS 2727 TOTAL EDM= .44E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 14.150 19.661 .26600E-03 -1.5633 2 Prefactor .28921E-07 5.4906 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 3.5011 5.6459 .54106E-03 -1.5671 4 Prefactor .57732E-08 64.292 .83642E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .47317 5.2401 .85060E-03 -1.5694 6 Prefactor 9.8478 7.5257 .31918E-03 -1.5645 7 norm 5.8690 4.3852 .41393E-03 -1.5660 8 Prefactor 16.339 11.282 .24751E-03 -1.5627 9 norm 2.4408 1.0845 .65453E-03 -1.5677 10 Prefactor .81046E-08 4.1111 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .16483 1.2821 .81463E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 1.2976 1.0897 .97115E-03 -1.5685 13 norm 3.2727 2.0849 .55944E-03 -1.5672 14 Prefactor .50515E-08 3.7357 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .49960E-09 12.610 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .45020E-07 4.8852 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .33307E-09 2.9982 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .66634 .49293 .63452E-03 -1.5692 19 Prefactor .0000 1.4257 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 6.7081 7.3514 .38645E-03 -1.5656 21 Prefactor .37748E-08 3.2333 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 14.057 41.010 .27397E-03 -1.5633 23 Prefactor .43854E-08 3.5117 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 13.513 11.875 .27117E-03 -1.5634 25 Normalizat 1.0079 .11844 .46266E-01 -.92765 26 Prefactor 1.0046 .12039 .44211E-01 -.92577 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.35108e-06 Minuit parameter uncertainties: 1 19.6615 2 0.00079662 3 5.64592 4 0.00121762 5 3.14926 6 7.52568 7 4.38522 8 11.2824 9 1.08452 10 0.000364926 11 0.919409 12 1.08967 13 2.08487 14 0.000274506 15 0.000162509 16 0.000937707 17 6.06582e-05 18 0.492932 19 4.23264e-06 20 7.35143 21 0.000220568 22 41.0111 23 0.000248137 24 11.8749 25 0.118471 26 0.120419 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13783.3101189 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 4.502e-08 9.377e-04 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 2.505e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 9.357e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 625 Prefactor: 1.005e+00 1.204e-01 0.000e+00 1.000e+01 ( 1.000e+00) 626 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 627 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 624 Normalization: 1.008e+00 1.185e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 230.135 42.160 Photon Flux Upper Limit: 3.46324463731e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00269445476053 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/56857179/likelihoodResults_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.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) = 13783.3108616 delta logL = -0.000742664424251 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 13783.310119 delta logL = -8.39827407617e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .13184E-06 1.0000 .0000 .10000E+07 2 'Index ' 1.0115 1.0000 .0000 10.000 3 'Normalizat' 1.0079 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0046 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 13783.31 FROM MIGRAD STATUS=CONVERGED 32 CALLS 224 TOTAL EDM= .26E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 4.1615 .23443E-06** at limit ** 2 Index 2.7228 2.6614 -.13990E-04 .0000 3 Normalizat 1.0079 .13541 -.53174E-05 .29444E-04 4 Prefactor 1.0046 .14206 .51312E-05 .24183E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.72281 Normalizat = 1.00792 Prefactor = 1.00458 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 13783.31 FROM HESSE STATUS=FAILED 11 CALLS 235 TOTAL EDM= .26E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 4.1385 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .83956 2.0916 -.13990E-04 -.47286 3 Normalizat 1.0079 1.3370 -.53174E-05 -.92765 4 Prefactor 1.0046 1.2879 .51312E-05 -.92577 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.63983e-13 Minuit parameter uncertainties: 1 2.63892e-06 2 1.91917 3 1.38592 4 1.331 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 13783.3101189 delta logL = 4.60386218037e-09 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 2.639e-06 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 2.723e+00 1.919e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 9.357e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 625 Prefactor: 1.005e+00 1.331e+00 0.000e+00 1.000e+01 ( 1.000e+00) 626 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 627 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 624 Normalization: 1.008e+00 1.386e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 230.135 42.160 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 /lscratch/kocevski/56857179/cmap_HighResolution_749433601_750038401_4FGL_J1520.5+4209_weekly_bin844.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-03', job_status='DONE', photon_flux_upper_limit='3.46e-08', time_completed='2024-10-08 01:11:25.054050', job_id='56857179', GAL2='1.00', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1728375085.05', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='4.60e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='844' AND source_name='4FGL J1520.5+4209' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 8 01:11:25 PDT 2024