/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 122 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 = 73329 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1704.2+1234_monthly_bin160 RA = 256.06, Dec = 12.5752 tmin = 651715201, tmax = 654307201 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='214107', job_status='RUN', time_executed='2021-10-30 02:08:06.461823', time_epoch_executed='1635584886.46' WHERE source_name='4FGL J1704.2+1234' and cadence='monthly' and bin_id='160' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/214107 Creating custom pfile directory: /scratch/kocevski/214107/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=651715201.0 && nMetStart<654307201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=651715201.0 && nMetStart<654307201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/214107/ft1_4FGL_J1704.2+1234_monthly_bin160.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=651715201.0 && nMetStart<654307201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/214107/ft1_4FGL_J1704.2+1234_monthly_bin160.fits outfile=/scratch/kocevski/214107/ft1_filteredMKT_4FGL_J1704.2+1234_monthly_bin160.fits ra=256.06 dec=12.5752 rad=12.0 tmin=651715201.0 tmax=654307201.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 33.02 user 32.20 sys 0.74 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.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/214107/ft1_filteredMKT_4FGL_J1704.2+1234_monthly_bin160.fits evtable="EVENTS" outfile="/scratch/kocevski/214107/ft1_filtered_4FGL_J1704.2+1234_monthly_bin160.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.85 user 0.66 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/214107/ft1_filtered_4FGL_J1704.2+1234_monthly_bin160.fits" evtable="EVENTS" scfile=/scratch/kocevski/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.fits sctable="SC_DATA" outfile=/scratch/kocevski/214107/ltcube_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.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/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.fits .....................! real 112.58 user 112.02 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/214107/ft1_filtered_4FGL_J1704.2+1234_monthly_bin160.fits evtable="EVENTS" scfile=/scratch/kocevski/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.fits sctable="SC_DATA" expcube=/scratch/kocevski/214107/ltcube_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.fits outfile=/scratch/kocevski/214107/expmap_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.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/214107/ltcube_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.fits .....................! real 191.17 user 186.78 sys 3.93 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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model. Added 179 point sources and 1 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 J1704.2+1234 @ 256.06 12.5752 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/214107/ft1_filtered_4FGL_J1704.2+1234_monthly_bin160.fits scfile=/scratch/kocevski/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.fits outfile=/scratch/kocevski/214107/cmap_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.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=256.06 yref=12.5752 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.78 user 0.63 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/214107/ft1_filtered_4FGL_J1704.2+1234_monthly_bin160.fits scfile=/scratch/kocevski/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.fits outfile=/scratch/kocevski/214107/cmap_HighResolution_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.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=256.06 yref=12.5752 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.78 user 0.62 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/214107/ft1_filtered_4FGL_J1704.2+1234_monthly_bin160.fits evtable="EVENTS" scfile=/scratch/kocevski/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214107/Model_4FGL_J1704.2+1234_monthly_bin160.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 FHES J1723.5-0501 adding source GAL_V02 Working on... /scratch/kocevski/214107/ft1_filtered_4FGL_J1704.2+1234_monthly_bin160.fits.....................! real 813.53 user 810.69 sys 1.39 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/214107/ft1_filtered_4FGL_J1704.2+1234_monthly_bin160.fits', '/scratch/kocevski/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.fits', expMap='/scratch/kocevski/214107/expmap_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.fits', expCube='/scratch/kocevski/214107/ltcube_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/214107/Model_4FGL_J1704.2+1234_monthly_bin160.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1704.2+1234' 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 7.833e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/214107/ft1_filtered_4FGL_J1704.2+1234_monthly_bin160.fits Spacecraft file(s): /scratch/kocevski/214107/ft2_4FGL_J1704.2+1234_monthly_bin160.fits Exposure map: /scratch/kocevski/214107/expmap_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.fits Exposure cube: /scratch/kocevski/214107/ltcube_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/214107/Model_4FGL_J1704.2+1234_monthly_bin160.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) = 116815.288854 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 116815.221772 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.8804 1.0000 .10000E-03 10000. 2 'Prefactor ' 3.4074 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.2093 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.7210 1.0000 .10000E-03 10000. 5 'Prefactor ' .53442E-01 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.3234 1.0000 .10000E-03 10000. 7 'Prefactor ' .10371E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 22.879 1.0000 .10000E-03 10000. 9 'Prefactor ' .10758E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10091E-03 1.0000 .10000E-03 10000. 11 'norm ' .26419 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.0984 1.0000 .10000E-03 10000. 13 'norm ' 8.2481 1.0000 .10000E-03 10000. 14 'Prefactor ' .11470E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 16 'norm ' 5.0826 1.0000 .10000E-03 10000. 17 'norm ' 2.4928 1.0000 .10000E-03 10000. 18 'norm ' 4.0209 1.0000 .10000E-03 10000. 19 'norm ' 1.0906 1.0000 .10000E-03 10000. 20 'Normalizat' 1.3213 1.0000 .10000E-01 10.000 21 'Prefactor ' 1.0021 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 116815.2 FROM MIGRAD STATUS=CONVERGED 71 CALLS 1652 TOTAL EDM= .24E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 7.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.9105 6.6395 -.81834E-05 -.22540E-03 2 Prefactor 3.4078 1.4343 .36978E-06 -.28370E-02 3 Prefactor 1.2102 1.6335 .65359E-07 .10231E-03 4 Prefactor 1.7214 1.3668 .47795E-07 -.19864E-03 5 Prefactor .56287E-01 5.8090 .12549E-04 -.64186E-04 6 Prefactor 1.3261 1.7459 -.38815E-06 .31317E-04 7 Prefactor .10000E-03 2.9842 .10879E-06** at limit ** 8 Prefactor 22.874 1.2864 -.52027E-06 .34229E-02 9 Prefactor .10000E-03 1.3726 .70732E-07** at limit ** 10 Prefactor .10000E-03 1.6029 -.42766E-06** at limit ** 11 norm .26449 .41812 .98624E-07 .21848E-03 12 Prefactor 2.0994 1.2955 -.28421E-06 .35922E-03 13 norm 8.2474 2.0946 -.79836E-06 -.20759E-02 14 Prefactor .10000E-03 22.344 -.26434E-05** at limit ** 15 Prefactor .10000E-03 .33412 -.17361E-06** at limit ** 16 norm 5.0827 1.0414 .16065E-06 .98677E-03 17 norm 2.4939 1.9226 -.18834E-06 -.15210E-03 18 norm 4.0280 1.9308 -.20253E-05 .65456E-03 19 norm 1.0910 .27845 -.20503E-08 -.13055E-03 20 Normalizat 1.3212 .87829E-01 .27346E-06 -.29208E-03 21 Prefactor 1.0021 .29585E-01 .75054E-07 -.90492E-03 ERR DEF= .500 Final values: Prefactor = 1.91049 Prefactor = 3.40776 Prefactor = 1.21021 Prefactor = 1.72142 Prefactor = 0.0562872 Prefactor = 1.32611 Prefactor = 0.0001 Prefactor = 22.8743 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.264494 Prefactor = 2.09937 norm = 8.24736 Prefactor = 0.0001 Prefactor = 0.0001 norm = 5.08274 norm = 2.49387 norm = 4.02796 norm = 1.09098 Normalizat = 1.32116 Prefactor = 1.00215 ********** ** 18 **HESSE ********** FCN= 116815.2 FROM HESSE STATUS=OK 389 CALLS 2041 TOTAL EDM= .36E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.9105 6.8701 .75896E-02 -1.5432 2 Prefactor 3.4078 2.6233 .54790E-02 -1.5339 3 Prefactor 1.2102 1.6863 .10290E-01 -1.5488 4 Prefactor 1.7214 1.3754 .80052E-02 -1.5446 5 Prefactor .56287E-01 .28302 .61541E-01 -1.5661 6 Prefactor 1.3261 1.7679 .95571E-02 -1.5478 7 Prefactor .10000E-03 2.9579 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 22.874 15.738 .20936E-02 -1.4751 9 Prefactor .10000E-03 .29366 .90712E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 1.5560 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .26449 .34087 .42920E-01 -1.5605 12 Prefactor 2.0994 2.7997 .71228E-02 -1.5418 13 norm 8.2474 2.4676 .34898E-02 -1.5134 14 Prefactor .10000E-03 22.134 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 .10277 .56382E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.0827 2.3400 .44587E-02 -1.5257 17 norm 2.4939 1.9546 .64720E-02 -1.5392 18 norm 4.0280 7.0607 .50277E-02 -1.5307 19 norm 1.0910 .27789 .11450E-01 -1.5499 20 Normalizat 1.3212 .74532E-01 .92970E-01 -.82937 21 Prefactor 1.0021 .24515E-01 .44926E-01 -.92658 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.55032e-05 Minuit parameter uncertainties: 1 6.87294 2 2.62335 3 1.68639 4 1.37538 5 0.252211 6 1.76797 7 1.99854e-05 8 15.7405 9 3.57914e-07 10 5.26726e-07 11 0.34087 12 2.79992 13 2.46762 14 0.000124015 15 6.14779e-09 16 2.34005 17 1.95461 18 7.06216 19 0.277888 20 0.0745378 21 0.0245152 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 116815.221751 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.287e+01 1.574e+01 1.000e-04 1.000e+04 ( 1.000e-14) 264 Index: 2.218e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.002e+00 2.452e-02 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 1.321e+00 7.454e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.67 Ra Dec: 256.060 12.575 Photon Index (Fixed Index): 2.22 +/- 0.00 Photon Flux (Fixed Index): 1.53e-08 +/- 1.05e-08 Energy Flux (Fixed Index): 6.66e-06 +/- 4.58e-06 TS (Fixed Index): 2.67 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 3.52e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.69e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/214107/likelihoodResults_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.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) = 116815.215389 delta logL = 0.00636216948624 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 116815.212501 delta logL = 0.00925049147918 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 21.542 1.0000 .10000E-03 10000. 2 'Index ' 2.2830 1.0000 .0000 10.000 3 'Normalizat' 1.3197 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0024 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6070E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 116815.2 FROM MIGRAD STATUS=FAILED 72 CALLS 236 TOTAL EDM= .35E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 21.542 20.697 .86299E-04 -.14497E-02 2 Index 2.2830 .55349 .11643E-01 -.17246E-02 3 Normalizat 1.3197 .86364E-01 .41198E-03 -.68745E-03 4 Prefactor 1.0024 .29113E-01 .15716E-03 -.11229E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 116815.2 FROM SIMPLEX STATUS=UNCHANGED 66 CALLS 302 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 21.542 20.697 .13624E-03 -1.4779 2 Index 2.2830 .55349 .42769E-03 -.57449 3 Normalizat 1.3197 .86364E-01 .11062E-03 -.82980 4 Prefactor 1.0024 .29113E-01 .38224E-04 -.92650 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 116815.2 FROM MIGRAD STATUS=CONVERGED 29 CALLS 331 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 21.540 18.222 .17260E-04 -.10939E-02 2 Index 2.2830 .48736 .46573E-03 -.21013E-03 3 Normalizat 1.3197 .86177E-01 .16479E-04 -.39075E-03 4 Prefactor 1.0024 .29101E-01 .31432E-04 -.70834E-03 ERR DEF= .500 Final values: Prefactor = 21.54 Index = 2.28304 Normalizat = 1.3197 Prefactor = 1.00237 ********** ** 18 **HESSE ********** FCN= 116815.2 FROM HESSE STATUS=OK 23 CALLS 354 TOTAL EDM= .11E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 21.540 18.165 .34520E-05 -1.4779 2 Index 2.2830 .48557 .18629E-04 -.57447 3 Normalizat 1.3197 .86198E-01 .32958E-05 -.82980 4 Prefactor 1.0024 .29108E-01 .62864E-05 -.92650 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.13331e-09 Minuit parameter uncertainties: 1 18.1696 2 0.486661 3 0.0862078 4 0.0291082 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/214107': 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) = 116815.212501 delta logL = 0.0092505072098 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.154e+01 1.817e+01 1.000e-04 1.000e+04 ( 1.000e-14) 264 Index: 2.283e+00 4.867e-01 0.000e+00 1.000e+01 (-1.000e+00) 265 Scale: 2.055e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 604 Prefactor: 1.002e+00 2.911e-02 0.000e+00 1.000e+01 ( 1.000e+00) 605 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 606 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 600 Normalization: 1.320e+00 8.621e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.69 Ra Dec: 256.060 12.575 Photon Index (Free Index): 2.28 +/- 0.49 Photon Flux (Free Index): 1.67e-08 +/- 1.49e-08 Energy Flux (Free Index): 6.49e-06 +/- 4.57e-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/214107/cmap_HighResolution_651715201_654307201_4FGL_J1704.2+1234_monthly_bin160.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/214107 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-03', comment='SUCCESS', photon_flux='1.53e-08', energy_flux2='6.49e-06', photon_flux_error='1.05e-08', dlogl='9.25e-03', energy_flux='6.66e-06', photon_flux2='1.67e-08', job_status='DONE', time_completed='2021-10-30 03:54:30.836537', photon_index_error2='0.49', photon_index2='2.28', ts='2.67', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='3.52e-08', energy_flux_error2='4.57e-06', EG='1.32', time_epoch_completed='1635591270.84', return_code='0', job_id='214107', GAL2='1.00', EG2='1.32', return_code2='0', energy_flux_error='4.58e-06', photon_flux_error2='1.49e-08', ts2='2.69', photon_index='2.22' WHERE bin_id='160' AND source_name='4FGL J1704.2+1234' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Oct 30 03:54:30 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 214107: <4FGL_J1704.2+1234_monthly_bin160> in cluster Done Job <4FGL_J1704.2+1234_monthly_bin160> was submitted from host by user in cluster at Sat Oct 30 00:45:20 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Oct 30 02:05:51 2021 was used as the home directory. was used as the working directory. Started at Sat Oct 30 02:05:51 2021 Terminated at Sat Oct 30 03:54:32 2021 Results reported at Sat Oct 30 03:54:32 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1704.2+1234_monthly_bin160 256.06 12.5752 651715201 654307201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1704.2+1234 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 6205.00 sec. Max Memory : 1100 MB Average Memory : 446.88 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 6520 sec. Turnaround time : 11352 sec. The output (if any) is above this job summary.