/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 48 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 = 7502 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0007.7+4008_daily_bin1643 RA = 1.9275, Dec = 40.134 tmin = 665193601, tmax = 665452801 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='486716', job_status='RUN', time_executed='2022-02-02 00:06:27.683977', time_epoch_executed='1643789187.68' WHERE source_name='4FGL J0007.7+4008' and cadence='daily' and bin_id='1643' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/486716 Creating custom pfile directory: /scratch/kocevski/486716/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=665193601.0 && nMetStart<665452801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=665193601.0 && nMetStart<665452801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/486716/ft1_4FGL_J0007.7+4008_daily_bin1643.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=665193601.0 && nMetStart<665452801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/486716/ft1_4FGL_J0007.7+4008_daily_bin1643.fits outfile=/scratch/kocevski/486716/ft1_filteredMKT_4FGL_J0007.7+4008_daily_bin1643.fits ra=1.9275 dec=40.134 rad=12.0 tmin=665193601.0 tmax=665452801.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.63 user 3.40 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.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/486716/ft1_filteredMKT_4FGL_J0007.7+4008_daily_bin1643.fits evtable="EVENTS" outfile="/scratch/kocevski/486716/ft1_filtered_4FGL_J0007.7+4008_daily_bin1643.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.54 user 0.34 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/486716/ft1_filtered_4FGL_J0007.7+4008_daily_bin1643.fits" evtable="EVENTS" scfile=/scratch/kocevski/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.fits sctable="SC_DATA" outfile=/scratch/kocevski/486716/ltcube_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.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/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.fits .....................! real 14.62 user 14.22 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/486716/ft1_filtered_4FGL_J0007.7+4008_daily_bin1643.fits evtable="EVENTS" scfile=/scratch/kocevski/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.fits sctable="SC_DATA" expcube=/scratch/kocevski/486716/ltcube_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.fits outfile=/scratch/kocevski/486716/expmap_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.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/486716/ltcube_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.fits .....................! real 192.39 user 186.06 sys 5.03 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 160 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 J0007.7+4008 @ 1.9275 40.134 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/486716/ft1_filtered_4FGL_J0007.7+4008_daily_bin1643.fits scfile=/scratch/kocevski/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.fits outfile=/scratch/kocevski/486716/cmap_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.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=1.9275 yref=40.134 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.99 user 0.38 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/486716/ft1_filtered_4FGL_J0007.7+4008_daily_bin1643.fits scfile=/scratch/kocevski/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.fits outfile=/scratch/kocevski/486716/cmap_HighResolution_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.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=1.9275 yref=40.134 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 1.07 user 0.38 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/486716/ft1_filtered_4FGL_J0007.7+4008_daily_bin1643.fits evtable="EVENTS" scfile=/scratch/kocevski/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/486716/Model_4FGL_J0007.7+4008_daily_bin1643.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/486716/ft1_filtered_4FGL_J0007.7+4008_daily_bin1643.fits.....................! real 105.45 user 98.57 sys 1.51 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/486716/ft1_filtered_4FGL_J0007.7+4008_daily_bin1643.fits', '/scratch/kocevski/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.fits', expMap='/scratch/kocevski/486716/expmap_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.fits', expCube='/scratch/kocevski/486716/ltcube_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/486716/Model_4FGL_J0007.7+4008_daily_bin1643.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0007.7+4008' 4FGL J0007.7+4008 Spectrum: PowerLaw 30 Prefactor: 1.216e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 31 Index: 2.159e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 32 Scale: 1.870e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/486716/ft1_filtered_4FGL_J0007.7+4008_daily_bin1643.fits Spacecraft file(s): /scratch/kocevski/486716/ft2_4FGL_J0007.7+4008_daily_bin1643.fits Exposure map: /scratch/kocevski/486716/expmap_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.fits Exposure cube: /scratch/kocevski/486716/ltcube_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/486716/Model_4FGL_J0007.7+4008_daily_bin1643.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) = 9669.86743176 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9669.85677722 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10034E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 3 'norm ' .10016E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10019E-03 1.0000 .10000E-03 10000. 5 'norm ' 3.1220 1.0000 .10000E-03 10000. 6 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.8709 1.0000 .10000E-03 10000. 8 'Prefactor ' .10063E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 11 'norm ' 9.9630 1.0000 .10000E-03 10000. 12 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10039E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10033E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 16 'norm ' 8.8745 1.0000 .10000E-03 10000. 17 'norm ' 3.0813 1.0000 .10000E-03 10000. 18 'Prefactor ' .10029E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .14655E-02 1.0000 .10000E-03 10000. 21 'Prefactor ' 39.059 1.0000 .10000E-03 10000. 22 'Prefactor ' .11759E-03 1.0000 .10000E-03 10000. 23 'Normalizat' .76548 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.0520 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 9669.857 FROM MIGRAD STATUS=CONVERGED 551 CALLS 2690 TOTAL EDM= .62E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 29.302 -.42665E-06** at limit ** 2 Prefactor .10000E-03 6.1932 -.59466E-07** at limit ** 3 norm .10000E-03 5.4237 .11316E-05** at limit ** 4 Prefactor .10000E-03 2.2641 .45689E-06** at limit ** 5 norm 3.1226 1.9096 .51802E-08 -.20056E-04 6 Prefactor .10000E-03 6.2607 -.28112E-06** at limit ** 7 Prefactor 2.8730 2.4182 .55120E-07 -.73608E-04 8 Prefactor .10000E-03 3.2909 -.56844E-07** at limit ** 9 Prefactor .10000E-03 7.3195 -.87134E-07** at limit ** 10 Prefactor .10000E-03 7.3866 -.52545E-07** at limit ** 11 norm 9.9644 3.2216 -.97716E-08 -.12250E-04 12 Prefactor .10000E-03 1.2937 -.42362E-07** at limit ** 13 Prefactor .10000E-03 3.9323 -.17266E-06** at limit ** 14 Prefactor .10000E-03 14.039 -.31789E-06** at limit ** 15 Prefactor .10000E-03 21.261 -.61975E-06** at limit ** 16 norm 8.8800 10.048 .41562E-07 -.10259E-04 17 norm 3.0828 2.4184 .25970E-07 -.39096E-04 18 Prefactor .10000E-03 8.2959 .49593E-07** at limit ** 19 Prefactor .10000E-03 21.362 -.37866E-07** at limit ** 20 Prefactor .10000E-03 141.26 .34321E-05** at limit ** 21 Prefactor 39.158 45.194 -.15505E-05 -.55738E-04 22 Prefactor .10000E-03 8.3131 .71479E-05** at limit ** 23 Normalizat .76499 .17421 .81886E-06 -.17815E-03 24 Prefactor 1.0521 .83390E-01 -.15483E-06 -.26264E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 norm = 3.12258 Prefactor = 0.0001 Prefactor = 2.873 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 9.9644 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 8.87996 norm = 3.0828 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100002 Prefactor = 39.1579 Prefactor = 0.0001 Normalizat = 0.764994 Prefactor = 1.05207 ********** ** 18 **HESSE ********** FCN= 9669.857 FROM HESSE STATUS=OK 385 CALLS 3075 TOTAL EDM= .13E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 29.455 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 6.2011 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm .10000E-03 5.4291 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 2.2815 .14436E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 3.1226 1.9093 .10296E-03 -1.5355 6 Prefactor .10000E-03 6.3981 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.8730 2.4117 .13431E-03 -1.5369 8 Prefactor .10000E-03 3.2934 .17420E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 7.3323 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 7.3885 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 9.9644 3.2225 .96990E-04 -1.5077 12 Prefactor .10000E-03 1.2957 .10923E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 3.9811 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 14.172 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 22.085 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 8.8800 10.053 .13455E-03 -1.5112 17 norm 3.0828 2.4172 .13040E-03 -1.5357 18 Prefactor .10000E-03 8.3061 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 21.385 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 145.76 .40978E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 39.158 45.529 .64134E-04 -1.4456 22 Prefactor .10000E-03 8.3371 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat .76499 .19442 .37512E-03 -1.0138 24 Prefactor 1.0521 .94126E-01 .15612E-03 -.91014 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.3323e-10 Minuit parameter uncertainties: 1 5.36411e-05 2 4.23471e-06 3 1.47899e-05 4 6.96728e-06 5 1.90939 6 1.15914e-05 7 2.41177 8 1.58192e-06 9 5.1121e-06 10 2.52592e-06 11 3.22261 12 4.36754e-07 13 1.11597e-07 14 8.69926e-06 15 6.12792e-06 16 10.0553 17 2.41731 18 3.09204e-07 19 2.90403e-05 20 0.00114661 21 45.5698 22 0.00011298 23 0.194596 24 0.0941408 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9669.85676346 Extracting fit parameters... 4FGL J0007.7+4008 Spectrum: PowerLaw 30 Prefactor: 1.000e-04 6.967e-06 1.000e-04 1.000e+04 ( 1.000e-13) 31 Index: 2.159e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 32 Scale: 1.870e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 526 Prefactor: 1.052e+00 9.414e-02 0.000e+00 1.000e+01 ( 1.000e+00) 527 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 528 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 521 Normalization: 7.650e-01 1.946e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 1.927 40.134 Photon Flux Upper Limit: 4.42e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.36e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/486716/likelihoodResults_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.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) = 9669.85885161 delta logL = -0.00208815389124 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 9669.85676321 delta logL = 2.523920557e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.1408 1.0000 .0000 10.000 3 'Normalizat' .76495 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0521 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5290E+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= 9669.857 FROM MIGRAD STATUS=FAILED 87 CALLS 241 TOTAL EDM= .25E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10086E-03 22.849 .14627E-02** at limit ** 2 Index 2.0946 7.3150 .50000 .54272E-04 3 Normalizat .76500 .14374E-01 .37513E-03 .20851E-04 4 Prefactor 1.0521 .69689E-02 .15612E-03 .23302E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 9669.857 FROM SIMPLEX STATUS=UNCHANGED 127 CALLS 368 TOTAL EDM= .16E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10086E-03 22.849 .30570E-03** at limit ** 2 Index 2.0946 7.3150 .40303E-03 .54272E-04 3 Normalizat .76500 .14374E-01 .21228E-05 .20851E-04 4 Prefactor 1.0521 .69689E-02 .78077E-06 .23302E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 9669.857 FROM MIGRAD STATUS=CONVERGED 47 CALLS 415 TOTAL EDM= .74E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 21.100 .29254E-02** at limit ** 2 Index 1.7650 5.8360 .50000 .44643E-06 3 Normalizat .76499 .13090E-01 .15005E-04 -.25427E-03 4 Prefactor 1.0521 .63466E-02 .62450E-05 -.57963E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.76497 Normalizat = 0.764995 Prefactor = 1.05207 ********** ** 18 **HESSE ********** FCN= 9669.857 FROM HESSE STATUS=NOT POSDEF 29 CALLS 444 TOTAL EDM= .39E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 108.71 .58508E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.7650 7.2180 .50000 -.70365 3 Normalizat .76499 .30894E-01 .30010E-05 -1.0138 4 Prefactor 1.0521 .14980E-01 .12490E-05 -.91014 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.85685e-11 Minuit parameter uncertainties: 1 0.000295608 2 441.394 3 0.0308942 4 0.0149803 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/486716': 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) = 9669.85676044 delta logL = 3.01755790133e-06 Extracting fit parameters... 4FGL J0007.7+4008 Spectrum: PowerLaw 30 Prefactor: 1.000e-04 2.956e-04 1.000e-04 1.000e+04 ( 1.000e-13) 31 Index: 1.765e+00 4.414e+02 0.000e+00 1.000e+01 (-1.000e+00) 32 Scale: 1.870e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 526 Prefactor: 1.052e+00 1.498e-02 0.000e+00 1.000e+01 ( 1.000e+00) 527 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 528 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 521 Normalization: 7.650e-01 3.089e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 1.927 40.134 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/486716/cmap_HighResolution_665193601_665452801_4FGL_J0007.7+4008_daily_bin1643.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/486716 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-03', job_status='DONE', photon_flux_upper_limit='4.42e-08', time_completed='2022-02-02 00:21:45.577547', job_id='486716', GAL2='1.05', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1643790105.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.02e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1643' AND source_name='4FGL J0007.7+4008' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Feb 2 00:21:45 PST 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 486716: <4FGL_J0007.7+4008_daily_bin1643> in cluster Done Job <4FGL_J0007.7+4008_daily_bin1643> was submitted from host by user in cluster at Wed Feb 2 00:05:26 2022 Job was executed on host(s) , in queue , as user in cluster at Wed Feb 2 00:05:27 2022 was used as the home directory. was used as the working directory. Started at Wed Feb 2 00:05:27 2022 Terminated at Wed Feb 2 00:21:46 2022 Results reported at Wed Feb 2 00:21:46 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0007.7+4008_daily_bin1643 1.9275 40.134 665193601 665452801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0007.7+4008 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 886.36 sec. Max Memory : 755 MB Average Memory : 321.24 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 978 sec. Turnaround time : 980 sec. The output (if any) is above this job summary.