/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 = 17189 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1421.1+3859_weekly_bin780 RA = 215.292, Dec = 38.9966 tmin = 710726401, tmax = 711331201 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='19662243', job_status='RUN', time_executed='2023-07-18 01:37:45.604575', time_epoch_executed='1689669465.6' WHERE source_name='4FGL J1421.1+3859' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19662243 Creating custom pfile directory: /lscratch/kocevski/19662243/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19662243/ft1_4FGL_J1421.1+3859_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19662243/ft1_4FGL_J1421.1+3859_weekly_bin780.fits outfile=/lscratch/kocevski/19662243/ft1_filteredMKT_4FGL_J1421.1+3859_weekly_bin780.fits ra=215.292 dec=38.9966 rad=12.0 tmin=710726401.0 tmax=711331201.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 4.51 user 3.70 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.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/19662243/ft1_filteredMKT_4FGL_J1421.1+3859_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19662243/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.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.19 sys 0.14 Number of photons that the gtmktime cut: 1368 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19662243/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.fits sctable="SC_DATA" outfile=/lscratch/kocevski/19662243/ltcube_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.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/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.fits .....................! real 16.66 user 15.73 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19662243/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19662243/ltcube_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits outfile=/lscratch/kocevski/19662243/expmap_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.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/19662243/ltcube_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits .....................! real 62.67 user 58.03 sys 3.52 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/19662243/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits scfile=/lscratch/kocevski/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.fits outfile=/lscratch/kocevski/19662243/cmap_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.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.95 user 0.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19662243/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits scfile=/lscratch/kocevski/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.fits outfile=/lscratch/kocevski/19662243/cmap_HighResolution_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.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 0.99 user 0.20 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19662243/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19662243/Model_4FGL_J1421.1+3859_weekly_bin780.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/19662243/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits.....................! real 35.47 user 33.62 sys 0.93 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19662243/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits', '/lscratch/kocevski/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.fits', expMap='/lscratch/kocevski/19662243/expmap_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits', expCube='/lscratch/kocevski/19662243/ltcube_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19662243/Model_4FGL_J1421.1+3859_weekly_bin780.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/19662243/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19662243/ft2_4FGL_J1421.1+3859_weekly_bin780.fits Exposure map: /lscratch/kocevski/19662243/expmap_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19662243/ltcube_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19662243/Model_4FGL_J1421.1+3859_weekly_bin780.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) = 14842.7010605 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14840.3863181 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .30568E-05 1.0000 .0000 .10000E+07 2 'norm ' .52866 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.7087 1.0000 .0000 .10000E+07 4 'norm ' 5.3841 1.0000 .0000 .10000E+07 5 'Prefactor ' .28849E-06 1.0000 .0000 .10000E+07 6 'Prefactor ' .61498 1.0000 .0000 .10000E+07 7 'Prefactor ' 7.5391 1.0000 .0000 .10000E+07 8 'norm ' 8.2618 1.0000 .0000 .10000E+07 9 'Prefactor ' 13.308 1.0000 .0000 .10000E+07 10 'Prefactor ' .32053E-03 1.0000 .0000 .10000E+07 11 'Prefactor ' 8.6250 1.0000 .0000 .10000E+07 12 'norm ' .17727 1.0000 .0000 .10000E+07 13 'norm ' .19706E-07 1.0000 .0000 .10000E+07 14 'Prefactor ' 2.3457 1.0000 .0000 .10000E+07 15 'Prefactor ' 80.019 1.0000 .0000 .10000E+07 16 'norm ' 4.1068 1.0000 .0000 .10000E+07 17 'Prefactor ' 13.404 1.0000 .0000 .10000E+07 18 'Prefactor ' .12990E-07 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.1924 1.0000 .0000 .10000E+07 20 'norm ' 2.2290 1.0000 .0000 .10000E+07 21 'norm ' .10436E-07 1.0000 .0000 .10000E+07 22 'Prefactor ' .12657E-07 1.0000 .0000 .10000E+07 23 'Prefactor ' .11508E-01 1.0000 .0000 .10000E+07 24 'Prefactor ' .21705E-07 1.0000 .0000 .10000E+07 25 'Normalizat' .88165 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.1079 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14840.39 FROM MIGRAD STATUS=CONVERGED 138 CALLS 1321 TOTAL EDM= .57E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .99920E-08 10.247 .39622E-06** at limit ** 2 norm .52878 .85275 .16773E-06 .27268E-03 3 Prefactor 1.7084 2.2367 -.16657E-06 -.12777E-02 4 norm 5.3459 6.8504 .25580E-06 -.96421E-02 5 Prefactor .13467E-06 9.7543 .63277E-06** at limit ** 6 Prefactor .61456 1.6145 -.69912E-08 -.46234E-03 7 Prefactor 7.5223 3.6625 .10599E-06 -.51762E-01 8 norm 8.2639 3.0429 .56557E-07 .20896E-02 9 Prefactor 13.307 7.2985 -.68487E-07 -.27327E-01 10 Prefactor .19107E-06 4.3820 .50522E-06** at limit ** 11 Prefactor 8.6232 2.7007 .96784E-07 -.29232E-03 12 norm .12892 .87493 -.16613E-07** at limit ** 13 norm .0000 1.4722 .15430E-06** at limit ** 14 Prefactor 2.3239 4.3978 -.21762E-06 -.15162E-01 15 Prefactor 80.241 2.1270 .88029E-08 -.75355E-01 16 norm 4.1069 3.6916 .15863E-07 .17970E-02 17 Prefactor 13.397 4.2343 -.66310E-07 -.68870E-01 18 Prefactor .0000 2.4912 -.30498E-07** at limit ** 19 Prefactor 2.1918 2.2463 .57080E-08 -.26833E-03 20 norm 2.2287 .93915 .92948E-07 .36668E-02 21 norm .0000 .65145 .19506E-06** at limit ** 22 Prefactor .0000 1.3466 -.50157E-07** at limit ** 23 Prefactor .0000 20.571 .81437E-07** at limit ** 24 Prefactor .0000 3.8502 .39191E-06** at limit ** 25 Normalizat .88168 .12260 .20896E-05 -.14978E-04 26 Prefactor 1.1079 .14386 -.26990E-05 -.26935E-04 ERR DEF= .500 Final values: Prefactor = 9.99201e-09 norm = 0.528783 Prefactor = 1.70835 norm = 5.34587 Prefactor = 1.3467e-07 Prefactor = 0.614564 Prefactor = 7.52227 norm = 8.26389 Prefactor = 13.3068 Prefactor = 1.91069e-07 Prefactor = 8.6232 norm = 0.128918 norm = 0 Prefactor = 2.32391 Prefactor = 80.2407 norm = 4.10688 Prefactor = 13.3971 Prefactor = 0 Prefactor = 2.19184 norm = 2.22865 norm = 0 Prefactor = 0 Prefactor = 0 Prefactor = 0 Normalizat = 0.881677 Prefactor = 1.10791 ********** ** 18 **HESSE ********** FCN= 14840.39 FROM HESSE STATUS=OK 516 CALLS 1837 TOTAL EDM= .15E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .99920E-08 11.250 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .52878 .86289 .75877E-03 -1.5693 3 Prefactor 1.7084 2.2595 .80398E-03 -1.5682 4 norm 5.3459 9.4023 .43286E-03 -1.5662 5 Prefactor .13467E-06 13.401 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .61456 1.6559 .67897E-03 -1.5692 7 Prefactor 7.5223 10.707 .36501E-03 -1.5653 8 norm 8.2639 3.0741 .34855E-03 -1.5650 9 Prefactor 13.307 8.3100 .27432E-03 -1.5635 10 Prefactor .19107E-06 12.568 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 8.6232 2.7188 .34108E-03 -1.5649 12 norm .12892 3.7005 .12195E-01 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .0000 1.4686 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 2.3239 8.8908 .66909E-03 -1.5677 15 Prefactor 80.241 25.042 .11180E-03 -1.5529 16 norm 4.1069 3.7073 .49721E-03 -1.5667 17 Prefactor 13.397 7.8502 .27333E-03 -1.5635 18 Prefactor .0000 2.4937 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.1918 2.2437 .69477E-03 -1.5678 20 norm 2.2287 .94933 .68834E-03 -1.5678 21 norm .0000 .64838 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .0000 1.3464 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .0000 20.699 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .0000 3.8733 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .88168 .10712 .44667E-01 -.97107 26 Prefactor 1.1079 .12138 .57994E-01 -.89214 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.53333e-07 Minuit parameter uncertainties: 1 0.000671263 2 0.862886 3 2.25953 4 9.40236 5 0.00268695 6 1.65587 7 10.7072 8 3.07413 9 8.30999 10 0.00309948 11 2.71878 12 1.38139 13 1.89522e-06 14 8.89088 15 25.042 16 3.70734 17 7.85025 18 1.62789e-05 19 2.24374 20 0.949334 21 3.92362e-07 22 6.00905e-07 23 1.06417e-05 24 1.99895e-05 25 0.107149 26 0.121409 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14840.3859483 Extracting fit parameters... 4FGL J1421.1+3859 Spectrum: PowerLaw 291 Prefactor: 1.911e-07 3.099e-03 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: 1.108e+00 1.214e-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: 8.817e-01 1.071e-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.33031164622e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00340303416694 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/19662243/likelihoodResults_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.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) = 14840.4285187 delta logL = -0.0425704381578 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 14840.3859483 delta logL = 1.12049747258e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10159E-07 1.0000 .0000 .10000E+07 2 'Index ' 2.2801 1.0000 .0000 10.000 3 'Normalizat' .88168 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1079 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= 14840.39 FROM MIGRAD STATUS=CONVERGED 66 CALLS 272 TOTAL EDM= .81E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .72164E-09 5.0669 .42118E-03** at limit ** 2 Index 1.8970 8.9018 .50000 -.90949E-10 3 Normalizat .88168 .13656E-02 .44667E-01 .23294E-03 4 Prefactor 1.1079 .16439E-02 .57994E-01 .13045E-03 ERR DEF= .500 Final values: Prefactor = 7.21645e-10 Index = 1.89702 Normalizat = 0.881677 Prefactor = 1.10791 ********** ** 18 **HESSE ********** FCN= 14840.39 FROM HESSE STATUS=NOT POSDEF 33 CALLS 305 TOTAL EDM= .73E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .72164E-09 45.664 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.8970 7.5765 .50000 -.66950 3 Normalizat .88168 .40976E-02 .23719E-03 -.97107 4 Prefactor 1.1079 .49315E-02 .25646E-03 -.89214 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 7.30693e-11 Minuit parameter uncertainties: 1 0.000364252 2 87718.1 3 0.00409761 4 0.0049315 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) = 14840.3859483 delta logL = 7.5433490565e-09 Extracting fit parameters... 4FGL J1421.1+3859 Spectrum: PowerLaw 291 Prefactor: 7.216e-10 3.643e-04 0.000e+00 1.000e+06 ( 1.000e-13) 292 Index: 1.897e+00 8.772e+04 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.108e+00 4.931e-03 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: 8.817e-01 4.098e-03 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/19662243/cmap_HighResolution_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.40e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2023-07-18 01:53:49.626956', job_id='19662243', GAL2='1.11', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1689670429.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='7.54e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='780' AND source_name='4FGL J1421.1+3859' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 01:53:50 PDT 2023 number of points = 17189 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1421.1+3859_weekly_bin780 RA = 215.292, Dec = 38.9966 tmin = 710726401, tmax = 711331201 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='19663798', job_status='RUN', time_executed='2023-07-18 01:46:14.345051', time_epoch_executed='1689669974.35' WHERE source_name='4FGL J1421.1+3859' and cadence='weekly' and bin_id='780' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/19663798 Creating custom pfile directory: /lscratch/kocevski/19663798/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/19663798/ft1_4FGL_J1421.1+3859_weekly_bin780.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=710726401.0 && nMetStart<711331201.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/19663798/ft1_4FGL_J1421.1+3859_weekly_bin780.fits outfile=/lscratch/kocevski/19663798/ft1_filteredMKT_4FGL_J1421.1+3859_weekly_bin780.fits ra=215.292 dec=38.9966 rad=12.0 tmin=710726401.0 tmax=711331201.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 4.39 user 3.48 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.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/19663798/ft1_filteredMKT_4FGL_J1421.1+3859_weekly_bin780.fits evtable="EVENTS" outfile="/lscratch/kocevski/19663798/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.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.15 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 1368 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/19663798/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits" evtable="EVENTS" scfile=/lscratch/kocevski/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.fits sctable="SC_DATA" outfile=/lscratch/kocevski/19663798/ltcube_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.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/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.fits .....................! real 19.88 user 18.66 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/19663798/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.fits sctable="SC_DATA" expcube=/lscratch/kocevski/19663798/ltcube_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits outfile=/lscratch/kocevski/19663798/expmap_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.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/19663798/ltcube_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits .....................! real 59.71 user 55.59 sys 3.24 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/19663798/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits scfile=/lscratch/kocevski/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.fits outfile=/lscratch/kocevski/19663798/cmap_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.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 1.01 user 0.21 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/19663798/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits scfile=/lscratch/kocevski/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.fits outfile=/lscratch/kocevski/19663798/cmap_HighResolution_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.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.04 user 0.21 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/19663798/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits evtable="EVENTS" scfile=/lscratch/kocevski/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/19663798/Model_4FGL_J1421.1+3859_weekly_bin780.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/19663798/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits.....................! real 34.18 user 32.18 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/19663798/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits', '/lscratch/kocevski/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.fits', expMap='/lscratch/kocevski/19663798/expmap_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits', expCube='/lscratch/kocevski/19663798/ltcube_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/19663798/Model_4FGL_J1421.1+3859_weekly_bin780.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/19663798/ft1_filtered_4FGL_J1421.1+3859_weekly_bin780.fits Spacecraft file(s): /lscratch/kocevski/19663798/ft2_4FGL_J1421.1+3859_weekly_bin780.fits Exposure map: /lscratch/kocevski/19663798/expmap_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits Exposure cube: /lscratch/kocevski/19663798/ltcube_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/19663798/Model_4FGL_J1421.1+3859_weekly_bin780.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) = 14842.7010605 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14840.3863181 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .30568E-05 1.0000 .0000 .10000E+07 2 'norm ' .52866 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.7087 1.0000 .0000 .10000E+07 4 'norm ' 5.3841 1.0000 .0000 .10000E+07 5 'Prefactor ' .28849E-06 1.0000 .0000 .10000E+07 6 'Prefactor ' .61498 1.0000 .0000 .10000E+07 7 'Prefactor ' 7.5391 1.0000 .0000 .10000E+07 8 'norm ' 8.2618 1.0000 .0000 .10000E+07 9 'Prefactor ' 13.308 1.0000 .0000 .10000E+07 10 'Prefactor ' .32053E-03 1.0000 .0000 .10000E+07 11 'Prefactor ' 8.6250 1.0000 .0000 .10000E+07 12 'norm ' .17727 1.0000 .0000 .10000E+07 13 'norm ' .19706E-07 1.0000 .0000 .10000E+07 14 'Prefactor ' 2.3457 1.0000 .0000 .10000E+07 15 'Prefactor ' 80.019 1.0000 .0000 .10000E+07 16 'norm ' 4.1068 1.0000 .0000 .10000E+07 17 'Prefactor ' 13.404 1.0000 .0000 .10000E+07 18 'Prefactor ' .12990E-07 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.1924 1.0000 .0000 .10000E+07 20 'norm ' 2.2290 1.0000 .0000 .10000E+07 21 'norm ' .10436E-07 1.0000 .0000 .10000E+07 22 'Prefactor ' .12657E-07 1.0000 .0000 .10000E+07 23 'Prefactor ' .11508E-01 1.0000 .0000 .10000E+07 24 'Prefactor ' .21705E-07 1.0000 .0000 .10000E+07 25 'Normalizat' .88165 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.1079 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 14840.39 FROM MIGRAD STATUS=CONVERGED 138 CALLS 1321 TOTAL EDM= .57E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .99920E-08 10.247 .39622E-06** at limit ** 2 norm .52878 .85275 .16773E-06 .27268E-03 3 Prefactor 1.7084 2.2367 -.16657E-06 -.12777E-02 4 norm 5.3459 6.8504 .25580E-06 -.96421E-02 5 Prefactor .13467E-06 9.7543 .63277E-06** at limit ** 6 Prefactor .61456 1.6145 -.69912E-08 -.46234E-03 7 Prefactor 7.5223 3.6625 .10599E-06 -.51762E-01 8 norm 8.2639 3.0429 .56557E-07 .20896E-02 9 Prefactor 13.307 7.2985 -.68487E-07 -.27327E-01 10 Prefactor .19107E-06 4.3820 .50522E-06** at limit ** 11 Prefactor 8.6232 2.7007 .96784E-07 -.29232E-03 12 norm .12892 .87493 -.16613E-07** at limit ** 13 norm .0000 1.4722 .15430E-06** at limit ** 14 Prefactor 2.3239 4.3978 -.21762E-06 -.15162E-01 15 Prefactor 80.241 2.1270 .88029E-08 -.75355E-01 16 norm 4.1069 3.6916 .15863E-07 .17970E-02 17 Prefactor 13.397 4.2343 -.66310E-07 -.68870E-01 18 Prefactor .0000 2.4912 -.30498E-07** at limit ** 19 Prefactor 2.1918 2.2463 .57080E-08 -.26833E-03 20 norm 2.2287 .93915 .92948E-07 .36668E-02 21 norm .0000 .65145 .19506E-06** at limit ** 22 Prefactor .0000 1.3466 -.50157E-07** at limit ** 23 Prefactor .0000 20.571 .81437E-07** at limit ** 24 Prefactor .0000 3.8502 .39191E-06** at limit ** 25 Normalizat .88168 .12260 .20896E-05 -.14978E-04 26 Prefactor 1.1079 .14386 -.26990E-05 -.26935E-04 ERR DEF= .500 Final values: Prefactor = 9.99201e-09 norm = 0.528783 Prefactor = 1.70835 norm = 5.34587 Prefactor = 1.3467e-07 Prefactor = 0.614564 Prefactor = 7.52227 norm = 8.26389 Prefactor = 13.3068 Prefactor = 1.91069e-07 Prefactor = 8.6232 norm = 0.128918 norm = 0 Prefactor = 2.32391 Prefactor = 80.2407 norm = 4.10688 Prefactor = 13.3971 Prefactor = 0 Prefactor = 2.19184 norm = 2.22865 norm = 0 Prefactor = 0 Prefactor = 0 Prefactor = 0 Normalizat = 0.881677 Prefactor = 1.10791 ********** ** 18 **HESSE ********** FCN= 14840.39 FROM HESSE STATUS=OK 516 CALLS 1837 TOTAL EDM= .15E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .99920E-08 11.250 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .52878 .86289 .75877E-03 -1.5693 3 Prefactor 1.7084 2.2595 .80398E-03 -1.5682 4 norm 5.3459 9.4023 .43286E-03 -1.5662 5 Prefactor .13467E-06 13.401 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .61456 1.6559 .67897E-03 -1.5692 7 Prefactor 7.5223 10.707 .36501E-03 -1.5653 8 norm 8.2639 3.0741 .34855E-03 -1.5650 9 Prefactor 13.307 8.3100 .27432E-03 -1.5635 10 Prefactor .19107E-06 12.568 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 8.6232 2.7188 .34108E-03 -1.5649 12 norm .12892 3.7005 .12195E-01 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .0000 1.4686 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 2.3239 8.8908 .66909E-03 -1.5677 15 Prefactor 80.241 25.042 .11180E-03 -1.5529 16 norm 4.1069 3.7073 .49721E-03 -1.5667 17 Prefactor 13.397 7.8502 .27333E-03 -1.5635 18 Prefactor .0000 2.4937 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.1918 2.2437 .69477E-03 -1.5678 20 norm 2.2287 .94933 .68834E-03 -1.5678 21 norm .0000 .64838 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .0000 1.3464 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .0000 20.699 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .0000 3.8733 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .88168 .10712 .44667E-01 -.97107 26 Prefactor 1.1079 .12138 .57994E-01 -.89214 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.53333e-07 Minuit parameter uncertainties: 1 0.000671263 2 0.862886 3 2.25953 4 9.40236 5 0.00268695 6 1.65587 7 10.7072 8 3.07413 9 8.30999 10 0.00309948 11 2.71878 12 1.38139 13 1.89522e-06 14 8.89088 15 25.042 16 3.70734 17 7.85025 18 1.62789e-05 19 2.24374 20 0.949334 21 3.92362e-07 22 6.00905e-07 23 1.06417e-05 24 1.99895e-05 25 0.107149 26 0.121409 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 14840.3859483 Extracting fit parameters... 4FGL J1421.1+3859 Spectrum: PowerLaw 291 Prefactor: 1.911e-07 3.099e-03 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: 1.108e+00 1.214e-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: 8.817e-01 1.071e-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.33031164622e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00340303416694 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/19663798/likelihoodResults_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.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) = 14840.4285187 delta logL = -0.0425704381578 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 14840.3859483 delta logL = 1.12049747258e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10159E-07 1.0000 .0000 .10000E+07 2 'Index ' 2.2801 1.0000 .0000 10.000 3 'Normalizat' .88168 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1079 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= 14840.39 FROM MIGRAD STATUS=CONVERGED 66 CALLS 272 TOTAL EDM= .81E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .72164E-09 5.0669 .42118E-03** at limit ** 2 Index 1.8970 8.9018 .50000 -.90949E-10 3 Normalizat .88168 .13656E-02 .44667E-01 .23294E-03 4 Prefactor 1.1079 .16439E-02 .57994E-01 .13045E-03 ERR DEF= .500 Final values: Prefactor = 7.21645e-10 Index = 1.89702 Normalizat = 0.881677 Prefactor = 1.10791 ********** ** 18 **HESSE ********** FCN= 14840.39 FROM HESSE STATUS=NOT POSDEF 33 CALLS 305 TOTAL EDM= .73E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .72164E-09 45.664 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.8970 7.5765 .50000 -.66950 3 Normalizat .88168 .40976E-02 .23719E-03 -.97107 4 Prefactor 1.1079 .49315E-02 .25646E-03 -.89214 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 7.30693e-11 Minuit parameter uncertainties: 1 0.000364252 2 87718.1 3 0.00409761 4 0.0049315 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) = 14840.3859483 delta logL = 7.5433490565e-09 Extracting fit parameters... 4FGL J1421.1+3859 Spectrum: PowerLaw 291 Prefactor: 7.216e-10 3.643e-04 0.000e+00 1.000e+06 ( 1.000e-13) 292 Index: 1.897e+00 8.772e+04 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.108e+00 4.931e-03 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: 8.817e-01 4.098e-03 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/19663798/cmap_HighResolution_710726401_711331201_4FGL_J1421.1+3859_weekly_bin780.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.40e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2023-07-18 02:02:55.495779', job_id='19663798', GAL2='1.11', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1689670975.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='7.54e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='780' AND source_name='4FGL J1421.1+3859' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 18 02:02:56 PDT 2023