/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 188 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 = 72952 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0638.7+5658_monthly_bin33 RA = 99.6895, Dec = 56.9785 tmin = 322531201, tmax = 325123201 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='234928', job_status='RUN', time_executed='2021-10-16 16:12:46.294137', time_epoch_executed='1634425966.29' WHERE source_name='4FGL J0638.7+5658' and cadence='monthly' and bin_id='33' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/234928 Creating custom pfile directory: /scratch/kocevski/234928/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=322531201.0 && nMetStart<325123201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=322531201.0 && nMetStart<325123201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/234928/ft1_4FGL_J0638.7+5658_monthly_bin33.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=322531201.0 && nMetStart<325123201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Merged file saved to: /scratch/kocevski/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/234928/ft1_4FGL_J0638.7+5658_monthly_bin33.fits outfile=/scratch/kocevski/234928/ft1_filteredMKT_4FGL_J0638.7+5658_monthly_bin33.fits ra=99.6895 dec=56.9785 rad=12.0 tmin=322531201.0 tmax=325123201.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 62.86 user 61.02 sys 1.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.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/234928/ft1_filteredMKT_4FGL_J0638.7+5658_monthly_bin33.fits evtable="EVENTS" outfile="/scratch/kocevski/234928/ft1_filtered_4FGL_J0638.7+5658_monthly_bin33.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.88 user 0.65 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/234928/ft1_filtered_4FGL_J0638.7+5658_monthly_bin33.fits" evtable="EVENTS" scfile=/scratch/kocevski/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.fits sctable="SC_DATA" outfile=/scratch/kocevski/234928/ltcube_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.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/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.fits .....................! real 118.90 user 118.07 sys 0.42 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/234928/ft1_filtered_4FGL_J0638.7+5658_monthly_bin33.fits evtable="EVENTS" scfile=/scratch/kocevski/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.fits sctable="SC_DATA" expcube=/scratch/kocevski/234928/ltcube_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.fits outfile=/scratch/kocevski/234928/expmap_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.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/234928/ltcube_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.fits .....................! real 192.44 user 186.64 sys 5.27 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/234928/ft1_filtered_4FGL_J0638.7+5658_monthly_bin33.fits scfile=/scratch/kocevski/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.fits outfile=/scratch/kocevski/234928/cmap_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.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.82 user 0.61 sys 0.18 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/234928/ft1_filtered_4FGL_J0638.7+5658_monthly_bin33.fits scfile=/scratch/kocevski/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.fits outfile=/scratch/kocevski/234928/cmap_HighResolution_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.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.80 user 0.61 sys 0.18 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/234928/ft1_filtered_4FGL_J0638.7+5658_monthly_bin33.fits evtable="EVENTS" scfile=/scratch/kocevski/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/234928/Model_4FGL_J0638.7+5658_monthly_bin33.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/234928/ft1_filtered_4FGL_J0638.7+5658_monthly_bin33.fits.....................! real 1889.08 user 1882.26 sys 1.43 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/234928/ft1_filtered_4FGL_J0638.7+5658_monthly_bin33.fits', '/scratch/kocevski/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.fits', expMap='/scratch/kocevski/234928/expmap_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.fits', expCube='/scratch/kocevski/234928/ltcube_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/234928/Model_4FGL_J0638.7+5658_monthly_bin33.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/234928/ft1_filtered_4FGL_J0638.7+5658_monthly_bin33.fits Spacecraft file(s): /scratch/kocevski/234928/ft2_4FGL_J0638.7+5658_monthly_bin33.fits Exposure map: /scratch/kocevski/234928/expmap_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.fits Exposure cube: /scratch/kocevski/234928/ltcube_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/234928/Model_4FGL_J0638.7+5658_monthly_bin33.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) = 126023.536047 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 126023.44486 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.0611 1.0000 .10000E-03 10000. 2 'norm ' .12493E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .19315E-03 1.0000 .10000E-03 10000. 4 'norm ' 1.3444 1.0000 .10000E-03 10000. 5 'Prefactor ' .14237E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 5.4554 1.0000 .10000E-03 10000. 7 'Prefactor ' 4.0252 1.0000 .10000E-03 10000. 8 'Prefactor ' .11124E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 5.5877 1.0000 .10000E-03 10000. 10 'norm ' .13843 1.0000 .10000E-03 10000. 11 'norm ' .10012E-03 1.0000 .10000E-03 10000. 12 'norm ' .15549E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .13097E-01 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.1491 1.0000 .10000E-03 10000. 15 'Prefactor ' 8.3235 1.0000 .10000E-03 10000. 16 'Prefactor ' .10093E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 4.6981 1.0000 .10000E-03 10000. 18 'Prefactor ' .84792 1.0000 .10000E-03 10000. 19 'Prefactor ' .79324E-03 1.0000 .10000E-03 10000. 20 'norm ' 7.9129 1.0000 .10000E-03 10000. 21 'norm ' .10007E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' 10.348 1.0000 .10000E-03 10000. 23 'Normalizat' 1.0568 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.0324 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 126023.4 FROM MIGRAD STATUS=CONVERGED 571 CALLS 2429 TOTAL EDM= .91E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.0448 9.9771 .0000 -.37914E-02 2 norm .10000E-03 5.8051 .0000 ** at limit ** 3 Prefactor .10001E-03 7.2334 .0000 ** at limit ** 4 norm 1.3443 .49633 .0000 .35413E-02 5 Prefactor .10000E-03 3.2375 .0000 ** at limit ** 6 Prefactor 5.4575 6.1738 .0000 .94218E-02 7 Prefactor 4.0266 2.0303 .0000 .17960E-02 8 Prefactor .10000E-03 2.5055 .0000 ** at limit ** 9 Prefactor 5.5887 5.6120 .0000 .54170E-02 10 norm .14064 .35116 .0000 .10543E-01 11 norm .10000E-03 .23229 .0000 ** at limit ** 12 norm .10001E-03 .19323 .0000 ** at limit ** 13 Prefactor .10002E-03 .56403 .0000 ** at limit ** 14 Prefactor 2.1475 1.3056 .0000 .29000 15 Prefactor 8.3221 3.8679 .0000 .69760E-02 16 Prefactor .10000E-03 1.3160 .0000 ** at limit ** 17 Prefactor 4.6996 4.2384 .0000 .39943E-03 18 Prefactor .84104 4.8184 .0000 .77797E-01 19 Prefactor .10001E-03 12.711 .0000 ** at limit ** 20 norm 7.9126 .43353 .0000 .17611E-03 21 norm .10000E-03 .20372 .0000 ** at limit ** 22 Prefactor 10.347 5.6377 .0000 -.35574E-04 23 Normalizat 1.0567 .53491E-01 .0000 .49644E-03 24 Prefactor 1.0325 .21257E-01 .0000 .72988E-03 ERR DEF= .500 Final values: Prefactor = 3.04481 norm = 0.000100001 Prefactor = 0.000100007 norm = 1.34427 Prefactor = 0.0001 Prefactor = 5.45754 Prefactor = 4.02662 Prefactor = 0.0001 Prefactor = 5.58868 norm = 0.140643 norm = 0.0001 norm = 0.000100008 Prefactor = 0.000100025 Prefactor = 2.14745 Prefactor = 8.32211 Prefactor = 0.0001 Prefactor = 4.69962 Prefactor = 0.841039 Prefactor = 0.000100007 norm = 7.91257 norm = 0.0001 Prefactor = 10.3474 Normalizat = 1.05674 Prefactor = 1.03246 ********** ** 18 **HESSE ********** FCN= 126023.4 FROM HESSE STATUS=OK 423 CALLS 2852 TOTAL EDM= .12E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.0448 9.9894 .23186E-03 -1.5359 2 norm .10000E-03 5.8089 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10001E-03 7.3922 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 1.3443 .49627 .14761E-03 -1.5476 5 Prefactor .10000E-03 3.2975 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 5.4575 6.1721 .86018E-03 -1.5241 7 Prefactor 4.0266 2.0295 .20100E-03 -1.5307 8 Prefactor .10000E-03 2.5297 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 5.5887 5.6095 .84977E-03 -1.5235 10 norm .14064 1.5057 .31532E-02 -1.5633 11 norm .10000E-03 .90366 .33123E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .10001E-03 .19139 .54190E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10002E-03 .64435 .10910 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 2.1475 1.2955 .14054E-02 -1.5415 15 Prefactor 8.3221 3.8610 .13896E-03 -1.5131 16 Prefactor .10000E-03 1.3258 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 4.6996 4.2375 .18566E-03 -1.5274 18 Prefactor .84104 5.0270 .25235E-02 -1.5525 19 Prefactor .10001E-03 12.772 .20907E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 7.9126 .43452 .52058E-04 -1.5145 21 norm .10000E-03 .20377 .18142E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 10.347 5.6386 .12456E-03 -1.5065 23 Normalizat 1.0567 .58752E-01 .37951E-03 -.91153 24 Prefactor 1.0325 .23510E-01 .15976E-03 -.91655 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.18398e-06 Minuit parameter uncertainties: 1 9.99489 2 0.000153834 3 0.000446647 4 0.496273 5 3.87058e-05 6 6.17285 7 2.0295 8 4.0146e-06 9 5.61005 10 0.920073 11 8.55363e-07 12 8.01673e-05 13 0.00025312 14 1.29547 15 3.86116 16 3.04732e-07 17 4.23776 18 4.11266 19 0.000593582 20 0.434523 21 1.78761e-07 22 5.63892 23 0.0587552 24 0.0235099 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 126023.444691 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 1.000e-04 4.015e-06 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: 1.032e+00 2.351e-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.057e+00 5.876e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 99.689 56.978 Photon Flux Upper Limit: 1.18e-08 ph cm-2 s-1 Energy Flux Upper Limit: 9.18e-04 MeV cm-2 s-1 Saving results to: /scratch/kocevski/234928/likelihoodResults_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.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) = 126023.446576 delta logL = -0.00188491305744 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 126023.444691 delta logL = -5.11208781973e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.5600 1.0000 .0000 10.000 3 'Normalizat' 1.0568 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0325 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= 126023.4 FROM MIGRAD STATUS=CONVERGED 89 CALLS 245 TOTAL EDM= .35E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10007E-03 122.38 .18142E-02** at limit ** 2 Index 2.5378 5.5307 .50000 .62722E-05 3 Normalizat 1.0567 .10977E-01 .37951E-03 .23965E-04 4 Prefactor 1.0325 .46057E-02 .15976E-03 .33019E-04 ERR DEF= .500 Final values: Prefactor = 0.000100073 Index = 2.53782 Normalizat = 1.05674 Prefactor = 1.03246 ********** ** 18 **HESSE ********** FCN= 126023.4 FROM HESSE STATUS=NOT POSDEF 29 CALLS 274 TOTAL EDM= .18E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10007E-03 452.84 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5378 7.7932 .50000 -.51489 3 Normalizat 1.0567 .28259E-01 .15180E-04 -.91153 4 Prefactor 1.0325 .11837E-01 .63903E-05 -.91655 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.78095e-08 Minuit parameter uncertainties: 1 0.0115732 2 1553.36 3 0.0282598 4 0.0118369 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/234928': 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): 102 logL (Free Index) = 126023.444691 delta logL = 2.83762346953e-08 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 1.001e-04 1.157e-02 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 2.538e+00 1.553e+03 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: 1.032e+00 1.184e-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.057e+00 2.826e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 99.689 56.978 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/234928/cmap_HighResolution_322531201_325123201_4FGL_J0638.7+5658_monthly_bin33.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/234928 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.18e-04', job_status='DONE', photon_flux_upper_limit='1.18e-08', time_completed='2021-10-16 18:59:19.553300', job_id='234928', GAL2='1.03', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1634435959.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.84e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='33' AND source_name='4FGL J0638.7+5658' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Oct 16 18:59:19 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 234928: <4FGL_J0638.7+5658_monthly_bin33> in cluster Done Job <4FGL_J0638.7+5658_monthly_bin33> 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:25 2021 was used as the home directory. was used as the working directory. Started at Sat Oct 16 16:09:25 2021 Terminated at Sat Oct 16 18:59:20 2021 Results reported at Sat Oct 16 18:59:20 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0638.7+5658_monthly_bin33 99.6895 56.9785 322531201 325123201 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 : 9799.00 sec. Max Memory : 1266 MB Average Memory : 479.46 MB Total Requested Memory : - Delta Memory : - Max Swap : 1 MB Max Processes : 5 Max Threads : 21 Run time : 10195 sec. Turnaround time : 11049 sec. The output (if any) is above this job summary.