/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 9 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 = 7451 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0202.7+4204_daily_bin758 RA = 30.6862, Dec = 42.0714 tmin = 435801601, tmax = 436060801 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='35283', job_status='RUN', time_executed='2021-08-15 02:49:44.233910', time_epoch_executed='1629020984.23' WHERE source_name='4FGL J0202.7+4204' and cadence='daily' and bin_id='758' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/35283 Creating custom pfile directory: /scratch/kocevski/35283/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=435801601.0 && nMetStart<436060801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=435801601.0 && nMetStart<436060801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/35283/ft1_4FGL_J0202.7+4204_daily_bin758.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=435801601.0 && nMetStart<436060801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/35283/ft2_4FGL_J0202.7+4204_daily_bin758.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/35283/ft1_4FGL_J0202.7+4204_daily_bin758.fits outfile=/scratch/kocevski/35283/ft1_filteredMKT_4FGL_J0202.7+4204_daily_bin758.fits ra=30.6862 dec=42.0714 rad=12.0 tmin=435801601.0 tmax=436060801.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 7.42 user 5.45 sys 1.51 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/35283/ft2_4FGL_J0202.7+4204_daily_bin758.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/35283/ft2_4FGL_J0202.7+4204_daily_bin758.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/35283/ft1_filteredMKT_4FGL_J0202.7+4204_daily_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/35283/ft1_filtered_4FGL_J0202.7+4204_daily_bin758.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 1.70 user 0.33 sys 1.32 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/35283/ft1_filtered_4FGL_J0202.7+4204_daily_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/35283/ft2_4FGL_J0202.7+4204_daily_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/35283/ltcube_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.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/35283/ft2_4FGL_J0202.7+4204_daily_bin758.fits .....................! real 15.92 user 13.73 sys 1.65 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/35283/ft1_filtered_4FGL_J0202.7+4204_daily_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/35283/ft2_4FGL_J0202.7+4204_daily_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/35283/ltcube_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.fits outfile=/scratch/kocevski/35283/expmap_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.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/35283/ltcube_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.fits .....................! real 192.81 user 185.64 sys 6.18 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. Added 176 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 J0202.7+4204 @ 30.6862 42.0714 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/35283/ft1_filtered_4FGL_J0202.7+4204_daily_bin758.fits scfile=/scratch/kocevski/35283/ft2_4FGL_J0202.7+4204_daily_bin758.fits outfile=/scratch/kocevski/35283/cmap_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.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=30.6862 yref=42.0714 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 1.72 user 0.38 sys 1.29 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/35283/ft1_filtered_4FGL_J0202.7+4204_daily_bin758.fits scfile=/scratch/kocevski/35283/ft2_4FGL_J0202.7+4204_daily_bin758.fits outfile=/scratch/kocevski/35283/cmap_HighResolution_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.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=30.6862 yref=42.0714 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 1.72 user 0.39 sys 1.26 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/35283/ft1_filtered_4FGL_J0202.7+4204_daily_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/35283/ft2_4FGL_J0202.7+4204_daily_bin758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/35283/Model_4FGL_J0202.7+4204_daily_bin758.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 HB 3 adding source W 3 Working on... /scratch/kocevski/35283/ft1_filtered_4FGL_J0202.7+4204_daily_bin758.fits.....................! real 88.51 user 84.35 sys 2.86 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/35283/ft1_filtered_4FGL_J0202.7+4204_daily_bin758.fits', '/scratch/kocevski/35283/ft2_4FGL_J0202.7+4204_daily_bin758.fits', expMap='/scratch/kocevski/35283/expmap_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.fits', expCube='/scratch/kocevski/35283/ltcube_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/35283/Model_4FGL_J0202.7+4204_daily_bin758.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0202.7+4204' 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 4.935e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.173e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/35283/ft1_filtered_4FGL_J0202.7+4204_daily_bin758.fits Spacecraft file(s): /scratch/kocevski/35283/ft2_4FGL_J0202.7+4204_daily_bin758.fits Exposure map: /scratch/kocevski/35283/expmap_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.fits Exposure cube: /scratch/kocevski/35283/ltcube_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/35283/Model_4FGL_J0202.7+4204_daily_bin758.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) = 7270.41411442 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7270.38170009 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22876 1.0000 .10000E-03 10000. 2 'Prefactor ' 21.458 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'norm ' .42774E-02 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .12086E-03 1.0000 .10000E-03 10000. 7 'norm ' .75328 1.0000 .10000E-03 10000. 8 'norm ' 2.3820 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10073E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 13 'norm ' .10008E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 16.916 1.0000 .10000E-03 10000. 15 'norm ' .10001E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 17 'norm ' .88261 1.0000 .10000E-03 10000. 18 'norm ' .35264 1.0000 .10000E-03 10000. 19 'Prefactor ' .10174E-03 1.0000 .10000E-03 10000. 20 'norm ' 3.6597 1.0000 .10000E-03 10000. 21 'Prefactor ' 4.7666 1.0000 .10000E-03 10000. 22 'norm ' 4.7442 1.0000 .10000E-03 10000. 23 'Normalizat' 1.1521 1.0000 .10000E-01 10.000 24 'Prefactor ' .87739 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5980E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7270.382 FROM MIGRAD STATUS=CONVERGED 545 CALLS 2336 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .28973 5.8363 -.28956E-05 .88340E-03 2 Prefactor 21.449 21.445 -.41848E-05 .11522E-03 3 Prefactor .10000E-03 35.715 .89264E-05** at limit ** 4 norm .10058E-03 2.3273 .85152E-06** at limit ** 5 Prefactor .10000E-03 12.317 -.64772E-06** at limit ** 6 Prefactor .10000E-03 72.817 -.21884E-04** at limit ** 7 norm .75352 1.4131 -.29816E-06 -.16532E-02 8 norm 2.3818 1.0173 -.12223E-07 -.15712E-03 9 Prefactor .10000E-03 6.0781 -.87982E-07** at limit ** 10 Prefactor .10000E-03 1.4519 -.78771E-07** at limit ** 11 Prefactor .10000E-03 23.281 -.32431E-04** at limit ** 12 Prefactor .10000E-03 20.080 .20128E-04** at limit ** 13 norm .10000E-03 1.9911 .60765E-07** at limit ** 14 Prefactor 16.917 8.4947 -.32724E-06 .41174E-03 15 norm .10000E-03 2.5942 .45042E-07** at limit ** 16 Prefactor .10000E-03 3.2565 -.42800E-07** at limit ** 17 norm .88275 .57204 .66335E-07 -.16325E-03 18 norm .35267 .28339 -.10985E-06 -.12088E-02 19 Prefactor .10000E-03 3.6829 -.14622E-06** at limit ** 20 norm 3.6606 6.2469 .47110E-05 -.27447E-03 21 Prefactor 4.7514 54.409 -.28040E-04 -.24860E-04 22 norm 4.7451 6.1829 .84332E-06 -.31299E-03 23 Normalizat 1.1518 .21637 .12573E-05 .12951E-03 24 Prefactor .87742 .89493E-01 -.30181E-06 .27913E-03 ERR DEF= .500 Final values: Prefactor = 0.289732 Prefactor = 21.4492 Prefactor = 0.0001 norm = 0.000100584 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.753519 norm = 2.38178 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 16.9174 norm = 0.0001 Prefactor = 0.0001 norm = 0.882751 norm = 0.352669 Prefactor = 0.0001 norm = 3.66061 Prefactor = 4.75144 norm = 4.74515 Normalizat = 1.15178 Prefactor = 0.877424 ********** ** 18 **HESSE ********** FCN= 7270.382 FROM HESSE STATUS=OK 403 CALLS 2739 TOTAL EDM= .30E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .28973 45.472 .39204E-02 -1.5600 2 Prefactor 21.449 21.443 .86467E-04 -1.4781 3 Prefactor .10000E-03 35.746 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .10058E-03 41.641 .25148E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 12.324 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 73.281 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .75352 1.1729 .13492E-02 -1.5534 8 norm 2.3818 1.0151 .53934E-04 -1.5399 9 Prefactor .10000E-03 6.0966 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 1.4698 .10028E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 23.348 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 20.104 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .10000E-03 2.0056 .11745E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 16.917 8.4908 .97381E-04 -1.4885 15 norm .10000E-03 2.6635 .26597E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 3.2776 .15025E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .88275 .55213 .49139E-03 -1.5520 18 norm .35267 .28089 .39062E-04 -1.5589 19 Prefactor .10000E-03 3.7305 .15921E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 3.6606 6.1824 .21115E-03 -1.5325 21 Prefactor 4.7514 54.575 .18429E-03 -1.5272 22 norm 4.7451 6.1819 .18473E-03 -1.5272 23 Normalizat 1.1518 .24397 .34386E-03 -.88106 24 Prefactor .87742 .10169 .16605E-03 -.96935 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.9593e-08 Minuit parameter uncertainties: 1 7.26374 2 21.4511 3 3.5785e-05 4 0.00987153 5 4.09947e-06 6 0.000142801 7 1.17291 8 1.0151 9 8.12152e-08 10 1.23226e-06 11 0.000115516 12 9.34288e-06 13 2.75553e-06 14 8.49141 15 6.79694e-06 16 1.16567e-06 17 0.552133 18 0.28089 19 1.82538e-05 20 6.18347 21 32.2428 22 6.18272 23 0.24421 24 0.101707 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7270.38161666 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 1.000e-04 9.343e-06 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.173e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 587 Prefactor: 8.774e-01 1.017e-01 0.000e+00 1.000e+01 ( 1.000e+00) 588 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 589 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 586 Normalization: 1.152e+00 2.442e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 30.686 42.071 Photon Flux Upper Limit: 6.02e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.58e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/35283/likelihoodResults_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.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) = 7270.38185362 delta logL = -0.000236956335357 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7270.38161666 delta logL = 1.15505827125e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10022E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.1605 1.0000 .0000 10.000 3 'Normalizat' 1.1517 1.0000 .10000E-01 10.000 4 'Prefactor ' .87743 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5980E+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= 7270.382 FROM MIGRAD STATUS=FAILED 83 CALLS 240 TOTAL EDM= .23E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 6787.0 .18142E-02** at limit ** 2 Index 2.1483 5.4502 .50000 .51653E-05 3 Normalizat 1.1518 .13071 .34386E-03 .61480E-03 4 Prefactor .87742 .56304E-01 .16605E-03 .86157E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7270.382 FROM SIMPLEX STATUS=UNCHANGED 203 CALLS 443 TOTAL EDM= .19E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 6787.0 .93902E-03** at limit ** 2 Index 2.1483 5.4502 .10875E-06 .51653E-05 3 Normalizat 1.1518 .13071 .65375E-08 .61480E-03 4 Prefactor .87742 .56304E-01 .92253E-09 .86157E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7270.382 FROM MIGRAD STATUS=CONVERGED 34 CALLS 477 TOTAL EDM= .72E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 22.345 .36285E-03** at limit ** 2 Index 2.1483 6.0645 .50000 .51651E-05 3 Normalizat 1.1518 .23119 .68773E-04 .61224E-03 4 Prefactor .87742 .99641E-01 .33209E-04 .85796E-03 ERR DEF= .500 Final values: Prefactor = 0.000100001 Index = 2.14828 Normalizat = 1.15178 Prefactor = 0.877423 ********** ** 18 **HESSE ********** FCN= 7270.382 FROM HESSE STATUS=OK 29 CALLS 506 TOTAL EDM= .73E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 20.278 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.1483 6.0723 .50000 -.60693 3 Normalizat 1.1518 .23121 .13755E-04 -.88106 4 Prefactor .87742 .99653E-01 .66418E-05 -.96935 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.30249e-10 Minuit parameter uncertainties: 1 0.000219148 2 4.1148 3 0.231417 4 0.0996735 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/35283': 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) = 7270.38161663 delta logL = 3.15494617098e-08 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 1.000e-04 2.191e-04 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.148e+00 4.115e+00 0.000e+00 1.000e+01 (-1.000e+00) 276 Scale: 2.114e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 587 Prefactor: 8.774e-01 9.967e-02 0.000e+00 1.000e+01 ( 1.000e+00) 588 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 589 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 586 Normalization: 1.152e+00 2.314e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 30.686 42.071 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/35283/cmap_HighResolution_435801601_436060801_4FGL_J0202.7+4204_daily_bin758.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/35283 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2021-08-15 03:03:25.392624', job_id='35283', GAL2='0.88', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1629021805.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='3.15e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='758' AND source_name='4FGL J0202.7+4204' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Aug 15 03:03:25 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 35283: <4FGL_J0202.7+4204_daily_bin758> in cluster Done Job <4FGL_J0202.7+4204_daily_bin758> was submitted from host by user in cluster at Sun Aug 15 02:45:55 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Aug 15 02:49:02 2021 was used as the home directory. was used as the working directory. Started at Sun Aug 15 02:49:02 2021 Terminated at Sun Aug 15 03:03:27 2021 Results reported at Sun Aug 15 03:03:27 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0202.7+4204_daily_bin758 30.6862 42.0714 435801601 436060801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0202.7+4204 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 823.32 sec. Max Memory : 618 MB Average Memory : 315.20 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 864 sec. Turnaround time : 1052 sec. The output (if any) is above this job summary.