/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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) Waiting 12 seconds before starting... Proceeding. 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 make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7424 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1504.4+1029_daily_bin647 RA = 226.103, Dec = 10.4978 tmin = 407030401, tmax = 407289601 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='2025', job_status='RUN', time_executed='2021-09-10 21:31:23.970201', time_epoch_executed='1631334683.97' WHERE source_name='4FGL J1504.4+1029' and cadence='daily' and bin_id='647' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/2025 Creating custom pfile directory: /scratch/kocevski/2025/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=407030401.0 && nMetStart<407289601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=407030401.0 && nMetStart<407289601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/2025/ft1_4FGL_J1504.4+1029_daily_bin647.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=407030401.0 && nMetStart<407289601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/2025/ft1_4FGL_J1504.4+1029_daily_bin647.fits outfile=/scratch/kocevski/2025/ft1_filteredMKT_4FGL_J1504.4+1029_daily_bin647.fits ra=226.103 dec=10.4978 rad=12.0 tmin=407030401.0 tmax=407289601.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.61 user 3.33 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/2025/ft1_filteredMKT_4FGL_J1504.4+1029_daily_bin647.fits evtable="EVENTS" outfile="/scratch/kocevski/2025/ft1_filtered_4FGL_J1504.4+1029_daily_bin647.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.51 user 0.32 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/2025/ft1_filtered_4FGL_J1504.4+1029_daily_bin647.fits" evtable="EVENTS" scfile=/scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits sctable="SC_DATA" outfile=/scratch/kocevski/2025/ltcube_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.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 /scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits .....................! real 11.82 user 11.43 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/2025/ft1_filtered_4FGL_J1504.4+1029_daily_bin647.fits evtable="EVENTS" scfile=/scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits sctable="SC_DATA" expcube=/scratch/kocevski/2025/ltcube_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.fits outfile=/scratch/kocevski/2025/expmap_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.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 /scratch/kocevski/2025/ltcube_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.fits .....................! real 191.20 user 185.59 sys 5.01 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 145 point sources and 0 extended sources Setting source of interest to: 4FGL J1504.4+1029 @ 226.103 10.4978 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/2025/ft1_filtered_4FGL_J1504.4+1029_daily_bin647.fits scfile=/scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits outfile=/scratch/kocevski/2025/cmap_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.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=226.103 yref=10.4978 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.54 user 0.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/2025/ft1_filtered_4FGL_J1504.4+1029_daily_bin647.fits scfile=/scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits outfile=/scratch/kocevski/2025/cmap_HighResolution_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.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=226.103 yref=10.4978 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.54 user 0.36 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/2025/ft1_filtered_4FGL_J1504.4+1029_daily_bin647.fits evtable="EVENTS" scfile=/scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2025/Model_4FGL_J1504.4+1029_daily_bin647.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... /scratch/kocevski/2025/ft1_filtered_4FGL_J1504.4+1029_daily_bin647.fits.....................! real 55.97 user 54.61 sys 1.19 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/2025/ft1_filtered_4FGL_J1504.4+1029_daily_bin647.fits', '/scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits', expMap='/scratch/kocevski/2025/expmap_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.fits', expCube='/scratch/kocevski/2025/ltcube_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/2025/Model_4FGL_J1504.4+1029_daily_bin647.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1504.4+1029' 4FGL J1504.4+1029 Spectrum: LogParabola 200 norm: 1.267e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-10) 201 alpha: 2.124e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 202 beta: 9.862e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 203 Eb: 5.027e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/2025/ft1_filtered_4FGL_J1504.4+1029_daily_bin647.fits Spacecraft file(s): /scratch/kocevski/2025/ft2_4FGL_J1504.4+1029_daily_bin647.fits Exposure map: /scratch/kocevski/2025/expmap_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.fits Exposure cube: /scratch/kocevski/2025/ltcube_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/2025/Model_4FGL_J1504.4+1029_daily_bin647.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) = 7457.41492172 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7457.40954078 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .15544E-02 1.0000 .10000E-03 10000. 2 'norm ' .10017E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .50804E-03 1.0000 .10000E-03 10000. 5 'norm ' 3.6696 1.0000 .10000E-03 10000. 6 'Prefactor ' 43.688 1.0000 .10000E-03 10000. 7 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 8 'norm ' .10011E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10068E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 2.1147 1.0000 .10000E-03 10000. 12 'Prefactor ' 6.0371 1.0000 .10000E-03 10000. 13 'Prefactor ' .10018E-03 1.0000 .10000E-03 10000. 14 'norm ' .14925 1.0000 .10000E-03 10000. 15 'norm ' 3.2334 1.0000 .10000E-03 10000. 16 'norm ' 4.3489 1.0000 .10000E-03 10000. 17 'norm ' .10001E-03 1.0000 .10000E-03 10000. 18 'norm ' .10004E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 79.805 1.0000 .10000E-03 10000. 20 'Prefactor ' 4.5225 1.0000 .10000E-03 10000. 21 'Prefactor ' .14715E-02 1.0000 .10000E-03 10000. 22 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 21.160 1.0000 .10000E-03 10000. 24 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 25 'norm ' 4.2334 1.0000 .10000E-03 10000. 26 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 27 'Normalizat' 1.1502 1.0000 .10000E-01 10.000 28 'Prefactor ' .97214 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4720E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7457.410 FROM MIGRAD STATUS=CONVERGED 708 CALLS 3578 TOTAL EDM= .10E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10400E-03 58.777 -.22000E-04** at limit ** 2 norm .10000E-03 9.5704 .41013E-06** at limit ** 3 Prefactor .10000E-03 4.5373 .31995E-06** at limit ** 4 Prefactor .10002E-03 10.880 .11525E-04** at limit ** 5 norm 3.6688 2.9946 .12776E-06 .36357E-04 6 Prefactor 43.664 80.582 .61221E-05 .69677E-04 7 Prefactor .10000E-03 16.982 .71792E-06** at limit ** 8 norm .10000E-03 8.6409 -.10139E-05** at limit ** 9 Prefactor .10000E-03 16.649 .11243E-05** at limit ** 10 Prefactor .10000E-03 8.7191 .45590E-06** at limit ** 11 Prefactor 2.1145 6.4243 .67284E-05 .11078E-03 12 Prefactor 6.0376 22.057 -.33477E-06 .43160E-04 13 Prefactor .10000E-03 19.053 -.23079E-05** at limit ** 14 norm .14917 .14224 .11876E-07 .15880E-02 15 norm 3.2337 2.9196 -.85452E-07 -.88550E-04 16 norm 4.3492 4.6250 -.42379E-07 -.13300E-04 17 norm .10000E-03 47.589 -.49347E-06** at limit ** 18 norm .10000E-03 2.2048 .55688E-07** at limit ** 19 Prefactor 79.808 59.152 -.68790E-06 .62061E-04 20 Prefactor 4.5251 23.467 .69836E-06 .43459E-05 21 Prefactor .10002E-03 227.81 -.26756E-05** at limit ** 22 Prefactor .10000E-03 2.1859 .92406E-07** at limit ** 23 Prefactor 21.152 50.444 .28732E-05 .76850E-04 24 Prefactor .10000E-03 6.7431 -.73434E-07** at limit ** 25 norm 4.2331 2.5299 -.12727E-07 .57362E-04 26 Prefactor .10000E-03 31.408 .12828E-05** at limit ** 27 Normalizat 1.1501 .22012 .19528E-05 .69113E-03 28 Prefactor .97222 .11962 -.11116E-05 .69495E-03 ERR DEF= .500 Final values: Prefactor = 0.000103998 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100016 norm = 3.66878 Prefactor = 43.664 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 2.11451 Prefactor = 6.03757 Prefactor = 0.0001 norm = 0.14917 norm = 3.23371 norm = 4.34915 norm = 0.0001 norm = 0.0001 Prefactor = 79.8079 Prefactor = 4.52512 Prefactor = 0.000100021 Prefactor = 0.0001 Prefactor = 21.1521 Prefactor = 0.0001 norm = 4.23312 Prefactor = 0.0001 Normalizat = 1.1501 Prefactor = 0.972221 ********** ** 18 **HESSE ********** FCN= 7457.410 FROM HESSE STATUS=OK 523 CALLS 4101 TOTAL EDM= .29E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10400E-03 30.632 .13259 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .10000E-03 9.5708 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 4.5745 .17954E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10002E-03 14.982 .36111E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 3.6688 2.9846 .13092E-03 -1.5325 6 Prefactor 43.664 80.670 .60654E-04 -1.4385 7 Prefactor .10000E-03 16.977 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .10000E-03 8.6752 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 16.695 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 8.7379 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 2.1145 9.4016 .14183E-02 -1.5417 12 Prefactor 6.0376 22.121 .16341E-03 -1.5216 13 Prefactor .10000E-03 19.081 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .14917 .13507 .30152E-03 -1.5631 15 norm 3.2337 2.9136 .12921E-03 -1.5348 16 norm 4.3492 4.6243 .18652E-03 -1.5291 17 norm .10000E-03 47.825 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .10000E-03 2.2293 .12509E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 79.808 59.347 .44957E-04 -1.3919 20 Prefactor 4.5251 23.461 .18931E-03 -1.5282 21 Prefactor .10002E-03 234.67 .40972E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 2.2225 .12467E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 21.152 50.518 .87074E-04 -1.4788 24 Prefactor .10000E-03 6.7454 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 4.2331 2.5291 .10326E-03 -1.5296 26 Prefactor .10000E-03 31.429 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Normalizat 1.1501 .26342 .31181E-03 -.88159 28 Prefactor .97222 .14443 .19462E-03 -.93661 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.90779e-09 Minuit parameter uncertainties: 1 0.0221443 2 1.24264e-06 3 1.86445e-05 4 0.000994609 5 2.98467 6 80.8722 7 6.52968e-05 8 6.46534e-05 9 3.86041e-05 10 1.03789e-05 11 8.91947 12 22.1508 13 8.28493e-05 14 0.135067 15 2.91378 16 4.62472 17 3.6282e-05 18 2.89691e-06 19 59.3909 20 20.6197 21 0.00444361 22 6.57027e-06 23 50.6204 24 2.04288e-06 25 2.52915 26 7.04748e-05 27 0.26372 28 0.144485 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7457.40952156 Extracting fit parameters... 4FGL J1504.4+1029 Spectrum: LogParabola 200 norm: 1.492e-01 1.351e-01 1.000e-04 1.000e+04 ( 1.000e-10) 201 alpha: 2.124e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 202 beta: 9.862e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 203 Eb: 5.027e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 469 Prefactor: 9.722e-01 1.445e-01 0.000e+00 1.000e+01 ( 1.000e+00) 470 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 471 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 468 Normalization: 1.150e+00 2.637e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.45 Ra Dec: 226.103 10.498 Photon Index (Fixed Index): 2.12 +/- 0.00 Photon Flux (Fixed Index): 3.63e-08 +/- 3.29e-08 Energy Flux (Fixed Index): 1.47e-05 +/- 1.33e-05 TS (Fixed Index): 2.45 Ra Dec: 226.103 10.498 Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1 Energy Flux Upper Limit: 4.59e-05 MeV cm-2 s-1 Saving results to: /scratch/kocevski/2025/likelihoodResults_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.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) = 7456.30566838 delta logL = 1.10385318463 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7456.28829875 delta logL = 1.12122281423 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .14202 1.0000 .10000E-03 10000. 2 'alpha ' 3.2557 1.0000 .0000 5.0000 3 'Normalizat' 1.0697 1.0000 .10000E-01 10.000 4 'Prefactor ' .99901 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .4720E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7456.288 FROM MIGRAD STATUS=CONVERGED 84 CALLS 241 TOTAL EDM= .14E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .14197 .13182 .18310E-04 .49251E-02 2 alpha 3.2556 .82007 .16432E-01 .52150E-04 3 Normalizat 1.0697 .25247 .32154E-03 .38009E-04 4 Prefactor .99901 .14436 .19216E-03 .75809E-04 ERR DEF= .500 Final values: norm = 0.141968 alpha = 3.25557 Normalizat = 1.06971 Prefactor = 0.999009 ********** ** 18 **HESSE ********** FCN= 7456.288 FROM HESSE STATUS=OK 25 CALLS 266 TOTAL EDM= .12E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .14197 .12122 .73238E-06 -1.5633 2 alpha 3.2556 .75592 .65730E-03 .30703 3 Normalizat 1.0697 .25268 .12862E-04 -.90730 4 Prefactor .99901 .14442 .38433E-04 -.92763 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.21693e-10 Minuit parameter uncertainties: 1 0.121223 2 0.769209 3 0.252964 4 0.144474 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/2025': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7456.28829843 delta logL = 1.12122313097 Extracting fit parameters... 4FGL J1504.4+1029 Spectrum: LogParabola 200 norm: 1.420e-01 1.212e-01 1.000e-04 1.000e+04 ( 1.000e-10) 201 alpha: 3.256e+00 7.692e-01 0.000e+00 5.000e+00 ( 1.000e+00) 202 beta: 9.862e-02 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 203 Eb: 5.027e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 469 Prefactor: 9.990e-01 1.445e-01 0.000e+00 1.000e+01 ( 1.000e+00) 470 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 471 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 468 Normalization: 1.070e+00 2.530e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.81 Ra Dec: 226.103 10.498 Photon Index (Free Index): 3.26 +/- 0.77 Photon Flux (Free Index): 1.04e-07 +/- 6.64e-08 Energy Flux (Free Index): 1.92e-05 +/- 1.12e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/2025/cmap_HighResolution_407030401_407289601_4FGL_J1504.4+1029_daily_bin647.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/2025 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-05', comment='SUCCESS', photon_flux='3.63e-08', energy_flux2='1.92e-05', photon_flux_error='3.29e-08', dlogl='1.12e+00', energy_flux='1.47e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-09-10 21:43:54.497804', photon_index_error2='0.77', photon_index2='3.26', ts='2.45', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='1.12e-05', EG='1.15', time_epoch_completed='1631335434.5', return_code='0', job_id='2025', GAL2='1.00', EG2='1.07', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='6.64e-08', ts2='4.81', photon_index='2.12' WHERE bin_id='647' AND source_name='4FGL J1504.4+1029' AND cadence='daily'; Database successfully updated. Analysis Complete. Fri Sep 10 21:43:54 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 2025: <4FGL_J1504.4+1029_daily_bin647> in cluster Done Job <4FGL_J1504.4+1029_daily_bin647> was submitted from host by user in cluster at Fri Sep 10 21:30:59 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Sep 10 21:31:00 2021 was used as the home directory. was used as the working directory. Started at Fri Sep 10 21:31:00 2021 Terminated at Fri Sep 10 21:43:55 2021 Results reported at Fri Sep 10 21:43:55 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1504.4+1029_daily_bin647 226.103 10.4978 407030401 407289601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1504.4+1029 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 746.00 sec. Max Memory : 1093 MB Average Memory : 332.04 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 774 sec. Turnaround time : 776 sec. The output (if any) is above this job summary.