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). WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). 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) /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). 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 = 17312 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0033.9+3858_weekly_bin845 RA = 8.483, Dec = 38.9716 tmin = 750038401, tmax = 750643201 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='57254891', job_status='RUN', time_executed='2024-10-15 00:14:04.541919', time_epoch_executed='1728976444.54' WHERE source_name='4FGL J0033.9+3858' and cadence='weekly' and bin_id='845' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/57254891 Creating custom pfile directory: /lscratch/kocevski/57254891/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/57254891/ft1_4FGL_J0033.9+3858_weekly_bin845.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/57254891/ft1_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254891/ft1_filteredMKT_4FGL_J0033.9+3858_weekly_bin845.fits ra=8.483 dec=38.9716 rad=12.0 tmin=750038401.0 tmax=750643201.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 3.55 user 3.08 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.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/57254891/ft1_filteredMKT_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" outfile="/lscratch/kocevski/57254891/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.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.65 user 0.18 sys 0.13 Number of photons that the gtmktime cut: 257 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/57254891/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits" evtable="EVENTS" scfile=/lscratch/kocevski/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" outfile=/lscratch/kocevski/57254891/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.fits .....................! real 16.13 user 15.67 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/57254891/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" scfile=/lscratch/kocevski/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" expcube=/lscratch/kocevski/57254891/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254891/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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/57254891/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits .....................! real 59.97 user 55.95 sys 3.44 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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Added 169 point sources and 1 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 J0033.9+3858 @ 8.483 38.9716 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/57254891/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits scfile=/lscratch/kocevski/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254891/cmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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=8.483 yref=38.9716 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.50 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/57254891/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits scfile=/lscratch/kocevski/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254891/cmap_HighResolution_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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=8.483 yref=38.9716 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.48 user 0.24 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/57254891/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" scfile=/lscratch/kocevski/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/57254891/Model_4FGL_J0033.9+3858_weekly_bin845.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 FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/57254891/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits......................! real 17.44 user 16.16 sys 0.95 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/57254891/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits', '/lscratch/kocevski/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.fits', expMap='/lscratch/kocevski/57254891/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits', expCube='/lscratch/kocevski/57254891/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/57254891/Model_4FGL_J0033.9+3858_weekly_bin845.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0033.9+3858' 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 4.490e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/57254891/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits Spacecraft file(s): /lscratch/kocevski/57254891/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Exposure map: /lscratch/kocevski/57254891/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits Exposure cube: /lscratch/kocevski/57254891/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/57254891/Model_4FGL_J0033.9+3858_weekly_bin845.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) = 2875.88615606 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2875.87749608 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 16.153 1.0000 .0000 .10000E+07 2 'norm ' .46629E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' .16653E-09 1.0000 .0000 .10000E+07 4 'Prefactor ' 10.419 1.0000 .0000 .10000E+07 5 'Prefactor ' .88818E-08 1.0000 .0000 .10000E+07 6 'Prefactor ' .49960E-09 1.0000 .0000 .10000E+07 7 'Prefactor ' .23870E-08 1.0000 .0000 .10000E+07 8 'Prefactor ' .11102E-09 1.0000 .0000 .10000E+07 9 'norm ' .10204E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .11657E-08 1.0000 .0000 .10000E+07 11 'Prefactor ' .33835E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' 11.699 1.0000 .0000 .10000E+07 13 'Prefactor ' 37.661 1.0000 .0000 .10000E+07 14 'norm ' 7.6744 1.0000 .0000 .10000E+07 15 'Prefactor ' 101.84 1.0000 .0000 .10000E+07 16 'Prefactor ' 66.417 1.0000 .0000 .10000E+07 17 'Prefactor ' .43799E-05 1.0000 .0000 .10000E+07 18 'Prefactor ' 69.252 1.0000 .0000 .10000E+07 19 'Prefactor ' .67724E-08 1.0000 .0000 .10000E+07 20 'Normalizat' .98095 1.0000 .10000E-01 10.000 21 'Prefactor ' .66546 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 2875.877 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1885 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.158 7.5920 .15249E-05 .31684E-01 2 norm .44131E-07 24.647 -.42399E-05** at limit ** 3 Prefactor .55511E-10 3.9578 -.33595E-06** at limit ** 4 Prefactor 10.425 14.324 .23629E-05 .87362E-01 5 Prefactor .0000 2.8601 .26228E-06** at limit ** 6 Prefactor .20539E-08 5.7079 -.82508E-07** at limit ** 7 Prefactor .90539E-07 18.661 .21143E-05** at limit ** 8 Prefactor .67879E-06 22.015 -.21335E-05** at limit ** 9 norm .31281E-03 19.169 .71936E-05** at limit ** 10 Prefactor .49405E-08 6.1721 -.46895E-06** at limit ** 11 Prefactor .51501E-05 52.630 .94051E-05** at limit ** 12 Prefactor 11.698 19.527 -.29725E-05 -.32061E-01 13 Prefactor 37.653 2.9551 -.12026E-06 -.24052E-01 14 norm 7.6660 4.7616 .38119E-06 .67612E-02 15 Prefactor 101.87 1.5862 -.11080E-06 .22243E-01 16 Prefactor 66.455 2.6206 -.22700E-06 .36065E-01 17 Prefactor .10105E-04 171.48 -.22536E-05** at limit ** 18 Prefactor 69.234 1.3850 .69004E-08 .19636E-02 19 Prefactor .44409E-09 5.1242 -.40824E-06** at limit ** 20 Normalizat .98106 .34481 -.17482E-04 .67922E-04 21 Prefactor .66533 .14847 .26179E-04 .73536E-04 ERR DEF= .500 Final values: Prefactor = 16.1578 norm = 4.41314e-08 Prefactor = 5.55112e-11 Prefactor = 10.4245 Prefactor = 0 Prefactor = 2.05391e-09 Prefactor = 9.05387e-08 Prefactor = 6.7879e-07 norm = 0.00031281 Prefactor = 4.94049e-09 Prefactor = 5.1501e-06 Prefactor = 11.6983 Prefactor = 37.6526 norm = 7.66603 Prefactor = 101.868 Prefactor = 66.4552 Prefactor = 1.01048e-05 Prefactor = 69.2336 Prefactor = 4.44089e-10 Normalizat = 0.981057 Prefactor = 0.665329 ********** ** 18 **HESSE ********** FCN= 2875.877 FROM HESSE STATUS=OK 361 CALLS 2246 TOTAL EDM= .86E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 16.158 21.620 .24894E-03 -1.5628 2 norm .44131E-07 32.341 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 3.9548 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 10.425 19.945 .31016E-03 -1.5643 5 Prefactor .0000 2.8426 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .20539E-08 5.7099 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .90539E-07 29.817 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .67879E-06 22.555 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .31281E-03 8.4417 .50688E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .49405E-08 6.1769 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .51501E-05 54.871 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 11.698 20.662 .29264E-03 -1.5640 13 Prefactor 37.653 39.551 .16297E-03 -1.5585 14 norm 7.6660 4.7483 .36175E-03 -1.5653 15 Prefactor 101.87 115.16 .99099E-04 -1.5506 16 Prefactor 66.455 75.334 .12271E-03 -1.5545 17 Prefactor .10105E-04 174.82 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 69.234 64.027 .12017E-03 -1.5542 19 Prefactor .44409E-09 5.1234 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat .98106 .31175 .67831E-01 -.93668 21 Prefactor .66533 .13064 .41940E-01 -1.0490 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.63311e-07 Minuit parameter uncertainties: 1 21.6204 2 0.00238987 3 3.53269e-05 4 19.9449 5 1.22612e-05 6 0.000217409 7 0.00328625 8 0.00782553 9 0.102774 10 0.000348631 11 0.0336213 12 20.6624 13 39.5512 14 4.74831 15 115.167 16 75.3346 17 0.0840615 18 64.0272 19 9.72531e-05 20 0.312333 21 0.130695 number of points = 17312 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0033.9+3858_weekly_bin845 RA = 8.483, Dec = 38.9716 tmin = 750038401, tmax = 750643201 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='57255013', job_status='RUN', time_executed='2024-10-15 00:14:07.054099', time_epoch_executed='1728976447.05' WHERE source_name='4FGL J0033.9+3858' and cadence='weekly' and bin_id='845' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/57255013 Creating custom pfile directory: /lscratch/kocevski/57255013/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/57255013/ft1_4FGL_J0033.9+3858_weekly_bin845.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/57255013/ft1_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57255013/ft1_filteredMKT_4FGL_J0033.9+3858_weekly_bin845.fits ra=8.483 dec=38.9716 rad=12.0 tmin=750038401.0 tmax=750643201.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 3.62 user 3.26 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.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/57255013/ft1_filteredMKT_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" outfile="/lscratch/kocevski/57255013/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.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.47 user 0.19 sys 0.12 Number of photons that the gtmktime cut: 257 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/57255013/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits" evtable="EVENTS" scfile=/lscratch/kocevski/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" outfDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2875.8774913 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 9.054e-08 3.286e-03 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 6.653e-01 1.307e-01 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 9.811e-01 3.123e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 8.483 38.972 Photon Flux Upper Limit: 1.65458947138e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.0128340804287 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/57254891/likelihoodResults_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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) = 2875.8935706 delta logL = -0.0160793001428 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 2875.87749252 delta logL = -1.22733854369e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .12854E-04 1.0000 .0000 .10000E+07 2 'Index ' .75113 1.0000 .0000 10.000 3 'Normalizat' .98098 1.0000 .10000E-01 10.000 4 'Prefactor ' .66543 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 2875.877 FROM MIGRAD STATUS=CONVERGED 54 CALLS 217 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 26.176 .42118E-03** at limit ** 2 Index 2.5944 1.8303 .29020E-03 .0000 3 Normalizat .98105 1.3119 -.47815E-05 .13938E-03 4 Prefactor .66533 1.0148 .11865E-04 .40413E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.59437 Normalizat = 0.981055 Prefactor = 0.665331 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 2875.877 FROM HESSE STATUS=FAILED 9 CALLS 226 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 26.176 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .76069 2.0535 .29020E-03 -.50194 3 Normalizat .98105 1.3119 -.47815E-05 -.93668 4 Prefactor .66533 1.0148 .11865E-04 -1.0490 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.24387e-10 Minuit parameter uncertainties: 1 1.33451e-05 2 1.88821 3 1.35918 4 1.04517 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) = 2875.87749129 delta logL = 1.4342731447e-09 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 0.000e+00 1.335e-05 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.594e+00 1.888e+00 0.000e+00 1.000e+01 (-1.000e+00) 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 6.653e-01 1.045e+00 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 9.811e-01 1.359e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 8.483 38.972 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/57254891/cmap_HighResolution_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2024-10-15 00:19:45.673267', job_id='57254891', GAL2='0.67', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1728976785.67', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.43e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='845' AND source_name='4FGL J0033.9+3858' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 15 00:19:45 PDT 2024 ile=/lscratch/kocevski/57255013/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.fits .....................! real 23.03 user 22.46 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/57255013/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" scfile=/lscratch/kocevski/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" expcube=/lscratch/kocevski/57255013/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57255013/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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/57255013/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits .....................! real 72.78 user 68.38 sys 3.92 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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Added 169 point sources and 1 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 J0033.9+3858 @ 8.483 38.9716 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/57255013/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits scfile=/lscratch/kocevski/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57255013/cmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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=8.483 yref=38.9716 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.60 user 0.24 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/57255013/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits scfile=/lscratch/kocevski/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57255013/cmap_HighResolution_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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=8.483 yref=38.9716 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.58 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/57255013/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" scfile=/lscratch/kocevski/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/57255013/Model_4FGL_J0033.9+3858_weekly_bin845.xml irfs="P8R3_SOURCE_V2" evnumber of points = 17312 number of fields = 31 RA_SUN column already exists. File will not be modified. number of points = 17312 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0033.9+3858_weekly_bin845 RA = 8.483, Dec = 38.9716 tmin = 750038401, tmax = 750643201 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='57254961', job_status='RUN', time_executed='2024-10-15 00:14:01.314888', time_epoch_executed='1728976441.31' WHERE source_name='4FGL J0033.9+3858' and cadence='weekly' and bin_id='845' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/57254961 Creating custom pfile directory: /lscratch/kocevski/57254961/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/57254961/ft1_4FGL_J0033.9+3858_weekly_bin845.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/57254961/ft1_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254961/ft1_filteredMKT_4FGL_J0033.9+3858_weekly_bin845.fits ra=8.483 dec=38.9716 rad=12.0 tmin=750038401.0 tmax=750643201.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.11 user 3.73 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.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/57254961/ft1_filteredMKT_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" outfile="/lscratch/kocevski/57254961/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.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.71 user 0.28 sys 0.16 Number of photons that the gtmktime cut: 257 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/57254961/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits" evtable="EVENTS" scfile=/lscratch/kocevski/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" outfDone. Performing analysis on: 4FGL_J0033.9+3858_weekly_bin845 RA = 8.483, Dec = 38.9716 tmin = 750038401, tmax = 750643201 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='57254889', job_status='RUN', time_executed='2024-10-15 00:14:00.569228', time_epoch_executed='1728976440.57' WHERE source_name='4FGL J0033.9+3858' and cadence='weekly' and bin_id='845' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/57254889 Creating custom pfile directory: /lscratch/kocevski/57254889/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/57254889/ft1_4FGL_J0033.9+3858_weekly_bin845.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=750038401.0 && nMetStart<750643201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/57254889/ft1_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254889/ft1_filteredMKT_4FGL_J0033.9+3858_weekly_bin845.fits ra=8.483 dec=38.9716 rad=12.0 tmin=750038401.0 tmax=750643201.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.21 user 3.80 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.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/57254889/ft1_filteredMKT_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" outfile="/lscratch/kocevski/57254889/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.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.61 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 257 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/57254889/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits" evtable="EVENTS" scfile=/lscratch/kocevski/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" outfclsmin=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 FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/57255013/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits......................! real 17.92 user 16.93 sys 0.54 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/57255013/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits', '/lscratch/kocevski/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.fits', expMap='/lscratch/kocevski/57255013/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits', expCube='/lscratch/kocevski/57255013/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/57255013/Model_4FGL_J0033.9+3858_weekly_bin845.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0033.9+3858' 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 4.490e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/57255013/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits Spacecraft file(s): /lscratch/kocevski/57255013/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Exposure map: /lscratch/kocevski/57255013/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits Exposure cube: /lscratch/kocevski/57255013/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/57255013/Model_4FGL_J0033.9+3858_weekly_bin845.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) = 2875.88615606 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2875.87749608 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 16.153 1.0000 .0000 .10000E+07 2 'norm ' .46629E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' .16653E-09 1.0000 .0000 .10000E+07 4 'Prefactor ' 10.419 1.0000 .0000 .10000E+07 5 'Prefactor ' .88818E-08 1.0000 .0000 .10000E+07 6 'Prefactor ' .49960E-09 1.0000 .0000 .10000E+07 7 'Prefactor ' .23870E-08 1.0000 .0000 .10000E+07 8 'Prefactor ' .11102E-09 1.0000 .0000 .10000E+07 9 'norm ' .10204E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .11657E-08 1.0000 .0000 .10000E+07 11 'Prefactor ' .33835E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' 11.699 1.0000 .0000 .10000E+07 13 'Prefactor ' 37.661 1.0000 .0000 .10000E+07 14 'norm ' 7.6744 1.0000 .0000 .10000E+07 15 'Prefactor ' 101.84 1.0000 .0000 .10000E+07 16 'Prefactor ' 66.417 1.0000 .0000 .10000E+07 17 'Prefactor ' .43799E-05 1.0000 .0000 .10000E+07 18 'Prefactor ' 69.252 1.0000 .0000 .10000E+07 19 'Prefactor ' .67724E-08 1.0000 .0000 .10000E+07 20 'Normalizat' .98095 1.0000 .10000E-01 10.000 21 'Prefactor ' .66546 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 2875.877 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1885 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.158 7.5920 .15249E-05 .31684E-01 2 norm .44131E-07 24.647 -.42399E-05** at limit ** 3 Prefactor .55511E-10 3.9578 -.33595E-06** at limit ** 4 Prefactor 10.425 14.324 .23629E-05 .87362E-01 5 Prefactor .0000 2.8601 .26228E-06** at limit ** 6 Prefactor .20539E-08 5.7079 -.82508E-07** at limit ** 7 Prefactor .90539E-07 18.661 .21143E-05** at limit ** 8 Prefactor .67879E-06 22.015 -.21335E-05** at limit ** 9 norm .31281E-03 19.169 .71936E-05** at limit ** 10 Prefactor .49405E-08 6.1721 -.46895E-06** at limit ** 11 Prefactor .51501E-05 52.630 .94051E-05** at limit ** 12 Prefactor 11.698 19.527 -.29725E-05 -.32061E-01 13 Prefactor 37.653 2.9551 -.12026E-06 -.24052E-01 14 norm 7.6660 4.7616 .38119E-06 .67612E-02 15 Prefactor 101.87 1.5862 -.11080E-06 .22243E-01 16 Prefactor 66.455 2.6206 -.22700E-06 .36065E-01 17 Prefactor .10105E-04 171.48 -.22536E-05** at limit ** 18 Prefactor 69.234 1.3850 .69004E-08 .19636E-02 19 Prefactor .44409E-09 5.1242 -.40824E-06** at limit ** 20 Normalizat .98106 .34481 -.17482E-04 .67922E-04 21 Prefactor .66533 .14847 .26179E-04 .73536E-04 ERR DEF= .500 Final values: Prefactor = 16.1578 norm = 4.41314e-08 Prefactor = 5.55112e-11 Prefactor = 10.4245 Prefactor = 0 Prefactor = 2.05391e-09 Prefactor = 9.05387e-08 Prefactor = 6.7879e-07 norm = 0.00031281 Prefactor = 4.94049e-09 Prefactor = 5.1501e-06 Prefactor = 11.6983 Prefactor = 37.6526 norm = 7.66603 Prefactor = 101.868 Prefactor = 66.4552 Prefactor = 1.01048e-05 Prefactor = 69.2336 Prefactor = 4.44089e-10 Normalizat = 0.981057 Prefactor = 0.665329 ********** ** 18 **HESSE ********** FCN= 2875.877 FROM HESSE STATUS=OK 361 CALLS 2246 TOTAL EDM= .86E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 16.158 21.620 .24894E-03 -1.5628 2 norm .44131E-07 32.341 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 3.9548 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 10.425 19.945 .31016E-03 -1.5643 5 Prefactor .0000 2.8426 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .20539E-08 5.7099 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .90539E-07 29.817 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .67879E-06 22.555 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .31281E-03 8.4417 .50688E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .49405E-08 6.1769 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .51501E-05 54.871 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 11.698 20.662 .29264E-03 -1.5640 13 Prefactor 37.653 39.551 .16297E-03 -1.5585 14 norm 7.6660 4.7483 .36175E-03 -1.5653 15 Prefactor 101.87 115.16 .99099E-04 -1.5506 16 Prefactor 66.455 75.334 .12271E-03 -1.5545 17 Prefactor .10105E-04 174.82 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 69.234 64.027 .12017E-03 -1.5542 19 Prefactor .44409E-09 5.1234 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat .98106 .31175 .67831E-01 -.93668 21 Prefactor .66533 .13064 .41940E-01 -1.0490 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.63311e-07 Minuit parameter uncertainties: 1 21.6204 2 0.00238987 3 3.53269e-05 4 19.9449 5 1.22612e-05 6 0.000217409 7 0.00328625 8 0.00782553 9 0.102774 10 0.000348631 11 0.0336213 12 20.6624 13 39.5512 14 4.74831 15 115.167 16 75.3346 17 0.0840615 18 64.0272 19 9.72531e-05 20 0.312333 21 0.130695 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2875.8774913 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 9.054e-08 3.286e-03 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 6.653e-01 1.307e-01 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 9.811e-01 3.123e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 8.483 38.972 Photon Flux Upper Limit: 1.65458947138e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.0128340804287 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/57255013/likelihoodResults_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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) = 2875.8935706 delta logL = -0.0160793001428 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 2875.87749252 delta logL = -1.22733854369e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .12854E-04 1.0000 .0000 .10000E+07 2 'Index ' .75113 1.0000 .0000 10.000 3 'Normalizat' .98098 1.0000 .10000E-01 10.000 4 'Prefactor ' .66543 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 2875.877 FROM MIGRAD STATUS=CONVERGED 54 CALLS 217 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 26.176 .42118E-03** at limit ** 2 Index 2.5944 1.8303 .29020E-03 .0000 3 Normalizat .98105 1.3119 -.47815E-05 .13938E-03 4 Prefactor .66533 1.0148 .11865E-04 .40413E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.59437 Normalizat = 0.981055 Prefactor = 0.665331 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 2875.877 FROM HESSE STATUS=FAILED 9 CALLS 226 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 26.176 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .76069 2.0535 .29020E-03 -.50194 3 Normalizat .98105 1.3119 -.47815E-05 -.93668 4 Prefactor .66533 1.0148 .11865E-04 -1.0490 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.24387e-10 Minuit parameter uncertainties: 1 1.33451e-05 2 1.88821 3 1.35918 4 1.04517 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) = 2875.87749129 delta logL = 1.4342731447e-09 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 0.000e+00 1.335e-05 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.594e+00 1.888e+00 0.000e+00 1.000e+01 (-1.000e+00) 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 6.653e-01 1.045e+00 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 9.811e-01 1.359e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 8.483 38.972 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/57255013/cmap_HighResolution_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2024-10-15 00:22:52.067496', job_id='57255013', GAL2='0.67', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1728976972.07', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.43e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='845' AND source_name='4FGL J0033.9+3858' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 15 00:22:52 PDT 2024 ile=/lscratch/kocevski/57254889/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.fits .....................! real 33.71 user 32.71 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/57254889/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" scfile=/lscratch/kocevski/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" expcube=/lscratch/kocevski/57254889/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254889/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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/57254889/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits .....................! real 68.58 user 63.81 sys 3.69 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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Added 169 point sources and 1 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 J0033.9+3858 @ 8.483 38.9716 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/57254889/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits scfile=/lscratch/kocevski/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254889/cmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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=8.483 yref=38.9716 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.50 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/57254889/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits scfile=/lscratch/kocevski/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254889/cmap_HighResolution_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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=8.483 yref=38.9716 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.45 user 0.25 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/57254889/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" scfile=/lscratch/kocevski/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/57254889/Model_4FGL_J0033.9+3858_weekly_bin845.xml irfs="P8R3_SOURCE_V2" evile=/lscratch/kocevski/57254961/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.fits .....................! real 37.84 user 36.80 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/57254961/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" scfile=/lscratch/kocevski/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" expcube=/lscratch/kocevski/57254961/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254961/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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/57254961/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits .....................! real 68.81 user 64.04 sys 3.80 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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Added 169 point sources and 1 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 J0033.9+3858 @ 8.483 38.9716 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/57254961/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits scfile=/lscratch/kocevski/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254961/cmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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=8.483 yref=38.9716 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.61 user 0.25 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/57254961/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits scfile=/lscratch/kocevski/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.fits outfile=/lscratch/kocevski/57254961/cmap_HighResolution_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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=8.483 yref=38.9716 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.80 user 0.28 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/57254961/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits evtable="EVENTS" scfile=/lscratch/kocevski/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/57254961/Model_4FGL_J0033.9+3858_weekly_bin845.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 FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/57254889/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits......................! real 18.84 user 16.73 sys 1.74 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/57254889/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits', '/lscratch/kocevski/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.fits', expMap='/lscratch/kocevski/57254889/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits', expCube='/lscratch/kocevski/57254889/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/57254889/Model_4FGL_J0033.9+3858_weekly_bin845.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0033.9+3858' 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 4.490e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/57254889/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits Spacecraft file(s): /lscratch/kocevski/57254889/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Exposure map: /lscratch/kocevski/57254889/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits Exposure cube: /lscratch/kocevski/57254889/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/57254889/Model_4FGL_J0033.9+3858_weekly_bin845.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) = 2875.88615606 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2875.87749608 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 16.153 1.0000 .0000 .10000E+07 2 'norm ' .46629E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' .16653E-09 1.0000 .0000 .10000E+07 4 'Prefactor ' 10.419 1.0000 .0000 .10000E+07 5 'Prefactor ' .88818E-08 1.0000 .0000 .10000E+07 6 'Prefactor ' .49960E-09 1.0000 .0000 .10000E+07 7 'Prefactor ' .23870E-08 1.0000 .0000 .10000E+07 8 'Prefactor ' .11102E-09 1.0000 .0000 .10000E+07 9 'norm ' .10204E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .11657E-08 1.0000 .0000 .10000E+07 11 'Prefactor ' .33835E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' 11.699 1.0000 .0000 .10000E+07 13 'Prefactor ' 37.661 1.0000 .0000 .10000E+07 14 'norm ' 7.6744 1.0000 .0000 .10000E+07 15 'Prefactor ' 101.84 1.0000 .0000 .10000E+07 16 'Prefactor ' 66.417 1.0000 .0000 .10000E+07 17 'Prefactor ' .43799E-05 1.0000 .0000 .10000E+07 18 'Prefactor ' 69.252 1.0000 .0000 .10000E+07 19 'Prefactor ' .67724E-08 1.0000 .0000 .10000E+07 20 'Normalizat' .98095 1.0000 .10000E-01 10.000 21 'Prefactor ' .66546 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 2875.877 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1885 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.158 7.5920 .15249E-05 .31684E-01 2 norm .44131E-07 24.647 -.42399E-05** at limit ** 3 Prefactor .55511E-10 3.9578 -.33595E-06** at limit ** 4 Prefactor 10.425 14.324 .23629E-05 .87362E-01 5 Prefactor .0000 2.8601 .26228E-06** at limit ** 6 Prefactor .20539E-08 5.7079 -.82508E-07** at limit ** 7 Prefactor .90539E-07 18.661 .21143E-05** at limit ** 8 Prefactor .67879E-06 22.015 -.21335E-05** at limit ** 9 norm .31281E-03 19.169 .71936E-05** at limit ** 10 Prefactor .49405E-08 6.1721 -.46895E-06** at limit ** 11 Prefactor .51501E-05 52.630 .94051E-05** at limit ** 12 Prefactor 11.698 19.527 -.29725E-05 -.32061E-01 13 Prefactor 37.653 2.9551 -.12026E-06 -.24052E-01 14 norm 7.6660 4.7616 .38119E-06 .67612E-02 15 Prefactor 101.87 1.5862 -.11080E-06 .22243E-01 16 Prefactor 66.455 2.6206 -.22700E-06 .36065E-01 17 Prefactor .10105E-04 171.48 -.22536E-05** at limit ** 18 Prefactor 69.234 1.3850 .69004E-08 .19636E-02 19 Prefactor .44409E-09 5.1242 -.40824E-06** at limit ** 20 Normalizat .98106 .34481 -.17482E-04 .67922E-04 21 Prefactor .66533 .14847 .26179E-04 .73536E-04 ERR DEF= .500 Final values: Prefactor = 16.1578 norm = 4.41314e-08 Prefactor = 5.55112e-11 Prefactor = 10.4245 Prefactor = 0 Prefactor = 2.05391e-09 Prefactor = 9.05387e-08 Prefactor = 6.7879e-07 norm = 0.00031281 Prefactor = 4.94049e-09 Prefactor = 5.1501e-06 Prefactor = 11.6983 Prefactor = 37.6526 norm = 7.66603 Prefactor = 101.868 Prefactor = 66.4552 Prefactor = 1.01048e-05 Prefactor = 69.2336 Prefactor = 4.44089e-10 Normalizat = 0.981057 Prefactor = 0.665329 clsmin=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 FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/57254961/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits......................! real 18.19 user 16.36 sys 1.51 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/57254961/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits', '/lscratch/kocevski/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.fits', expMap='/lscratch/kocevski/57254961/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits', expCube='/lscratch/kocevski/57254961/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/57254961/Model_4FGL_J0033.9+3858_weekly_bin845.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0033.9+3858' 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 4.490e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/57254961/ft1_filtered_4FGL_J0033.9+3858_weekly_bin845.fits Spacecraft file(s): /lscratch/kocevski/57254961/ft2_4FGL_J0033.9+3858_weekly_bin845.fits Exposure map: /lscratch/kocevski/57254961/expmap_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits Exposure cube: /lscratch/kocevski/57254961/ltcube_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/57254961/Model_4FGL_J0033.9+3858_weekly_bin845.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) = 2875.88615606 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2875.87749608 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 16.153 1.0000 .0000 .10000E+07 2 'norm ' .46629E-08 1.0000 .0000 .10000E+07 3 'Prefactor ' .16653E-09 1.0000 .0000 .10000E+07 4 'Prefactor ' 10.419 1.0000 .0000 .10000E+07 5 'Prefactor ' .88818E-08 1.0000 .0000 .10000E+07 6 'Prefactor ' .49960E-09 1.0000 .0000 .10000E+07 7 'Prefactor ' .23870E-08 1.0000 .0000 .10000E+07 8 'Prefactor ' .11102E-09 1.0000 .0000 .10000E+07 9 'norm ' .10204E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .11657E-08 1.0000 .0000 .10000E+07 11 'Prefactor ' .33835E-05 1.0000 .0000 .10000E+07 12 'Prefactor ' 11.699 1.0000 .0000 .10000E+07 13 'Prefactor ' 37.661 1.0000 .0000 .10000E+07 14 'norm ' 7.6744 1.0000 .0000 .10000E+07 15 'Prefactor ' 101.84 1.0000 .0000 .10000E+07 16 'Prefactor ' 66.417 1.0000 .0000 .10000E+07 17 'Prefactor ' .43799E-05 1.0000 .0000 .10000E+07 18 'Prefactor ' 69.252 1.0000 .0000 .10000E+07 19 'Prefactor ' .67724E-08 1.0000 .0000 .10000E+07 20 'Normalizat' .98095 1.0000 .10000E-01 10.000 21 'Prefactor ' .66546 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 2875.877 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1885 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.158 7.5920 .15249E-05 .31684E-01 2 norm .44131E-07 24.647 -.42399E-05** at limit ** 3 Prefactor .55511E-10 3.9578 -.33595E-06** at limit ** 4 Prefactor 10.425 14.324 .23629E-05 .87362E-01 5 Prefactor .0000 2.8601 .26228E-06** at limit ** 6 Prefactor .20539E-08 5.7079 -.82508E-07** at limit ** 7 Prefactor .90539E-07 18.661 .21143E-05** at limit ** 8 Prefactor .67879E-06 22.015 -.21335E-05** at limit ** 9 norm .31281E-03 19.169 .71936E-05** at limit ** 10 Prefactor .49405E-08 6.1721 -.46895E-06** at limit ** 11 Prefactor .51501E-05 52.630 .94051E-05** at limit ** 12 Prefactor 11.698 19.527 -.29725E-05 -.32061E-01 13 Prefactor 37.653 2.9551 -.12026E-06 -.24052E-01 14 norm 7.6660 4.7616 .38119E-06 .67612E-02 15 Prefactor 101.87 1.5862 -.11080E-06 .22243E-01 16 Prefactor 66.455 2.6206 -.22700E-06 .36065E-01 17 Prefactor .10105E-04 171.48 -.22536E-05** at limit ** 18 Prefactor 69.234 1.3850 .69004E-08 .19636E-02 19 Prefactor .44409E-09 5.1242 -.40824E-06** at limit ** 20 Normalizat .98106 .34481 -.17482E-04 .67922E-04 21 Prefactor .66533 .14847 .26179E-04 .73536E-04 ERR DEF= .500 Final values: Prefactor = 16.1578 norm = 4.41314e-08 Prefactor = 5.55112e-11 Prefactor = 10.4245 Prefactor = 0 Prefactor = 2.05391e-09 Prefactor = 9.05387e-08 Prefactor = 6.7879e-07 norm = 0.00031281 Prefactor = 4.94049e-09 Prefactor = 5.1501e-06 Prefactor = 11.6983 Prefactor = 37.6526 norm = 7.66603 Prefactor = 101.868 Prefactor = 66.4552 Prefactor = 1.01048e-05 Prefactor = 69.2336 Prefactor = 4.44089e-10 Normalizat = 0.981057 Prefactor = 0.665329 ********** ** 18 **HESSE ********** FCN= 2875.877 FROM HESSE STATUS=OK 361 CALLS 2246 TOTAL EDM= .86E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 16.158 21.620 .24894E-03 -1.5628 2 norm .44131E-07 32.341 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 3.9548 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 10.425 19.945 .31016E-03 -1.5643 5 Prefactor .0000 2.8426 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .20539E-08 5.7099 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .90539E-07 29.817 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .67879E-06 22.555 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .31281E-03 8.4417 .50688E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .49405E-08 6.1769 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .51501E-05 54.871 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 11.698 20.662 .29264E-03 -1.5640 13 Prefactor 37.653 39.551 .16297E-03 -1.5585 14 norm 7.6660 4.7483 .36175E-03 -1.5653 15 Prefactor 101.87 115.16 .99099E-04 -1.5506 16 Prefactor 66.455 75.334 .12271E-03 -1.5545 17 Prefactor .10105E-04 174.82 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 69.234 64.027 .12017E-03 -1.5542 19 Prefactor .44409E-09 5.1234 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat .98106 .31175 .67831E-01 -.93668 21 Prefactor .66533 .13064 .41940E-01 -1.0490 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.63311e-07 Minuit parameter uncertainties: 1 21.6204 2 0.00238987 3 3.53269e-05 4 19.9449 5 1.22612e-05 6 0.000217409 7 0.00328625 8 0.00782553 9 0.102774 10 0.000348631 11 0.0336213 12 20.6624 13 39.5512 14 4.74831 15 115.167 16 75.3346 17 0.0840615 18 64.0272 19 9.72531e-05 20 0.312333 21 0.130695 ********** ** 18 **HESSE ********** FCN= 2875.877 FROM HESSE STATUS=OK 361 CALLS 2246 TOTAL EDM= .86E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 16.158 21.620 .24894E-03 -1.5628 2 norm .44131E-07 32.341 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 3.9548 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 10.425 19.945 .31016E-03 -1.5643 5 Prefactor .0000 2.8426 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .20539E-08 5.7099 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .90539E-07 29.817 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .67879E-06 22.555 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .31281E-03 8.4417 .50688E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .49405E-08 6.1769 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .51501E-05 54.871 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 11.698 20.662 .29264E-03 -1.5640 13 Prefactor 37.653 39.551 .16297E-03 -1.5585 14 norm 7.6660 4.7483 .36175E-03 -1.5653 15 Prefactor 101.87 115.16 .99099E-04 -1.5506 16 Prefactor 66.455 75.334 .12271E-03 -1.5545 17 Prefactor .10105E-04 174.82 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 69.234 64.027 .12017E-03 -1.5542 19 Prefactor .44409E-09 5.1234 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat .98106 .31175 .67831E-01 -.93668 21 Prefactor .66533 .13064 .41940E-01 -1.0490 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.63311e-07 Minuit parameter uncertainties: 1 21.6204 2 0.00238987 3 3.53269e-05 4 19.9449 5 1.22612e-05 6 0.000217409 7 0.00328625 8 0.00782553 9 0.102774 10 0.000348631 11 0.0336213 12 20.6624 13 39.5512 14 4.74831 15 115.167 16 75.3346 17 0.0840615 18 64.0272 19 9.72531e-05 20 0.312333 21 0.130695 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2875.8774913 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 9.054e-08 3.286e-03 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 6.653e-01 1.307e-01 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 9.811e-01 3.123e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 8.483 38.972 Photon Flux Upper Limit: 1.65458947138e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.0128340804287 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/57254889/likelihoodResults_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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) = 2875.8935706 delta logL = -0.0160793001428 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 2875.87749252 delta logL = -1.22733854369e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .12854E-04 1.0000 .0000 .10000E+07 2 'Index ' .75113 1.0000 .0000 10.000 3 'Normalizat' .98098 1.0000 .10000E-01 10.000 4 'Prefactor ' .66543 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 2875.877 FROM MIGRAD STATUS=CONVERGED 54 CALLS 217 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 26.176 .42118E-03** at limit ** 2 Index 2.5944 1.8303 .29020E-03 .0000 3 Normalizat .98105 1.3119 -.47815E-05 .13938E-03 4 Prefactor .66533 1.0148 .11865E-04 .40413E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.59437 Normalizat = 0.981055 Prefactor = 0.665331 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 2875.877 FROM HESSE STATUS=FAILED 9 CALLS 226 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 26.176 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .76069 2.0535 .29020E-03 -.50194 3 Normalizat .98105 1.3119 -.47815E-05 -.93668 4 Prefactor .66533 1.0148 .11865E-04 -1.0490 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.24387e-10 Minuit parameter uncertainties: 1 1.33451e-05 2 1.88821 3 1.35918 4 1.04517 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) = 2875.87749129 delta logL = 1.4342731447e-09 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 0.000e+00 1.335e-05 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.594e+00 1.888e+00 0.000e+00 1.000e+01 (-1.000e+00) 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 6.653e-01 1.045e+00 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 9.811e-01 1.359e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 8.483 38.972 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/57254889/cmap_HighResolution_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2024-10-15 00:24:42.257692', job_id='57254889', GAL2='0.67', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1728977082.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.43e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='845' AND source_name='4FGL J0033.9+3858' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 15 00:24:42 PDT 2024 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 2875.8774913 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 9.054e-08 3.286e-03 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.458e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 6.653e-01 1.307e-01 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 9.811e-01 3.123e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 8.483 38.972 Photon Flux Upper Limit: 1.65458947138e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.0128340804287 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/57254961/likelihoodResults_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.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) = 2875.8935706 delta logL = -0.0160793001428 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 2875.87749252 delta logL = -1.22733854369e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .12854E-04 1.0000 .0000 .10000E+07 2 'Index ' .75113 1.0000 .0000 10.000 3 'Normalizat' .98098 1.0000 .10000E-01 10.000 4 'Prefactor ' .66543 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5590E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 2875.877 FROM MIGRAD STATUS=CONVERGED 54 CALLS 217 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 26.176 .42118E-03** at limit ** 2 Index 2.5944 1.8303 .29020E-03 .0000 3 Normalizat .98105 1.3119 -.47815E-05 .13938E-03 4 Prefactor .66533 1.0148 .11865E-04 .40413E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.59437 Normalizat = 0.981055 Prefactor = 0.665331 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 2875.877 FROM HESSE STATUS=FAILED 9 CALLS 226 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 26.176 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .76069 2.0535 .29020E-03 -.50194 3 Normalizat .98105 1.3119 -.47815E-05 -.93668 4 Prefactor .66533 1.0148 .11865E-04 -1.0490 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.24387e-10 Minuit parameter uncertainties: 1 1.33451e-05 2 1.88821 3 1.35918 4 1.04517 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) = 2875.87749129 delta logL = 1.4342731447e-09 Extracting fit parameters... 4FGL J0033.9+3858 Spectrum: PowerLaw 95 Prefactor: 0.000e+00 1.335e-05 0.000e+00 1.000e+06 ( 1.000e-13) 96 Index: 2.594e+00 1.888e+00 0.000e+00 1.000e+01 (-1.000e+00) 97 Scale: 9.074e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 556 Prefactor: 6.653e-01 1.045e+00 0.000e+00 1.000e+01 ( 1.000e+00) 557 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 558 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 551 Normalization: 9.811e-01 1.359e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 8.483 38.972 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/57254961/cmap_HighResolution_750038401_750643201_4FGL_J0033.9+3858_weekly_bin845.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2024-10-15 00:24:45.038628', job_id='57254961', GAL2='0.67', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1728977085.04', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.43e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='845' AND source_name='4FGL J0033.9+3858' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 15 00:24:45 PDT 2024