Sender: LSF System Subject: Job 130855: <4FGL_J1704.2+1234_weekly_bin432> in cluster Done Job <4FGL_J1704.2+1234_weekly_bin432> was submitted from host by user in cluster at Mon Jul 26 04:30:34 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Jul 26 04:31:07 2021 was used as the home directory. was used as the working directory. Started at Mon Jul 26 04:31:07 2021 Terminated at Mon Jul 26 05:20:31 2021 Results reported at Mon Jul 26 05:20:31 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1704.2+1234_weekly_bin432 256.06 12.5752 500256001 500860801 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 : 2732.00 sec. Max Memory : 623 MB Average Memory : 346.88 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2965 sec. Turnaround time : 2997 sec. The output (if any) follows: aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189) while getting realm /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 198 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 = 17207 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1704.2+1234_weekly_bin432 RA = 256.06, Dec = 12.5752 tmin = 500256001, tmax = 500860801 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='130855', job_status='RUN', time_executed='2021-07-26 04:34:37.090917', time_epoch_executed='1627299277.09' WHERE source_name='4FGL J1704.2+1234' and cadence='weekly' and bin_id='432' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/130855 Creating custom pfile directory: /scratch/kocevski/130855/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=500256001.0 && nMetStart<500860801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=500256001.0 && nMetStart<500860801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/130855/ft1_4FGL_J1704.2+1234_weekly_bin432.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=500256001.0 && nMetStart<500860801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/130855/ft1_4FGL_J1704.2+1234_weekly_bin432.fits outfile=/scratch/kocevski/130855/ft1_filteredMKT_4FGL_J1704.2+1234_weekly_bin432.fits ra=256.06 dec=12.5752 rad=12.0 tmin=500256001.0 tmax=500860801.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 10.90 user 10.48 sys 0.36 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.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/130855/ft1_filteredMKT_4FGL_J1704.2+1234_weekly_bin432.fits evtable="EVENTS" outfile="/scratch/kocevski/130855/ft1_filtered_4FGL_J1704.2+1234_weekly_bin432.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.55 user 0.39 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/130855/ft1_filtered_4FGL_J1704.2+1234_weekly_bin432.fits" evtable="EVENTS" scfile=/scratch/kocevski/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.fits sctable="SC_DATA" outfile=/scratch/kocevski/130855/ltcube_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.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/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.fits .....................! real 29.32 user 27.89 sys 0.48 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/130855/ft1_filtered_4FGL_J1704.2+1234_weekly_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.fits sctable="SC_DATA" expcube=/scratch/kocevski/130855/ltcube_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.fits outfile=/scratch/kocevski/130855/expmap_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.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/130855/ltcube_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.fits .....................! real 194.83 user 185.43 sys 5.88 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/130855/ft1_filtered_4FGL_J1704.2+1234_weekly_bin432.fits scfile=/scratch/kocevski/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.fits outfile=/scratch/kocevski/130855/cmap_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.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.59 user 0.40 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/130855/ft1_filtered_4FGL_J1704.2+1234_weekly_bin432.fits scfile=/scratch/kocevski/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.fits outfile=/scratch/kocevski/130855/cmap_HighResolution_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.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.60 user 0.42 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/130855/ft1_filtered_4FGL_J1704.2+1234_weekly_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/130855/Model_4FGL_J1704.2+1234_weekly_bin432.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/130855/ft1_filtered_4FGL_J1704.2+1234_weekly_bin432.fits.....................! real 291.60 user 289.23 sys 1.35 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/130855/ft1_filtered_4FGL_J1704.2+1234_weekly_bin432.fits', '/scratch/kocevski/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.fits', expMap='/scratch/kocevski/130855/expmap_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.fits', expCube='/scratch/kocevski/130855/ltcube_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/130855/Model_4FGL_J1704.2+1234_weekly_bin432.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/130855/ft1_filtered_4FGL_J1704.2+1234_weekly_bin432.fits Spacecraft file(s): /scratch/kocevski/130855/ft2_4FGL_J1704.2+1234_weekly_bin432.fits Exposure map: /scratch/kocevski/130855/expmap_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.fits Exposure cube: /scratch/kocevski/130855/ltcube_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/130855/Model_4FGL_J1704.2+1234_weekly_bin432.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) = 42496.9006978 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 42496.8949635 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 'Prefactor ' .90532 1.0000 .10000E-03 10000. 3 'Prefactor ' .85580 1.0000 .10000E-03 10000. 4 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 3.0058 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.5158 1.0000 .10000E-03 10000. 7 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 17.118 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 3.7966 1.0000 .10000E-03 10000. 11 'norm ' .71228 1.0000 .10000E-03 10000. 12 'Prefactor ' 4.8807 1.0000 .10000E-03 10000. 13 'norm ' 14.670 1.0000 .10000E-03 10000. 14 'Prefactor ' 38.975 1.0000 .10000E-03 10000. 15 'Prefactor ' .10329E-03 1.0000 .10000E-03 10000. 16 'norm ' 13.527 1.0000 .10000E-03 10000. 17 'norm ' 6.8759 1.0000 .10000E-03 10000. 18 'norm ' 15.198 1.0000 .10000E-03 10000. 19 'norm ' 1.2434 1.0000 .10000E-03 10000. 20 'Normalizat' 1.1336 1.0000 .10000E-01 10.000 21 'Prefactor ' 1.0596 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= 42496.89 FROM MIGRAD STATUS=CONVERGED 450 CALLS 2262 TOTAL EDM= .65E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 11.148 .0000 ** at limit ** 2 Prefactor .90552 2.3654 .0000 .32306E-02 3 Prefactor .85521 1.5606 .0000 .39504E-02 4 Prefactor .10000E-03 2.1025 .0000 ** at limit ** 5 Prefactor 3.0056 2.3355 .0000 .83783E-01 6 Prefactor 1.5159 2.3484 .0000 .63808E-02 7 Prefactor .10000E-03 7.1879 .0000 ** at limit ** 8 Prefactor 17.117 18.095 .0000 .23309E-02 9 Prefactor .10000E-03 1.5224 .0000 ** at limit ** 10 Prefactor 3.7968 3.3674 .0000 .45328E-03 11 norm .71224 .91734 .0000 .40487E-02 12 Prefactor 4.8801 4.6688 .0000 -.27968E-02 13 norm 14.670 5.0890 .0000 -.58118E-02 14 Prefactor 38.975 37.028 .0000 .21532E-04 15 Prefactor .10000E-03 .24577 .0000 ** at limit ** 16 norm 13.527 4.8397 .0000 .12787E-02 17 norm 6.8759 4.2232 .0000 .13215E-02 18 norm 15.198 22.437 .0000 -.95819E-04 19 norm 1.2434 .48173 .0000 .22357E-02 20 Normalizat 1.1336 .12633 .0000 .13183E-03 21 Prefactor 1.0595 .42225E-01 .0000 -.79504E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.905519 Prefactor = 0.855213 Prefactor = 0.0001 Prefactor = 3.00565 Prefactor = 1.51593 Prefactor = 0.0001 Prefactor = 17.1172 Prefactor = 0.0001 Prefactor = 3.79682 norm = 0.712239 Prefactor = 4.88014 norm = 14.6699 Prefactor = 38.9749 Prefactor = 0.0001 norm = 13.527 norm = 6.87593 norm = 15.1979 norm = 1.24335 Normalizat = 1.13363 Prefactor = 1.05955 ********** ** 18 **HESSE ********** FCN= 42496.89 FROM HESSE STATUS=OK 329 CALLS 2591 TOTAL EDM= .10E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 11.240 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .90552 4.6018 .46570E-02 -1.5518 3 Prefactor .85521 1.6827 .32150E-02 -1.5523 4 Prefactor .10000E-03 2.1871 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 3.0056 2.3264 .11706E-02 -1.5361 6 Prefactor 1.5159 2.3330 .34721E-03 -1.5462 7 Prefactor .10000E-03 7.2328 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 17.117 18.091 .96803E-04 -1.4880 9 Prefactor .10000E-03 1.5691 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 3.7968 3.3653 .20716E-03 -1.5318 11 norm .71224 .76548 .21574E-02 -1.5539 12 Prefactor 4.8801 4.6427 .18207E-03 -1.5266 13 norm 14.670 4.9753 .10457E-03 -1.4942 14 Prefactor 38.975 36.906 .64202E-04 -1.4459 15 Prefactor .10000E-03 1.1953 .19050E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 13.527 4.8424 .10891E-03 -1.4972 17 norm 6.8759 4.2227 .15301E-03 -1.5183 18 norm 15.198 22.438 .10274E-03 -1.4928 19 norm 1.2434 .47872 .86149E-04 -1.5485 20 Normalizat 1.1336 .14550 .44032E-03 -.88679 21 Prefactor 1.0595 .49897E-01 .15457E-03 -.90770 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.02662e-07 Minuit parameter uncertainties: 1 5.11337e-05 2 4.08292 3 1.68276 4 1.90062e-07 5 2.32652 6 2.3331 7 8.84486e-05 8 18.097 9 8.87039e-06 10 3.36544 11 0.765491 12 4.64308 13 4.97545 14 36.9279 15 1.20864e-06 16 4.84252 17 4.22288 18 22.4505 19 0.478721 20 0.145553 21 0.0498991 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 42496.894962 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 1.712e+01 1.810e+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.060e+00 4.990e-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.134e+00 1.456e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.83 Ra Dec: 256.060 12.575 Photon Index (Fixed Index): 2.22 +/- 0.00 Photon Flux (Fixed Index): 1.15e-08 +/- 1.21e-08 Energy Flux (Fixed Index): 4.98e-06 +/- 5.27e-06 TS (Fixed Index): 1.83 Ra Dec: 256.060 12.575 Photon Flux Upper Limit: 4.20e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.20e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/130855/likelihoodResults_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.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) = 42496.7137298 delta logL = 0.181232222632 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 42496.6999837 delta logL = 0.19497834787 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 20.645 1.0000 .10000E-03 10000. 2 'Index ' 1.7373 1.0000 .0000 10.000 3 'Normalizat' 1.1396 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0589 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= 42496.70 FROM MIGRAD STATUS=FAILED 88 CALLS 253 TOTAL EDM= .66E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 20.660 22.914 .44076E-03 -.82527E-03 2 Index 1.7385 .74255 .66745E-02 -.12194E-02 3 Normalizat 1.1395 .14193 .43933E-03 .16402E-02 4 Prefactor 1.0589 .48701E-01 .15461E-03 .51176E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 42496.70 FROM SIMPLEX STATUS=UNCHANGED 66 CALLS 319 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 20.660 22.914 .16318E-03 -1.4799 2 Index 1.7385 .74255 .71119E-03 -.71062 3 Normalizat 1.1395 .14193 .19479E-03 -.88492 4 Prefactor 1.0589 .48701E-01 .52282E-04 -.90791 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 42496.70 FROM MIGRAD STATUS=CONVERGED 26 CALLS 345 TOTAL EDM= .44E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 20.662 23.005 .88151E-04 -.11803E-03 2 Index 1.7387 .74546 .26698E-03 -.98109E-05 3 Normalizat 1.1395 .14202 .17573E-04 -.26912E-04 4 Prefactor 1.0589 .48735E-01 .30923E-04 -.60588E-04 ERR DEF= .500 Final values: Prefactor = 20.6624 Index = 1.73865 Normalizat = 1.13954 Prefactor = 1.0589 ********** ** 18 **HESSE ********** FCN= 42496.70 FROM HESSE STATUS=OK 23 CALLS 368 TOTAL EDM= .43E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 20.662 23.009 .17630E-04 -1.4799 2 Index 1.7387 .74554 .53396E-04 -.71057 3 Normalizat 1.1395 .14207 .35147E-05 -.88492 4 Prefactor 1.0589 .48750E-01 .61846E-05 -.90791 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.33757e-11 Minuit parameter uncertainties: 1 23.0186 2 0.750438 3 0.142115 4 0.0487525 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/130855': 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) = 42496.6999806 delta logL = 0.194981404355 Extracting fit parameters... 4FGL J1704.2+1234 Spectrum: PowerLaw 263 Prefactor: 2.066e+01 2.302e+01 1.000e-04 1.000e+04 ( 1.000e-14) 264 Index: 1.739e+00 7.504e-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.059e+00 4.875e-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.140e+00 1.421e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.22 Ra Dec: 256.060 12.575 Photon Index (Free Index): 1.74 +/- 0.75 Photon Flux (Free Index): 5.33e-09 +/- 9.85e-09 Energy Flux (Free Index): 7.70e-06 +/- 1.07e-05 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/130855/cmap_HighResolution_500256001_500860801_4FGL_J1704.2+1234_weekly_bin432.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/130855 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-03', comment='SUCCESS', photon_flux='1.15e-08', energy_flux2='7.70e-06', photon_flux_error='1.21e-08', dlogl='1.95e-01', energy_flux='4.98e-06', photon_flux2='5.33e-09', job_status='DONE', time_completed='2021-07-26 05:20:30.591115', photon_index_error2='0.75', photon_index2='1.74', ts='1.83', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='4.20e-08', energy_flux_error2='1.07e-05', EG='1.13', time_epoch_completed='1627302030.59', return_code='0', job_id='130855', GAL2='1.06', EG2='1.14', return_code2='0', energy_flux_error='5.27e-06', photon_flux_error2='9.85e-09', ts2='2.22', photon_index='2.22' WHERE bin_id='432' AND source_name='4FGL J1704.2+1234' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Jul 26 05:20:30 PDT 2021