/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 = 17046 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1421.1+3859_weekly_bin896 RA = 215.292, Dec = 38.9966 tmin = 780883201, tmax = 781488001 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='14060575', job_status='RUN', time_executed='2025-10-20 03:10:43.827044', time_epoch_executed='1760955043.83' WHERE source_name='4FGL J1421.1+3859' and cadence='weekly' and bin_id='896' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14060575 Creating custom pfile directory: /lscratch/kocevski/14060575/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=780883201.0 && nMetStart<781488001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=780883201.0 && nMetStart<781488001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14060575/ft1_4FGL_J1421.1+3859_weekly_bin896.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=780883201.0 && nMetStart<781488001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14060575/ft1_4FGL_J1421.1+3859_weekly_bin896.fits outfile=/lscratch/kocevski/14060575/ft1_filteredMKT_4FGL_J1421.1+3859_weekly_bin896.fits ra=215.292 dec=38.9966 rad=12.0 tmin=780883201.0 tmax=781488001.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.79 user 4.63 sys 0.37 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.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/14060575/ft1_filteredMKT_4FGL_J1421.1+3859_weekly_bin896.fits evtable="EVENTS" outfile="/lscratch/kocevski/14060575/ft1_filtered_4FGL_J1421.1+3859_weekly_bin896.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 1.04 user 0.20 sys 0.16 Number of photons that the gtmktime cut: 1204 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14060575/ft1_filtered_4FGL_J1421.1+3859_weekly_bin896.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14060575/ltcube_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.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/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.fits .....................! real 19.94 user 18.64 sys 0.40 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14060575/ft1_filtered_4FGL_J1421.1+3859_weekly_bin896.fits evtable="EVENTS" scfile=/lscratch/kocevski/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14060575/ltcube_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.fits outfile=/lscratch/kocevski/14060575/expmap_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.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/14060575/ltcube_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.fits .....................! real 70.87 user 65.80 sys 3.95 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 181 point sources and 0 extended sources Setting source of interest to: 4FGL J1421.1+3859 @ 215.292 38.9966 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/14060575/ft1_filtered_4FGL_J1421.1+3859_weekly_bin896.fits scfile=/lscratch/kocevski/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.fits outfile=/lscratch/kocevski/14060575/cmap_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.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=215.292 yref=38.9966 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.97 user 0.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14060575/ft1_filtered_4FGL_J1421.1+3859_weekly_bin896.fits scfile=/lscratch/kocevski/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.fits outfile=/lscratch/kocevski/14060575/cmap_HighResolution_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.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=215.292 yref=38.9966 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.02 user 0.24 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14060575/ft1_filtered_4FGL_J1421.1+3859_weekly_bin896.fits evtable="EVENTS" scfile=/lscratch/kocevski/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14060575/Model_4FGL_J1421.1+3859_weekly_bin896.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/14060575/ft1_filtered_4FGL_J1421.1+3859_weekly_bin896.fits.....................! real 37.93 user 35.71 sys 1.29 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14060575/ft1_filtered_4FGL_J1421.1+3859_weekly_bin896.fits', '/lscratch/kocevski/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.fits', expMap='/lscratch/kocevski/14060575/expmap_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.fits', expCube='/lscratch/kocevski/14060575/ltcube_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14060575/Model_4FGL_J1421.1+3859_weekly_bin896.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1421.1+3859' 4FGL J1421.1+3859 Spectrum: PowerLaw 291 Prefactor: 1.965e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 292 Index: 2.670e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 293 Scale: 9.266e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/14060575/ft1_filtered_4FGL_J1421.1+3859_weekly_bin896.fits Spacecraft file(s): /lscratch/kocevski/14060575/ft2_4FGL_J1421.1+3859_weekly_bin896.fits Exposure map: /lscratch/kocevski/14060575/expmap_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.fits Exposure cube: /lscratch/kocevski/14060575/ltcube_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14060575/Model_4FGL_J1421.1+3859_weekly_bin896.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) = 13321.2578537 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13321.2407705 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 44.785 1.0000 .0000 .10000E+07 2 'norm ' .79942 1.0000 .0000 .10000E+07 3 'Prefactor ' .19762E-06 1.0000 .0000 .10000E+07 4 'norm ' 1.6777 1.0000 .0000 .10000E+07 5 'Prefactor ' 3.8463 1.0000 .0000 .10000E+07 6 'Prefactor ' .83177 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.3216 1.0000 .0000 .10000E+07 8 'norm ' 4.9239 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.3224 1.0000 .0000 .10000E+07 10 'Prefactor ' .61065E-02 1.0000 .0000 .10000E+07 11 'Prefactor ' 12.463 1.0000 .0000 .10000E+07 12 'norm ' 5.0101 1.0000 .0000 .10000E+07 13 'norm ' .25784E-03 1.0000 .0000 .10000E+07 14 'Prefactor ' 10.025 1.0000 .0000 .10000E+07 15 'Prefactor ' 22.427 1.0000 .0000 .10000E+07 16 'norm ' .13356E-04 1.0000 .0000 .10000E+07 17 'Prefactor ' .15953E-02 1.0000 .0000 .10000E+07 18 'Prefactor ' 1.7086 1.0000 .0000 .10000E+07 19 'Prefactor ' .84543E-07 1.0000 .0000 .10000E+07 20 'norm ' .10547E-08 1.0000 .0000 .10000E+07 21 'norm ' .13044 1.0000 .0000 .10000E+07 22 'Prefactor ' 4.2471 1.0000 .0000 .10000E+07 23 'Prefactor ' .37147E-04 1.0000 .0000 .10000E+07 24 'Prefactor ' .67500E-03 1.0000 .0000 .10000E+07 25 'Normalizat' 1.1048 1.0000 .10000E-01 10.000 26 'Prefactor ' .98494 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 13321.24 FROM MIGRAD STATUS=CONVERGED 676 CALLS 2783 TOTAL EDM= .40E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 44.773 42.960 .25393E-06 -.73265E-04 2 norm .79912 .61055 .19833E-08 -.10136E-02 3 Prefactor .0000 .86627 .17786E-08** at limit ** 4 norm 1.6759 5.9810 .66348E-07 -.92551E-04 5 Prefactor 3.8217 39.559 -.14243E-07 .20058E-05 6 Prefactor .83176 1.9865 -.49155E-07 -.42413E-02 7 Prefactor 1.3823 27.236 .20168E-05 -.51928E-03 8 norm 4.9319 3.0263 .13498E-07 -.22479E-02 9 Prefactor 1.2068 12.800 -.90875E-07 -.34469E-02 10 Prefactor .55511E-10 14.702 .86604E-07** at limit ** 11 Prefactor 12.436 3.4385 .10156E-07 -.25974E-02 12 norm 5.1617 7.9731 .11220E-07 -.13546E-02 13 norm .55511E-10 5.6989 .19708E-07** at limit ** 14 Prefactor 10.044 10.364 -.14313E-07 -.71468E-03 15 Prefactor 22.442 19.238 .42531E-07 -.24900E-03 16 norm .0000 5.5583 .17565E-07** at limit ** 17 Prefactor .0000 5.7971 -.89957E-09** at limit ** 18 Prefactor 1.7082 3.2190 .39179E-07 .88346E-04 19 Prefactor .0000 2.1398 .49006E-08** at limit ** 20 norm .0000 .33295 .48293E-08** at limit ** 21 norm .12986 1.0287 -.30428E-07** at limit ** 22 Prefactor 4.2625 5.0044 .16847E-07 -.78700E-03 23 Prefactor .0000 15.187 -.56647E-07** at limit ** 24 Prefactor .0000 4.6065 -.58804E-08** at limit ** 25 Normalizat 1.1050 .12072 -.15695E-05 -.41124E-03 26 Prefactor .98470 .13407 .49023E-07 -.53306E-03 ERR DEF= .500 Final values: Prefactor = 44.7731 norm = 0.799121 Prefactor = 0 norm = 1.67593 Prefactor = 3.82168 Prefactor = 0.831763 Prefactor = 1.38232 norm = 4.93186 Prefactor = 1.2068 Prefactor = 5.55112e-11 Prefactor = 12.4362 norm = 5.1617 norm = 5.55112e-11 Prefactor = 10.0445 Prefactor = 22.4417 norm = 0 Prefactor = 0 Prefactor = 1.70822 Prefactor = 0 norm = 0 norm = 0.129857 Prefactor = 4.26247 Prefactor = 0 Prefactor = 0 Normalizat = 1.105 Prefactor = 0.984698 ********** ** 18 **HESSE ********** FCN= 13321.24 FROM HESSE STATUS=OK 460 CALLS 3243 TOTAL EDM= .96E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 44.773 42.932 .59776E-05 -1.5574 2 norm .79912 .61185 .76112E-05 -1.5690 3 Prefactor .0000 .86830 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 1.6759 5.9650 .32526E-04 -1.5682 5 Prefactor 3.8217 39.284 .20574E-04 -1.5669 6 Prefactor .83176 1.9634 .20239E-04 -1.5690 7 Prefactor 1.3823 27.527 .19131E-03 -1.5684 8 norm 4.9319 3.0150 .14905E-04 -1.5664 9 Prefactor 1.2068 12.604 .38246E-04 -1.5686 10 Prefactor .55511E-10 14.747 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 12.436 3.4424 .10667E-04 -1.5637 12 norm 5.1617 7.8283 .17961E-04 -1.5663 13 norm .55511E-10 5.7324 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 10.044 10.359 .12649E-04 -1.5645 15 Prefactor 22.442 19.241 .42244E-04 -1.5613 16 norm .0000 5.5992 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .0000 5.8089 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 1.7082 3.1891 .27468E-04 -1.5682 19 Prefactor .0000 2.1443 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .0000 .33685 .65008E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .12986 9.2143 .21699E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 4.2625 5.0242 .19547E-04 -1.5667 23 Prefactor .0000 15.185 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .0000 4.6075 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.1050 .14040 .22382E-03 -.89592 26 Prefactor .98470 .15740 .27367E-03 -.93241 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.62401e-10 Minuit parameter uncertainties: 1 42.9322 2 0.611853 3 9.50272e-07 4 5.965 5 24.5059 6 1.96344 7 12.3373 8 3.01505 9 7.80012 10 4.73509e-05 11 3.44236 12 7.82829 13 2.91435e-05 14 10.3591 15 19.2408 16 6.67941e-06 17 1.62383e-05 18 3.18909 19 4.10531e-06 20 1.36283e-06 21 2.18773 22 5.02418 23 6.3221e-06 24 3.56833e-06 25 0.140447 26 0.157468 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13321.2400318 Extracting fit parameters... 4FGL J1421.1+3859 Spectrum: PowerLaw 291 Prefactor: 5.551e-11 4.735e-05 0.000e+00 1.000e+06 ( 1.000e-13) 292 Index: 2.670e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 293 Scale: 9.266e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 581 Prefactor: 9.847e-01 1.575e-01 0.000e+00 1.000e+01 ( 1.000e+00) 582 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 583 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 580 Normalization: 1.105e+00 1.404e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 215.292 38.997 Photon Flux Upper Limit: 4.71956580008e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0037089348257 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14060575/likelihoodResults_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.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): 0 logL (Free Index) = 13321.2767227 delta logL = -0.0366908620672 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 13321.0223069 delta logL = 0.217724909935 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .11095 1.0000 .0000 .10000E+07 2 'Index ' 5.0020 1.0000 .0000 10.000 3 'Normalizat' 1.0792 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0040 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 13321.02 FROM MIGRAD STATUS=CONVERGED 53 CALLS 237 TOTAL EDM= .55E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .11079 1.1731 .12991E-02** at limit ** 2 Index 5.0028 1.8477 .20136 .17173E-03 3 Normalizat 1.0792 .12927E-01 .38916E-01 .11286E-04 4 Prefactor 1.0041 .15092E-01 .44408E-01 .24443E-04 ERR DEF= .500 Final values: Prefactor = 0.110794 Index = 5.00283 Normalizat = 1.0792 Prefactor = 1.00405 ********** ** 18 **HESSE ********** FCN= 13321.02 FROM HESSE STATUS=NOT POSDEF 35 CALLS 272 TOTAL EDM= .17E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .11079 12.859 .53489E-04 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 5.0028 7.1691 .93466E-02 .56548E-03 3 Normalizat 1.0792 .77162E-01 .22612E-03 -.90423 4 Prefactor 1.0041 .88398E-01 .27133E-03 -.92595 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.70159e-07 Minuit parameter uncertainties: 1 2.38725 2 10.4643 3 0.07717 4 0.0884103 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 13321.0223068 delta logL = 0.217724977396 Extracting fit parameters... 4FGL J1421.1+3859 Spectrum: PowerLaw 291 Prefactor: 1.108e-01 2.387e+00 0.000e+00 1.000e+06 ( 1.000e-13) 292 Index: 5.003e+00 1.046e+01 0.000e+00 1.000e+01 (-1.000e+00) 293 Scale: 9.266e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 581 Prefactor: 1.004e+00 8.841e-02 0.000e+00 1.000e+01 ( 1.000e+00) 582 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 583 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 580 Normalization: 1.079e+00 7.717e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 215.292 38.997 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/14060575/cmap_HighResolution_780883201_781488001_4FGL_J1421.1+3859_weekly_bin896.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.71e-03', job_status='DONE', photon_flux_upper_limit='4.72e-08', time_completed='2025-10-20 03:29:54.633782', job_id='14060575', GAL2='1.00', fit_tolerance='1e-08', EG2='1.08', EG='1.10', time_epoch_completed='1760956194.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.18e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='896' AND source_name='4FGL J1421.1+3859' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Oct 20 03:29:55 PDT 2025