/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 = 74236 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0904.6+5200_monthly_bin203 RA = 136.154, Dec = 52.0096 tmin = 763171201, tmax = 765763201 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='2916830', job_status='RUN', time_executed='2025-04-08 05:01:08.580729', time_epoch_executed='1744113668.58' WHERE source_name='4FGL J0904.6+5200' and cadence='monthly' and bin_id='203' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/2916830 Creating custom pfile directory: /lscratch/kocevski/2916830/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=763171201.0 && nMetStart<765763201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=763171201.0 && nMetStart<765763201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/2916830/ft1_4FGL_J0904.6+5200_monthly_bin203.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=763171201.0 && nMetStart<765763201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/2916830/ft1_4FGL_J0904.6+5200_monthly_bin203.fits outfile=/lscratch/kocevski/2916830/ft1_filteredMKT_4FGL_J0904.6+5200_monthly_bin203.fits ra=136.154 dec=52.0096 rad=12.0 tmin=763171201.0 tmax=765763201.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 18.25 user 16.88 sys 0.92 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.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/2916830/ft1_filteredMKT_4FGL_J0904.6+5200_monthly_bin203.fits evtable="EVENTS" outfile="/lscratch/kocevski/2916830/ft1_filtered_4FGL_J0904.6+5200_monthly_bin203.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.79 user 0.32 sys 0.14 Number of photons that the gtmktime cut: 7881 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/2916830/ft1_filtered_4FGL_J0904.6+5200_monthly_bin203.fits" evtable="EVENTS" scfile=/lscratch/kocevski/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.fits sctable="SC_DATA" outfile=/lscratch/kocevski/2916830/ltcube_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.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/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.fits .....................! real 64.54 user 63.62 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/2916830/ft1_filtered_4FGL_J0904.6+5200_monthly_bin203.fits evtable="EVENTS" scfile=/lscratch/kocevski/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/2916830/ltcube_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.fits outfile=/lscratch/kocevski/2916830/expmap_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.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/2916830/ltcube_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.fits .....................! real 59.88 user 55.82 sys 3.42 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 226 point sources and 0 extended sources Setting source of interest to: 4FGL J0904.6+5200 @ 136.154 52.0096 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/2916830/ft1_filtered_4FGL_J0904.6+5200_monthly_bin203.fits scfile=/lscratch/kocevski/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.fits outfile=/lscratch/kocevski/2916830/cmap_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.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=136.154 yref=52.0096 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.76 user 0.29 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/2916830/ft1_filtered_4FGL_J0904.6+5200_monthly_bin203.fits scfile=/lscratch/kocevski/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.fits outfile=/lscratch/kocevski/2916830/cmap_HighResolution_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.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=136.154 yref=52.0096 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.76 user 0.29 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/2916830/ft1_filtered_4FGL_J0904.6+5200_monthly_bin203.fits evtable="EVENTS" scfile=/lscratch/kocevski/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/2916830/Model_4FGL_J0904.6+5200_monthly_bin203.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/2916830/ft1_filtered_4FGL_J0904.6+5200_monthly_bin203.fits.....................! real 223.60 user 220.98 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/2916830/ft1_filtered_4FGL_J0904.6+5200_monthly_bin203.fits', '/lscratch/kocevski/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.fits', expMap='/lscratch/kocevski/2916830/expmap_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.fits', expCube='/lscratch/kocevski/2916830/ltcube_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/2916830/Model_4FGL_J0904.6+5200_monthly_bin203.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0904.6+5200' 4FGL J0904.6+5200 Spectrum: PowerLaw 353 Prefactor: 1.897e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 354 Index: 2.565e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 355 Scale: 8.643e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/2916830/ft1_filtered_4FGL_J0904.6+5200_monthly_bin203.fits Spacecraft file(s): /lscratch/kocevski/2916830/ft2_4FGL_J0904.6+5200_monthly_bin203.fits Exposure map: /lscratch/kocevski/2916830/expmap_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.fits Exposure cube: /lscratch/kocevski/2916830/ltcube_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/2916830/Model_4FGL_J0904.6+5200_monthly_bin203.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) = 85344.6649208 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 85342.9004843 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .79529 1.0000 .0000 .10000E+07 2 'Prefactor ' 8.6779 1.0000 .0000 .10000E+07 3 'norm ' 1.0556 1.0000 .0000 .10000E+07 4 'norm ' .77773 1.0000 .0000 .10000E+07 5 'Prefactor ' 2.3309 1.0000 .0000 .10000E+07 6 'Prefactor ' 3.0989 1.0000 .0000 .10000E+07 7 'Prefactor ' 3.3702 1.0000 .0000 .10000E+07 8 'Prefactor ' .11508E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 2.0236 1.0000 .0000 .10000E+07 10 'norm ' 2.7535 1.0000 .0000 .10000E+07 11 'norm ' 3.8456 1.0000 .0000 .10000E+07 12 'Prefactor ' 3.7187 1.0000 .0000 .10000E+07 13 'Prefactor ' .10573E-05 1.0000 .0000 .10000E+07 14 'Prefactor ' 2.0969 1.0000 .0000 .10000E+07 15 'norm ' .14571 1.0000 .0000 .10000E+07 16 'norm ' 1.2138 1.0000 .0000 .10000E+07 17 'Prefactor ' .15634E-01 1.0000 .0000 .10000E+07 18 'Prefactor ' 3.8662 1.0000 .0000 .10000E+07 19 'Prefactor ' 4.9387 1.0000 .0000 .10000E+07 20 'Prefactor ' .49422 1.0000 .0000 .10000E+07 21 'Prefactor ' 4.6450 1.0000 .0000 .10000E+07 22 'Prefactor ' .40102E-04 1.0000 .0000 .10000E+07 23 'Prefactor ' .79147 1.0000 .0000 .10000E+07 24 'Prefactor ' 1.9580 1.0000 .0000 .10000E+07 25 'norm ' .23860 1.0000 .0000 .10000E+07 26 'Prefactor ' .33473E-07 1.0000 .0000 .10000E+07 27 'norm ' 1.3786 1.0000 .0000 .10000E+07 28 'norm ' .35971E-06 1.0000 .0000 .10000E+07 29 'Prefactor ' .32272E-04 1.0000 .0000 .10000E+07 30 'norm ' 4.6352 1.0000 .0000 .10000E+07 31 'Prefactor ' 2.6267 1.0000 .0000 .10000E+07 32 'Normalizat' .99865 1.0000 .10000E-01 10.000 33 'Prefactor ' 1.0649 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7190E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 85342.90 FROM MIGRAD STATUS=CONVERGED 139 CALLS 1864 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .79566 .47570 -.41116E-08 -.10340E-02 2 Prefactor 8.8722 1.1875 .10853E-08 -.19412E-01 3 norm 1.0558 .61037 .43404E-08 -.13661E-02 4 norm .77761 .29800 .66866E-08 .57680E-03 5 Prefactor 2.3328 1.8054 -.15149E-08 -.16367E-04 6 Prefactor 3.0976 1.3774 .22677E-07 .19158E-03 7 Prefactor 3.4210 7.2454 -.23622E-06 -.12952E-02 8 Prefactor .0000 6.2922 -.10146E-06** at limit ** 9 Prefactor 2.0244 1.2109 -.26202E-07 -.90353E-03 10 norm 2.7532 1.4920 -.17371E-07 .42470E-03 11 norm 3.8455 1.4498 .95385E-08 .58590E-04 12 Prefactor 3.7196 2.3683 .35094E-07 .15801E-02 13 Prefactor .22204E-09 .90589 -.66063E-07** at limit ** 14 Prefactor 2.0977 .97016 -.84796E-08 -.65509E-03 15 norm .14566 .10934 .85148E-08** at limit ** 16 norm 1.2139 .22592 -.54743E-08 .28378E-02 17 Prefactor .16409E-01 12.037 .31825E-06** at limit ** 18 Prefactor 3.8653 .76934 -.37296E-08 -.35546E-02 19 Prefactor 4.9416 2.1224 .81721E-08 .10097E-02 20 Prefactor .49476 .72275 -.19751E-07 .18877E-03 21 Prefactor 4.6682 3.4209 .45135E-07 .29726E-03 22 Prefactor .11102E-09 7.8191 -.80238E-07** at limit ** 23 Prefactor .79187 1.4860 .17052E-07 .83454E-03 24 Prefactor 1.9568 1.5574 .26510E-07 .78787E-03 25 norm .23790 .86817 .45750E-07** at limit ** 26 Prefactor .16653E-09 .89121 -.42185E-07** at limit ** 27 norm 1.3788 .14992 .45611E-08 .54840E-02 28 norm .0000 .90656 .63186E-07** at limit ** 29 Prefactor .55511E-10 2.4112 -.31196E-07** at limit ** 30 norm 4.6355 .79744 -.51106E-08 .32754E-03 31 Prefactor 2.5704 1.1134 -.19918E-07 .19958E-01 32 Normalizat .99854 .56419E-01 .64358E-06 .64977E-04 33 Prefactor 1.0649 .52048E-01 -.13800E-06 .46515E-04 ERR DEF= .500 Final values: norm = 0.795657 Prefactor = 8.87219 norm = 1.05579 norm = 0.77761 Prefactor = 2.33285 Prefactor = 3.09759 Prefactor = 3.42095 Prefactor = 0 Prefactor = 2.02438 norm = 2.75321 norm = 3.84551 Prefactor = 3.71962 Prefactor = 2.22045e-10 Prefactor = 2.0977 norm = 0.145661 norm = 1.21392 Prefactor = 0.0164094 Prefactor = 3.86527 Prefactor = 4.94164 Prefactor = 0.494755 Prefactor = 4.66819 Prefactor = 1.11022e-10 Prefactor = 0.791873 Prefactor = 1.9568 norm = 0.237903 Prefactor = 1.66533e-10 norm = 1.37878 norm = 0 Prefactor = 5.55112e-11 norm = 4.63546 Prefactor = 2.57042 Normalizat = 0.998538 Prefactor = 1.06489 ********** ** 18 **HESSE ********** FCN= 85342.90 FROM HESSE STATUS=OK 791 CALLS 2655 TOTAL EDM= .12E-03 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .79566 .47495 .53287E-04 -1.5690 2 Prefactor 8.8722 14.111 .34003E-03 -1.5648 3 norm 1.0558 .62222 .11980E-02 -1.5687 4 norm .77761 .29821 .54610E-03 -1.5690 5 Prefactor 2.3328 1.8102 .67143E-03 -1.5677 6 Prefactor 3.0976 1.3899 .57581E-03 -1.5673 7 Prefactor 3.4210 7.2973 .55096E-03 -1.5671 8 Prefactor .0000 6.1368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.0244 1.2138 .72712E-03 -1.5680 10 norm 2.7532 1.5008 .61320E-03 -1.5675 11 norm 3.8455 1.4557 .51438E-03 -1.5669 12 Prefactor 3.7196 2.3826 .52341E-03 -1.5669 13 Prefactor .22204E-09 1.5708 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 2.0977 .98194 .71246E-03 -1.5679 15 norm .14566 .10838 .12835E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 1.2139 .23016 .10255E-02 -1.5686 17 Prefactor .16409E-01 .10481 .62832E-02 -1.5711 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 3.8653 .77393 .51296E-03 -1.5669 19 Prefactor 4.9416 2.1333 .45233E-03 -1.5664 20 Prefactor .49476 .74341 .79293E-03 -1.5694 21 Prefactor 4.6682 3.4562 .46673E-03 -1.5665 22 Prefactor .11102E-09 7.8332 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .79187 1.4980 .53573E-03 -1.5690 24 Prefactor 1.9568 1.6210 .74110E-03 -1.5680 25 norm .23790 .87028 .11126E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .16653E-09 1.6836 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm 1.3788 .15091 .81344E-03 -1.5684 28 norm .0000 .92443 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor .55511E-10 .27491 .54663E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 norm 4.6355 .79496 .46724E-03 -1.5665 31 Prefactor 2.5704 5.0641 .62897E-03 -1.5676 32 Normalizat .99854 .50305E-01 .46150E-01 -.93079 33 Prefactor 1.0649 .45938E-01 .39107E-01 -.90597 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 0.000122454 Minuit parameter uncertainties: 1 0.474945 2 14.1111 3 0.622222 4 0.298212 5 1.81024 6 1.38992 7 7.29733 8 1.75789e-05 9 1.21376 10 1.50081 11 1.45566 12 2.38257 13 3.75314e-05 14 0.981942 15 0.108384 16 0.230159 17 0.0829429 18 0.773928 19 2.1333 20 0.743408 21 3.45625 22 5.6348e-05 23 1.49801 24 1.62099 25 0.870283 26 3.57338e-05 27 0.150908 28 3.04399e-06 29 7.25946e-06 30 0.794956 31 5.06414 32 0.0503077 33 0.0459394 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 85342.9002469 Extracting fit parameters... 4FGL J0904.6+5200 Spectrum: PowerLaw 353 Prefactor: 2.220e-10 3.753e-05 0.000e+00 1.000e+06 ( 1.000e-13) 354 Index: 2.565e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 355 Scale: 8.643e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 716 Prefactor: 1.065e+00 4.594e-02 0.000e+00 1.000e+01 ( 1.000e+00) 717 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 718 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 715 Normalization: 9.985e-01 5.031e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 136.154 52.010 Photon Flux Upper Limit: 1.00888597254e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00078787314786 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/2916830/likelihoodResults_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 85342.9012363 delta logL = -0.000989344131085 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 85342.9002472 delta logL = -2.98721715808e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .57743E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.0335 1.0000 .0000 10.000 3 'Normalizat' .99856 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0649 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7190E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 85342.90 FROM MIGRAD STATUS=CONVERGED 37 CALLS 223 TOTAL EDM= .17E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.6335 .42118E-03** at limit ** 2 Index 2.5030 1.0969 .39805E-05 .0000 3 Normalizat .99854 1.3283 -.49194E-07 .93296E-04 4 Prefactor 1.0649 1.1758 .46084E-06 .60349E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.503 Normalizat = 0.998538 Prefactor = 1.06489 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 85342.90 FROM HESSE STATUS=FAILED 9 CALLS 232 TOTAL EDM= .17E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.6335 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .70604 1.8783 .39805E-05 -.52291 3 Normalizat .99854 1.3283 -.49194E-07 -.93079 4 Prefactor 1.0649 1.1758 .46084E-06 -.90597 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.67831e-12 Minuit parameter uncertainties: 1 4.24679e-06 2 1.10893 3 1.37662 4 1.20631 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) = 85342.9002469 delta logL = 7.27595761418e-11 Extracting fit parameters... 4FGL J0904.6+5200 Spectrum: PowerLaw 353 Prefactor: 0.000e+00 4.247e-06 0.000e+00 1.000e+06 ( 1.000e-13) 354 Index: 2.503e+00 1.109e+00 0.000e+00 1.000e+01 (-1.000e+00) 355 Scale: 8.643e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 716 Prefactor: 1.065e+00 1.206e+00 0.000e+00 1.000e+01 ( 1.000e+00) 717 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 718 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 715 Normalization: 9.985e-01 1.377e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 136.154 52.010 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /lscratch/kocevski/2916830/cmap_HighResolution_763171201_765763201_4FGL_J0904.6+5200_monthly_bin203.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-04', job_status='DONE', photon_flux_upper_limit='1.01e-08', time_completed='2025-04-08 05:58:25.861148', job_id='2916830', GAL2='1.06', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1744117105.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='7.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='203' AND source_name='4FGL J0904.6+5200' AND cadence='monthly'; Database successfully updated. Analysis Complete. Tue Apr 8 05:58:25 PDT 2025