/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 = 73273 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1704.2+1234_monthly_bin21 RA = 256.06, Dec = 12.5752 tmin = 291427201, tmax = 294019201 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='198547', job_status='RUN', time_executed='2021-10-29 23:47:05.461461', time_epoch_executed='1635576425.46' WHERE source_name='4FGL J1704.2+1234' and cadence='monthly' and bin_id='21' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/198547 Creating custom pfile directory: /scratch/kocevski/198547/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=291427201.0 && nMetStart<294019201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=291427201.0 && nMetStart<294019201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/198547/ft1_4FGL_J1704.2+1234_monthly_bin21.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=291427201.0 && nMetStart<294019201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Merged file saved to: /scratch/kocevski/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/198547/ft1_4FGL_J1704.2+1234_monthly_bin21.fits outfile=/scratch/kocevski/198547/ft1_filteredMKT_4FGL_J1704.2+1234_monthly_bin21.fits ra=256.06 dec=12.5752 rad=12.0 tmin=291427201.0 tmax=294019201.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 37.74 user 36.91 sys 0.73 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.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/198547/ft1_filteredMKT_4FGL_J1704.2+1234_monthly_bin21.fits evtable="EVENTS" outfile="/scratch/kocevski/198547/ft1_filtered_4FGL_J1704.2+1234_monthly_bin21.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.00 user 0.66 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/198547/ft1_filtered_4FGL_J1704.2+1234_monthly_bin21.fits" evtable="EVENTS" scfile=/scratch/kocevski/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.fits sctable="SC_DATA" outfile=/scratch/kocevski/198547/ltcube_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.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/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.fits .....................! real 111.85 user 111.28 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/198547/ft1_filtered_4FGL_J1704.2+1234_monthly_bin21.fits evtable="EVENTS" scfile=/scratch/kocevski/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.fits sctable="SC_DATA" expcube=/scratch/kocevski/198547/ltcube_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.fits outfile=/scratch/kocevski/198547/expmap_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.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/198547/ltcube_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.fits .....................! real 190.95 user 185.88 sys 4.63 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/198547/ft1_filtered_4FGL_J1704.2+1234_monthly_bin21.fits scfile=/scratch/kocevski/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.fits outfile=/scratch/kocevski/198547/cmap_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.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.79 user 0.61 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/198547/ft1_filtered_4FGL_J1704.2+1234_monthly_bin21.fits scfile=/scratch/kocevski/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.fits outfile=/scratch/kocevski/198547/cmap_HighResolution_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.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.63 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/198547/ft1_filtered_4FGL_J1704.2+1234_monthly_bin21.fits evtable="EVENTS" scfile=/scratch/kocevski/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/198547/Model_4FGL_J1704.2+1234_monthly_bin21.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/198547/ft1_filtered_4FGL_J1704.2+1234_monthly_bin21.fits.....................! real 716.35 user 712.45 sys 1.18 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/198547/ft1_filtered_4FGL_J1704.2+1234_monthly_bin21.fits', '/scratch/kocevski/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.fits', expMap='/scratch/kocevski/198547/expmap_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.fits', expCube='/scratch/kocevski/198547/ltcube_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/198547/Model_4FGL_J1704.2+1234_monthly_bin21.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/198547/ft1_filtered_4FGL_J1704.2+1234_monthly_bin21.fits Spacecraft file(s): /scratch/kocevski/198547/ft2_4FGL_J1704.2+1234_monthly_bin21.fits Exposure map: /scratch/kocevski/198547/expmap_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.fits Exposure cube: /scratch/kocevski/198547/ltcube_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/198547/Model_4FGL_J1704.2+1234_monthly_bin21.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) = 100797.400411 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 100797.308357 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10154E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 3.2720 1.0000 .10000E-03 10000. 3 'Prefactor ' .15487 1.0000 .10000E-03 10000. 4 'Prefactor ' .10175E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.9190 1.0000 .10000E-03 10000. 6 'Prefactor ' .64505E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 22.088 1.0000 .10000E-03 10000. 9 'Prefactor ' 3.4580 1.0000 .10000E-03 10000. 10 'Prefactor ' .10665E-03 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 19.240 1.0000 .10000E-03 10000. 13 'norm ' 6.1636 1.0000 .10000E-03 10000. 14 'Prefactor ' 16.294 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.0540 1.0000 .10000E-03 10000. 16 'norm ' .17750E-03 1.0000 .10000E-03 10000. 17 'norm ' .10237E-03 1.0000 .10000E-03 10000. 18 'norm ' 20.408 1.0000 .10000E-03 10000. 19 'norm ' .10001E-03 1.0000 .10000E-03 10000. 20 'Normalizat' 1.4299 1.0000 .10000E-01 10.000 21 'Prefactor ' .93991 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 100797.3 FROM MIGRAD STATUS=CONVERGED 507 CALLS 2087 TOTAL EDM= .47E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 8.3883 .0000 ** at limit ** 2 Prefactor 3.2722 2.9647 .0000 .47622E-01 3 Prefactor .16172 .48913 .0000 .58379E-02 4 Prefactor .10000E-03 .27790 .0000 ** at limit ** 5 Prefactor 1.9193 1.7132 .0000 .22243 6 Prefactor .10003E-03 .46988 .0000 ** at limit ** 7 Prefactor .10000E-03 2.5060 .0000 ** at limit ** 8 Prefactor 22.118 16.518 .0000 .24162E-02 9 Prefactor 3.4553 2.6208 .0000 .73352E-01 10 Prefactor .10000E-03 .85276 .0000 ** at limit ** 11 norm .10000E-03 .12843 .0000 ** at limit ** 12 Prefactor 19.249 4.7991 .0000 .39151E-02 13 norm 6.1602 2.7033 .0000 .75488E-02 14 Prefactor 16.427 22.312 .0000 -.33109E-03 15 Prefactor 1.0538 1.0340 .0000 .19224E-01 16 norm .10000E-03 .61877 .0000 ** at limit ** 17 norm .10000E-03 1.0468 .0000 ** at limit ** 18 norm 20.463 14.789 .0000 -.30224E-03 19 norm .10000E-03 .49664E-01 .0000 ** at limit ** 20 Normalizat 1.4299 .82013E-01 .0000 .26992E-03 21 Prefactor .93988 .25952E-01 .0000 .16252E-03 ERR DEF= .500 Final values: Prefactor = 0.000100002 Prefactor = 3.27218 Prefactor = 0.161721 Prefactor = 0.0001 Prefactor = 1.9193 Prefactor = 0.000100031 Prefactor = 0.0001 Prefactor = 22.1177 Prefactor = 3.45525 Prefactor = 0.0001 norm = 0.0001 Prefactor = 19.2493 norm = 6.16017 Prefactor = 16.427 Prefactor = 1.05383 norm = 0.000100001 norm = 0.0001 norm = 20.4629 norm = 0.0001 Normalizat = 1.42985 Prefactor = 0.939877 ********** ** 18 **HESSE ********** FCN= 100797.3 FROM HESSE STATUS=OK 341 CALLS 2428 TOTAL EDM= .30E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 8.5448 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 3.2722 2.9348 .11193E-02 -1.5346 3 Prefactor .16172 4.4790 .36226E-02 -1.5628 4 Prefactor .10000E-03 1.0787 .32006E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 1.9193 1.7030 .14999E-02 -1.5431 6 Prefactor .10003E-03 .59791 .59347E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10000E-03 2.5187 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 22.118 16.489 .85227E-04 -1.4767 9 Prefactor 3.4553 2.6084 .10874E-02 -1.5336 10 Prefactor .10000E-03 4.0270 .56161E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 .34197 .22076E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 19.249 4.7592 .91311E-04 -1.4830 13 norm 6.1602 2.6629 .80853E-03 -1.5212 14 Prefactor 16.427 22.252 .99222E-04 -1.4897 15 Prefactor 1.0538 1.0050 .27548E-03 -1.5503 16 norm .10000E-03 .80496 .74614E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .10000E-03 1.0753 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 20.463 14.791 .88661E-04 -1.4803 19 norm .10000E-03 .42140 .13661E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat 1.4299 .95979E-01 .40687E-03 -.79769 21 Prefactor .93988 .31319E-01 .15979E-03 -.94761 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.0365e-08 Minuit parameter uncertainties: 1 0.000268892 2 2.93493 3 1.70178 4 1.01545e-06 5 1.70302 6 0.000272918 7 5.59729e-06 8 16.4922 9 2.60853 10 4.46033e-05 11 1.66789e-06 12 4.75931 13 2.66294 14 22.2636 15 1.00506 16 4.32222e-05 17 9.55489e-08 18 14.794 19 8.41473e-08 20 0.0959916 21 0.0313194 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 100797.308287 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.212e+01 1.649e+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: 9.399e-01 3.132e-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.430e+00 9.599e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.60 Ra Dec: 256.060 12.575 Photon Index (Fixed Index): 2.22 +/- 0.00 Photon Flux (Fixed Index): 1.48e-08 +/- 1.10e-08 Energy Flux (Fixed Index): 6.44e-06 +/- 4.80e-06 TS (Fixed Index): 2.60 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 3.69e-08 ph cm-2 s-1 Energy Flux Upper Limit: 2.82e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/198547/likelihoodResults_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.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) = 100797.307293 delta logL = 0.00099387067894 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 100797.306987 delta logL = 0.00130046854611 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 21.690 1.0000 .10000E-03 10000. 2 'Index ' 2.2485 1.0000 .0000 10.000 3 'Normalizat' 1.4291 1.0000 .10000E-01 10.000 4 'Prefactor ' .93993 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 MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 100797.3 FROM MIGRAD STATUS=FAILED 100 CALLS 271 TOTAL EDM= .86E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 21.659 20.814 .86003E-04 -.31725E-04 2 Index 2.2526 .76292 .14188E-01 .15842E-02 3 Normalizat 1.4291 .95297E-01 .40696E-03 -.11174E-03 4 Prefactor .93997 .30818E-01 .15978E-03 -.69446E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 100797.3 FROM SIMPLEX STATUS=UNCHANGED 74 CALLS 345 TOTAL EDM= .17E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 21.659 20.814 .20414E-03 -1.4777 2 Index 2.2526 .76292 .74643E-03 -.58173 3 Normalizat 1.4291 .95297E-01 .96696E-04 -.79792 4 Prefactor .93997 .30818E-01 .32768E-04 -.94758 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 100797.3 FROM MIGRAD STATUS=CONVERGED 31 CALLS 376 TOTAL EDM= .27E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 21.659 18.833 .34401E-05 -.31725E-04 2 Index 2.2526 .69150 .28375E-02 -.34616E-04 3 Normalizat 1.4291 .94939E-01 .16279E-04 -.11174E-03 4 Prefactor .93997 .30808E-01 .63911E-05 -.74000E-04 ERR DEF= .500 Final values: Prefactor = 21.6592 Index = 2.25263 Normalizat = 1.42906 Prefactor = 0.939975 ********** ** 18 **HESSE ********** FCN= 100797.3 FROM HESSE STATUS=OK 23 CALLS 399 TOTAL EDM= .30E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 21.659 18.872 .68803E-06 -1.4777 2 Index 2.2526 .68221 .11350E-03 -.58173 3 Normalizat 1.4291 .94906E-01 .32557E-05 -.79792 4 Prefactor .93997 .30818E-01 .12782E-05 -.94758 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.03274e-11 Minuit parameter uncertainties: 1 18.8777 2 0.685277 3 0.0949177 4 0.0308184 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/198547': 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) = 100797.306962 delta logL = 0.00132528293761 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.166e+01 1.888e+01 1.000e-04 1.000e+04 ( 1.000e-14) 264 Index: 2.253e+00 6.853e-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: 9.400e-01 3.082e-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.429e+00 9.492e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.61 Ra Dec: 256.060 12.575 Photon Index (Free Index): 2.25 +/- 0.69 Photon Flux (Free Index): 1.57e-08 +/- 2.04e-08 Energy Flux (Free Index): 6.41e-06 +/- 4.79e-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/198547/cmap_HighResolution_291427201_294019201_4FGL_J1704.2+1234_monthly_bin21.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/198547 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.82e-03', comment='SUCCESS', photon_flux='1.48e-08', energy_flux2='6.41e-06', photon_flux_error='1.10e-08', dlogl='1.33e-03', energy_flux='6.44e-06', photon_flux2='1.57e-08', job_status='DONE', time_completed='2021-10-30 01:39:59.571673', photon_index_error2='0.69', photon_index2='2.25', ts='2.60', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='3.69e-08', energy_flux_error2='4.79e-06', EG='1.43', time_epoch_completed='1635583199.57', return_code='0', job_id='198547', GAL2='0.94', EG2='1.43', return_code2='0', energy_flux_error='4.80e-06', photon_flux_error2='2.04e-08', ts2='2.61', photon_index='2.22' WHERE bin_id='21' AND source_name='4FGL J1704.2+1234' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Oct 30 01:39:59 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 198547: <4FGL_J1704.2+1234_monthly_bin21> in cluster Done Job <4FGL_J1704.2+1234_monthly_bin21> was submitted from host by user in cluster at Fri Oct 29 23:45:12 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 23:46:56 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 23:46:56 2021 Terminated at Sat Oct 30 01:40:00 2021 Results reported at Sat Oct 30 01:40:00 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1704.2+1234_monthly_bin21 256.06 12.5752 291427201 294019201 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 : 5931.90 sec. Max Memory : 648 MB Average Memory : 415.29 MB Total Requested Memory : - Delta Memory : - Max Swap : 2952 MB Max Processes : 6 Max Threads : 21 Run time : 6784 sec. Turnaround time : 6888 sec. The output (if any) is above this job summary.