/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 35 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 = 7475 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_daily_bin1084 RA = 346.173, Dec = 37.0826 tmin = 520300801, tmax = 520560001 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='661809', job_status='RUN', time_executed='2021-09-29 06:41:03.543183', time_epoch_executed='1632922863.54' WHERE source_name='4FGL J2304.6+3704' and cadence='daily' and bin_id='1084' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/661809 Creating custom pfile directory: /scratch/kocevski/661809/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=520300801.0 && nMetStart<520560001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=520300801.0 && nMetStart<520560001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/661809/ft1_4FGL_J2304.6+3704_daily_bin1084.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=520300801.0 && nMetStart<520560001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/661809/ft1_4FGL_J2304.6+3704_daily_bin1084.fits outfile=/scratch/kocevski/661809/ft1_filteredMKT_4FGL_J2304.6+3704_daily_bin1084.fits ra=346.173 dec=37.0826 rad=12.0 tmin=520300801.0 tmax=520560001.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 6.18 user 5.82 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.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/661809/ft1_filteredMKT_4FGL_J2304.6+3704_daily_bin1084.fits evtable="EVENTS" outfile="/scratch/kocevski/661809/ft1_filtered_4FGL_J2304.6+3704_daily_bin1084.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.51 user 0.31 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/661809/ft1_filtered_4FGL_J2304.6+3704_daily_bin1084.fits" evtable="EVENTS" scfile=/scratch/kocevski/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.fits sctable="SC_DATA" outfile=/scratch/kocevski/661809/ltcube_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.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/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.fits .....................! real 12.18 user 11.84 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/661809/ft1_filtered_4FGL_J2304.6+3704_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.fits sctable="SC_DATA" expcube=/scratch/kocevski/661809/ltcube_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.fits outfile=/scratch/kocevski/661809/expmap_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.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/661809/ltcube_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.fits .....................! real 190.10 user 185.18 sys 4.55 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/661809/ft1_filtered_4FGL_J2304.6+3704_daily_bin1084.fits scfile=/scratch/kocevski/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.fits outfile=/scratch/kocevski/661809/cmap_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.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.52 user 0.38 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/661809/ft1_filtered_4FGL_J2304.6+3704_daily_bin1084.fits scfile=/scratch/kocevski/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.fits outfile=/scratch/kocevski/661809/cmap_HighResolution_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.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/661809/ft1_filtered_4FGL_J2304.6+3704_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/661809/Model_4FGL_J2304.6+3704_daily_bin1084.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/661809/ft1_filtered_4FGL_J2304.6+3704_daily_bin1084.fits.....................! real 52.89 user 51.53 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/661809/ft1_filtered_4FGL_J2304.6+3704_daily_bin1084.fits', '/scratch/kocevski/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.fits', expMap='/scratch/kocevski/661809/expmap_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.fits', expCube='/scratch/kocevski/661809/ltcube_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/661809/Model_4FGL_J2304.6+3704_daily_bin1084.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/661809/ft1_filtered_4FGL_J2304.6+3704_daily_bin1084.fits Spacecraft file(s): /scratch/kocevski/661809/ft2_4FGL_J2304.6+3704_daily_bin1084.fits Exposure map: /scratch/kocevski/661809/expmap_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.fits Exposure cube: /scratch/kocevski/661809/ltcube_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/661809/Model_4FGL_J2304.6+3704_daily_bin1084.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) = 3843.82713374 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3843.78922209 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 3.1249 1.0000 .10000E-03 10000. 2 'Prefactor ' .16676E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10011E-03 1.0000 .10000E-03 10000. 5 'norm ' 1.8547 1.0000 .10000E-03 10000. 6 'Prefactor ' .10208E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .10111E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 14.230 1.0000 .10000E-03 10000. 9 'norm ' 3.2191 1.0000 .10000E-03 10000. 10 'Prefactor ' 20.094 1.0000 .10000E-03 10000. 11 'Prefactor ' .10153E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10079E-03 1.0000 .10000E-03 10000. 13 'norm ' 28.732 1.0000 .10000E-03 10000. 14 'norm ' .11910 1.0000 .10000E-03 10000. 15 'Prefactor ' .68684 1.0000 .10000E-03 10000. 16 'norm ' .10001E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' .10119E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' 79.434 1.0000 .10000E-03 10000. 19 'Prefactor ' 47.018 1.0000 .10000E-03 10000. 20 'Prefactor ' 61.681 1.0000 .10000E-03 10000. 21 'Prefactor ' .12533E-03 1.0000 .10000E-03 10000. 22 'Normalizat' .95154 1.0000 .10000E-01 10.000 23 'Prefactor ' .90667 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 3843.789 FROM MIGRAD STATUS=CONVERGED 949 CALLS 2975 TOTAL EDM= .38E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.1239 1.9404 .65793E-04 .32140E-04 2 Prefactor .10000E-03 52.317 .18142E-02** at limit ** 3 Prefactor .10000E-03 4.5515 .12904E-02** at limit ** 4 Prefactor .10000E-03 17.414 .18142E-02** at limit ** 5 norm 1.8539 4.0984 .18252E-03 .45657E-04 6 Prefactor .10000E-03 18.874 .18142E-02** at limit ** 7 Prefactor .10000E-03 19.520 .18142E-02** at limit ** 8 Prefactor 14.128 85.512 .10618E-03 .22217E-04 9 norm 3.2217 3.5109 .10947E-03 .34375E-04 10 Prefactor 20.064 43.836 .89352E-04 -.65526E-05 11 Prefactor .10000E-03 20.010 .18142E-02** at limit ** 12 Prefactor .10000E-03 12.328 .18142E-02** at limit ** 13 norm 28.797 16.156 .74742E-04 -.33463E-05 14 norm .10091E-03 26.964 .83139E-01** at limit ** 15 Prefactor .32282 89.560 .10109 .96793E-04 16 norm .10000E-03 1.7466 .79854E-03** at limit ** 17 Prefactor .10000E-03 13.361 .18142E-02** at limit ** 18 Prefactor 79.364 94.891 .22530E-03 .26819E-04 19 Prefactor 46.972 81.228 .58476E-04 .64158E-05 20 Prefactor 61.510 92.411 .25545E-03 -.26346E-04 21 Prefactor .10000E-03 13.733 .18142E-02** at limit ** 22 Normalizat .95283 .43319 .42036E-03 .93008E-04 23 Prefactor .90651 .15009 .16089E-03 .24580E-03 ERR DEF= .500 Final values: norm = 3.12388 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 1.8539 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 14.1283 norm = 3.22168 Prefactor = 20.0641 Prefactor = 0.0001 Prefactor = 0.0001 norm = 28.7969 norm = 0.00010091 Prefactor = 0.32282 norm = 0.0001 Prefactor = 0.0001 Prefactor = 79.3645 Prefactor = 46.9718 Prefactor = 61.5099 Prefactor = 0.0001 Normalizat = 0.952831 Prefactor = 0.906507 ********** ** 18 **HESSE ********** FCN= 3843.789 FROM HESSE STATUS=OK 366 CALLS 3341 TOTAL EDM= .25E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.1239 1.9403 .26317E-05 -1.5354 2 Prefactor .10000E-03 52.318 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 4.5516 .25809E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 17.414 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 1.8539 4.0982 .73007E-05 -1.5436 6 Prefactor .10000E-03 18.875 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10000E-03 19.534 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 14.128 85.485 .42471E-05 -1.4956 9 norm 3.2217 3.5105 .43789E-05 -1.5349 10 Prefactor 20.064 43.845 .35741E-05 -1.4812 11 Prefactor .10000E-03 20.014 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 12.328 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 28.797 15.940 .29897E-05 -1.4634 14 norm .10091E-03 25.216 .86875E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .32282 73.093 .11207 -1.5594 16 norm .10000E-03 1.7467 .15971E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 13.362 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 79.364 94.887 .90121E-05 -1.3924 19 Prefactor 46.972 81.225 .11695E-04 -1.4336 20 Prefactor 61.510 92.398 .10218E-04 -1.4138 21 Prefactor .10000E-03 13.736 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Normalizat .95283 .43165 .16814E-04 -.94628 23 Prefactor .90651 .14986 .32179E-04 -.95914 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.54524e-10 Minuit parameter uncertainties: 1 1.94036 2 1.1472e-05 3 8.5869e-06 4 2.04661e-05 5 4.09887 6 8.62252e-06 7 7.99991e-05 8 69.6543 9 3.51068 10 43.9157 11 7.5405e-05 12 1.45857e-07 13 15.9419 14 0.00958311 15 9.72565 16 3.10353e-06 17 2.03319e-05 18 95.0687 19 81.417 20 92.6147 21 4.04749e-06 22 0.433238 23 0.149924 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3843.78915826 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 1.413e+01 6.965e+01 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: 9.065e-01 1.499e-01 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: 9.528e-01 4.332e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.05 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 1.82e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.35e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/661809/likelihoodResults_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.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) = 3842.96461041 delta logL = 0.824547854064 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 3842.88246215 delta logL = 0.906696110667 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.3042 1.0000 .10000E-03 10000. 2 'Index ' 3.3065 1.0000 .0000 10.000 3 'Normalizat' .80985 1.0000 .10000E-01 10.000 4 'Prefactor ' .92923 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= 3842.882 FROM MIGRAD STATUS=CONVERGED 57 CALLS 270 TOTAL EDM= .19E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.2806 38.424 .67582E-02 .37894E-03 2 Index 3.3094 2.1116 .71929E-01 .19364E-03 3 Normalizat .80989 .11471 .10189 .13619E-04 4 Prefactor .92949 .41664E-01 .45377E-01 -.47865E-04 ERR DEF= .500 Final values: Prefactor = 2.28063 Index = 3.30941 Normalizat = 0.809894 Prefactor = 0.929492 ********** ** 18 **HESSE ********** FCN= 3842.882 FROM HESSE STATUS=NOT POSDEF 31 CALLS 301 TOTAL EDM= .17E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.2806 70.889 .72474E-04 -1.5406 2 Index 3.3094 3.2348 .27141E-02 -.34492 3 Normalizat .80989 .37172 .45161E-03 -.99703 4 Prefactor .92949 .13821 .15884E-03 -.95118 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.684e-09 Minuit parameter uncertainties: 1 25.4625 2 3.5667 3 0.372891 4 0.138265 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/661809': 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) = 3842.8824535 delta logL = 0.906704761061 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 2.281e+00 2.546e+01 1.000e-04 1.000e+04 ( 1.000e-14) 377 Index: 3.309e+00 3.567e+00 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: 9.295e-01 1.383e-01 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: 8.099e-01 3.729e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.01 Ra Dec: 346.173 37.083 Photon Index (Free Index): 3.31 +/- 3.57 Photon Flux (Free Index): 1.71e-07 +/- 1.50e-07 Energy Flux (Free Index): 3.01e-05 +/- 3.57e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/661809/cmap_HighResolution_520300801_520560001_4FGL_J2304.6+3704_daily_bin1084.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/661809 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-02', comment='SUCCESS', energy_flux2='3.01e-05', dlogl='9.07e-01', photon_flux2='1.71e-07', job_status='DONE', time_completed='2021-09-29 06:51:57.600318', photon_index_error2='3.57', photon_index2='3.31', ts='0.05', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.82e-07', energy_flux_error2='3.57e-05', EG='0.95', time_epoch_completed='1632923517.6', return_code='0', job_id='661809', GAL2='0.93', EG2='0.81', return_code2='102', photon_flux_error2='1.50e-07', ts2='2.01', photon_index='1.85' WHERE bin_id='1084' AND source_name='4FGL J2304.6+3704' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 29 06:51:57 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 661809: <4FGL_J2304.6+3704_daily_bin1084> in cluster Done Job <4FGL_J2304.6+3704_daily_bin1084> was submitted from host by user in cluster at Wed Sep 29 06:40:17 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 29 06:40:19 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 29 06:40:19 2021 Terminated at Wed Sep 29 06:51:57 2021 Results reported at Wed Sep 29 06:51:57 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.6+3704_daily_bin1084 346.173 37.0826 520300801 520560001 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 : 540.00 sec. Max Memory : 1256 MB Average Memory : 286.87 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 698 sec. Turnaround time : 700 sec. The output (if any) is above this job summary.