/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 228 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 = 73003 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0240.5+6113_monthly_bin107 RA = 40.1426, Dec = 61.2287 tmin = 514339201, tmax = 516931201 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='50363', job_status='RUN', time_executed='2021-10-10 19:19:13.430815', time_epoch_executed='1633918753.43' WHERE source_name='4FGL J0240.5+6113' and cadence='monthly' and bin_id='107' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/50363 Creating custom pfile directory: /scratch/kocevski/50363/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=514339201.0 && nMetStart<516931201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=514339201.0 && nMetStart<516931201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/50363/ft1_4FGL_J0240.5+6113_monthly_bin107.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=514339201.0 && nMetStart<516931201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Merged file saved to: /scratch/kocevski/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/50363/ft1_4FGL_J0240.5+6113_monthly_bin107.fits outfile=/scratch/kocevski/50363/ft1_filteredMKT_4FGL_J0240.5+6113_monthly_bin107.fits ra=40.1426 dec=61.2287 rad=12.0 tmin=514339201.0 tmax=516931201.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 31.90 user 30.91 sys 0.81 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.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/50363/ft1_filteredMKT_4FGL_J0240.5+6113_monthly_bin107.fits evtable="EVENTS" outfile="/scratch/kocevski/50363/ft1_filtered_4FGL_J0240.5+6113_monthly_bin107.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.88 user 0.66 sys 0.20 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/50363/ft1_filtered_4FGL_J0240.5+6113_monthly_bin107.fits" evtable="EVENTS" scfile=/scratch/kocevski/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.fits sctable="SC_DATA" outfile=/scratch/kocevski/50363/ltcube_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.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/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.fits .....................! real 107.82 user 107.06 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/50363/ft1_filtered_4FGL_J0240.5+6113_monthly_bin107.fits evtable="EVENTS" scfile=/scratch/kocevski/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.fits sctable="SC_DATA" expcube=/scratch/kocevski/50363/ltcube_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.fits outfile=/scratch/kocevski/50363/expmap_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.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/50363/ltcube_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.fits .....................! real 193.08 user 187.27 sys 4.71 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source HB 3 in ROI with RadialDisk spatial model. Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template. Extended source G150.3+4.5 in ROI with RadialDisk spatial model. Added 179 point sources and 3 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0240.5+6113 @ 40.1426 61.2287 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/50363/ft1_filtered_4FGL_J0240.5+6113_monthly_bin107.fits scfile=/scratch/kocevski/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.fits outfile=/scratch/kocevski/50363/cmap_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.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=40.1426 yref=61.2287 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.83 user 0.67 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/50363/ft1_filtered_4FGL_J0240.5+6113_monthly_bin107.fits scfile=/scratch/kocevski/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.fits outfile=/scratch/kocevski/50363/cmap_HighResolution_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.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=40.1426 yref=61.2287 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.85 user 0.68 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/50363/ft1_filtered_4FGL_J0240.5+6113_monthly_bin107.fits evtable="EVENTS" scfile=/scratch/kocevski/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/50363/Model_4FGL_J0240.5+6113_monthly_bin107.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 G150.3+4.5 adding source GAL_V02 adding source HB 3 adding source W 3 Working on... /scratch/kocevski/50363/ft1_filtered_4FGL_J0240.5+6113_monthly_bin107.fits.....................! real 5425.27 user 5404.67 sys 3.67 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/50363/ft1_filtered_4FGL_J0240.5+6113_monthly_bin107.fits', '/scratch/kocevski/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.fits', expMap='/scratch/kocevski/50363/expmap_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.fits', expCube='/scratch/kocevski/50363/ltcube_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/50363/Model_4FGL_J0240.5+6113_monthly_bin107.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0240.5+6113' 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 4.756e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/50363/ft1_filtered_4FGL_J0240.5+6113_monthly_bin107.fits Spacecraft file(s): /scratch/kocevski/50363/ft2_4FGL_J0240.5+6113_monthly_bin107.fits Exposure map: /scratch/kocevski/50363/expmap_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.fits Exposure cube: /scratch/kocevski/50363/ltcube_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/50363/Model_4FGL_J0240.5+6113_monthly_bin107.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) = 384555.847827 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 384555.740517 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 5.0464 1.0000 .10000E-03 10000. 2 'Prefactor ' .12405E-03 1.0000 .10000E-03 10000. 3 'norm ' 1.8895 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.7174 1.0000 .10000E-03 10000. 5 'Prefactor ' 2.5459 1.0000 .10000E-03 10000. 6 'Prefactor ' .24631E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.1427 1.0000 .10000E-03 10000. 8 'norm ' .10277E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .11278E-03 1.0000 .10000E-03 10000. 10 'norm ' 6.5788 1.0000 .10000E-03 10000. 11 'norm ' 3.1224 1.0000 .10000E-03 10000. 12 'norm ' 4.3985 1.0000 .10000E-03 10000. 13 'Prefactor ' .11667 1.0000 .10000E-03 10000. 14 'norm ' 2.2325 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.0054 1.0000 .10000E-03 10000. 16 'Prefactor ' .99953E-01 1.0000 .10000E-03 10000. 17 'Prefactor ' 1.3020 1.0000 .10000E-03 10000. 18 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 20 'Normalizat' 1.4294 1.0000 .10000E-01 10.000 21 'Prefactor ' .97837 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 384555.7 FROM MIGRAD STATUS=CONVERGED 501 CALLS 2091 TOTAL EDM= .52E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 5.0469 2.2264 .0000 .27852E-02 2 Prefactor .10000E-03 .54338 .0000 ** at limit ** 3 norm 1.8895 .84322 .0000 .88034E-01 4 Prefactor 1.7176 .81380 .0000 .17186E-01 5 Prefactor 2.5460 3.3910 .0000 .21021E-02 6 Prefactor .10000E-03 1.6065 .0000 ** at limit ** 7 Prefactor 2.1427 .29044 .0000 .29331E-01 8 norm .10000E-03 .43672 .0000 ** at limit ** 9 Prefactor .10000E-03 59.168 .0000 ** at limit ** 10 norm 6.5788 .20871 .0000 .60949E-02 11 norm 3.1227 3.4875 .0000 .42513E-01 12 norm 4.3992 2.0458 .0000 .13095E-02 13 Prefactor .11626 .20081 .0000 .26475E-01 14 norm 2.2330 1.1403 .0000 .39823 15 Prefactor 1.0026 2.0709 .0000 .83066E-02 16 Prefactor .10339 .22373 .0000 .19725E-01 17 Prefactor 1.3025 .76856 .0000 .37394E-01 18 Prefactor .10000E-03 2.7165 .0000 ** at limit ** 19 Prefactor .10000E-03 3.8314 .0000 ** at limit ** 20 Normalizat 1.4293 .10047 .0000 .13616E-02 21 Prefactor .97837 .95164E-02 .0000 -.58728E-03 ERR DEF= .500 Final values: norm = 5.04687 Prefactor = 0.0001 norm = 1.88951 Prefactor = 1.71759 Prefactor = 2.54597 Prefactor = 0.0001 Prefactor = 2.14274 norm = 0.0001 Prefactor = 0.0001 norm = 6.57884 norm = 3.12272 norm = 4.39919 Prefactor = 0.116258 norm = 2.233 Prefactor = 1.00263 Prefactor = 0.103386 Prefactor = 1.30252 Prefactor = 0.0001 Prefactor = 0.0001 Normalizat = 1.42931 Prefactor = 0.978369 ********** ** 18 **HESSE ********** FCN= 384555.7 FROM HESSE STATUS=OK 367 CALLS 2458 TOTAL EDM= .81E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 5.0469 2.2167 .17900E-03 -1.5259 2 Prefactor .10000E-03 3.8964 .88148E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 1.8895 .84332 .15136E-02 -1.5433 4 Prefactor 1.7176 .80891 .32062E-03 -1.5446 5 Prefactor 2.5460 3.3802 .25592E-03 -1.5389 6 Prefactor .10000E-03 1.5495 .27103 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.1427 .28880 .11777E-03 -1.5415 8 norm .10000E-03 .44114 .15930 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 60.693 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 6.5788 .20847 .48005E-04 -1.5195 11 norm 3.1227 3.4662 .11472E-02 -1.5355 12 norm 4.3992 2.0441 .19203E-03 -1.5288 13 Prefactor .11626 .79579 .34152E-02 -1.5640 14 norm 2.2330 1.1348 .13757E-02 -1.5409 15 Prefactor 1.0026 2.1109 .18549 -1.5508 16 Prefactor .10339 .24785 .77065E-01 -1.5644 17 Prefactor 1.3025 .75411 .38712E-03 -1.5480 18 Prefactor .10000E-03 2.8072 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 3.8630 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Normalizat 1.4293 .99272E-01 .10257E-02 -.79785 21 Prefactor .97837 .96831E-02 .12132E-03 -.93454 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.05989e-08 Minuit parameter uncertainties: 1 2.21673 2 1.8542e-05 3 0.84333 4 0.808913 5 3.38043 6 2.16157e-06 7 0.288798 8 1.92456e-06 9 1.67958e-05 10 0.208474 11 3.46644 12 2.04413 13 0.608083 14 1.13479 15 2.11108 16 0.247856 17 0.754116 18 5.76484e-07 19 2.03368e-05 20 0.0992853 21 0.00968312 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 384555.740501 Extracting fit parameters... 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 6.579e+00 2.085e-01 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 618 Prefactor: 9.784e-01 9.683e-03 0.000e+00 1.000e+01 ( 1.000e+00) 619 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 620 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 613 Normalization: 1.429e+00 9.929e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2352.20 Ra Dec: 40.143 61.229 Photon Index (Fixed Index): 2.40 +/- 0.00 Photon Flux (Fixed Index): 1.08e-06 +/- 3.42e-08 Energy Flux (Fixed Index): 4.06e-04 +/- 1.29e-05 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) = 384544.411799 delta logL = 11.3287017617 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 384544.411059 delta logL = 11.3294419671 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 5.5143 1.0000 .10000E-03 10000. 2 'alpha ' 2.5632 1.0000 .0000 5.0000 3 'Normalizat' 1.3558 1.0000 .10000E-01 10.000 4 'Prefactor ' .98083 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6290E+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= 384544.4 FROM MIGRAD STATUS=FAILED 99 CALLS 280 TOTAL EDM= .92E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 5.5143 .29833 .42719E-04 .45305E-02 2 alpha 2.5632 .36698E-01 .47258E-02 .21018E-01 3 Normalizat 1.3558 .94494E-01 .10465E-02 -.62576E-05 4 Prefactor .98083 .95314E-02 .12111E-03 -.18024E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 384544.4 FROM SIMPLEX STATUS=UNCHANGED 72 CALLS 352 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 5.5143 .29833 .39149E-05 -1.5238 2 alpha 2.5632 .36698E-01 .62828E-04 .25288E-01 3 Normalizat 1.3558 .94494E-01 .93551E-04 -.81915 4 Prefactor .98083 .95314E-02 .93626E-05 -.93371 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 384544.4 FROM MIGRAD STATUS=CONVERGED 38 CALLS 390 TOTAL EDM= .12E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 5.5143 .28693 .17088E-05 -.24032E-03 2 alpha 2.5632 .35283E-01 .94515E-03 .59276E-04 3 Normalizat 1.3558 .94385E-01 .41859E-04 -.34764E-05 4 Prefactor .98083 .95276E-02 .48442E-05 .0000 ERR DEF= .500 Final values: norm = 5.51429 alpha = 2.56321 Normalizat = 1.35584 Prefactor = 0.980835 ********** ** 18 **HESSE ********** FCN= 384544.4 FROM HESSE STATUS=OK 23 CALLS 413 TOTAL EDM= .72E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 5.5143 .28447 .36331E-06 -1.5238 2 alpha 2.5632 .34982E-01 .37806E-04 .25288E-01 3 Normalizat 1.3558 .94395E-01 .83718E-05 -.81915 4 Prefactor .98083 .95286E-02 .48442E-05 -.93371 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.2015e-13 Minuit parameter uncertainties: 1 0.284466 2 0.0349834 3 0.0944075 4 0.00952864 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/50363': 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) = 384544.411059 delta logL = 11.3294419707 Extracting fit parameters... 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 5.514e+00 2.845e-01 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.563e+00 3.498e-02 0.000e+00 5.000e+00 ( 1.000e+00) 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 618 Prefactor: 9.808e-01 9.529e-03 0.000e+00 1.000e+01 ( 1.000e+00) 619 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 620 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 613 Normalization: 1.356e+00 9.441e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2372.81 Ra Dec: 40.143 61.229 Photon Index (Free Index): 2.56 +/- 0.03 Photon Flux (Free Index): 1.18e-06 +/- 4.17e-08 Energy Flux (Free Index): 3.79e-04 +/- 1.28e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -4.000e-01 [aplpy.core] INFO: Auto-setting vmax to 4.440e+00 [aplpy.core] Saving /scratch/kocevski/50363/cmap_HighResolution_514339201_516931201_4FGL_J0240.5+6113_monthly_bin107.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/50363 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-06', energy_flux2='3.79e-04', photon_flux_error='3.42e-08', dlogl='1.13e+01', energy_flux='4.06e-04', photon_flux2='1.18e-06', job_status='DONE', time_completed='2021-10-11 01:42:35.816175', photon_index_error2='0.03', photon_index2='2.56', ts='2352.20', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='1.43', time_epoch_completed='1633941755.82', return_code='0', job_id='50363', GAL2='0.98', EG2='1.36', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='4.17e-08', ts2='2372.81', photon_index='2.40' WHERE bin_id='107' AND source_name='4FGL J0240.5+6113' AND cadence='monthly'; Database successfully updated. Analysis Complete. Mon Oct 11 01:42:35 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 50363: <4FGL_J0240.5+6113_monthly_bin107> in cluster Done Job <4FGL_J0240.5+6113_monthly_bin107> was submitted from host by user in cluster at Sun Oct 10 19:15:14 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Oct 10 19:15:16 2021 was used as the home directory. was used as the working directory. Started at Sun Oct 10 19:15:16 2021 Terminated at Mon Oct 11 01:42:38 2021 Results reported at Mon Oct 11 01:42:38 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0240.5+6113_monthly_bin107 40.1426 61.2287 514339201 516931201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0240.5+6113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 22877.00 sec. Max Memory : 957 MB Average Memory : 849.63 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 23241 sec. Turnaround time : 23244 sec. The output (if any) is above this job summary.