/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 36 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 = 74110 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1139.0+4033_monthly_bin77 RA = 174.764, Dec = 40.5617 tmin = 436579201, tmax = 439171201 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='568221', job_status='RUN', time_executed='2021-10-22 22:50:59.822020', time_epoch_executed='1634968259.82' WHERE source_name='4FGL J1139.0+4033' and cadence='monthly' and bin_id='77' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/568221 Creating custom pfile directory: /scratch/kocevski/568221/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=436579201.0 && nMetStart<439171201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=436579201.0 && nMetStart<439171201.0' /Data/Flight/Level1/LPA Retrieving 459 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/568221/ft1_4FGL_J1139.0+4033_monthly_bin77.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=436579201.0 && nMetStart<439171201.0' /Data/Flight/Level1/LPA Retrieving 459 files... Done. Merging files... Merged file saved to: /scratch/kocevski/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/568221/ft1_4FGL_J1139.0+4033_monthly_bin77.fits outfile=/scratch/kocevski/568221/ft1_filteredMKT_4FGL_J1139.0+4033_monthly_bin77.fits ra=174.764 dec=40.5617 rad=12.0 tmin=436579201.0 tmax=439171201.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 52.23 user 50.99 sys 1.12 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.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/568221/ft1_filteredMKT_4FGL_J1139.0+4033_monthly_bin77.fits evtable="EVENTS" outfile="/scratch/kocevski/568221/ft1_filtered_4FGL_J1139.0+4033_monthly_bin77.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.84 user 0.65 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/568221/ft1_filtered_4FGL_J1139.0+4033_monthly_bin77.fits" evtable="EVENTS" scfile=/scratch/kocevski/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.fits sctable="SC_DATA" outfile=/scratch/kocevski/568221/ltcube_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.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/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.fits .....................! real 115.21 user 114.61 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/568221/ft1_filtered_4FGL_J1139.0+4033_monthly_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.fits sctable="SC_DATA" expcube=/scratch/kocevski/568221/ltcube_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.fits outfile=/scratch/kocevski/568221/expmap_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.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/568221/ltcube_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.fits .....................! real 193.47 user 187.68 sys 5.40 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/568221/ft1_filtered_4FGL_J1139.0+4033_monthly_bin77.fits scfile=/scratch/kocevski/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.fits outfile=/scratch/kocevski/568221/cmap_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.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.78 user 0.61 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/568221/ft1_filtered_4FGL_J1139.0+4033_monthly_bin77.fits scfile=/scratch/kocevski/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.fits outfile=/scratch/kocevski/568221/cmap_HighResolution_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.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.77 user 0.60 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/568221/ft1_filtered_4FGL_J1139.0+4033_monthly_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/568221/Model_4FGL_J1139.0+4033_monthly_bin77.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/568221/ft1_filtered_4FGL_J1139.0+4033_monthly_bin77.fits.....................! real 349.81 user 347.89 sys 1.25 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/568221/ft1_filtered_4FGL_J1139.0+4033_monthly_bin77.fits', '/scratch/kocevski/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.fits', expMap='/scratch/kocevski/568221/expmap_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.fits', expCube='/scratch/kocevski/568221/ltcube_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/568221/Model_4FGL_J1139.0+4033_monthly_bin77.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/568221/ft1_filtered_4FGL_J1139.0+4033_monthly_bin77.fits Spacecraft file(s): /scratch/kocevski/568221/ft2_4FGL_J1139.0+4033_monthly_bin77.fits Exposure map: /scratch/kocevski/568221/expmap_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.fits Exposure cube: /scratch/kocevski/568221/ltcube_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/568221/Model_4FGL_J1139.0+4033_monthly_bin77.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) = 50067.0457519 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 50067.0453347 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'norm ' 2.5580 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 4.9029 1.0000 .10000E-03 10000. 6 'Prefactor ' 27.921 1.0000 .10000E-03 10000. 7 'norm ' 3.9496 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 2.9304 1.0000 .10000E-03 10000. 10 'Prefactor ' 17.120 1.0000 .10000E-03 10000. 11 'Prefactor ' 4.6861 1.0000 .10000E-03 10000. 12 'norm ' 4.3090 1.0000 .10000E-03 10000. 13 'Prefactor ' 4.5207 1.0000 .10000E-03 10000. 14 'Prefactor ' .59681 1.0000 .10000E-03 10000. 15 'Prefactor ' 17.028 1.0000 .10000E-03 10000. 16 'norm ' 10.342 1.0000 .10000E-03 10000. 17 'norm ' 6.6219 1.0000 .10000E-03 10000. 18 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .69225 1.0000 .10000E-03 10000. 20 'Prefactor ' 1.4473 1.0000 .10000E-03 10000. 21 'Prefactor ' 6.8300 1.0000 .10000E-03 10000. 22 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 6.3625 1.0000 .10000E-03 10000. 24 'Normalizat' .85606 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0126 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= 50067.05 FROM MIGRAD STATUS=CONVERGED 555 CALLS 2904 TOTAL EDM= .23E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 4.7055 .69452E-07** at limit ** 2 Prefactor .10000E-03 13.349 .32725E-07** at limit ** 3 norm 2.5580 .15490 -.11583E-08 .27802E-03 4 Prefactor .10000E-03 2.5105 -.35416E-07** at limit ** 5 Prefactor 4.9028 3.1652 .26422E-06 .33911E-05 6 Prefactor 27.922 24.277 .68488E-06 .70607E-06 7 norm 3.9494 2.1010 -.36186E-08 -.59633E-03 8 norm .10000E-03 3.1104 -.23835E-06** at limit ** 9 Prefactor 2.9304 1.0639 .60244E-07 -.46608E-04 10 Prefactor 17.120 18.027 -.79003E-06 .41195E-05 11 Prefactor 4.6862 4.9804 -.19980E-07 -.75444E-05 12 norm 4.3090 1.1261 .80651E-07 .56918E-04 13 Prefactor 4.5208 3.6352 -.46151E-07 -.62988E-05 14 Prefactor .59716 1.2065 -.78337E-08 -.31451E-03 15 Prefactor 17.026 17.997 -.29221E-05 .51287E-05 16 norm 10.341 .74639 .67332E-07 -.86598E-04 17 norm 6.6216 2.9511 -.21868E-08 .18217E-04 18 Prefactor .10000E-03 3.5892 -.34768E-06** at limit ** 19 Prefactor .69244 .96637 -.24791E-07 -.29343E-03 20 Prefactor 1.4451 14.768 -.76539E-06 -.10100E-04 21 Prefactor 6.8295 5.8920 .64291E-07 -.21640E-03 22 Prefactor .10000E-03 3.2780 .50329E-06** at limit ** 23 Prefactor 6.3627 2.7629 .28794E-06 -.31011E-04 24 Normalizat .85606 .60530E-01 .64211E-07 .18506E-04 25 Prefactor 1.0126 .71439E-01 -.34166E-07 .50528E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.55803 Prefactor = 0.0001 Prefactor = 4.9028 Prefactor = 27.9216 norm = 3.94938 norm = 0.0001 Prefactor = 2.93038 Prefactor = 17.1195 Prefactor = 4.68618 norm = 4.30902 Prefactor = 4.52077 Prefactor = 0.597155 Prefactor = 17.0262 norm = 10.3415 norm = 6.62164 Prefactor = 0.0001 Prefactor = 0.692437 Prefactor = 1.44511 Prefactor = 6.82955 Prefactor = 0.0001 Prefactor = 6.36269 Normalizat = 0.856061 Prefactor = 1.0126 ********** ** 18 **HESSE ********** FCN= 50067.05 FROM HESSE STATUS=OK 439 CALLS 3343 TOTAL EDM= .16E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 4.7547 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 13.424 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 2.5580 .15523 .20713E-04 -1.5388 4 Prefactor .10000E-03 2.5761 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 4.9028 3.1705 .18165E-03 -1.5265 6 Prefactor 27.922 24.294 .75818E-04 -1.4651 7 norm 3.9494 3.5667 .10149E-02 -1.5310 8 norm .10000E-03 3.1132 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 2.9304 1.0628 .11105E-03 -1.5366 10 Prefactor 17.120 18.096 .96798E-04 -1.4880 11 Prefactor 4.6862 4.9441 .18590E-03 -1.5275 12 norm 4.3090 1.1238 .19407E-04 -1.5293 13 Prefactor 4.5208 3.6132 .18935E-03 -1.5283 14 Prefactor .59716 1.3096 .36048E-03 -1.5553 15 Prefactor 17.026 18.018 .97059E-04 -1.4882 16 norm 10.341 .74591 .44044E-04 -1.5065 17 norm 6.6216 2.9504 .15594E-03 -1.5193 18 Prefactor .10000E-03 3.6339 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .69244 .91957 .22820E-03 -1.5542 20 Prefactor 1.4451 14.758 .35827E-03 -1.5468 21 Prefactor 6.8295 6.0552 .76762E-03 -1.5185 22 Prefactor .10000E-03 3.2875 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 6.3627 2.7657 .15913E-03 -1.5203 24 Normalizat .85606 .71369E-01 .26011E-03 -.98022 25 Prefactor 1.0126 .84011E-01 .29065E-03 -.92311 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.57308e-10 Minuit parameter uncertainties: 1 3.33168e-07 2 1.81326e-08 3 0.155231 4 1.32194e-06 5 3.17065 6 24.3026 7 3.56688 8 2.26595e-07 9 1.06281 10 18.1018 11 4.94458 12 1.1238 13 3.61338 14 1.30966 15 18.0238 16 0.745908 17 2.95047 18 2.14046e-07 19 0.919586 20 9.23889 21 6.05574 22 2.40821e-06 23 2.7658 24 0.0713767 25 0.0840221 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 50067.0453345 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 1.703e+01 1.802e+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: 1.013e+00 8.402e-02 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: 8.561e-01 7.138e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.30 Ra Dec: 174.764 40.562 Photon Index (Fixed Index): 2.72 +/- 0.00 Photon Flux (Fixed Index): 1.81e-08 +/- 1.91e-08 Energy Flux (Fixed Index): 4.28e-06 +/- 4.53e-06 TS (Fixed Index): 1.30 Ra Dec: 174.764 40.562 Photon Flux Upper Limit: 5.02e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.96e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/568221/likelihoodResults_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.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) = 50066.662777 delta logL = 0.38255752033 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 50066.6409441 delta logL = 0.404390397081 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.480 1.0000 .10000E-03 10000. 2 'Index ' 3.4074 1.0000 .0000 10.000 3 'Normalizat' .84487 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0217 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 50066.64 FROM MIGRAD STATUS=FAILED 102 CALLS 295 TOTAL EDM= .12E-03 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.447 6331.2 .61884E-03 -.88180E-04 2 Index 3.4106 7.9935 .12688E-01 .22617E-02 3 Normalizat .84493 .14886 .26150E-03 -.21216E-03 4 Prefactor 1.0217 .20503 .28947E-03 -.65351E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 50066.64 FROM SIMPLEX STATUS=UNCHANGED 115 CALLS 410 TOTAL EDM= .82E-05 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.447 6331.2 .19164E-03 -1.5061 2 Index 3.4106 7.9935 .59827E-03 -.32350 3 Normalizat .84493 .14886 .43053E-04 -.98423 4 Prefactor 1.0217 .20503 .27231E-04 -.92010 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 50066.64 FROM MIGRAD STATUS=CONVERGED 32 CALLS 442 TOTAL EDM= .16E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.447 15.524 .24754E-04 -.95529E-04 2 Index 3.4106 .95968 .25376E-02 -.24480E-04 3 Normalizat .84493 .71169E-01 .10460E-04 -.21216E-03 4 Prefactor 1.0217 .84684E-01 .11579E-04 -.65980E-04 ERR DEF= .500 Final values: Prefactor = 10.4475 Index = 3.41058 Normalizat = 0.84493 Prefactor = 1.02168 ********** ** 18 **HESSE ********** FCN= 50066.64 FROM HESSE STATUS=OK 23 CALLS 465 TOTAL EDM= .17E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.447 14.301 .49507E-05 -1.5061 2 Index 3.4106 .88452 .10150E-03 -.32350 3 Normalizat .84493 .71056E-01 .20920E-05 -.98423 4 Prefactor 1.0217 .84542E-01 .23158E-05 -.92010 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.65952e-11 Minuit parameter uncertainties: 1 14.3054 2 0.889735 3 0.0710642 4 0.0845534 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/568221': 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) = 50066.6409355 delta logL = 0.404399020088 Extracting fit parameters... 4FGL J1139.0+4033 Spectrum: PowerLaw 341 Prefactor: 1.045e+01 1.431e+01 1.000e-04 1.000e+04 ( 1.000e-13) 342 Index: 3.411e+00 8.897e-01 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: 1.022e+00 8.455e-02 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: 8.449e-01 7.106e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.22 Ra Dec: 174.764 40.562 Photon Index (Free Index): 3.41 +/- 0.89 Photon Flux (Free Index): 2.97e-08 +/- 2.23e-08 Energy Flux (Free Index): 5.07e-06 +/- 3.73e-06 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/568221/cmap_HighResolution_436579201_439171201_4FGL_J1139.0+4033_monthly_bin77.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/568221 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', comment='SUCCESS', photon_flux='1.81e-08', energy_flux2='5.07e-06', photon_flux_error='1.91e-08', dlogl='4.04e-01', energy_flux='4.28e-06', photon_flux2='2.97e-08', job_status='DONE', time_completed='2021-10-23 00:14:33.007369', photon_index_error2='0.89', photon_index2='3.41', ts='1.30', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='5.02e-08', energy_flux_error2='3.73e-06', EG='0.86', time_epoch_completed='1634973273.01', return_code='0', job_id='568221', GAL2='1.02', EG2='0.84', return_code2='0', energy_flux_error='4.53e-06', photon_flux_error2='2.23e-08', ts2='2.22', photon_index='2.72' WHERE bin_id='77' AND source_name='4FGL J1139.0+4033' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sat Oct 23 00:14:33 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 568221: <4FGL_J1139.0+4033_monthly_bin77> in cluster Done Job <4FGL_J1139.0+4033_monthly_bin77> was submitted from host by user in cluster at Fri Oct 22 22:50:13 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 22 22:50:15 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 22 22:50:15 2021 Terminated at Sat Oct 23 00:14:34 2021 Results reported at Sat Oct 23 00:14:34 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1139.0+4033_monthly_bin77 174.764 40.5617 436579201 439171201 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 : 4909.00 sec. Max Memory : 627 MB Average Memory : 364.64 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 5059 sec. Turnaround time : 5061 sec. The output (if any) is above this job summary.