/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 27 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 = 7479 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_daily_bin519 RA = 346.173, Dec = 37.0826 tmin = 373852801, tmax = 374112001 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='658013', job_status='RUN', time_executed='2021-09-29 06:31:10.039540', time_epoch_executed='1632922270.04' WHERE source_name='4FGL J2304.6+3704' and cadence='daily' and bin_id='519' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/658013 Creating custom pfile directory: /scratch/kocevski/658013/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=373852801.0 && nMetStart<374112001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=373852801.0 && nMetStart<374112001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/658013/ft1_4FGL_J2304.6+3704_daily_bin519.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=373852801.0 && nMetStart<374112001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/658013/ft2_4FGL_J2304.6+3704_daily_bin519.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/658013/ft1_4FGL_J2304.6+3704_daily_bin519.fits outfile=/scratch/kocevski/658013/ft1_filteredMKT_4FGL_J2304.6+3704_daily_bin519.fits ra=346.173 dec=37.0826 rad=12.0 tmin=373852801.0 tmax=374112001.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 4.46 user 4.19 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/658013/ft2_4FGL_J2304.6+3704_daily_bin519.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/658013/ft2_4FGL_J2304.6+3704_daily_bin519.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/658013/ft1_filteredMKT_4FGL_J2304.6+3704_daily_bin519.fits evtable="EVENTS" outfile="/scratch/kocevski/658013/ft1_filtered_4FGL_J2304.6+3704_daily_bin519.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.48 user 0.32 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/658013/ft1_filtered_4FGL_J2304.6+3704_daily_bin519.fits" evtable="EVENTS" scfile=/scratch/kocevski/658013/ft2_4FGL_J2304.6+3704_daily_bin519.fits sctable="SC_DATA" outfile=/scratch/kocevski/658013/ltcube_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.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/658013/ft2_4FGL_J2304.6+3704_daily_bin519.fits .....................! real 11.54 user 11.17 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/658013/ft1_filtered_4FGL_J2304.6+3704_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/658013/ft2_4FGL_J2304.6+3704_daily_bin519.fits sctable="SC_DATA" expcube=/scratch/kocevski/658013/ltcube_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.fits outfile=/scratch/kocevski/658013/expmap_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.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/658013/ltcube_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.fits .....................! real 190.75 user 185.41 sys 5.00 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 J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/658013/ft1_filtered_4FGL_J2304.6+3704_daily_bin519.fits scfile=/scratch/kocevski/658013/ft2_4FGL_J2304.6+3704_daily_bin519.fits outfile=/scratch/kocevski/658013/cmap_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.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=346.173 yref=37.0826 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.53 user 0.36 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/658013/ft1_filtered_4FGL_J2304.6+3704_daily_bin519.fits scfile=/scratch/kocevski/658013/ft2_4FGL_J2304.6+3704_daily_bin519.fits outfile=/scratch/kocevski/658013/cmap_HighResolution_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.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=346.173 yref=37.0826 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.53 user 0.38 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/658013/ft1_filtered_4FGL_J2304.6+3704_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/658013/ft2_4FGL_J2304.6+3704_daily_bin519.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/658013/Model_4FGL_J2304.6+3704_daily_bin519.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 CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /scratch/kocevski/658013/ft1_filtered_4FGL_J2304.6+3704_daily_bin519.fits.....................! real 119.79 user 118.34 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/658013/ft1_filtered_4FGL_J2304.6+3704_daily_bin519.fits', '/scratch/kocevski/658013/ft2_4FGL_J2304.6+3704_daily_bin519.fits', expMap='/scratch/kocevski/658013/expmap_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.fits', expCube='/scratch/kocevski/658013/ltcube_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/658013/Model_4FGL_J2304.6+3704_daily_bin519.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/658013/ft1_filtered_4FGL_J2304.6+3704_daily_bin519.fits Spacecraft file(s): /scratch/kocevski/658013/ft2_4FGL_J2304.6+3704_daily_bin519.fits Exposure map: /scratch/kocevski/658013/expmap_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.fits Exposure cube: /scratch/kocevski/658013/ltcube_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/658013/Model_4FGL_J2304.6+3704_daily_bin519.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) = 9932.87129608 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9932.8479364 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .28115 1.0000 .10000E-03 10000. 2 'Prefactor ' .10052E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10011E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 16.671 1.0000 .10000E-03 10000. 5 'norm ' 1.5015 1.0000 .10000E-03 10000. 6 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .73422 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'norm ' .84656 1.0000 .10000E-03 10000. 10 'Prefactor ' 18.620 1.0000 .10000E-03 10000. 11 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 23.805 1.0000 .10000E-03 10000. 13 'norm ' .10000E-03 1.0000 .10000E-03 10000. 14 'norm ' 6.7538 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' .10599E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 98.205 1.0000 .10000E-03 10000. 19 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 24.886 1.0000 .10000E-03 10000. 21 'Prefactor ' 2.8149 1.0000 .10000E-03 10000. 22 'Normalizat' 1.5701 1.0000 .10000E-01 10.000 23 'Prefactor ' .83435 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 9932.848 FROM MIGRAD STATUS=CONVERGED 511 CALLS 2604 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .28102 .86386 -.21096E-06 -.68489E-04 2 Prefactor .10000E-03 35.511 -.13968E-04** at limit ** 3 Prefactor .10000E-03 12.489 .34030E-05** at limit ** 4 Prefactor 16.673 20.536 .15211E-05 -.15333E-04 5 norm 1.5021 3.7663 -.85920E-06 -.31754E-03 6 Prefactor .10000E-03 6.5099 .98446E-07** at limit ** 7 Prefactor .73450 1.2678 .51849E-06 -.15063E-02 8 Prefactor .10000E-03 15.472 -.79128E-05** at limit ** 9 norm .84652 .83069 -.18004E-07 .23235E-04 10 Prefactor 18.615 23.863 -.45849E-05 .11137E-03 11 Prefactor .10000E-03 12.777 .16260E-05** at limit ** 12 Prefactor 23.803 21.202 -.91322E-06 .49413E-04 13 norm .10000E-03 1.1502 .52517E-07** at limit ** 14 norm 6.7524 9.1969 .98730E-08 .64833E-05 15 Prefactor .10000E-03 4.0664 -.22221E-07** at limit ** 16 norm .10000E-03 1.3952 -.22493E-07** at limit ** 17 Prefactor .10000E-03 7.9477 -.72677E-06** at limit ** 18 Prefactor 98.184 78.558 -.18677E-04 .23135E-03 19 Prefactor .10000E-03 29.343 .15836E-04** at limit ** 20 Prefactor 24.920 85.066 .60426E-04 .15307E-04 21 Prefactor 2.8130 19.065 -.22572E-04 -.35616E-03 22 Normalizat 1.5700 .22438 .16488E-05 .43930E-04 23 Prefactor .83438 .80785E-01 -.25083E-06 .30402E-03 ERR DEF= .500 Final values: norm = 0.281018 Prefactor = 0.000100002 Prefactor = 0.0001 Prefactor = 16.6735 norm = 1.50212 Prefactor = 0.0001 Prefactor = 0.734502 Prefactor = 0.000100001 norm = 0.846523 Prefactor = 18.6147 Prefactor = 0.0001 Prefactor = 23.8035 norm = 0.0001 norm = 6.75238 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 98.184 Prefactor = 0.000100004 Prefactor = 24.9196 Prefactor = 2.81301 Normalizat = 1.57003 Prefactor = 0.834375 ********** ** 18 **HESSE ********** FCN= 9932.848 FROM HESSE STATUS=OK 374 CALLS 2978 TOTAL EDM= .47E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .28102 1.0740 .15022E-02 -1.5602 2 Prefactor .10000E-03 35.377 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 12.672 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 16.673 20.405 .98094E-04 -1.4891 5 norm 1.5021 3.8271 .28676E-03 -1.5463 6 Prefactor .10000E-03 6.5187 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .73450 12.182 .24385E-02 -1.5537 8 Prefactor .10000E-03 15.454 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .84652 .85075 .87214E-03 -1.5524 10 Prefactor 18.615 23.861 .92819E-04 -1.4845 11 Prefactor .10000E-03 12.908 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 23.803 21.203 .82099E-04 -1.4732 13 norm .10000E-03 1.1525 .10438E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 6.7524 9.1719 .15440E-03 -1.5188 15 Prefactor .10000E-03 4.0700 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .10000E-03 2.7548 .22755E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 7.9561 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 98.184 77.799 .20282E-03 -1.3723 19 Prefactor .10000E-03 29.222 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 24.920 84.080 .80300E-04 -1.4709 21 Prefactor 2.8130 18.436 .24244E-03 -1.5373 22 Normalizat 1.5700 .26268 .35693E-03 -.75829 23 Prefactor .83438 .95177E-01 .17235E-03 -.98473 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.72715e-08 Minuit parameter uncertainties: 1 1.07409 2 0.000588565 3 6.24945e-05 4 20.4138 5 3.8277 6 2.45182e-06 7 5.98348 8 0.000222166 9 0.850765 10 23.8736 11 5.49934e-05 12 21.2095 13 7.72879e-07 14 9.17384 15 6.55404e-07 16 1.35439e-06 17 6.33679e-06 18 77.8802 19 0.000669052 20 84.484 21 14.4091 22 0.262913 23 0.0951954 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9932.84793503 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 1.000e-04 2.222e-04 1.000e-04 1.000e+04 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 8.344e-01 9.520e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.570e+00 2.629e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 5.64e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.17e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/658013/likelihoodResults_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 9932.84824339 delta logL = -0.000308359622068 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 9932.84793502 delta logL = 8.9767127065e-09 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 'Index ' 1.8405 1.0000 .0000 10.000 3 'Normalizat' 1.5700 1.0000 .10000E-01 10.000 4 'Prefactor ' .83437 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 9932.848 FROM MIGRAD STATUS=CONVERGED 53 CALLS 214 TOTAL EDM= .19E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 6.7019 .90712E-02** at limit ** 2 Index 1.8324 7.5371 .50000 .38074E-05 3 Normalizat 1.5700 .39081E-02 .80644E-01 .14886E-04 4 Prefactor .83437 .14391E-02 .44163E-01 .11952E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.83242 Normalizat = 1.57003 Prefactor = 0.834375 ********** ** 18 **HESSE ********** FCN= 9932.848 FROM HESSE STATUS=NOT POSDEF 33 CALLS 247 TOTAL EDM= .20E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 71.114 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.8324 5.5722 .50000 -.68609 3 Normalizat 1.5700 .12764E-01 .35693E-03 -.75829 4 Prefactor .83437 .47051E-02 .17235E-03 -.98473 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.03384e-08 Minuit parameter uncertainties: 1 3.25763e-06 2 144.802 3 0.012764 4 0.00470505 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/658013': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 9932.84793502 delta logL = 1.70639395947e-08 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 1.000e-04 3.258e-06 1.000e-04 1.000e+04 ( 1.000e-14) 377 Index: 1.832e+00 1.448e+02 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 8.344e-01 4.705e-03 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.570e+00 1.276e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 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/658013/cmap_HighResolution_373852801_374112001_4FGL_J2304.6+3704_daily_bin519.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/658013 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-03', job_status='DONE', photon_flux_upper_limit='5.64e-08', time_completed='2021-09-29 06:45:41.552977', job_id='658013', GAL2='0.83', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1632923141.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.71e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='519' AND source_name='4FGL J2304.6+3704' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 29 06:45:41 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 658013: <4FGL_J2304.6+3704_daily_bin519> in cluster Done Job <4FGL_J2304.6+3704_daily_bin519> was submitted from host by user in cluster at Wed Sep 29 06:30:31 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 29 06:30:33 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 29 06:30:33 2021 Terminated at Wed Sep 29 06:45:42 2021 Results reported at Wed Sep 29 06:45:42 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.6+3704_daily_bin519 346.173 37.0826 373852801 374112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2304.6+3704 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 860.38 sec. Max Memory : 1256 MB Average Memory : 352.21 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 908 sec. Turnaround time : 911 sec. The output (if any) is above this job summary.