/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 2 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 = 7441 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0638.7+5658_daily_bin806 RA = 99.6895, Dec = 56.9785 tmin = 448243201, tmax = 448502401 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='602545', job_status='RUN', time_executed='2021-08-25 14:30:45.473307', time_epoch_executed='1629927045.47' WHERE source_name='4FGL J0638.7+5658' and cadence='daily' and bin_id='806' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/602545 Creating custom pfile directory: /scratch/kocevski/602545/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=448243201.0 && nMetStart<448502401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=448243201.0 && nMetStart<448502401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/602545/ft1_4FGL_J0638.7+5658_daily_bin806.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=448243201.0 && nMetStart<448502401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/602545/ft2_4FGL_J0638.7+5658_daily_bin806.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/602545/ft1_4FGL_J0638.7+5658_daily_bin806.fits outfile=/scratch/kocevski/602545/ft1_filteredMKT_4FGL_J0638.7+5658_daily_bin806.fits ra=99.6895 dec=56.9785 rad=12.0 tmin=448243201.0 tmax=448502401.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 5.93 user 4.96 sys 0.86 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/602545/ft2_4FGL_J0638.7+5658_daily_bin806.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/602545/ft2_4FGL_J0638.7+5658_daily_bin806.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/602545/ft1_filteredMKT_4FGL_J0638.7+5658_daily_bin806.fits evtable="EVENTS" outfile="/scratch/kocevski/602545/ft1_filtered_4FGL_J0638.7+5658_daily_bin806.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 1.15 user 0.32 sys 0.82 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/602545/ft1_filtered_4FGL_J0638.7+5658_daily_bin806.fits" evtable="EVENTS" scfile=/scratch/kocevski/602545/ft2_4FGL_J0638.7+5658_daily_bin806.fits sctable="SC_DATA" outfile=/scratch/kocevski/602545/ltcube_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.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/602545/ft2_4FGL_J0638.7+5658_daily_bin806.fits .....................! real 12.77 user 11.63 sys 1.05 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/602545/ft1_filtered_4FGL_J0638.7+5658_daily_bin806.fits evtable="EVENTS" scfile=/scratch/kocevski/602545/ft2_4FGL_J0638.7+5658_daily_bin806.fits sctable="SC_DATA" expcube=/scratch/kocevski/602545/ltcube_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.fits outfile=/scratch/kocevski/602545/expmap_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.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/602545/ltcube_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.fits .....................! real 192.51 user 185.08 sys 6.25 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/602545/ft1_filtered_4FGL_J0638.7+5658_daily_bin806.fits scfile=/scratch/kocevski/602545/ft2_4FGL_J0638.7+5658_daily_bin806.fits outfile=/scratch/kocevski/602545/cmap_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.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 1.21 user 0.39 sys 0.78 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/602545/ft1_filtered_4FGL_J0638.7+5658_daily_bin806.fits scfile=/scratch/kocevski/602545/ft2_4FGL_J0638.7+5658_daily_bin806.fits outfile=/scratch/kocevski/602545/cmap_HighResolution_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.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 1.19 user 0.40 sys 0.78 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/602545/ft1_filtered_4FGL_J0638.7+5658_daily_bin806.fits evtable="EVENTS" scfile=/scratch/kocevski/602545/ft2_4FGL_J0638.7+5658_daily_bin806.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/602545/Model_4FGL_J0638.7+5658_daily_bin806.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/602545/ft1_filtered_4FGL_J0638.7+5658_daily_bin806.fits.....................! real 130.86 user 127.87 sys 2.12 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/602545/ft1_filtered_4FGL_J0638.7+5658_daily_bin806.fits', '/scratch/kocevski/602545/ft2_4FGL_J0638.7+5658_daily_bin806.fits', expMap='/scratch/kocevski/602545/expmap_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.fits', expCube='/scratch/kocevski/602545/ltcube_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/602545/Model_4FGL_J0638.7+5658_daily_bin806.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/602545/ft1_filtered_4FGL_J0638.7+5658_daily_bin806.fits Spacecraft file(s): /scratch/kocevski/602545/ft2_4FGL_J0638.7+5658_daily_bin806.fits Exposure map: /scratch/kocevski/602545/expmap_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.fits Exposure cube: /scratch/kocevski/602545/ltcube_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/602545/Model_4FGL_J0638.7+5658_daily_bin806.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) = 7789.67346662 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7789.67298799 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'norm ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 53.881 1.0000 .10000E-03 10000. 4 'norm ' 2.7760 1.0000 .10000E-03 10000. 5 'Prefactor ' 160.32 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 13.527 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 38.658 1.0000 .10000E-03 10000. 10 'norm ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' 10.130 1.0000 .10000E-03 10000. 12 'norm ' .10003E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 4.9638 1.0000 .10000E-03 10000. 15 'Prefactor ' 4.0259 1.0000 .10000E-03 10000. 16 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 41.510 1.0000 .10000E-03 10000. 18 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' 1.2621 1.0000 .10000E-03 10000. 21 'norm ' 5.8826 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'Normalizat' .85796 1.0000 .10000E-01 10.000 24 'Prefactor ' .98537 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= 7789.673 FROM MIGRAD STATUS=CONVERGED 545 CALLS 2742 TOTAL EDM= .11E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 25.065 .14386E-04** at limit ** 2 norm .10000E-03 50.530 .51815E-05** at limit ** 3 Prefactor 53.882 34.213 -.17498E-07 .17798E-05 4 norm 2.7761 2.6617 -.18666E-06 -.42487E-03 5 Prefactor 160.32 79.174 .63859E-06 .13543E-07 6 Prefactor .10000E-03 7.6609 -.47790E-07** at limit ** 7 Prefactor 13.527 9.5362 .10968E-06 -.56300E-06 8 Prefactor .10000E-03 11.197 -.64099E-05** at limit ** 9 Prefactor 38.659 30.734 -.15321E-06 .10229E-05 10 norm .10000E-03 1.1794 .52944E-07** at limit ** 11 norm 10.130 6.4702 -.29308E-05 -.14087E-04 12 norm .10000E-03 2.1903 .19772E-06** at limit ** 13 Prefactor .10000E-03 10.584 .10713E-05** at limit ** 14 Prefactor 4.9639 6.4418 -.39453E-05 -.26621E-03 15 Prefactor 4.0251 11.572 -.38724E-06 -.70109E-04 16 Prefactor .10000E-03 11.849 .70055E-05** at limit ** 17 Prefactor 41.510 28.011 -.21988E-06 -.28598E-04 18 Prefactor .10000E-03 28.063 -.16019E-04** at limit ** 19 Prefactor .10000E-03 259.55 -.12576E-04** at limit ** 20 norm 1.2620 .81127 -.25152E-07 .41652E-04 21 norm 5.8823 5.0241 -.68976E-06 -.22732E-03 22 Prefactor .10000E-03 14.767 -.34015E-05** at limit ** 23 Normalizat .85795 .21099 .34156E-05 .35543E-05 24 Prefactor .98536 .83379E-01 -.26760E-06 .18451E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 norm = 0.0001 Prefactor = 53.8816 norm = 2.77613 Prefactor = 160.323 Prefactor = 0.0001 Prefactor = 13.5269 Prefactor = 0.0001 Prefactor = 38.6586 norm = 0.0001 norm = 10.1296 norm = 0.0001 Prefactor = 0.0001 Prefactor = 4.96394 Prefactor = 4.02511 Prefactor = 0.0001 Prefactor = 41.5102 Prefactor = 0.0001 Prefactor = 0.0001 norm = 1.26202 norm = 5.88227 Prefactor = 0.0001 Normalizat = 0.857953 Prefactor = 0.985363 ********** ** 18 **HESSE ********** FCN= 7789.673 FROM HESSE STATUS=OK 393 CALLS 3135 TOTAL EDM= .22E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 25.010 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .10000E-03 50.523 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 53.882 34.222 .54643E-04 -1.4239 4 norm 2.7761 2.6593 .13631E-03 -1.5375 5 Prefactor 160.32 79.235 .31847E-04 -1.3169 6 Prefactor .10000E-03 7.6663 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 13.527 9.5361 .10891E-03 -1.4972 8 Prefactor .10000E-03 11.211 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 38.659 30.743 .64464E-04 -1.4464 10 norm .10000E-03 1.1847 .93588E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 10.130 6.4551 .12590E-03 -1.5071 12 norm .10000E-03 2.2130 .12749E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 10.611 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 4.9639 6.4891 .18051E-03 -1.5262 15 Prefactor 4.0251 11.554 .20098E-03 -1.5307 16 Prefactor .10000E-03 11.843 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 41.510 28.088 .62219E-04 -1.4419 18 Prefactor .10000E-03 28.059 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 259.71 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 1.2620 .81430 .61199E-04 -1.5483 21 norm 5.8823 5.0379 .16557E-03 -1.5223 22 Prefactor .10000E-03 14.772 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat .85795 .22843 .39051E-03 -.97954 24 Prefactor .98536 .90662E-01 .15494E-03 -.93219 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.24986e-10 Minuit parameter uncertainties: 1 1.16029e-05 2 1.72108e-06 3 34.2348 4 2.65944 5 79.2874 6 7.40442e-06 7 9.53722 8 9.88811e-06 9 30.7553 10 2.91924e-06 11 6.45551 12 2.97041e-05 13 1.45766e-05 14 6.49 15 11.5604 16 1.93526e-05 17 28.0973 18 7.4869e-05 19 0.0001222 20 0.814311 21 5.03827 22 7.11955e-07 23 0.228684 24 0.0906759 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7789.67298796 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 1.000e-04 9.888e-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: 9.854e-01 9.068e-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: 8.580e-01 2.287e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 99.689 56.978 Photon Flux Upper Limit: 5.86e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.58e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/602545/likelihoodResults_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.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) = 7789.67341309 delta logL = -0.000425127967901 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7789.67298802 delta logL = -5.38675521966e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10041E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.5491 1.0000 .0000 10.000 3 'Normalizat' .85790 1.0000 .10000E-01 10.000 4 'Prefactor ' .98537 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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 7789.673 FROM MIGRAD STATUS=FAILED 93 CALLS 254 TOTAL EDM= .24E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10219E-03 260.73 .18142E-02** at limit ** 2 Index 2.4371 6.9811 .50000 .75502E-05 3 Normalizat .85795 .27032E-01 .39051E-03 -.26201E-05 4 Prefactor .98536 .11512E-01 .15494E-03 -.42558E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7789.673 FROM SIMPLEX STATUS=UNCHANGED 136 CALLS 390 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10219E-03 260.73 .58099E-03** at limit ** 2 Index 2.4371 6.9811 .73328E-04 .75502E-05 3 Normalizat .85795 .27032E-01 .62679E-06 -.26201E-05 4 Prefactor .98536 .11512E-01 .24622E-06 -.42558E-05 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7789.673 FROM MIGRAD STATUS=CONVERGED 44 CALLS 434 TOTAL EDM= .24E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 232.63 .36285E-02** at limit ** 2 Index 2.1269 6.0507 .50000 .12528E-07 3 Normalizat .85795 .24604E-01 .15620E-04 .15430E-04 4 Prefactor .98536 .10477E-01 .61976E-05 .43291E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.12689 Normalizat = 0.857954 Prefactor = 0.985363 ********** ** 18 **HESSE ********** FCN= 7789.673 FROM HESSE STATUS=NOT POSDEF 29 CALLS 463 TOTAL EDM= .11E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 998.26 .72569E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.1269 6.0337 .50000 -.61214 3 Normalizat .85795 .56024E-01 .31241E-05 -.97954 4 Prefactor .98536 .23859E-01 .12395E-05 -.93219 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.05255e-10 Minuit parameter uncertainties: 1 0.000420852 2 2060.2 3 0.0560276 4 0.023859 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/602545': 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) = 7789.67298743 delta logL = 5.26699295733e-07 Extracting fit parameters... 4FGL J0638.7+5658 Spectrum: PowerLaw 254 Prefactor: 1.000e-04 4.209e-04 1.000e-04 1.000e+04 ( 1.000e-13) 255 Index: 2.127e+00 2.060e+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: 9.854e-01 2.386e-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: 8.580e-01 5.603e-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 -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/602545/cmap_HighResolution_448243201_448502401_4FGL_J0638.7+5658_daily_bin806.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/602545 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-03', job_status='DONE', photon_flux_upper_limit='5.86e-08', time_completed='2021-08-25 14:46:10.388831', job_id='602545', GAL2='0.99', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1629927970.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.27e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='806' AND source_name='4FGL J0638.7+5658' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Aug 25 14:46:10 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 602545: <4FGL_J0638.7+5658_daily_bin806> in cluster Done Job <4FGL_J0638.7+5658_daily_bin806> was submitted from host by user in cluster at Wed Aug 25 14:30:20 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Aug 25 14:30:21 2021 was used as the home directory. was used as the working directory. Started at Wed Aug 25 14:30:21 2021 Terminated at Wed Aug 25 14:46:10 2021 Results reported at Wed Aug 25 14:46:10 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0638.7+5658_daily_bin806 99.6895 56.9785 448243201 448502401 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 : 929.00 sec. Max Memory : 618 MB Average Memory : 327.18 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 949 sec. Turnaround time : 950 sec. The output (if any) is above this job summary.