/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 72 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 = 73393 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0659.9+1709_monthly_bin46 RA = 104.985, Dec = 17.1522 tmin = 356227201, tmax = 358819201 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='521299', job_status='RUN', time_executed='2021-10-17 11:05:50.800461', time_epoch_executed='1634493950.8' WHERE source_name='4FGL J0659.9+1709' and cadence='monthly' and bin_id='46' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/521299 Creating custom pfile directory: /scratch/kocevski/521299/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=356227201.0 && nMetStart<358819201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=356227201.0 && nMetStart<358819201.0' /Data/Flight/Level1/LPA Retrieving 458 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/521299/ft1_4FGL_J0659.9+1709_monthly_bin46.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=356227201.0 && nMetStart<358819201.0' /Data/Flight/Level1/LPA Retrieving 462 files... Done. Merging files... fmerge4.1 : Error, missing column list names, file /scratch/kocevski/521299/ft2_filtered_0426.fits fmerge4.1 : Fatal error! FCCMPL: not found in table: RA_SUN FCCMPL: not found in table: DEC_SUN Merged file saved to: /scratch/kocevski/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/521299/ft1_4FGL_J0659.9+1709_monthly_bin46.fits outfile=/scratch/kocevski/521299/ft1_filteredMKT_4FGL_J0659.9+1709_monthly_bin46.fits ra=104.985 dec=17.1522 rad=12.0 tmin=356227201.0 tmax=358819201.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 33.95 user 33.00 sys 0.83 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.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/521299/ft1_filteredMKT_4FGL_J0659.9+1709_monthly_bin46.fits evtable="EVENTS" outfile="/scratch/kocevski/521299/ft1_filtered_4FGL_J0659.9+1709_monthly_bin46.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.85 user 0.66 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/521299/ft1_filtered_4FGL_J0659.9+1709_monthly_bin46.fits" evtable="EVENTS" scfile=/scratch/kocevski/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.fits sctable="SC_DATA" outfile=/scratch/kocevski/521299/ltcube_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.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/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.fits .....................! real 117.12 user 116.38 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/521299/ft1_filtered_4FGL_J0659.9+1709_monthly_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.fits sctable="SC_DATA" expcube=/scratch/kocevski/521299/ltcube_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.fits outfile=/scratch/kocevski/521299/expmap_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.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/521299/ltcube_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.fits .....................! real 193.97 user 188.53 sys 4.98 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 IC 443 in ROI with RadialGaussian spatial model. Extended source Monoceros in ROI with RadialGaussian spatial model. Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template. Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template. Added 169 point sources and 4 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 J0659.9+1709 @ 104.985 17.1522 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/521299/ft1_filtered_4FGL_J0659.9+1709_monthly_bin46.fits scfile=/scratch/kocevski/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.fits outfile=/scratch/kocevski/521299/cmap_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.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=104.985 yref=17.1522 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 gtbin: WARNING: Spacecraft data ceases before end of last GTI. gtbin: WARNING: EXPOSURE keyword calculation may not be accurate. real 0.81 user 0.63 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/521299/ft1_filtered_4FGL_J0659.9+1709_monthly_bin46.fits scfile=/scratch/kocevski/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.fits outfile=/scratch/kocevski/521299/cmap_HighResolution_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.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=104.985 yref=17.1522 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 gtbin: WARNING: Spacecraft data ceases before end of last GTI. gtbin: WARNING: EXPOSURE keyword calculation may not be accurate. real 0.82 user 0.64 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/521299/ft1_filtered_4FGL_J0659.9+1709_monthly_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/521299/Model_4FGL_J0659.9+1709_monthly_bin46.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 adding source IC 443 adding source Monoceros adding source Rosette adding source S 147 Working on... /scratch/kocevski/521299/ft1_filtered_4FGL_J0659.9+1709_monthly_bin46.fits.....................! real 3951.57 user 3941.40 sys 1.40 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/521299/ft1_filtered_4FGL_J0659.9+1709_monthly_bin46.fits', '/scratch/kocevski/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.fits', expMap='/scratch/kocevski/521299/expmap_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.fits', expCube='/scratch/kocevski/521299/ltcube_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/521299/Model_4FGL_J0659.9+1709_monthly_bin46.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0659.9+1709' 4FGL J0659.9+1709 Spectrum: PowerLaw 292 Prefactor: 5.571e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 293 Index: 2.550e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 294 Scale: 8.887e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/521299/ft1_filtered_4FGL_J0659.9+1709_monthly_bin46.fits Spacecraft file(s): /scratch/kocevski/521299/ft2_4FGL_J0659.9+1709_monthly_bin46.fits Exposure map: /scratch/kocevski/521299/expmap_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.fits Exposure cube: /scratch/kocevski/521299/ltcube_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/521299/Model_4FGL_J0659.9+1709_monthly_bin46.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) = 182468.362243 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 182468.308774 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22947E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 8.7786 1.0000 .10000E-03 10000. 3 'Prefactor ' .11956E-03 1.0000 .10000E-03 10000. 4 'norm ' .10023E-03 1.0000 .10000E-03 10000. 5 'norm ' 3.7036 1.0000 .10000E-03 10000. 6 'Prefactor ' 5.8079 1.0000 .10000E-03 10000. 7 'norm ' 8.7722 1.0000 .10000E-03 10000. 8 'Prefactor ' 5.8419 1.0000 .10000E-03 10000. 9 'Prefactor ' .55427E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .88756E-03 1.0000 .10000E-03 10000. 11 'norm ' 3.9597 1.0000 .10000E-03 10000. 12 'norm ' .77806 1.0000 .10000E-03 10000. 13 'norm ' 3.5057 1.0000 .10000E-03 10000. 14 'Prefactor ' 7.0918 1.0000 .10000E-03 10000. 15 'Prefactor ' .14639E-03 1.0000 .10000E-03 10000. 16 'Normalizat' 1.2246 1.0000 .10000E-01 10.000 17 'Prefactor ' .98887 1.0000 .0000 10.000 18 'norm ' 2.6931 1.0000 .10000E-03 10000. ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5870E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 182468.3 FROM MIGRAD STATUS=CONVERGED 382 CALLS 1570 TOTAL EDM= .54E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 17.337 .18249E-05** at limit ** 2 Prefactor 8.8092 7.6500 .27082E-05 .77094E-04 3 Prefactor .10000E-03 3.0967 .85162E-07** at limit ** 4 norm .10000E-03 1.5544 -.35896E-07** at limit ** 5 norm 3.7240 2.7975 -.22052E-06 -.37479E-03 6 Prefactor 5.8055 4.0330 -.30536E-06 -.36852E-04 7 norm 8.7691 2.8213 -.87375E-06 -.21323E-03 8 Prefactor 5.8459 10.119 -.36097E-06 -.14671E-04 9 Prefactor .10000E-03 .45314 -.75564E-07** at limit ** 10 Prefactor .10021E-03 2.8937 -.63017E-06** at limit ** 11 norm 3.9771 1.3130 .19732E-06 -.50707E-02 12 norm .77799 .38634 .64912E-08 -.43105E-02 13 norm 3.5076 .80555 .39532E-06 -.17866E-02 14 Prefactor 7.0743 4.7260 -.24138E-05 -.72236E-04 15 Prefactor .10000E-03 5.0493 .62298E-06** at limit ** 16 Normalizat 1.2246 .69791E-01 .72166E-06 -.32966E-04 17 Prefactor .98885 .17732E-01 -.76463E-07 .99459E-03 18 norm 2.6932 .20594 -.65295E-08 -.14853E-02 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 8.80924 Prefactor = 0.0001 norm = 0.0001 norm = 3.72396 Prefactor = 5.80545 norm = 8.76912 Prefactor = 5.84586 Prefactor = 0.0001 Prefactor = 0.000100211 norm = 3.97705 norm = 0.777986 norm = 3.50765 Prefactor = 7.07434 Prefactor = 0.0001 Normalizat = 1.22461 Prefactor = 0.988848 norm = 2.69316 ********** ** 18 **HESSE ********** FCN= 182468.3 FROM HESSE STATUS=OK 264 CALLS 1834 TOTAL EDM= .63E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 17.350 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 8.8092 7.6766 .13528E-03 -1.5114 3 Prefactor .10000E-03 3.1835 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .10000E-03 1.5905 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 3.7240 2.8132 .20985E-03 -1.5322 6 Prefactor 5.8055 4.0342 .16665E-03 -1.5226 7 norm 8.7691 2.8314 .13533E-03 -1.5116 8 Prefactor 5.8459 10.124 .16616E-03 -1.5224 9 Prefactor .10000E-03 3.3258 .55220E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10021E-03 2.7398 .26365 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 3.9771 2.9673 .10135E-02 -1.5309 12 norm .77799 .38632 .18211E-03 -1.5532 13 norm 3.5076 .81427 .13047E-03 -1.5333 14 Prefactor 7.0743 4.7767 .15063E-03 -1.5176 15 Prefactor .10000E-03 5.0653 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Normalizat 1.2246 .73122E-01 .62974E-03 -.85846 17 Prefactor .98885 .18723E-01 .18345E-03 -.93102 18 norm 2.6932 .20608 .51592E-04 -1.5380 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.26442e-09 Minuit parameter uncertainties: 1 1.7054e-05 2 7.67748 3 5.84716e-06 4 1.50062e-06 5 2.81329 6 4.03435 7 2.83143 8 10.1268 9 6.49404e-06 10 0.00152048 11 2.96743 12 0.386322 13 0.814274 14 4.77698 15 2.15225e-05 16 0.0731281 17 0.0187232 18 0.206082 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 182468.308631 Extracting fit parameters... 4FGL J0659.9+1709 Spectrum: PowerLaw 292 Prefactor: 5.846e+00 1.013e+01 1.000e-04 1.000e+04 ( 1.000e-13) 293 Index: 2.550e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 294 Scale: 8.887e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 568 Prefactor: 9.888e-01 1.872e-02 0.000e+00 1.000e+01 ( 1.000e+00) 569 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 570 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 567 Normalization: 1.225e+00 7.313e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.37 Ra Dec: 104.985 17.152 Photon Flux Upper Limit: 4.32e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.37e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/521299/likelihoodResults_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 182467.905694 delta logL = 0.402936501603 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 182467.836287 delta logL = 0.472343817208 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.1092 1.0000 .10000E-03 10000. 2 'Index ' 3.5493 1.0000 .0000 10.000 3 'Normalizat' 1.2100 1.0000 .10000E-01 10.000 4 'Prefactor ' .99027 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5870E+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= 182467.8 FROM MIGRAD STATUS=FAILED 109 CALLS 293 TOTAL EDM= .33E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.1119 123.16 .11498E-02 .27615E-02 2 Index 3.5495 6.7322 .54670E-02 .25553E-04 3 Normalizat 1.2101 .64265E-01 .63280E-03 .14315E-03 4 Prefactor .99028 .17005E-01 .18331E-03 .70255E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 182467.8 FROM SIMPLEX STATUS=UNCHANGED 91 CALLS 384 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.1119 123.16 .10986E-03 .27615E-02 2 Index 3.5495 6.7322 .80193E-03 .25553E-04 3 Normalizat 1.2101 .64265E-01 .31796E-04 .14315E-03 4 Prefactor .99028 .17005E-01 .15428E-04 .70255E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 182467.8 FROM MIGRAD STATUS=CONVERGED 36 CALLS 420 TOTAL EDM= .26E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.1119 7.4121 .22996E-03 -.50624E-04 2 Index 3.5495 1.3037 .21868E-03 .66544E-05 3 Normalizat 1.2101 .69208E-01 .25312E-04 .14085E-03 4 Prefactor .99028 .17876E-01 .73324E-05 .70454E-03 ERR DEF= .500 Final values: Prefactor = 3.11191 Index = 3.54948 Normalizat = 1.21005 Prefactor = 0.990282 ********** ** 18 **HESSE ********** FCN= 182467.8 FROM HESSE STATUS=OK 23 CALLS 443 TOTAL EDM= .27E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.1119 6.6871 .91984E-05 -1.5355 2 Index 3.5495 1.1792 .87472E-05 -.29434 3 Normalizat 1.2101 .69275E-01 .50624E-05 -.86293 4 Prefactor .99028 .17889E-01 .14665E-05 -.93054 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.73148e-11 Minuit parameter uncertainties: 1 6.6887 2 1.19151 3 0.0692803 4 0.0178895 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/521299': 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) = 182467.836286 delta logL = 0.472345177783 Extracting fit parameters... 4FGL J0659.9+1709 Spectrum: PowerLaw 292 Prefactor: 3.112e+00 6.689e+00 1.000e-04 1.000e+04 ( 1.000e-13) 293 Index: 3.549e+00 1.192e+00 0.000e+00 1.000e+01 (-1.000e+00) 294 Scale: 8.887e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 568 Prefactor: 9.903e-01 1.789e-02 0.000e+00 1.000e+01 ( 1.000e+00) 569 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 570 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 567 Normalization: 1.210e+00 6.928e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.44 Ra Dec: 104.985 17.152 Photon Index (Free Index): 3.55 +/- 1.19 Photon Flux (Free Index): 2.85e-08 +/- 2.64e-08 Energy Flux (Free Index): 4.69e-06 +/- 4.28e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to -3.000e-01 [aplpy.core] INFO: Auto-setting vmax to 3.330e+00 [aplpy.core] Saving /scratch/kocevski/521299/cmap_HighResolution_356227201_358819201_4FGL_J0659.9+1709_monthly_bin46.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/521299 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', comment='SUCCESS', energy_flux2='4.69e-06', dlogl='4.72e-01', photon_flux2='2.85e-08', job_status='DONE', time_completed='2021-10-17 14:37:59.120565', photon_index_error2='1.19', photon_index2='3.55', ts='0.37', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='4.32e-08', energy_flux_error2='4.28e-06', EG='1.22', time_epoch_completed='1634506679.12', return_code='0', job_id='521299', GAL2='0.99', EG2='1.21', return_code2='0', photon_flux_error2='2.64e-08', ts2='1.44', photon_index='2.55' WHERE bin_id='46' AND source_name='4FGL J0659.9+1709' AND cadence='monthly'; Database successfully updated. Analysis Complete. Sun Oct 17 14:37:59 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 521299: <4FGL_J0659.9+1709_monthly_bin46> in cluster Done Job <4FGL_J0659.9+1709_monthly_bin46> was submitted from host by user in cluster at Sun Oct 17 10:55:14 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Oct 17 11:04:29 2021 was used as the home directory. was used as the working directory. Started at Sun Oct 17 11:04:29 2021 Terminated at Sun Oct 17 14:38:01 2021 Results reported at Sun Oct 17 14:38:01 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0659.9+1709_monthly_bin46 104.985 17.1522 356227201 358819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0659.9+1709 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 11931.00 sec. Max Memory : 659 MB Average Memory : 558.54 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 12811 sec. Turnaround time : 13367 sec. The output (if any) is above this job summary.