/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 100 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 = 7559 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1238.5-1201_daily_bin459 RA = 189.625, Dec = -12.028 tmin = 358300801, tmax = 358560001 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='857776', job_status='RUN', time_executed='2021-09-06 02:37:53.236446', time_epoch_executed='1630921073.24' WHERE source_name='4FGL J1238.5-1201' and cadence='daily' and bin_id='459' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/857776 Creating custom pfile directory: /scratch/kocevski/857776/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=358300801.0 && nMetStart<358560001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=358300801.0 && nMetStart<358560001.0' /Data/Flight/Level1/LPA Retrieving 50 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/857776/ft1_4FGL_J1238.5-1201_daily_bin459.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=358300801.0 && nMetStart<358560001.0' /Data/Flight/Level1/LPA Retrieving 50 files... Done. Merging files... Merged file saved to: /scratch/kocevski/857776/ft2_4FGL_J1238.5-1201_daily_bin459.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/857776/ft1_4FGL_J1238.5-1201_daily_bin459.fits outfile=/scratch/kocevski/857776/ft1_filteredMKT_4FGL_J1238.5-1201_daily_bin459.fits ra=189.625 dec=-12.028 rad=12.0 tmin=358300801.0 tmax=358560001.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 5.50 user 5.06 sys 0.25 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/857776/ft2_4FGL_J1238.5-1201_daily_bin459.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/857776/ft2_4FGL_J1238.5-1201_daily_bin459.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/857776/ft1_filteredMKT_4FGL_J1238.5-1201_daily_bin459.fits evtable="EVENTS" outfile="/scratch/kocevski/857776/ft1_filtered_4FGL_J1238.5-1201_daily_bin459.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.50 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/857776/ft1_filtered_4FGL_J1238.5-1201_daily_bin459.fits" evtable="EVENTS" scfile=/scratch/kocevski/857776/ft2_4FGL_J1238.5-1201_daily_bin459.fits sctable="SC_DATA" outfile=/scratch/kocevski/857776/ltcube_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.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/857776/ft2_4FGL_J1238.5-1201_daily_bin459.fits .....................! real 13.95 user 13.42 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/857776/ft1_filtered_4FGL_J1238.5-1201_daily_bin459.fits evtable="EVENTS" scfile=/scratch/kocevski/857776/ft2_4FGL_J1238.5-1201_daily_bin459.fits sctable="SC_DATA" expcube=/scratch/kocevski/857776/ltcube_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.fits outfile=/scratch/kocevski/857776/expmap_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.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/857776/ltcube_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.fits .....................! real 192.47 user 185.66 sys 4.90 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 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/857776/ft1_filtered_4FGL_J1238.5-1201_daily_bin459.fits scfile=/scratch/kocevski/857776/ft2_4FGL_J1238.5-1201_daily_bin459.fits outfile=/scratch/kocevski/857776/cmap_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.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.55 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/857776/ft1_filtered_4FGL_J1238.5-1201_daily_bin459.fits scfile=/scratch/kocevski/857776/ft2_4FGL_J1238.5-1201_daily_bin459.fits outfile=/scratch/kocevski/857776/cmap_HighResolution_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.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.55 user 0.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/857776/ft1_filtered_4FGL_J1238.5-1201_daily_bin459.fits evtable="EVENTS" scfile=/scratch/kocevski/857776/ft2_4FGL_J1238.5-1201_daily_bin459.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857776/Model_4FGL_J1238.5-1201_daily_bin459.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/857776/ft1_filtered_4FGL_J1238.5-1201_daily_bin459.fits.....................! real 65.48 user 63.61 sys 1.19 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/857776/ft1_filtered_4FGL_J1238.5-1201_daily_bin459.fits', '/scratch/kocevski/857776/ft2_4FGL_J1238.5-1201_daily_bin459.fits', expMap='/scratch/kocevski/857776/expmap_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.fits', expCube='/scratch/kocevski/857776/ltcube_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/857776/Model_4FGL_J1238.5-1201_daily_bin459.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/857776/ft1_filtered_4FGL_J1238.5-1201_daily_bin459.fits Spacecraft file(s): /scratch/kocevski/857776/ft2_4FGL_J1238.5-1201_daily_bin459.fits Exposure map: /scratch/kocevski/857776/expmap_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.fits Exposure cube: /scratch/kocevski/857776/ltcube_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/857776/Model_4FGL_J1238.5-1201_daily_bin459.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) = 8006.11908779 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8006.04452875 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .97879E-02 1.0000 .10000E-03 10000. 2 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10035E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 6 'norm ' .88067 1.0000 .10000E-03 10000. 7 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 9.4142 1.0000 .10000E-03 10000. 9 'Prefactor ' 10.675 1.0000 .10000E-03 10000. 10 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10885E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 5.5484 1.0000 .10000E-03 10000. 13 'Prefactor ' 3.8996 1.0000 .10000E-03 10000. 14 'norm ' .10889E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10030E-03 1.0000 .10000E-03 10000. 16 'norm ' .94166 1.0000 .10000E-03 10000. 17 'norm ' 12.980 1.0000 .10000E-03 10000. 18 'norm ' 3.8856 1.0000 .10000E-03 10000. 19 'Prefactor ' .10212E-03 1.0000 .10000E-03 10000. 20 'norm ' 18.531 1.0000 .10000E-03 10000. 21 'norm ' .10031E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' 21.768 1.0000 .10000E-03 10000. 23 'Prefactor ' .10242E-03 1.0000 .10000E-03 10000. 24 'Normalizat' 1.4246 1.0000 .10000E-01 10.000 25 'Prefactor ' .83878 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= 8006.044 FROM MIGRAD STATUS=CONVERGED 598 CALLS 2535 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10101E-03 3.6152 -.37817E-06** at limit ** 2 Prefactor .10000E-03 5.8805 .15857E-07** at limit ** 3 Prefactor .10000E-03 13.488 -.55775E-05** at limit ** 4 Prefactor .10000E-03 8.0907 .25343E-05** at limit ** 5 Prefactor .10000E-03 8.8255 -.69454E-05** at limit ** 6 norm .88037 2.3325 -.68355E-06 -.13918E-02 7 Prefactor .10043E-03 2.8189 -.95155E-06** at limit ** 8 Prefactor 9.4136 2.6493 .94276E-07 .43954E-03 9 Prefactor 10.675 8.7690 -.12844E-07 -.42389E-04 10 Prefactor .10000E-03 3.9104 .39797E-07** at limit ** 11 Prefactor .10000E-03 16.822 .12828E-05** at limit ** 12 Prefactor 5.5489 6.9557 -.10951E-05 -.34772E-03 13 Prefactor 3.9342 160.62 .11131E-03 -.12671E-04 14 norm .10000E-03 44.820 .62015E-05** at limit ** 15 Prefactor .10000E-03 18.989 .58860E-05** at limit ** 16 norm .94173 .27757 -.39521E-06 -.34657E-03 17 norm 12.979 7.5874 -.28698E-06 -.11217E-02 18 norm 3.8851 4.3243 .16235E-05 -.44606E-03 19 Prefactor .10000E-03 53.236 .19018E-04** at limit ** 20 norm 18.536 11.183 .95333E-07 -.11681E-03 21 norm .10000E-03 3.2196 -.10941E-06** at limit ** 22 Prefactor 21.777 11.456 .18469E-06 -.17062E-03 23 Prefactor .10000E-03 9.6138 .65108E-05** at limit ** 24 Normalizat 1.4249 .21170 -.16851E-05 -.16615E-03 25 Prefactor .83858 .12159 -.96678E-06 -.19618E-03 ERR DEF= .500 Final values: Prefactor = 0.000101008 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.880367 Prefactor = 0.000100431 Prefactor = 9.41356 Prefactor = 10.6749 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 5.54887 Prefactor = 3.93421 norm = 0.0001 Prefactor = 0.0001 norm = 0.94173 norm = 12.9794 norm = 3.88511 Prefactor = 0.0001 norm = 18.536 norm = 0.0001 Prefactor = 21.7771 Prefactor = 0.0001 Normalizat = 1.42494 Prefactor = 0.838575 ********** ** 18 **HESSE ********** FCN= 8006.044 FROM HESSE STATUS=OK 445 CALLS 2980 TOTAL EDM= .32E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10101E-03 4.0743 .48498E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 5.8902 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 13.490 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 8.1321 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 8.8204 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .88037 2.1675 .21616E-02 -1.5520 7 Prefactor .10043E-03 2.8035 .50539E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 9.4136 2.6503 .74269E-04 -1.5094 9 Prefactor 10.675 8.7528 .12263E-03 -1.5054 10 Prefactor .10000E-03 3.9179 .17279E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 17.543 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 5.5489 6.9523 .17056E-03 -1.5237 13 Prefactor 3.9342 158.11 .20432E-03 -1.5311 14 norm .10000E-03 45.998 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 18.988 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .94173 .27857 .23022E-04 -1.5514 17 norm 12.979 7.6035 .55591E-03 -1.4987 18 norm 3.8851 4.3084 .18944E-03 -1.5314 19 Prefactor .10000E-03 53.317 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 18.536 11.182 .93040E-04 -1.4847 21 norm .10000E-03 3.2218 .15680E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 21.777 11.460 .85849E-04 -1.4774 23 Prefactor .10000E-03 9.7670 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.4249 .25054 .30033E-03 -.79910 25 Prefactor .83858 .14376 .22120E-03 -.98322 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.22967e-09 Minuit parameter uncertainties: 1 0.00405405 2 1.19721e-05 3 1.37257e-05 4 1.96535e-05 5 4.62908e-06 6 2.16773 7 0.00219858 8 2.65031 9 8.75384 10 6.9672e-06 11 5.44454e-05 12 6.95333 13 50.0229 14 0.000236649 15 1.40866e-05 16 0.278574 17 7.60404 18 4.30879 19 7.69185e-06 20 11.1837 21 1.24991e-06 22 11.4608 23 5.35946e-06 24 0.250761 25 0.143822 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8006.04446482 Extracting fit parameters... 4FGL J1238.5-1201 Spectrum: PowerLaw 326 Prefactor: 1.000e-04 5.445e-05 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: 8.386e-01 1.438e-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.425e+00 2.508e-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: 1.01e-07 ph cm-2 s-1 Energy Flux Upper Limit: 7.94e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/857776/likelihoodResults_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.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) = 8006.04473699 delta logL = -0.000272165530077 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 8006.04446668 delta logL = -1.8616374291e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .27461E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.7540 1.0000 .0000 10.000 3 'Normalizat' 1.4247 1.0000 .10000E-01 10.000 4 'Prefactor ' .83868 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= 8006.044 FROM MIGRAD STATUS=FAILED 97 CALLS 262 TOTAL EDM= .30E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10080E-03 1921.4 .40853E-02** at limit ** 2 Index 2.7605 5.9417 .50000 -.64364E-04 3 Normalizat 1.4249 .46323E-01 .30033E-03 .15146E-03 4 Prefactor .83857 .27072E-01 .22120E-03 -.28576E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 8006.044 FROM SIMPLEX STATUS=UNCHANGED 153 CALLS 415 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10080E-03 1921.4 .94821E-03** at limit ** 2 Index 2.7605 5.9417 .16720E-04 -.64364E-04 3 Normalizat 1.4249 .46323E-01 .32285E-06 .15146E-03 4 Prefactor .83857 .27072E-01 .14712E-06 -.28576E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8006.044 FROM MIGRAD STATUS=CONVERGED 34 CALLS 449 TOTAL EDM= .62E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10016E-03 7650.3 .81705E-03** at limit ** 2 Index 2.7615 6.1072 .50000 -.64035E-04 3 Normalizat 1.4249 .11970 .12013E-04 .97664E-04 4 Prefactor .83857 .70049E-01 .88479E-05 -.99194E-04 ERR DEF= .500 Final values: Prefactor = 0.000100159 Index = 2.76154 Normalizat = 1.42495 Prefactor = 0.838574 ********** ** 18 **HESSE ********** FCN= 8006.044 FROM HESSE STATUS=OK 29 CALLS 478 TOTAL EDM= .67E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10016E-03 37.116 .16341E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7615 6.3777 .50000 -.46418 3 Normalizat 1.4249 .24099 .24026E-05 -.79910 4 Prefactor .83857 .14140 .17696E-05 -.98322 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.73695e-09 Minuit parameter uncertainties: 1 0.00485454 2 4.72572 3 0.241181 4 0.141466 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/857776': 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) = 8006.04446346 delta logL = 1.36281323648e-06 Extracting fit parameters... 4FGL J1238.5-1201 Spectrum: PowerLaw 326 Prefactor: 1.002e-04 4.855e-03 1.000e-04 1.000e+04 ( 1.000e-12) 327 Index: 2.762e+00 4.726e+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: 8.386e-01 1.415e-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.425e+00 2.412e-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/857776/cmap_HighResolution_358300801_358560001_4FGL_J1238.5-1201_daily_bin459.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/857776 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.94e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-06 02:52:11.739148', job_id='857776', GAL2='0.84', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1630921931.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.36e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='459' AND source_name='4FGL J1238.5-1201' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 6 02:52:11 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 857776: <4FGL_J1238.5-1201_daily_bin459> in cluster Done Job <4FGL_J1238.5-1201_daily_bin459> was submitted from host by user in cluster at Mon Sep 6 02:35:30 2021 Job was executed on host(s) , in queue , as user in cluster at Mon Sep 6 02:36:02 2021 was used as the home directory. was used as the working directory. Started at Mon Sep 6 02:36:02 2021 Terminated at Mon Sep 6 02:52:12 2021 Results reported at Mon Sep 6 02:52:12 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1238.5-1201_daily_bin459 189.625 -12.028 358300801 358560001 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 : 846.09 sec. Max Memory : 783 MB Average Memory : 293.62 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 970 sec. Turnaround time : 1002 sec. The output (if any) is above this job summary.