/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 90 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 = 7442 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1304.0+3704_daily_bin796 RA = 196.008, Dec = 37.071 tmin = 445651201, tmax = 445910401 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='190850', job_status='RUN', time_executed='2021-09-06 19:52:29.048585', time_epoch_executed='1630983149.05' WHERE source_name='4FGL J1304.0+3704' and cadence='daily' and bin_id='796' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/190850 Creating custom pfile directory: /scratch/kocevski/190850/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=445651201.0 && nMetStart<445910401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=445651201.0 && nMetStart<445910401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/190850/ft1_4FGL_J1304.0+3704_daily_bin796.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=445651201.0 && nMetStart<445910401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/190850/ft2_4FGL_J1304.0+3704_daily_bin796.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/190850/ft1_4FGL_J1304.0+3704_daily_bin796.fits outfile=/scratch/kocevski/190850/ft1_filteredMKT_4FGL_J1304.0+3704_daily_bin796.fits ra=196.008 dec=37.071 rad=12.0 tmin=445651201.0 tmax=445910401.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 3.50 user 3.32 sys 0.17 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/190850/ft2_4FGL_J1304.0+3704_daily_bin796.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/190850/ft2_4FGL_J1304.0+3704_daily_bin796.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/190850/ft1_filteredMKT_4FGL_J1304.0+3704_daily_bin796.fits evtable="EVENTS" outfile="/scratch/kocevski/190850/ft1_filtered_4FGL_J1304.0+3704_daily_bin796.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.50 user 0.35 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/190850/ft1_filtered_4FGL_J1304.0+3704_daily_bin796.fits" evtable="EVENTS" scfile=/scratch/kocevski/190850/ft2_4FGL_J1304.0+3704_daily_bin796.fits sctable="SC_DATA" outfile=/scratch/kocevski/190850/ltcube_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.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/190850/ft2_4FGL_J1304.0+3704_daily_bin796.fits .....................! real 15.69 user 15.33 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/190850/ft1_filtered_4FGL_J1304.0+3704_daily_bin796.fits evtable="EVENTS" scfile=/scratch/kocevski/190850/ft2_4FGL_J1304.0+3704_daily_bin796.fits sctable="SC_DATA" expcube=/scratch/kocevski/190850/ltcube_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.fits outfile=/scratch/kocevski/190850/expmap_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.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/190850/ltcube_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.fits .....................! real 192.70 user 188.14 sys 3.90 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 187 point sources and 0 extended sources Setting source of interest to: 4FGL J1304.0+3704 @ 196.008 37.071 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/190850/ft1_filtered_4FGL_J1304.0+3704_daily_bin796.fits scfile=/scratch/kocevski/190850/ft2_4FGL_J1304.0+3704_daily_bin796.fits outfile=/scratch/kocevski/190850/cmap_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.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=196.008 yref=37.071 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.39 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/190850/ft1_filtered_4FGL_J1304.0+3704_daily_bin796.fits scfile=/scratch/kocevski/190850/ft2_4FGL_J1304.0+3704_daily_bin796.fits outfile=/scratch/kocevski/190850/cmap_HighResolution_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.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=196.008 yref=37.071 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.57 user 0.40 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/190850/ft1_filtered_4FGL_J1304.0+3704_daily_bin796.fits evtable="EVENTS" scfile=/scratch/kocevski/190850/ft2_4FGL_J1304.0+3704_daily_bin796.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/190850/Model_4FGL_J1304.0+3704_daily_bin796.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/190850/ft1_filtered_4FGL_J1304.0+3704_daily_bin796.fits.....................! real 48.95 user 47.13 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/190850/ft1_filtered_4FGL_J1304.0+3704_daily_bin796.fits', '/scratch/kocevski/190850/ft2_4FGL_J1304.0+3704_daily_bin796.fits', expMap='/scratch/kocevski/190850/expmap_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.fits', expCube='/scratch/kocevski/190850/ltcube_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/190850/Model_4FGL_J1304.0+3704_daily_bin796.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1304.0+3704' 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 2.111e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 314 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/190850/ft1_filtered_4FGL_J1304.0+3704_daily_bin796.fits Spacecraft file(s): /scratch/kocevski/190850/ft2_4FGL_J1304.0+3704_daily_bin796.fits Exposure map: /scratch/kocevski/190850/expmap_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.fits Exposure cube: /scratch/kocevski/190850/ltcube_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/190850/Model_4FGL_J1304.0+3704_daily_bin796.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) = 5878.38052817 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5878.37423425 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 8.9743 1.0000 .10000E-03 10000. 2 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 3.1843 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .10015E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'norm ' 9.3853 1.0000 .10000E-03 10000. 10 'Prefactor ' 19.600 1.0000 .10000E-03 10000. 11 'Prefactor ' .20277E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 10.317 1.0000 .10000E-03 10000. 13 'norm ' .13370E-03 1.0000 .10000E-03 10000. 14 'norm ' .10025E-03 1.0000 .10000E-03 10000. 15 'norm ' 2.7798 1.0000 .10000E-03 10000. 16 'norm ' .11669E-03 1.0000 .10000E-03 10000. 17 'norm ' .48649 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.9594 1.0000 .10000E-03 10000. 19 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 7.7622 1.0000 .10000E-03 10000. 21 'Prefactor ' .10027E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 11.900 1.0000 .10000E-03 10000. 24 'Prefactor ' .11256E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' 42.656 1.0000 .10000E-03 10000. 26 'norm ' 13.614 1.0000 .10000E-03 10000. 27 'Prefactor ' .11735E-03 1.0000 .10000E-03 10000. 28 'norm ' .10008E-03 1.0000 .10000E-03 10000. 29 'Normalizat' .97267 1.0000 .10000E-01 10.000 30 'Prefactor ' 1.0099 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 5878.374 FROM MIGRAD STATUS=CONVERGED 780 CALLS 3942 TOTAL EDM= .18E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 8.9745 3.9579 -.14042E-06 -.65969E-04 2 Prefactor .10000E-03 5.1174 -.14344E-06** at limit ** 3 Prefactor .10000E-03 .74467 .61069E-10** at limit ** 4 Prefactor 3.1845 5.7813 .26778E-05 .13889E-03 5 Prefactor .10000E-03 27.478 -.41124E-06** at limit ** 6 Prefactor .10000E-03 5.2945 -.96489E-08** at limit ** 7 Prefactor .10000E-03 43.301 -.15044E-06** at limit ** 8 Prefactor .10000E-03 2.4691 -.96481E-08** at limit ** 9 norm 9.3887 5.1476 -.51359E-06 -.38322E-03 10 Prefactor 19.608 52.987 .13234E-06 .24238E-04 11 Prefactor .10000E-03 88.538 .14041E-05** at limit ** 12 Prefactor 10.321 16.746 .10401E-06 -.24140E-04 13 norm .10001E-03 4.9157 -.73409E-06** at limit ** 14 norm .10000E-03 23.225 .58193E-06** at limit ** 15 norm 2.7752 3.6792 .21946E-05 -.35802E-03 16 norm .10000E-03 6.6301 -.30149E-05** at limit ** 17 norm .48680 1.7573 .48606E-06 .10272E-03 18 Prefactor 2.9595 3.2491 -.30161E-06 -.10710E-03 19 Prefactor .10000E-03 6.8464 .86474E-07** at limit ** 20 Prefactor 7.7647 47.079 .52151E-06 .61022E-05 21 Prefactor .10000E-03 41.887 .36733E-06** at limit ** 22 Prefactor .10000E-03 6.1736 -.30683E-07** at limit ** 23 Prefactor 11.905 58.910 -.21626E-06 -.13362E-05 24 Prefactor .10000E-03 77.716 -.76512E-06** at limit ** 25 Prefactor 42.687 57.828 -.25852E-05 .58195E-04 26 norm 13.614 2.6665 .43800E-07 .51639E-05 27 Prefactor .10000E-03 8.6076 -.14351E-06** at limit ** 28 norm .10000E-03 22.225 .76717E-06** at limit ** 29 Normalizat .97254 .16871 -.20704E-05 -.15191E-03 30 Prefactor 1.0100 .19909 .16236E-05 .15518E-04 ERR DEF= .500 Final values: norm = 8.97454 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.18455 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 9.38875 Prefactor = 19.608 Prefactor = 0.0001 Prefactor = 10.3212 norm = 0.00010001 norm = 0.000100001 norm = 2.77524 norm = 0.0001 norm = 0.4868 Prefactor = 2.95949 Prefactor = 0.0001 Prefactor = 7.76475 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 11.9046 Prefactor = 0.000100001 Prefactor = 42.6866 norm = 13.614 Prefactor = 0.0001 norm = 0.0001 Normalizat = 0.972541 Prefactor = 1.00998 ********** ** 18 **HESSE ********** FCN= 5878.374 FROM HESSE STATUS=OK 592 CALLS 4534 TOTAL EDM= .67E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 8.9745 3.9551 .49270E-03 -1.5109 2 Prefactor .10000E-03 5.1672 .16936E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 .74871 .64557E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 3.1845 5.6481 .11354E-02 -1.5351 5 Prefactor .10000E-03 27.662 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 5.2953 .17230E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10000E-03 43.376 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 2.4738 .11755E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 9.3887 5.1363 .12186E-03 -1.5095 10 Prefactor 19.608 52.932 .90470E-04 -1.4822 11 Prefactor .10000E-03 90.082 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 10.321 16.500 .12474E-03 -1.5065 13 norm .10001E-03 30.705 .31330E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm .10000E-03 24.246 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 2.7752 3.7756 .80064E-03 -1.5375 16 norm .10000E-03 30.461 .32971E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .48680 1.8484 .18664E-02 -1.5568 18 Prefactor 2.9595 3.1922 .13363E-03 -1.5364 19 Prefactor .10000E-03 6.8732 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 7.7647 45.094 .14393E-03 -1.5151 21 Prefactor .10000E-03 41.970 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 6.1995 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 11.905 56.669 .11613E-03 -1.5018 24 Prefactor .10000E-03 81.180 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 42.687 57.784 .61380E-04 -1.4400 26 norm 13.614 2.6671 .52471E-04 -1.4970 27 Prefactor .10000E-03 8.9468 .36285E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 norm .10000E-03 22.591 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Normalizat .97254 .19882 .23174E-03 -.93956 30 Prefactor 1.0100 .23476 .28290E-03 -.92397 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.70078e-10 Minuit parameter uncertainties: 1 3.95521 2 1.12806e-05 3 8.21768e-07 4 5.64908 5 4.21993e-05 6 1.04909e-06 7 6.53481e-06 8 6.77307e-08 9 5.13653 10 53.059 11 0.000120934 12 16.5076 13 0.00110136 14 0.000267378 15 3.77594 16 8.06988e-06 17 1.84865 18 3.19239 19 1.61827e-05 20 37.467 21 6.15791e-05 22 8.32962e-08 23 52.0272 24 0.000544545 25 57.8594 26 2.66712 27 1.6733e-05 28 8.03646e-05 29 0.198975 30 0.234997 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5878.37423048 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 1.032e+01 1.651e+01 1.000e-04 1.000e+04 ( 1.000e-13) 314 Index: 2.436e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 1.010e+00 2.350e-01 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 9.725e-01 1.990e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.54 Ra Dec: 196.008 37.071 Photon Flux Upper Limit: 9.96e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.71e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/190850/likelihoodResults_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.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) = 5877.24637148 delta logL = 1.12785899714 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5877.12930808 delta logL = 1.24492239951 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .59979 1.0000 .10000E-03 10000. 2 'Index ' 4.7009 1.0000 .0000 10.000 3 'Normalizat' .87219 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0924 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5877.129 FROM MIGRAD STATUS=CONVERGED 55 CALLS 274 TOTAL EDM= .12E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .59928 5.2821 .80752E-02 .97852E-03 2 Index 4.7022 2.3482 .10197 .16321E-03 3 Normalizat .87230 .44031E-01 .44545E-01 .83344E-05 4 Prefactor 1.0924 .54443E-01 .61799E-01 .17021E-05 ERR DEF= .500 Final values: Prefactor = 0.599283 Index = 4.70217 Normalizat = 0.872299 Prefactor = 1.0924 ********** ** 18 **HESSE ********** FCN= 5877.129 FROM HESSE STATUS=NOT POSDEF 33 CALLS 307 TOTAL EDM= .32E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .59928 11.443 .36451E-04 -1.5553 2 Index 4.7022 3.7922 .38815E-02 -.59601E-01 3 Normalizat .87230 .17670 .24302E-03 -.97440 4 Prefactor 1.0924 .21419 .27332E-03 -.89710 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.20593e-07 Minuit parameter uncertainties: 1 5.23811 2 4.30722 3 0.17682 4 0.214357 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/190850': 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) = 5877.12930303 delta logL = 1.24492745471 Extracting fit parameters... 4FGL J1304.0+3704 Spectrum: PowerLaw 313 Prefactor: 5.993e-01 5.238e+00 1.000e-04 1.000e+04 ( 1.000e-13) 314 Index: 4.702e+00 4.307e+00 0.000e+00 1.000e+01 (-1.000e+00) 315 Scale: 1.032e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 1.092e+00 2.144e-01 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 8.723e-01 1.768e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.31 Ra Dec: 196.008 37.071 Photon Index (Free Index): 4.70 +/- 4.31 Photon Flux (Free Index): 9.50e-08 +/- 6.29e-08 Energy Flux (Free Index): 1.30e-05 +/- 8.97e-06 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/190850/cmap_HighResolution_445651201_445910401_4FGL_J1304.0+3704_daily_bin796.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/190850 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.71e-03', comment='SUCCESS', energy_flux2='1.30e-05', dlogl='1.24e+00', photon_flux2='9.50e-08', job_status='DONE', time_completed='2021-09-06 20:06:52.403837', photon_index_error2='4.31', photon_index2='4.70', ts='0.54', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='9.96e-08', energy_flux_error2='8.97e-06', EG='0.97', time_epoch_completed='1630984012.4', return_code='0', job_id='190850', GAL2='1.09', EG2='0.87', return_code2='102', photon_flux_error2='6.29e-08', ts2='3.31', photon_index='2.44' WHERE bin_id='796' AND source_name='4FGL J1304.0+3704' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 6 20:06:52 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 190850: <4FGL_J1304.0+3704_daily_bin796> in cluster Done Job <4FGL_J1304.0+3704_daily_bin796> was submitted from host by user in cluster at Mon Sep 6 19:50:24 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Sep 6 19:50:50 2021 was used as the home directory. was used as the working directory. Started at Mon Sep 6 19:50:50 2021 Terminated at Mon Sep 6 20:06:53 2021 Results reported at Mon Sep 6 20:06:53 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1304.0+3704_daily_bin796 196.008 37.071 445651201 445910401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1304.0+3704 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 860.39 sec. Max Memory : 1256 MB Average Memory : 329.26 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 964 sec. Turnaround time : 989 sec. The output (if any) is above this job summary.