/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 166 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 = 72950 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0007.7+4008_monthly_bin87 RA = 1.9275, Dec = 40.134 tmin = 462499201, tmax = 465091201 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='128786', job_status='RUN', time_executed='2021-10-08 08:38:08.158570', time_epoch_executed='1633707488.16' WHERE source_name='4FGL J0007.7+4008' and cadence='monthly' and bin_id='87' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/128786 Creating custom pfile directory: /scratch/kocevski/128786/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=462499201.0 && nMetStart<465091201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=462499201.0 && nMetStart<465091201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/128786/ft1_4FGL_J0007.7+4008_monthly_bin87.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=462499201.0 && nMetStart<465091201.0' /Data/Flight/Level1/LPA Retrieving 456 files... Done. Merging files... Merged file saved to: /scratch/kocevski/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/128786/ft1_4FGL_J0007.7+4008_monthly_bin87.fits outfile=/scratch/kocevski/128786/ft1_filteredMKT_4FGL_J0007.7+4008_monthly_bin87.fits ra=1.9275 dec=40.134 rad=12.0 tmin=462499201.0 tmax=465091201.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.46 user 30.68 sys 0.68 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.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/128786/ft1_filteredMKT_4FGL_J0007.7+4008_monthly_bin87.fits evtable="EVENTS" outfile="/scratch/kocevski/128786/ft1_filtered_4FGL_J0007.7+4008_monthly_bin87.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.67 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/128786/ft1_filtered_4FGL_J0007.7+4008_monthly_bin87.fits" evtable="EVENTS" scfile=/scratch/kocevski/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.fits sctable="SC_DATA" outfile=/scratch/kocevski/128786/ltcube_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.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/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.fits .....................! real 113.52 user 112.89 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/128786/ft1_filtered_4FGL_J0007.7+4008_monthly_bin87.fits evtable="EVENTS" scfile=/scratch/kocevski/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.fits sctable="SC_DATA" expcube=/scratch/kocevski/128786/ltcube_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.fits outfile=/scratch/kocevski/128786/expmap_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.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/128786/ltcube_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.fits .....................! real 192.77 user 186.89 sys 5.45 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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 160 point sources and 2 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 J0007.7+4008 @ 1.9275 40.134 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/128786/ft1_filtered_4FGL_J0007.7+4008_monthly_bin87.fits scfile=/scratch/kocevski/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.fits outfile=/scratch/kocevski/128786/cmap_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.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=1.9275 yref=40.134 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.84 user 0.60 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/128786/ft1_filtered_4FGL_J0007.7+4008_monthly_bin87.fits scfile=/scratch/kocevski/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.fits outfile=/scratch/kocevski/128786/cmap_HighResolution_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.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=1.9275 yref=40.134 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.82 user 0.61 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/128786/ft1_filtered_4FGL_J0007.7+4008_monthly_bin87.fits evtable="EVENTS" scfile=/scratch/kocevski/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128786/Model_4FGL_J0007.7+4008_monthly_bin87.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 CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /scratch/kocevski/128786/ft1_filtered_4FGL_J0007.7+4008_monthly_bin87.fits.....................! real 802.66 user 799.96 sys 1.30 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/128786/ft1_filtered_4FGL_J0007.7+4008_monthly_bin87.fits', '/scratch/kocevski/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.fits', expMap='/scratch/kocevski/128786/expmap_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.fits', expCube='/scratch/kocevski/128786/ltcube_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/128786/Model_4FGL_J0007.7+4008_monthly_bin87.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0007.7+4008' 4FGL J0007.7+4008 Spectrum: PowerLaw 30 Prefactor: 1.216e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 31 Index: 2.159e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 32 Scale: 1.870e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/128786/ft1_filtered_4FGL_J0007.7+4008_monthly_bin87.fits Spacecraft file(s): /scratch/kocevski/128786/ft2_4FGL_J0007.7+4008_monthly_bin87.fits Exposure map: /scratch/kocevski/128786/expmap_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.fits Exposure cube: /scratch/kocevski/128786/ltcube_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/128786/Model_4FGL_J0007.7+4008_monthly_bin87.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) = 86814.1905309 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 86813.1797747 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 3 'norm ' 9.3622 1.0000 .10000E-03 10000. 4 'Prefactor ' 5.5092 1.0000 .10000E-03 10000. 5 'norm ' 1.2998 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.1212 1.0000 .10000E-03 10000. 7 'Prefactor ' 1.1219 1.0000 .10000E-03 10000. 8 'Prefactor ' .10011E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 4.0327 1.0000 .10000E-03 10000. 10 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 11 'norm ' 2.2983 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.4491 1.0000 .10000E-03 10000. 13 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.3152 1.0000 .10000E-03 10000. 15 'Prefactor ' 4.6785 1.0000 .10000E-03 10000. 16 'norm ' 9.5938 1.0000 .10000E-03 10000. 17 'norm ' 1.6886 1.0000 .10000E-03 10000. 18 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 9.4496 1.0000 .10000E-03 10000. 21 'Prefactor ' .92798 1.0000 .10000E-03 10000. 22 'Prefactor ' .17379 1.0000 .10000E-03 10000. 23 'Normalizat' .89887 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.0004 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 86813.18 FROM MIGRAD STATUS=CONVERGED 539 CALLS 2363 TOTAL EDM= .67E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 2.0118 .94926E-06** at limit ** 2 Prefactor .10000E-03 1.9282 -.83536E-06** at limit ** 3 norm 9.3677 5.0512 -.15173E-06 -.45049E-03 4 Prefactor 5.5104 1.7650 -.10409E-06 -.31636E-03 5 norm 1.2998 .48404 -.14051E-07 -.68384E-04 6 Prefactor 1.1209 1.6165 .94434E-07 -.72504E-05 7 Prefactor 1.1229 .66566 .32586E-07 .29465E-03 8 Prefactor .10000E-03 3.1387 -.12982E-05** at limit ** 9 Prefactor 4.0317 6.1573 -.83942E-06 -.52655E-04 10 Prefactor .10000E-03 3.4237 -.61052E-07** at limit ** 11 norm 2.2983 .63263 -.96366E-09 .18971E-04 12 Prefactor 1.4491 1.1435 .53687E-08 .37366E-05 13 Prefactor .10000E-03 .52240 -.32373E-07** at limit ** 14 Prefactor 1.3152 .97077 -.25040E-07 -.35539E-03 15 Prefactor 4.6784 2.9871 -.14414E-07 -.19510E-03 16 norm 9.5939 2.8620 .31451E-07 .15634E-04 17 norm 1.6886 .64678 .12904E-08 -.77756E-04 18 Prefactor .10000E-03 .88245 .82062E-07** at limit ** 19 Prefactor .10000E-03 3.6535 .12554E-05** at limit ** 20 Prefactor 9.4463 8.4502 -.38458E-05 -.30229E-03 21 Prefactor .92853 3.8274 .15515E-05 -.92206E-03 22 Prefactor .16429 .58532 -.26052E-06 .13075E-03 23 Normalizat .89892 .60611E-01 .47377E-06 -.23930E-03 24 Prefactor 1.0003 .27310E-01 -.38627E-07 .45598E-05 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 norm = 9.36765 Prefactor = 5.51038 norm = 1.29984 Prefactor = 1.12094 Prefactor = 1.12293 Prefactor = 0.0001 Prefactor = 4.0317 Prefactor = 0.0001 norm = 2.29829 Prefactor = 1.44911 Prefactor = 0.0001 Prefactor = 1.31521 Prefactor = 4.67843 norm = 9.59391 norm = 1.68863 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 9.44627 Prefactor = 0.928526 Prefactor = 0.164294 Normalizat = 0.898923 Prefactor = 1.00034 ********** ** 18 **HESSE ********** FCN= 86813.18 FROM HESSE STATUS=OK 411 CALLS 2774 TOTAL EDM= .81E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 2.0167 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 1.9457 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 9.3677 4.9616 .13098E-03 -1.5096 4 Prefactor 5.5104 1.7569 .17118E-03 -1.5238 5 norm 1.2998 .48335 .12134E-03 -1.5480 6 Prefactor 1.1209 1.6295 .43100E-03 -1.5496 7 Prefactor 1.1229 .65214 .17756E-03 -1.5496 8 Prefactor .10000E-03 3.2479 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 4.0317 6.1579 .20081E-03 -1.5306 10 Prefactor .10000E-03 3.4388 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 2.2983 .63155 .11920E-03 -1.5405 12 Prefactor 1.4491 1.1385 .27047E-03 -1.5467 13 Prefactor .10000E-03 .52732 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.3152 3.3549 .19206E-02 -1.5479 15 Prefactor 4.6784 3.0908 .93027E-03 -1.5275 16 norm 9.5939 2.8623 .12938E-03 -1.5088 17 norm 1.6886 .64296 .14047E-03 -1.5448 18 Prefactor .10000E-03 .88504 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 3.6643 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 9.4463 8.4829 .13037E-03 -1.5093 21 Prefactor .92853 30.200 .93839E-02 -1.5515 22 Prefactor .16429 3.5597 .35875E-02 -1.5627 23 Normalizat .89892 .69671E-01 .35125E-03 -.96498 24 Prefactor 1.0003 .31761E-01 .15875E-03 -.92718 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.10543e-09 Minuit parameter uncertainties: 1 6.27507e-06 2 8.05549e-06 3 4.96179 4 1.75694 5 0.483347 6 1.62957 7 0.652148 8 1.22809e-05 9 6.1589 10 2.50108e-06 11 0.631547 12 1.13854 13 7.09464e-07 14 3.3554 15 3.09086 16 2.86234 17 0.642965 18 9.31637e-07 19 1.09703e-05 20 8.48396 21 10.5961 22 1.52912 23 0.0696784 24 0.0317615 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 86813.1797508 Extracting fit parameters... 4FGL J0007.7+4008 Spectrum: PowerLaw 30 Prefactor: 5.510e+00 1.757e+00 1.000e-04 1.000e+04 ( 1.000e-13) 31 Index: 2.159e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 32 Scale: 1.870e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 526 Prefactor: 1.000e+00 3.176e-02 0.000e+00 1.000e+01 ( 1.000e+00) 527 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 528 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 521 Normalization: 8.989e-01 6.968e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 25.18 Ra Dec: 1.927 40.134 Photon Index (Fixed Index): 2.16 +/- 0.00 Photon Flux (Fixed Index): 2.65e-08 +/- 8.44e-09 Energy Flux (Fixed Index): 1.29e-05 +/- 4.10e-06 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) = 86813.1303062 delta logL = 0.0494445942168 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 86813.0926437 delta logL = 0.0871071015426 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.9959 1.0000 .10000E-03 10000. 2 'Index ' 2.0616 1.0000 .0000 10.000 3 'Normalizat' .90208 1.0000 .10000E-01 10.000 4 'Prefactor ' .99964 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5290E+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= 86813.09 FROM MIGRAD STATUS=FAILED 102 CALLS 295 TOTAL EDM= .57E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.9961 2.2895 .81990E-03 .83861E-03 2 Index 2.0613 .24607 .10215E-01 .39840E-02 3 Normalizat .90210 .65854E-01 .35070E-03 .31121E-05 4 Prefactor .99964 .31220E-01 .15881E-03 -.32071E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 86813.09 FROM SIMPLEX STATUS=UNCHANGED 76 CALLS 371 TOTAL EDM= .12E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.9961 2.2895 .29455E-04 -1.5218 2 Index 2.0613 .24607 .18376E-03 -.62825 3 Normalizat .90210 .65854E-01 .81406E-04 -.96387 4 Prefactor .99964 .31220E-01 .28831E-04 -.92741 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 86813.09 FROM MIGRAD STATUS=CONVERGED 29 CALLS 400 TOTAL EDM= .87E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.9961 2.1820 .16398E-03 -.45480E-04 2 Index 2.0613 .23450 .20430E-02 .15718E-03 3 Normalizat .90210 .65841E-01 .14028E-04 .51868E-05 4 Prefactor .99964 .31233E-01 .63524E-05 -.34362E-04 ERR DEF= .500 Final values: Prefactor = 5.99612 Index = 2.06134 Normalizat = 0.902096 Prefactor = 0.999642 ********** ** 18 **HESSE ********** FCN= 86813.09 FROM HESSE STATUS=OK 25 CALLS 425 TOTAL EDM= .64E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.9961 2.1638 .65592E-05 -1.5218 2 Index 2.0613 .23251 .40861E-03 -.62825 3 Normalizat .90210 .65837E-01 .28056E-05 -.96387 4 Prefactor .99964 .31234E-01 .12705E-05 -.92741 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.42557e-13 Minuit parameter uncertainties: 1 2.16383 2 0.232634 3 0.0658431 4 0.031235 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/128786': 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) = 86813.092643 delta logL = 0.0871077669726 Extracting fit parameters... 4FGL J0007.7+4008 Spectrum: PowerLaw 30 Prefactor: 5.996e+00 2.164e+00 1.000e-04 1.000e+04 ( 1.000e-13) 31 Index: 2.061e+00 2.326e-01 0.000e+00 1.000e+01 (-1.000e+00) 32 Scale: 1.870e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 526 Prefactor: 9.996e-01 3.124e-02 0.000e+00 1.000e+01 ( 1.000e+00) 527 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 528 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 521 Normalization: 9.021e-01 6.584e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 25.35 Ra Dec: 1.927 40.134 Photon Index (Free Index): 2.06 +/- 0.23 Photon Flux (Free Index): 2.36e-08 +/- 1.01e-08 Energy Flux (Free Index): 1.41e-05 +/- 5.60e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/128786/cmap_HighResolution_462499201_465091201_4FGL_J0007.7+4008_monthly_bin87.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/128786 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.65e-08', energy_flux2='1.41e-05', photon_flux_error='8.44e-09', dlogl='8.71e-02', energy_flux='1.29e-05', photon_flux2='2.36e-08', job_status='DONE', time_completed='2021-10-08 09:56:32.412907', photon_index_error2='0.23', photon_index2='2.06', ts='25.18', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='5.60e-06', EG='0.90', time_epoch_completed='1633712192.41', return_code='0', job_id='128786', GAL2='1.00', EG2='0.90', return_code2='0', energy_flux_error='4.10e-06', photon_flux_error2='1.01e-08', ts2='25.35', photon_index='2.16' WHERE bin_id='87' AND source_name='4FGL J0007.7+4008' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Oct 8 09:56:32 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 128786: <4FGL_J0007.7+4008_monthly_bin87> in cluster Done Job <4FGL_J0007.7+4008_monthly_bin87> was submitted from host by user in cluster at Fri Oct 8 08:35:12 2021 Job was executed on host(s) , in queue , as user in cluster at Fri Oct 8 08:35:14 2021 was used as the home directory. was used as the working directory. Started at Fri Oct 8 08:35:14 2021 Terminated at Fri Oct 8 09:56:33 2021 Results reported at Fri Oct 8 09:56:33 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0007.7+4008_monthly_bin87 1.9275 40.134 462499201 465091201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0007.7+4008 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 4620.29 sec. Max Memory : 848 MB Average Memory : 407.77 MB Total Requested Memory : - Delta Memory : - Max Swap : 2950 MB Max Processes : 6 Max Threads : 21 Run time : 4879 sec. Turnaround time : 4881 sec. The output (if any) is above this job summary.