/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 1 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 = 73125 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0638.7+5658_monthly_bin31 RA = 99.6895, Dec = 56.9785 tmin = 317347201, tmax = 319939201 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='234925', job_status='RUN', time_executed='2021-10-16 16:09:34.193002', time_epoch_executed='1634425774.19' WHERE source_name='4FGL J0638.7+5658' and cadence='monthly' and bin_id='31' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/234925 Creating custom pfile directory: /scratch/kocevski/234925/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=317347201.0 && nMetStart<319939201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=317347201.0 && nMetStart<319939201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/234925/ft1_4FGL_J0638.7+5658_monthly_bin31.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=317347201.0 && nMetStart<319939201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/234925/ft1_4FGL_J0638.7+5658_monthly_bin31.fits outfile=/scratch/kocevski/234925/ft1_filteredMKT_4FGL_J0638.7+5658_monthly_bin31.fits ra=99.6895 dec=56.9785 rad=12.0 tmin=317347201.0 tmax=319939201.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 30.64 user 29.69 sys 0.85 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.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/234925/ft1_filteredMKT_4FGL_J0638.7+5658_monthly_bin31.fits evtable="EVENTS" outfile="/scratch/kocevski/234925/ft1_filtered_4FGL_J0638.7+5658_monthly_bin31.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.86 user 0.67 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/234925/ft1_filtered_4FGL_J0638.7+5658_monthly_bin31.fits" evtable="EVENTS" scfile=/scratch/kocevski/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.fits sctable="SC_DATA" outfile=/scratch/kocevski/234925/ltcube_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.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/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.fits .....................! real 116.07 user 115.48 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/234925/ft1_filtered_4FGL_J0638.7+5658_monthly_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.fits sctable="SC_DATA" expcube=/scratch/kocevski/234925/ltcube_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.fits outfile=/scratch/kocevski/234925/expmap_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.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/234925/ltcube_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.fits .....................! real 191.81 user 186.22 sys 5.19 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 G150.3+4.5 in ROI with RadialDisk spatial model. Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template. Added 185 point sources and 2 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 J0638.7+5658 @ 99.6895 56.9785 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/234925/ft1_filtered_4FGL_J0638.7+5658_monthly_bin31.fits scfile=/scratch/kocevski/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.fits outfile=/scratch/kocevski/234925/cmap_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.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=99.6895 yref=56.9785 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.79 user 0.60 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/234925/ft1_filtered_4FGL_J0638.7+5658_monthly_bin31.fits scfile=/scratch/kocevski/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.fits outfile=/scratch/kocevski/234925/cmap_HighResolution_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.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=99.6895 yref=56.9785 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.79 user 0.62 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/234925/ft1_filtered_4FGL_J0638.7+5658_monthly_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/234925/Model_4FGL_J0638.7+5658_monthly_bin31.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 G150.3+4.5 adding source GAL_V02 adding source HB 9 Working on... /scratch/kocevski/234925/ft1_filtered_4FGL_J0638.7+5658_monthly_bin31.fits.....................! real 1649.60 user 1645.30 sys 1.28 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/234925/ft1_filtered_4FGL_J0638.7+5658_monthly_bin31.fits', '/scratch/kocevski/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.fits', expMap='/scratch/kocevski/234925/expmap_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.fits', expCube='/scratch/kocevski/234925/ltcube_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/234925/Model_4FGL_J0638.7+5658_monthly_bin31.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0638.7+5658' 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 3.366e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 2.562e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/234925/ft1_filtered_4FGL_J0638.7+5658_monthly_bin31.fits Spacecraft file(s): /scratch/kocevski/234925/ft2_4FGL_J0638.7+5658_monthly_bin31.fits Exposure map: /scratch/kocevski/234925/expmap_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.fits Exposure cube: /scratch/kocevski/234925/ltcube_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/234925/Model_4FGL_J0638.7+5658_monthly_bin31.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) = 114467.446327 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 114467.255981 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .17981E-02 1.0000 .10000E-03 10000. 2 'norm ' .10004E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 16.985 1.0000 .10000E-03 10000. 4 'norm ' 1.1053 1.0000 .10000E-03 10000. 5 'Prefactor ' .24034E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.8724 1.0000 .10000E-03 10000. 7 'Prefactor ' 3.8692 1.0000 .10000E-03 10000. 8 'Prefactor ' 7.6474 1.0000 .10000E-03 10000. 9 'Prefactor ' 12.084 1.0000 .10000E-03 10000. 10 'norm ' .20918 1.0000 .10000E-03 10000. 11 'norm ' .91772 1.0000 .10000E-03 10000. 12 'norm ' 2.5473 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.6245 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.5092 1.0000 .10000E-03 10000. 15 'Prefactor ' 15.800 1.0000 .10000E-03 10000. 16 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 1.8426 1.0000 .10000E-03 10000. 18 'Prefactor ' .23973E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 34.109 1.0000 .10000E-03 10000. 20 'norm ' 7.8358 1.0000 .10000E-03 10000. 21 'norm ' .61922E-01 1.0000 .10000E-03 10000. 22 'Prefactor ' 6.8302 1.0000 .10000E-03 10000. 23 'Normalizat' 1.1796 1.0000 .10000E-01 10.000 24 'Prefactor ' .98641 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 114467.3 FROM MIGRAD STATUS=CONVERGED 568 CALLS 2844 TOTAL EDM= .44E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10037E-03 2.4380 .87319E-06** at limit ** 2 norm .10000E-03 15.952 -.11202E-07** at limit ** 3 Prefactor 16.985 10.146 .94529E-07 -.23737E-05 4 norm 1.1054 .49036 .41330E-07 .62245E-04 5 Prefactor .10000E-03 9.7918 .30628E-07** at limit ** 6 Prefactor 3.8708 6.4417 .36997E-05 .22257E-03 7 Prefactor 3.8691 1.9359 .35172E-06 .21624E-03 8 Prefactor 7.6442 7.7529 .49899E-07 -.51539E-04 9 Prefactor 12.082 8.5434 -.37633E-07 -.18867E-04 10 norm .20898 .41788 .23936E-06 -.24674E-02 11 norm .91803 .88509 .30828E-06 -.36578E-03 12 norm 2.5471 1.0176 -.50440E-07 -.64940E-03 13 Prefactor 1.6244 1.5294 -.14040E-06 -.65321E-04 14 Prefactor 1.5092 1.2731 .37725E-06 -.53784E-04 15 Prefactor 15.799 4.5405 -.44030E-07 -.28343E-03 16 Prefactor .10000E-03 3.5670 -.46402E-08** at limit ** 17 Prefactor 1.8406 6.7382 .76953E-06 .69874E-05 18 Prefactor .10000E-03 6.7660 .32927E-07** at limit ** 19 Prefactor 34.078 26.929 .10442E-05 -.26960E-03 20 norm 7.8356 .46711 .48306E-08 -.37224E-03 21 norm .57408E-01 .22258 -.12919E-06 -.36554E-03 22 Prefactor 6.8318 4.7773 .67409E-08 .30202E-04 23 Normalizat 1.1798 .58088E-01 -.39226E-06 -.41459E-03 24 Prefactor .98635 .22224E-01 -.60768E-07 -.12873E-02 ERR DEF= .500 Final values: Prefactor = 0.000100367 norm = 0.0001 Prefactor = 16.9853 norm = 1.10536 Prefactor = 0.0001 Prefactor = 3.8708 Prefactor = 3.86911 Prefactor = 7.64416 Prefactor = 12.0819 norm = 0.208977 norm = 0.918026 norm = 2.54708 Prefactor = 1.62438 Prefactor = 1.5092 Prefactor = 15.7989 Prefactor = 0.0001 Prefactor = 1.84063 Prefactor = 0.0001 Prefactor = 34.0784 norm = 7.83556 norm = 0.0574083 Prefactor = 6.83175 Normalizat = 1.17975 Prefactor = 0.98635 ********** ** 18 **HESSE ********** FCN= 114467.3 FROM HESSE STATUS=OK 427 CALLS 3271 TOTAL EDM= .11E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10037E-03 2.3025 .18374 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .10000E-03 16.036 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 16.985 10.154 .97181E-04 -1.4883 4 norm 1.1054 .48567 .15348E-03 -1.5498 5 Prefactor .10000E-03 10.220 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 3.8708 6.5054 .10253E-02 -1.5314 7 Prefactor 3.8691 1.9372 .10257E-02 -1.5315 8 Prefactor 7.6442 7.7632 .14501E-03 -1.5155 9 Prefactor 12.082 8.5460 .11524E-03 -1.5013 10 norm .20898 .59447 .29227E-02 -1.5617 11 norm .91803 .98400 .29740E-02 -1.5516 12 norm 2.5471 1.0140 .25585E-04 -1.5389 13 Prefactor 1.6244 1.5482 .33195E-03 -1.5453 14 Prefactor 1.5092 1.2584 .33355E-03 -1.5462 15 Prefactor 15.799 4.5346 .10076E-03 -1.4913 16 Prefactor .10000E-03 3.6850 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 1.8406 6.7497 .30727E-03 -1.5437 18 Prefactor .10000E-03 6.9420 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 34.078 27.207 .68615E-04 -1.4540 20 norm 7.8356 .46723 .53323E-04 -1.5148 21 norm .57408E-01 .22488 .49859E-01 -1.5660 22 Prefactor 6.8318 4.7773 .15352E-03 -1.5185 23 Normalizat 1.1798 .64905E-01 .36838E-03 -.87231 24 Prefactor .98635 .24954E-01 .16323E-03 -.93186 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.10687e-06 Minuit parameter uncertainties: 1 0.00183842 2 5.50215e-07 3 10.1549 4 0.485675 5 1.22867e-06 6 6.50663 7 1.93723 8 7.7642 9 8.54691 10 0.594483 11 0.984018 12 1.01396 13 1.54825 14 1.25842 15 4.53472 16 8.16896e-07 17 6.75253 18 5.8447e-06 19 27.2164 20 0.46723 21 0.224879 22 4.7776 23 0.0649095 24 0.0249541 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 114467.255938 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 7.644e+00 7.764e+00 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 2.562e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 607 Prefactor: 9.864e-01 2.495e-02 0.000e+00 1.000e+01 ( 1.000e+00) 608 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 609 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 602 Normalization: 1.180e+00 6.491e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.15 Ra Dec: 99.689 56.978 Photon Index (Fixed Index): 2.56 +/- 0.00 Photon Flux (Fixed Index): 9.41e-09 +/- 9.55e-09 Energy Flux (Fixed Index): 2.56e-06 +/- 2.60e-06 TS (Fixed Index): 1.15 Ra Dec: 99.689 56.978 Photon Flux Upper Limit: 2.80e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.19e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/234925/likelihoodResults_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.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) = 114467.238313 delta logL = 0.0176242671587 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 114467.235099 delta logL = 0.0208387845196 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.3331 1.0000 .10000E-03 10000. 2 'Index ' 2.4291 1.0000 .0000 10.000 3 'Normalizat' 1.1810 1.0000 .10000E-01 10.000 4 'Prefactor ' .98604 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6140E+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= 114467.2 FROM MIGRAD STATUS=CONVERGED 97 CALLS 272 TOTAL EDM= .25E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.3322 8.8366 .13888E-03 -.31435E-04 2 Index 2.4296 .63692 .11995E-01 -.10949E-04 3 Normalizat 1.1810 .60069E-01 .36820E-03 -.14005E-02 4 Prefactor .98604 .24444E-01 .16325E-03 -.22690E-02 ERR DEF= .500 Final values: Prefactor = 8.33216 Index = 2.42961 Normalizat = 1.18099 Prefactor = 0.986043 ********** ** 18 **HESSE ********** FCN= 114467.2 FROM HESSE STATUS=OK 25 CALLS 297 TOTAL EDM= .25E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.3322 8.6496 .55550E-05 -1.5131 2 Index 2.4296 .62330 .47980E-03 -.53993 3 Normalizat 1.1810 .60097E-01 .14728E-04 -.87192 4 Prefactor .98604 .24451E-01 .32650E-04 -.93196 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.50755e-10 Minuit parameter uncertainties: 1 8.65088 2 0.625513 3 0.0601 4 0.024451 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/234925': 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) = 114467.235099 delta logL = 0.0208391265041 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 8.332e+00 8.651e+00 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 2.430e+00 6.255e-01 0.000e+00 1.000e+01 (-1.000e+00) 256 Scale: 7.785e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 607 Prefactor: 9.860e-01 2.445e-02 0.000e+00 1.000e+01 ( 1.000e+00) 608 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 609 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 602 Normalization: 1.181e+00 6.010e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.19 Ra Dec: 99.689 56.978 Photon Index (Free Index): 2.43 +/- 0.63 Photon Flux (Free Index): 8.54e-09 +/- 9.84e-09 Energy Flux (Free Index): 2.69e-06 +/- 2.76e-06 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 /scratch/kocevski/234925/cmap_HighResolution_317347201_319939201_4FGL_J0638.7+5658_monthly_bin31.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/234925 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.19e-03', comment='SUCCESS', photon_flux='9.41e-09', energy_flux2='2.69e-06', photon_flux_error='9.55e-09', dlogl='2.08e-02', energy_flux='2.56e-06', photon_flux2='8.54e-09', job_status='DONE', time_completed='2021-10-16 18:49:29.470771', photon_index_error2='0.63', photon_index2='2.43', ts='1.15', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='2.80e-08', energy_flux_error2='2.76e-06', EG='1.18', time_epoch_completed='1634435369.47', return_code='0', job_id='234925', GAL2='0.99', EG2='1.18', return_code2='0', energy_flux_error='2.60e-06', photon_flux_error2='9.84e-09', ts2='1.19', photon_index='2.56' WHERE bin_id='31' AND source_name='4FGL J0638.7+5658' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Oct 16 18:49:29 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 234925: <4FGL_J0638.7+5658_monthly_bin31> in cluster Done Job <4FGL_J0638.7+5658_monthly_bin31> was submitted from host by user in cluster at Sat Oct 16 15:55:11 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Oct 16 16:09:24 2021 was used as the home directory. was used as the working directory. Started at Sat Oct 16 16:09:24 2021 Terminated at Sat Oct 16 18:49:30 2021 Results reported at Sat Oct 16 18:49:30 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0638.7+5658_monthly_bin31 99.6895 56.9785 317347201 319939201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0638.7+5658 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 9501.00 sec. Max Memory : 1100 MB Average Memory : 481.29 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 9606 sec. Turnaround time : 10459 sec. The output (if any) is above this job summary.