/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 12 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 = 73220 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1704.1+7647_monthly_bin42 RA = 256.037, Dec = 76.7923 tmin = 345859201, tmax = 348451201 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='192797', job_status='RUN', time_executed='2021-10-29 23:45:32.439288', time_epoch_executed='1635576332.44' WHERE source_name='4FGL J1704.1+7647' and cadence='monthly' and bin_id='42' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/192797 Creating custom pfile directory: /scratch/kocevski/192797/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=345859201.0 && nMetStart<348451201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=345859201.0 && nMetStart<348451201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/192797/ft1_4FGL_J1704.1+7647_monthly_bin42.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=345859201.0 && nMetStart<348451201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/192797/ft1_4FGL_J1704.1+7647_monthly_bin42.fits outfile=/scratch/kocevski/192797/ft1_filteredMKT_4FGL_J1704.1+7647_monthly_bin42.fits ra=256.037 dec=76.7923 rad=12.0 tmin=345859201.0 tmax=348451201.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 26.01 user 24.28 sys 1.38 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.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/192797/ft1_filteredMKT_4FGL_J1704.1+7647_monthly_bin42.fits evtable="EVENTS" outfile="/scratch/kocevski/192797/ft1_filtered_4FGL_J1704.1+7647_monthly_bin42.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.77 user 0.55 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/192797/ft1_filtered_4FGL_J1704.1+7647_monthly_bin42.fits" evtable="EVENTS" scfile=/scratch/kocevski/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.fits sctable="SC_DATA" outfile=/scratch/kocevski/192797/ltcube_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.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/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.fits .....................! real 139.94 user 138.16 sys 0.43 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/192797/ft1_filtered_4FGL_J1704.1+7647_monthly_bin42.fits evtable="EVENTS" scfile=/scratch/kocevski/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.fits sctable="SC_DATA" expcube=/scratch/kocevski/192797/ltcube_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.fits outfile=/scratch/kocevski/192797/expmap_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.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/192797/ltcube_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.fits .....................! real 157.37 user 152.57 sys 4.28 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 Added 201 point sources and 0 extended sources Setting source of interest to: 4FGL J1704.1+7647 @ 256.037 76.7923 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/192797/ft1_filtered_4FGL_J1704.1+7647_monthly_bin42.fits scfile=/scratch/kocevski/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.fits outfile=/scratch/kocevski/192797/cmap_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.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.037 yref=76.7923 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.70 user 0.52 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/192797/ft1_filtered_4FGL_J1704.1+7647_monthly_bin42.fits scfile=/scratch/kocevski/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.fits outfile=/scratch/kocevski/192797/cmap_HighResolution_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.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.037 yref=76.7923 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.67 user 0.51 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/192797/ft1_filtered_4FGL_J1704.1+7647_monthly_bin42.fits evtable="EVENTS" scfile=/scratch/kocevski/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192797/Model_4FGL_J1704.1+7647_monthly_bin42.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 GAL_V02 Working on... /scratch/kocevski/192797/ft1_filtered_4FGL_J1704.1+7647_monthly_bin42.fits.....................! real 851.57 user 847.45 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/192797/ft1_filtered_4FGL_J1704.1+7647_monthly_bin42.fits', '/scratch/kocevski/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.fits', expMap='/scratch/kocevski/192797/expmap_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.fits', expCube='/scratch/kocevski/192797/ltcube_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/192797/Model_4FGL_J1704.1+7647_monthly_bin42.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1704.1+7647' 4FGL J1704.1+7647 Spectrum: PowerLaw 379 Prefactor: 1.968e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 380 Index: 2.548e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 381 Scale: 7.874e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/192797/ft1_filtered_4FGL_J1704.1+7647_monthly_bin42.fits Spacecraft file(s): /scratch/kocevski/192797/ft2_4FGL_J1704.1+7647_monthly_bin42.fits Exposure map: /scratch/kocevski/192797/expmap_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.fits Exposure cube: /scratch/kocevski/192797/ltcube_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/192797/Model_4FGL_J1704.1+7647_monthly_bin42.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) = 103234.598191 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 103234.583093 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 12.712 1.0000 .10000E-03 10000. 2 'Prefactor ' 6.4832 1.0000 .10000E-03 10000. 3 'Prefactor ' 7.2188 1.0000 .10000E-03 10000. 4 'Prefactor ' 5.5599 1.0000 .10000E-03 10000. 5 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 2.8260 1.0000 .10000E-03 10000. 7 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 8 'norm ' 10.086 1.0000 .10000E-03 10000. 9 'Prefactor ' 6.8504 1.0000 .10000E-03 10000. 10 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 11 'norm ' .36429 1.0000 .10000E-03 10000. 12 'Prefactor ' 3.0623 1.0000 .10000E-03 10000. 13 'Prefactor ' .62848 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.3164 1.0000 .10000E-03 10000. 15 'Prefactor ' 4.3036 1.0000 .10000E-03 10000. 16 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 17 'norm ' 4.7472 1.0000 .10000E-03 10000. 18 'norm ' 2.2839 1.0000 .10000E-03 10000. 19 'norm ' 7.4602 1.0000 .10000E-03 10000. 20 'Prefactor ' 73.732 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.6350 1.0000 .10000E-03 10000. 22 'Prefactor ' .27854 1.0000 .10000E-03 10000. 23 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .36185 1.0000 .10000E-03 10000. 25 'norm ' 1.4467 1.0000 .10000E-03 10000. 26 'Prefactor ' 10.204 1.0000 .10000E-03 10000. 27 'Normalizat' .91319 1.0000 .10000E-01 10.000 28 'Prefactor ' 1.0810 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6510E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 103234.6 FROM MIGRAD STATUS=CONVERGED 675 CALLS 3646 TOTAL EDM= .92E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 12.713 9.0446 .0000 -.13134E-03 2 Prefactor 6.4837 3.0211 .0000 .65980E-02 3 Prefactor 7.2195 4.7223 .0000 .62582E-03 4 Prefactor 5.5602 7.1417 .0000 .97919E-04 5 Prefactor .10000E-03 2.6990 .0000 ** at limit ** 6 Prefactor 2.8271 7.4066 .0000 .40124E-03 7 Prefactor .10000E-03 13.593 .0000 ** at limit ** 8 norm 10.086 4.0465 .0000 .26571E-02 9 Prefactor 6.8506 8.7224 .0000 -.27957E-04 10 Prefactor .10000E-03 3.4510 .0000 ** at limit ** 11 norm .36442 .20040 .0000 .22345E-01 12 Prefactor 3.0623 1.9904 .0000 .11144 13 Prefactor .62861 .67486 .0000 .18029E-01 14 Prefactor 2.3155 3.3511 .0000 .54093E-01 15 Prefactor 4.3040 7.2013 .0000 .11493E-01 16 Prefactor .10000E-03 3.8359 .0000 ** at limit ** 17 norm 4.7472 .78908 .0000 .34424E-02 18 norm 2.2839 .24081 .0000 .34332E-02 19 norm 7.4591 1.3951 .0000 .24123E-02 20 Prefactor 73.730 32.901 .0000 .10200E-01 21 Prefactor 1.6406 1.6966 .0000 .30021 22 Prefactor .28840 1.0969 .0000 .63237E-02 23 Prefactor .10000E-03 4.2443 .0000 ** at limit ** 24 Prefactor .36341 .52326 .0000 .65976E-02 25 norm 1.4468 .71138 .0000 .58759E-02 26 Prefactor 10.204 3.4118 .0000 .47418E-03 27 Normalizat .91315 .50538E-01 .0000 .46933E-03 28 Prefactor 1.0810 .31090E-01 .0000 .19500E-03 ERR DEF= .500 Final values: Prefactor = 12.713 Prefactor = 6.48372 Prefactor = 7.21953 Prefactor = 5.56019 Prefactor = 0.0001 Prefactor = 2.82713 Prefactor = 0.000100001 norm = 10.086 Prefactor = 6.85055 Prefactor = 0.000100003 norm = 0.364418 Prefactor = 3.06233 Prefactor = 0.62861 Prefactor = 2.31547 Prefactor = 4.30399 Prefactor = 0.0001 norm = 4.7472 norm = 2.2839 norm = 7.45914 Prefactor = 73.7298 Prefactor = 1.6406 Prefactor = 0.288403 Prefactor = 0.000100001 Prefactor = 0.363414 norm = 1.44675 Prefactor = 10.2037 Normalizat = 0.913153 Prefactor = 1.08097 ********** ** 18 **HESSE ********** FCN= 103234.6 FROM HESSE STATUS=OK 537 CALLS 4183 TOTAL EDM= .18E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 12.713 9.0425 .11235E-03 -1.4995 2 Prefactor 6.4837 3.0199 .15762E-03 -1.5199 3 Prefactor 7.2195 4.7269 .14929E-03 -1.5171 4 Prefactor 5.5602 7.1384 .17038E-03 -1.5236 5 Prefactor .10000E-03 2.7321 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 2.8271 7.4026 .24192E-03 -1.5372 7 Prefactor .10000E-03 13.826 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 10.086 4.0347 .63086E-03 -1.5073 9 Prefactor 6.8506 8.7201 .15329E-03 -1.5184 10 Prefactor .10000E-03 3.4843 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .36442 .16358 .91118E-03 -1.5587 12 Prefactor 3.0623 1.9478 .11591E-02 -1.5358 13 Prefactor .62861 .61378 .22723E-03 -1.5549 14 Prefactor 2.3155 3.2181 .13477E-02 -1.5404 15 Prefactor 4.3040 6.7966 .97096E-03 -1.5293 16 Prefactor .10000E-03 3.8512 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 4.7472 .78780 .10990E-03 -1.5272 18 norm 2.2839 .23984 .47947E-04 -1.5406 19 norm 7.4591 1.3841 .14684E-03 -1.5162 20 Prefactor 73.730 32.846 .23379E-03 -1.3989 21 Prefactor 1.6406 1.6439 .16530E-02 -1.5452 22 Prefactor .28840 8.7573 .60243E-02 -1.5601 23 Prefactor .10000E-03 4.2479 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .36341 1.3146 .26629E-02 -1.5587 25 norm 1.4468 .71040 .18191E-03 -1.5467 26 Prefactor 10.204 3.4103 .12544E-03 -1.5069 27 Normalizat .91315 .56815E-01 .31397E-03 -.95999 28 Prefactor 1.0810 .35505E-01 .18607E-03 -.90077 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.83046e-07 Minuit parameter uncertainties: 1 9.04348 2 3.01993 3 4.72717 4 7.13949 5 3.57704e-05 6 7.405 7 0.000209366 8 4.03483 9 8.72173 10 0.000188738 11 0.163583 12 1.94787 13 0.613785 14 3.21831 15 6.79787 16 8.30338e-05 17 0.787801 18 0.239844 19 1.38407 20 32.8544 21 1.64394 22 3.17841 23 0.000102855 24 1.31474 25 0.710405 26 3.41036 27 0.0568185 28 0.0355056 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 103234.583079 Extracting fit parameters... 4FGL J1704.1+7647 Spectrum: PowerLaw 379 Prefactor: 6.286e-01 6.138e-01 1.000e-04 1.000e+04 ( 1.000e-12) 380 Index: 2.548e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 381 Scale: 7.874e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 648 Prefactor: 1.081e+00 3.551e-02 0.000e+00 1.000e+01 ( 1.000e+00) 649 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 650 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 647 Normalization: 9.132e-01 5.682e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.68 Ra Dec: 256.037 76.792 Photon Index (Fixed Index): 2.55 +/- 0.00 Photon Flux (Fixed Index): 7.81e-09 +/- 7.62e-09 Energy Flux (Fixed Index): 2.15e-06 +/- 2.10e-06 TS (Fixed Index): 1.68 Ra Dec: 256.037 76.792 Photon Flux Upper Limit: 2.24e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.75e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/192797/likelihoodResults_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.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) = 103234.536128 delta logL = 0.0469508615643 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 103234.535798 delta logL = 0.0472811134096 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .63995 1.0000 .10000E-03 10000. 2 'Index ' 2.2820 1.0000 .0000 10.000 3 'Normalizat' .91590 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0801 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6510E+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= 103234.5 FROM MIGRAD STATUS=FAILED 99 CALLS 282 TOTAL EDM= .12E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .63992 .61208 .21768E-02 .44599E-01 2 Index 2.2820 .82635 .13853E-01 .66716E-04 3 Normalizat .91591 .54150E-01 .31354E-03 .49892E-03 4 Prefactor 1.0801 .34403E-01 .18614E-03 .75244E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 103234.5 FROM SIMPLEX STATUS=UNCHANGED 82 CALLS 364 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .63992 .61208 .40227E-04 -1.5548 2 Index 2.2820 .82635 .97618E-03 -.57473 3 Normalizat .91591 .54150E-01 .56854E-04 -.95903 4 Prefactor 1.0801 .34403E-01 .35872E-04 -.90106 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 103234.5 FROM MIGRAD STATUS=CONVERGED 30 CALLS 394 TOTAL EDM= .34E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .63992 .62372 .43536E-03 .24358E-03 2 Index 2.2819 .84339 .55413E-03 -.36109E-05 3 Normalizat .91591 .54193E-01 .12542E-04 .29007E-05 4 Prefactor 1.0801 .34422E-01 .74458E-05 .19544E-05 ERR DEF= .500 Final values: Prefactor = 0.639924 Index = 2.28194 Normalizat = 0.915907 Prefactor = 1.08007 ********** ** 18 **HESSE ********** FCN= 103234.5 FROM HESSE STATUS=OK 25 CALLS 419 TOTAL EDM= .21E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .63992 .62443 .17415E-04 -1.5548 2 Index 2.2819 .84428 .22165E-04 -.57473 3 Normalizat .91591 .54162E-01 .25084E-05 -.95903 4 Prefactor 1.0801 .34410E-01 .74458E-05 -.90106 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.09089e-12 Minuit parameter uncertainties: 1 0.624433 2 0.850082 3 0.0541656 4 0.0344106 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/192797': 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) = 103234.535798 delta logL = 0.0472811418003 Extracting fit parameters... 4FGL J1704.1+7647 Spectrum: PowerLaw 379 Prefactor: 6.399e-01 6.244e-01 1.000e-04 1.000e+04 ( 1.000e-12) 380 Index: 2.282e+00 8.501e-01 0.000e+00 1.000e+01 (-1.000e+00) 381 Scale: 7.874e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 648 Prefactor: 1.080e+00 3.441e-02 0.000e+00 1.000e+01 ( 1.000e+00) 649 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 650 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 647 Normalization: 9.159e-01 5.417e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.77 Ra Dec: 256.037 76.792 Photon Index (Free Index): 2.28 +/- 0.85 Photon Flux (Free Index): 5.54e-09 +/- 9.09e-09 Energy Flux (Free Index): 2.16e-06 +/- 2.04e-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/192797/cmap_HighResolution_345859201_348451201_4FGL_J1704.1+7647_monthly_bin42.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/192797 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.75e-03', comment='SUCCESS', photon_flux='7.81e-09', energy_flux2='2.16e-06', photon_flux_error='7.62e-09', dlogl='4.73e-02', energy_flux='2.15e-06', photon_flux2='5.54e-09', job_status='DONE', time_completed='2021-10-30 02:27:05.832701', photon_index_error2='0.85', photon_index2='2.28', ts='1.68', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='2.24e-08', energy_flux_error2='2.04e-06', EG='0.91', time_epoch_completed='1635586025.83', return_code='0', job_id='192797', GAL2='1.08', EG2='0.92', return_code2='0', energy_flux_error='2.10e-06', photon_flux_error2='9.09e-09', ts2='1.77', photon_index='2.55' WHERE bin_id='42' AND source_name='4FGL J1704.1+7647' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Oct 30 02:27:05 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 192797: <4FGL_J1704.1+7647_monthly_bin42> in cluster Done Job <4FGL_J1704.1+7647_monthly_bin42> was submitted from host by user in cluster at Fri Oct 29 23:20:17 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 29 23:45:13 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 29 23:45:13 2021 Terminated at Sat Oct 30 02:27:06 2021 Results reported at Sat Oct 30 02:27:06 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1704.1+7647_monthly_bin42 256.037 76.7923 345859201 348451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1704.1+7647 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 8744.00 sec. Max Memory : 1263 MB Average Memory : 431.11 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 9713 sec. Turnaround time : 11209 sec. The output (if any) is above this job summary.