/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 17 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 = 7538 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1238.5-1201_daily_bin707 RA = 189.625, Dec = -12.028 tmin = 422582401, tmax = 422841601 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='861022', job_status='RUN', time_executed='2021-09-06 02:46:16.205431', time_epoch_executed='1630921576.21' WHERE source_name='4FGL J1238.5-1201' and cadence='daily' and bin_id='707' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/861022 Creating custom pfile directory: /scratch/kocevski/861022/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=422582401.0 && nMetStart<422841601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=422582401.0 && nMetStart<422841601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/861022/ft1_4FGL_J1238.5-1201_daily_bin707.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=422582401.0 && nMetStart<422841601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/861022/ft2_4FGL_J1238.5-1201_daily_bin707.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/861022/ft1_4FGL_J1238.5-1201_daily_bin707.fits outfile=/scratch/kocevski/861022/ft1_filteredMKT_4FGL_J1238.5-1201_daily_bin707.fits ra=189.625 dec=-12.028 rad=12.0 tmin=422582401.0 tmax=422841601.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.00 user 2.70 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/861022/ft2_4FGL_J1238.5-1201_daily_bin707.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/861022/ft2_4FGL_J1238.5-1201_daily_bin707.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/861022/ft1_filteredMKT_4FGL_J1238.5-1201_daily_bin707.fits evtable="EVENTS" outfile="/scratch/kocevski/861022/ft1_filtered_4FGL_J1238.5-1201_daily_bin707.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.49 user 0.30 sys 0.11 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/861022/ft1_filtered_4FGL_J1238.5-1201_daily_bin707.fits" evtable="EVENTS" scfile=/scratch/kocevski/861022/ft2_4FGL_J1238.5-1201_daily_bin707.fits sctable="SC_DATA" outfile=/scratch/kocevski/861022/ltcube_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.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/861022/ft2_4FGL_J1238.5-1201_daily_bin707.fits .....................! real 15.08 user 14.71 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/861022/ft1_filtered_4FGL_J1238.5-1201_daily_bin707.fits evtable="EVENTS" scfile=/scratch/kocevski/861022/ft2_4FGL_J1238.5-1201_daily_bin707.fits sctable="SC_DATA" expcube=/scratch/kocevski/861022/ltcube_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.fits outfile=/scratch/kocevski/861022/expmap_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.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/861022/ltcube_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.fits .....................! real 158.10 user 152.93 sys 4.50 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 186 point sources and 0 extended sources Setting source of interest to: 4FGL J1238.5-1201 @ 189.625 -12.028 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/861022/ft1_filtered_4FGL_J1238.5-1201_daily_bin707.fits scfile=/scratch/kocevski/861022/ft2_4FGL_J1238.5-1201_daily_bin707.fits outfile=/scratch/kocevski/861022/cmap_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.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=189.625 yref=-12.028 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.49 user 0.33 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/861022/ft1_filtered_4FGL_J1238.5-1201_daily_bin707.fits scfile=/scratch/kocevski/861022/ft2_4FGL_J1238.5-1201_daily_bin707.fits outfile=/scratch/kocevski/861022/cmap_HighResolution_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.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=189.625 yref=-12.028 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.50 user 0.33 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/861022/ft1_filtered_4FGL_J1238.5-1201_daily_bin707.fits evtable="EVENTS" scfile=/scratch/kocevski/861022/ft2_4FGL_J1238.5-1201_daily_bin707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/861022/Model_4FGL_J1238.5-1201_daily_bin707.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/861022/ft1_filtered_4FGL_J1238.5-1201_daily_bin707.fits.....................! real 55.64 user 54.30 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/861022/ft1_filtered_4FGL_J1238.5-1201_daily_bin707.fits', '/scratch/kocevski/861022/ft2_4FGL_J1238.5-1201_daily_bin707.fits', expMap='/scratch/kocevski/861022/expmap_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.fits', expCube='/scratch/kocevski/861022/ltcube_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/861022/Model_4FGL_J1238.5-1201_daily_bin707.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1238.5-1201' 4FGL J1238.5-1201 Spectrum: PowerLaw 326 Prefactor: 4.386e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 327 Index: 2.660e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 5.228e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/861022/ft1_filtered_4FGL_J1238.5-1201_daily_bin707.fits Spacecraft file(s): /scratch/kocevski/861022/ft2_4FGL_J1238.5-1201_daily_bin707.fits Exposure map: /scratch/kocevski/861022/expmap_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.fits Exposure cube: /scratch/kocevski/861022/ltcube_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/861022/Model_4FGL_J1238.5-1201_daily_bin707.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) = 8408.75652795 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8408.73052973 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10059E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 25.462 1.0000 .10000E-03 10000. 4 'Prefactor ' 31.123 1.0000 .10000E-03 10000. 5 'Prefactor ' .29813E-03 1.0000 .10000E-03 10000. 6 'norm ' .10000E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .11414E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 8.2666 1.0000 .10000E-03 10000. 9 'Prefactor ' 4.5148 1.0000 .10000E-03 10000. 10 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10077E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 17.229 1.0000 .10000E-03 10000. 13 'Prefactor ' 9.6344 1.0000 .10000E-03 10000. 14 'norm ' 35.541 1.0000 .10000E-03 10000. 15 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 16 'norm ' .89987 1.0000 .10000E-03 10000. 17 'norm ' .10000E-03 1.0000 .10000E-03 10000. 18 'norm ' .10000E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 20 'norm ' .10016E-03 1.0000 .10000E-03 10000. 21 'norm ' 7.3724 1.0000 .10000E-03 10000. 22 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' 11.140 1.0000 .10000E-03 10000. 24 'Normalizat' 1.1172 1.0000 .10000E-01 10.000 25 'Prefactor ' .92447 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6130E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 8408.731 FROM MIGRAD STATUS=CONVERGED 559 CALLS 2887 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 1.1061 .20526E-06** at limit ** 2 Prefactor .10000E-03 5.8512 -.39802E-05** at limit ** 3 Prefactor 25.427 35.558 -.48743E-04 .65435E-04 4 Prefactor 31.111 17.256 .19102E-06 .25000E-03 5 Prefactor .10002E-03 56.146 -.20889E-04** at limit ** 6 norm .10000E-03 .94073 -.13589E-07** at limit ** 7 Prefactor .10000E-03 2.8879 -.11297E-05** at limit ** 8 Prefactor 8.2661 2.4330 .12097E-07 .13744E-02 9 Prefactor 4.5148 4.8717 -.13034E-06 .94429E-04 10 Prefactor .10000E-03 8.2054 .80580E-05** at limit ** 11 Prefactor .10000E-03 11.121 -.74314E-05** at limit ** 12 Prefactor 17.230 9.6334 .91251E-06 .17941E-04 13 Prefactor 9.6325 35.871 -.51282E-05 .11185E-05 14 norm 35.532 32.149 -.11136E-04 .34449E-05 15 Prefactor .10000E-03 16.938 .12429E-04** at limit ** 16 norm .89988 .24850 .24995E-07 -.59472E-04 17 norm .10000E-03 2.9283 -.56922E-07** at limit ** 18 norm .10000E-03 1.2240 -.49757E-07** at limit ** 19 Prefactor .10000E-03 12.930 -.76005E-05** at limit ** 20 norm .10000E-03 5.4758 .32137E-05** at limit ** 21 norm 7.3724 7.3042 .95409E-06 .14376E-02 22 Prefactor .10000E-03 2.6210 .43489E-07** at limit ** 23 Prefactor 11.141 9.5008 -.82207E-06 -.63492E-04 24 Normalizat 1.1170 .19788 .28871E-05 .22241E-03 25 Prefactor .92459 .11390 .74842E-06 .38616E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 25.4271 Prefactor = 31.1109 Prefactor = 0.00010002 norm = 0.0001 Prefactor = 0.000100002 Prefactor = 8.26608 Prefactor = 4.51478 Prefactor = 0.000100001 Prefactor = 0.0001 Prefactor = 17.2296 Prefactor = 9.63247 norm = 35.5322 Prefactor = 0.0001 norm = 0.899876 norm = 0.0001 norm = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 7.37237 Prefactor = 0.0001 Prefactor = 11.1408 Normalizat = 1.11703 Prefactor = 0.924587 ********** ** 18 **HESSE ********** FCN= 8408.731 FROM HESSE STATUS=OK 419 CALLS 3306 TOTAL EDM= .26E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 1.1091 .94177E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 5.8715 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 25.427 35.545 .79388E-04 -1.4699 4 Prefactor 31.111 17.341 .71822E-04 -1.4592 5 Prefactor .10002E-03 56.052 .21392E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 .94668 .86852E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10000E-03 6.4192 .29301E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 8.2661 2.3669 .73099E-04 -1.5133 9 Prefactor 4.5148 4.8719 .18948E-03 -1.5283 10 Prefactor .10000E-03 8.5653 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 11.433 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 17.230 9.6317 .96491E-04 -1.4878 13 Prefactor 9.6325 36.167 .12911E-03 -1.5087 14 norm 35.532 32.144 .67222E-04 -1.4515 15 Prefactor .10000E-03 16.942 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .89988 .25063 .21914E-04 -1.5518 17 norm .10000E-03 2.9836 .15322E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .10000E-03 1.2283 .99068E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 12.932 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 5.5016 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 7.3724 7.3213 .73857E-03 -1.5165 22 Prefactor .10000E-03 2.6279 .14497E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 11.141 9.5163 .12003E-03 -1.5040 24 Normalizat 1.1170 .23721 .31208E-03 -.89207 25 Prefactor .92459 .13673 .20099E-03 -.95287 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.60591e-09 Minuit parameter uncertainties: 1 2.63291e-05 2 2.15245e-05 3 35.5747 4 17.3436 5 0.00214369 6 1.2035e-06 7 0.000217474 8 2.36695 9 4.87237 10 0.000160714 11 5.4428e-06 12 9.63252 13 36.2496 14 32.1592 15 1.94295e-05 16 0.250627 17 1.28526e-05 18 3.76391e-06 19 4.57414e-08 20 1.31514e-05 21 7.32218 22 4.51775e-06 23 9.51757 24 0.23744 25 0.13678 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8408.73052507 Extracting fit parameters... 4FGL J1238.5-1201 Spectrum: PowerLaw 326 Prefactor: 1.000e-04 5.443e-06 1.000e-04 1.000e+04 ( 1.000e-12) 327 Index: 2.660e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 5.228e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 610 Prefactor: 9.246e-01 1.368e-01 0.000e+00 1.000e+01 ( 1.000e+00) 611 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 612 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 609 Normalization: 1.117e+00 2.374e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 189.625 -12.028 Photon Flux Upper Limit: 8.95e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.03e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/861022/likelihoodResults_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.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) = 8408.73094248 delta logL = -0.00041740926099 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 8408.73052512 delta logL = -4.88944351673e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10382E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.6917 1.0000 .0000 10.000 3 'Normalizat' 1.1171 1.0000 .10000E-01 10.000 4 'Prefactor ' .92456 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6130E+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= 8408.723 FROM MIGRAD STATUS=FAILED 174 CALLS 332 TOTAL EDM= .21E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .17955 65.073 .36285E-02 -.28735E-01 2 Index 4.3026 6.9555 .50000 .52208E-05 3 Normalizat 1.1079 .25790E-01 .31207E-03 -.51001E-04 4 Prefactor .92767 .15305E-01 .20099E-03 -.50906E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 8408.723 FROM SIMPLEX STATUS=UNCHANGED 84 CALLS 416 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .17955 65.073 .25030E-03 -.28735E-01 2 Index 4.3026 6.9555 .31264E-02 .52208E-05 3 Normalizat 1.1079 .25790E-01 .77174E-04 -.51001E-04 4 Prefactor .92767 .15305E-01 .19044E-04 -.50906E-05 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8408.723 FROM MIGRAD STATUS=CONVERGED 38 CALLS 454 TOTAL EDM= .34E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .17956 5.9297 .72569E-03 -.11203E-02 2 Index 4.3026 7.1249 .18053E-01 -.33930E-05 3 Normalizat 1.1079 .23758 .12483E-04 -.22951E-04 4 Prefactor .92767 .13737 .80397E-05 .22059E-04 ERR DEF= .500 Final values: Prefactor = 0.179556 Index = 4.30262 Normalizat = 1.10794 Prefactor = 0.927666 ********** ** 18 **HESSE ********** FCN= 8408.723 FROM HESSE STATUS=OK 27 CALLS 481 TOTAL EDM= .38E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .17956 5.3950 .14514E-03 -1.5793 2 Index 4.3026 7.0949 .72212E-03 -.13993 3 Normalizat 1.1079 .23815 .24966E-05 -.89497 4 Prefactor .92767 .13744 .16079E-05 -.95181 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.76051e-11 Minuit parameter uncertainties: 1 1.9681 2 6.03042 3 0.238385 4 0.137491 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/861022': 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) = 8408.72272168 delta logL = 0.00780339280936 Extracting fit parameters... 4FGL J1238.5-1201 Spectrum: PowerLaw 326 Prefactor: 1.796e-01 1.968e+00 1.000e-04 1.000e+04 ( 1.000e-12) 327 Index: 4.303e+00 6.030e+00 0.000e+00 1.000e+01 (-1.000e+00) 328 Scale: 5.228e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 610 Prefactor: 9.277e-01 1.375e-01 0.000e+00 1.000e+01 ( 1.000e+00) 611 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 612 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 609 Normalization: 1.108e+00 2.384e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 189.625 -12.028 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/861022/cmap_HighResolution_422582401_422841601_4FGL_J1238.5-1201_daily_bin707.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/861022 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='8.95e-08', time_completed='2021-09-06 02:58:54.497201', job_id='861022', GAL2='0.93', fit_tolerance='1e-08', EG2='1.11', EG='1.12', time_epoch_completed='1630922334.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='7.80e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='707' AND source_name='4FGL J1238.5-1201' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 6 02:58:54 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 861022: <4FGL_J1238.5-1201_daily_bin707> in cluster Done Job <4FGL_J1238.5-1201_daily_bin707> was submitted from host by user in cluster at Mon Sep 6 02:45:49 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Sep 6 02:45:50 2021 was used as the home directory. was used as the working directory. Started at Mon Sep 6 02:45:50 2021 Terminated at Mon Sep 6 02:58:55 2021 Results reported at Mon Sep 6 02:58:55 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1238.5-1201_daily_bin707 189.625 -12.028 422582401 422841601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1238.5-1201 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 755.00 sec. Max Memory : 1094 MB Average Memory : 296.50 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 785 sec. Turnaround time : 786 sec. The output (if any) is above this job summary.