/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 46 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 = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1139.0+4033_daily_bin379 RA = 174.764, Dec = 40.5617 tmin = 337564801, tmax = 337824001 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='983681', job_status='RUN', time_executed='2021-09-04 06:57:38.680417', time_epoch_executed='1630763858.68' WHERE source_name='4FGL J1139.0+4033' and cadence='daily' and bin_id='379' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/983681 Creating custom pfile directory: /scratch/kocevski/983681/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=337564801.0 && nMetStart<337824001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=337564801.0 && nMetStart<337824001.0' /Data/Flight/Level1/LPA Retrieving 52 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/983681/ft1_4FGL_J1139.0+4033_daily_bin379.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=337564801.0 && nMetStart<337824001.0' /Data/Flight/Level1/LPA Retrieving 52 files... Done. Merging files... Merged file saved to: /scratch/kocevski/983681/ft2_4FGL_J1139.0+4033_daily_bin379.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/983681/ft1_4FGL_J1139.0+4033_daily_bin379.fits outfile=/scratch/kocevski/983681/ft1_filteredMKT_4FGL_J1139.0+4033_daily_bin379.fits ra=174.764 dec=40.5617 rad=12.0 tmin=337564801.0 tmax=337824001.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.21 user 5.93 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/983681/ft2_4FGL_J1139.0+4033_daily_bin379.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/983681/ft2_4FGL_J1139.0+4033_daily_bin379.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/983681/ft1_filteredMKT_4FGL_J1139.0+4033_daily_bin379.fits evtable="EVENTS" outfile="/scratch/kocevski/983681/ft1_filtered_4FGL_J1139.0+4033_daily_bin379.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.32 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/983681/ft1_filtered_4FGL_J1139.0+4033_daily_bin379.fits" evtable="EVENTS" scfile=/scratch/kocevski/983681/ft2_4FGL_J1139.0+4033_daily_bin379.fits sctable="SC_DATA" outfile=/scratch/kocevski/983681/ltcube_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.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/983681/ft2_4FGL_J1139.0+4033_daily_bin379.fits .....................! real 12.27 user 11.82 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/983681/ft1_filtered_4FGL_J1139.0+4033_daily_bin379.fits evtable="EVENTS" scfile=/scratch/kocevski/983681/ft2_4FGL_J1139.0+4033_daily_bin379.fits sctable="SC_DATA" expcube=/scratch/kocevski/983681/ltcube_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.fits outfile=/scratch/kocevski/983681/expmap_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.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/983681/ltcube_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.fits .....................! real 191.39 user 186.34 sys 4.62 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 219 point sources and 0 extended sources Setting source of interest to: 4FGL J1139.0+4033 @ 174.764 40.5617 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/983681/ft1_filtered_4FGL_J1139.0+4033_daily_bin379.fits scfile=/scratch/kocevski/983681/ft2_4FGL_J1139.0+4033_daily_bin379.fits outfile=/scratch/kocevski/983681/cmap_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.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=174.764 yref=40.5617 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.54 user 0.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/983681/ft1_filtered_4FGL_J1139.0+4033_daily_bin379.fits scfile=/scratch/kocevski/983681/ft2_4FGL_J1139.0+4033_daily_bin379.fits outfile=/scratch/kocevski/983681/cmap_HighResolution_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.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=174.764 yref=40.5617 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.55 user 0.40 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/983681/ft1_filtered_4FGL_J1139.0+4033_daily_bin379.fits evtable="EVENTS" scfile=/scratch/kocevski/983681/ft2_4FGL_J1139.0+4033_daily_bin379.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/983681/Model_4FGL_J1139.0+4033_daily_bin379.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/983681/ft1_filtered_4FGL_J1139.0+4033_daily_bin379.fits.....................! real 55.05 user 53.60 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/983681/ft1_filtered_4FGL_J1139.0+4033_daily_bin379.fits', '/scratch/kocevski/983681/ft2_4FGL_J1139.0+4033_daily_bin379.fits', expMap='/scratch/kocevski/983681/expmap_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.fits', expCube='/scratch/kocevski/983681/ltcube_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/983681/Model_4FGL_J1139.0+4033_daily_bin379.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1139.0+4033' 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 9.736e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 2.720e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/983681/ft1_filtered_4FGL_J1139.0+4033_daily_bin379.fits Spacecraft file(s): /scratch/kocevski/983681/ft2_4FGL_J1139.0+4033_daily_bin379.fits Exposure map: /scratch/kocevski/983681/expmap_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.fits Exposure cube: /scratch/kocevski/983681/ltcube_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/983681/Model_4FGL_J1139.0+4033_daily_bin379.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) = 6493.62356247 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6493.6145027 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 'Prefactor ' 210.65 1.0000 .10000E-03 10000. 3 'norm ' 2.3941 1.0000 .10000E-03 10000. 4 'Prefactor ' 12.424 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 7 'norm ' 24.988 1.0000 .10000E-03 10000. 8 'norm ' 105.14 1.0000 .10000E-03 10000. 9 'Prefactor ' .10383E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10114E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 2.0508 1.0000 .10000E-03 10000. 12 'norm ' 6.4716 1.0000 .10000E-03 10000. 13 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 14.540 1.0000 .10000E-03 10000. 15 'Prefactor ' 21.006 1.0000 .10000E-03 10000. 16 'norm ' 1.6821 1.0000 .10000E-03 10000. 17 'norm ' .83648 1.0000 .10000E-03 10000. 18 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 5.1856 1.0000 .10000E-03 10000. 20 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 7.3933 1.0000 .10000E-03 10000. 22 'Prefactor ' 13.392 1.0000 .10000E-03 10000. 23 'Prefactor ' 8.2565 1.0000 .10000E-03 10000. 24 'Normalizat' 1.1783 1.0000 .10000E-01 10.000 25 'Prefactor ' .78456 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6960E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6493.615 FROM MIGRAD STATUS=CONVERGED 583 CALLS 2933 TOTAL EDM= .81E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 26.800 .43855E-05** at limit ** 2 Prefactor 210.67 121.17 -.96809E-06 -.23864E-05 3 norm 2.3942 .46147 .21905E-08 -.28169E-04 4 Prefactor 12.428 20.463 .59181E-06 -.17119E-04 5 Prefactor .10000E-03 9.4880 -.88793E-07** at limit ** 6 Prefactor .10000E-03 30.505 -.38939E-05** at limit ** 7 norm 24.986 16.899 -.14808E-06 -.22964E-04 8 norm 105.14 67.824 .13022E-07 .45201E-05 9 Prefactor .10000E-03 1.8450 .13427E-06** at limit ** 10 Prefactor .10000E-03 186.73 .16394E-05** at limit ** 11 Prefactor 2.0493 23.856 .99157E-05 .27056E-06 12 norm 6.4704 3.1270 .12158E-07 -.22701E-03 13 Prefactor .10000E-03 4.1838 .11801E-06** at limit ** 14 Prefactor 14.538 6.3950 -.32167E-06 -.47674E-04 15 Prefactor 21.012 43.996 -.33015E-06 -.70278E-05 16 norm 1.6821 1.1299 .40454E-07 -.15535E-04 17 norm .83640 9.9950 .22420E-05 -.54893E-05 18 Prefactor .10000E-03 12.056 .13068E-06** at limit ** 19 Prefactor 5.1857 4.2370 .22945E-07 .49760E-06 20 Prefactor .10000E-03 20.142 -.10552E-05** at limit ** 21 Prefactor 7.3959 24.205 .54817E-06 .13930E-05 22 Prefactor 13.389 30.622 .32016E-06 -.54827E-06 23 Prefactor 8.2571 6.9997 .92186E-07 .82772E-06 24 Normalizat 1.1782 .18430 -.97838E-06 -.66006E-04 25 Prefactor .78470 .20607 .53849E-06 -.21707E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 210.667 norm = 2.39418 Prefactor = 12.4278 Prefactor = 0.0001 Prefactor = 0.0001 norm = 24.9863 norm = 105.14 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 2.04928 norm = 6.47036 Prefactor = 0.0001 Prefactor = 14.5382 Prefactor = 21.0125 norm = 1.68211 norm = 0.836399 Prefactor = 0.0001 Prefactor = 5.18567 Prefactor = 0.0001 Prefactor = 7.39585 Prefactor = 13.3885 Prefactor = 8.25706 Normalizat = 1.17819 Prefactor = 0.7847 ********** ** 18 **HESSE ********** FCN= 6493.615 FROM HESSE STATUS=OK 435 CALLS 3368 TOTAL EDM= .16E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 26.804 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 210.67 121.78 .13928E-03 -1.2795 3 norm 2.3942 .46333 .22292E-04 -1.5398 4 Prefactor 12.428 20.522 .11364E-03 -1.5003 5 Prefactor .10000E-03 9.5003 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 30.508 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 24.986 16.848 .80135E-04 -1.4708 8 norm 105.14 67.823 .19609E-03 -1.3654 9 Prefactor .10000E-03 3.6565 .20371E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 188.34 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 2.0493 23.921 .14433E-02 -1.5422 12 norm 6.4704 3.0458 .89805E-04 -1.5199 13 Prefactor .10000E-03 4.1943 .16100E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 14.538 6.3637 .10504E-03 -1.4945 15 Prefactor 21.012 44.019 .87391E-04 -1.4791 16 norm 1.6821 1.1194 .60234E-04 -1.5449 17 norm .83640 10.064 .49378E-03 -1.5525 18 Prefactor .10000E-03 12.097 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 5.1857 4.2023 .12061E-03 -1.5252 20 Prefactor .10000E-03 20.155 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 7.3959 24.031 .14750E-03 -1.5164 22 Prefactor 13.389 30.684 .10946E-03 -1.4976 23 Prefactor 8.2571 7.0025 .13952E-03 -1.5133 24 Normalizat 1.1782 .21999 .23783E-03 -.87279 25 Prefactor .78470 .24344 .33799E-03 -1.0029 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.60069e-11 Minuit parameter uncertainties: 1 3.96133e-05 2 121.923 3 0.463329 4 20.534 5 1.02317e-05 6 2.89551e-05 7 16.8508 8 67.873 9 1.56324e-06 10 0.000240465 11 14.0097 12 3.04588 13 2.85725e-06 14 6.36396 15 44.0872 16 1.11939 17 5.80354 18 6.98895e-06 19 4.20257 20 8.8633e-07 21 24.0621 22 30.7201 23 7.00321 24 0.220166 25 0.243776 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6493.61450162 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 2.101e+01 4.409e+01 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 2.720e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 693 Prefactor: 7.847e-01 2.438e-01 0.000e+00 1.000e+01 ( 1.000e+00) 694 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 695 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 692 Normalization: 1.178e+00 2.202e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.35 Ra Dec: 174.764 40.562 Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1 Energy Flux Upper Limit: 8.81e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/983681/likelihoodResults_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.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) = 6493.05520483 delta logL = 0.55929679403 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6493.02435875 delta logL = 0.590142868496 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.7932 1.0000 .10000E-03 10000. 2 'Index ' 4.0968 1.0000 .0000 10.000 3 'Normalizat' 1.1383 1.0000 .10000E-01 10.000 4 'Prefactor ' .81501 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6960E+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= 6493.024 FROM MIGRAD STATUS=FAILED 96 CALLS 304 TOTAL EDM= .74E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.8017 277.84 .15394E-03 -.15730E-04 2 Index 4.0968 7.0056 .70028E-02 .54490E-03 3 Normalizat 1.1383 .19912 .24108E-03 .54043E-04 4 Prefactor .81504 .23522 .33211E-03 -.38613E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 6493.024 FROM SIMPLEX STATUS=UNCHANGED 86 CALLS 390 TOTAL EDM= .12E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.8017 277.84 .18256E-03 -.15730E-04 2 Index 4.0968 7.0056 .64498E-03 .54490E-03 3 Normalizat 1.1383 .19912 .11872E-03 .54043E-04 4 Prefactor .81504 .23522 .30362E-03 -.38613E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6493.024 FROM MIGRAD STATUS=CONVERGED 29 CALLS 419 TOTAL EDM= .29E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.8017 19.100 .61577E-05 -.35817E-04 2 Index 4.0968 1.6597 .14006E-02 .42372E-05 3 Normalizat 1.1383 .20809 .96431E-05 .27823E-04 4 Prefactor .81504 .24297 .13284E-04 -.21737E-04 ERR DEF= .500 Final values: Prefactor = 6.80168 Index = 4.09677 Normalizat = 1.13829 Prefactor = 0.815038 ********** ** 18 **HESSE ********** FCN= 6493.024 FROM HESSE STATUS=OK 23 CALLS 442 TOTAL EDM= .24E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.8017 17.135 .12315E-05 -1.5186 2 Index 4.0968 1.4937 .56022E-04 -.18164 3 Normalizat 1.1383 .20836 .19286E-05 -.88532 4 Prefactor .81504 .24326 .26569E-05 -.99176 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.38718e-11 Minuit parameter uncertainties: 1 17.1475 2 1.51771 3 0.20851 4 0.243581 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/983681': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6493.02435788 delta logL = 0.590143736033 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 6.802e+00 1.715e+01 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 4.097e+00 1.518e+00 0.000e+00 1.000e+01 (-1.000e+00) 343 Scale: 6.779e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 693 Prefactor: 8.150e-01 2.436e-01 0.000e+00 1.000e+01 ( 1.000e+00) 694 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 695 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 692 Normalization: 1.138e+00 2.085e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.61 Ra Dec: 174.764 40.562 Photon Index (Free Index): 4.10 +/- 1.52 Photon Flux (Free Index): 5.60e-08 +/- 5.11e-08 Energy Flux (Free Index): 8.26e-06 +/- 7.65e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.500e-04 [aplpy.core] INFO: Auto-setting vmax to 2.775e-03 [aplpy.core] Saving /scratch/kocevski/983681/cmap_HighResolution_337564801_337824001_4FGL_J1139.0+4033_daily_bin379.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/983681 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.81e-03', comment='SUCCESS', energy_flux2='8.26e-06', dlogl='5.90e-01', photon_flux2='5.60e-08', job_status='DONE', time_completed='2021-09-04 07:12:19.741774', photon_index_error2='1.52', photon_index2='4.10', ts='0.35', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='7.65e-06', EG='1.18', time_epoch_completed='1630764739.74', return_code='0', job_id='983681', GAL2='0.82', EG2='1.14', return_code2='0', photon_flux_error2='5.11e-08', ts2='1.61', photon_index='2.72' WHERE bin_id='379' AND source_name='4FGL J1139.0+4033' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 07:12:19 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 983681: <4FGL_J1139.0+4033_daily_bin379> in cluster Done Job <4FGL_J1139.0+4033_daily_bin379> was submitted from host by user in cluster at Sat Sep 4 06:56:40 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 06:56:41 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 06:56:41 2021 Terminated at Sat Sep 4 07:12:20 2021 Results reported at Sat Sep 4 07:12:20 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1139.0+4033_daily_bin379 174.764 40.5617 337564801 337824001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1139.0+4033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 871.00 sec. Max Memory : 1095 MB Average Memory : 321.71 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 939 sec. Turnaround time : 940 sec. The output (if any) is above this job summary.