/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 77 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 = 7463 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0202.7+4204_daily_bin619 RA = 30.6862, Dec = 42.0714 tmin = 399772801, tmax = 400032001 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='35053', job_status='RUN', time_executed='2021-08-15 02:47:45.890143', time_epoch_executed='1629020865.89' WHERE source_name='4FGL J0202.7+4204' and cadence='daily' and bin_id='619' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/35053 Creating custom pfile directory: /scratch/kocevski/35053/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=399772801.0 && nMetStart<400032001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=399772801.0 && nMetStart<400032001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/35053/ft1_4FGL_J0202.7+4204_daily_bin619.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=399772801.0 && nMetStart<400032001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/35053/ft2_4FGL_J0202.7+4204_daily_bin619.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/35053/ft1_4FGL_J0202.7+4204_daily_bin619.fits outfile=/scratch/kocevski/35053/ft1_filteredMKT_4FGL_J0202.7+4204_daily_bin619.fits ra=30.6862 dec=42.0714 rad=12.0 tmin=399772801.0 tmax=400032001.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 4.27 user 4.02 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/35053/ft2_4FGL_J0202.7+4204_daily_bin619.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/35053/ft2_4FGL_J0202.7+4204_daily_bin619.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/35053/ft1_filteredMKT_4FGL_J0202.7+4204_daily_bin619.fits evtable="EVENTS" outfile="/scratch/kocevski/35053/ft1_filtered_4FGL_J0202.7+4204_daily_bin619.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.54 user 0.28 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/35053/ft1_filtered_4FGL_J0202.7+4204_daily_bin619.fits" evtable="EVENTS" scfile=/scratch/kocevski/35053/ft2_4FGL_J0202.7+4204_daily_bin619.fits sctable="SC_DATA" outfile=/scratch/kocevski/35053/ltcube_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.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/35053/ft2_4FGL_J0202.7+4204_daily_bin619.fits .....................! real 11.22 user 10.86 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/35053/ft1_filtered_4FGL_J0202.7+4204_daily_bin619.fits evtable="EVENTS" scfile=/scratch/kocevski/35053/ft2_4FGL_J0202.7+4204_daily_bin619.fits sctable="SC_DATA" expcube=/scratch/kocevski/35053/ltcube_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.fits outfile=/scratch/kocevski/35053/expmap_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.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/35053/ltcube_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.fits .....................! real 156.42 user 151.89 sys 4.02 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/35053/ft1_filtered_4FGL_J0202.7+4204_daily_bin619.fits scfile=/scratch/kocevski/35053/ft2_4FGL_J0202.7+4204_daily_bin619.fits outfile=/scratch/kocevski/35053/cmap_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.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 0.50 user 0.32 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/35053/ft1_filtered_4FGL_J0202.7+4204_daily_bin619.fits scfile=/scratch/kocevski/35053/ft2_4FGL_J0202.7+4204_daily_bin619.fits outfile=/scratch/kocevski/35053/cmap_HighResolution_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.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 0.51 user 0.33 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/35053/ft1_filtered_4FGL_J0202.7+4204_daily_bin619.fits evtable="EVENTS" scfile=/scratch/kocevski/35053/ft2_4FGL_J0202.7+4204_daily_bin619.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/35053/Model_4FGL_J0202.7+4204_daily_bin619.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/35053/ft1_filtered_4FGL_J0202.7+4204_daily_bin619.fits.....................! real 72.66 user 70.78 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/35053/ft1_filtered_4FGL_J0202.7+4204_daily_bin619.fits', '/scratch/kocevski/35053/ft2_4FGL_J0202.7+4204_daily_bin619.fits', expMap='/scratch/kocevski/35053/expmap_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.fits', expCube='/scratch/kocevski/35053/ltcube_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/35053/Model_4FGL_J0202.7+4204_daily_bin619.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/35053/ft1_filtered_4FGL_J0202.7+4204_daily_bin619.fits Spacecraft file(s): /scratch/kocevski/35053/ft2_4FGL_J0202.7+4204_daily_bin619.fits Exposure map: /scratch/kocevski/35053/expmap_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.fits Exposure cube: /scratch/kocevski/35053/ltcube_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/35053/Model_4FGL_J0202.7+4204_daily_bin619.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) = 7226.09340706 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7226.07031508 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.5751 1.0000 .10000E-03 10000. 2 'Prefactor ' 12.917 1.0000 .10000E-03 10000. 3 'Prefactor ' 35.394 1.0000 .10000E-03 10000. 4 'norm ' 5.1118 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 12.574 1.0000 .10000E-03 10000. 7 'norm ' .47182 1.0000 .10000E-03 10000. 8 'norm ' 1.2591 1.0000 .10000E-03 10000. 9 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 13 'norm ' .12513E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 3.1883 1.0000 .10000E-03 10000. 15 'norm ' .73237E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 17 'norm ' 1.2219 1.0000 .10000E-03 10000. 18 'norm ' .42676 1.0000 .10000E-03 10000. 19 'Prefactor ' .10170E-03 1.0000 .10000E-03 10000. 20 'norm ' .10005E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10062E-03 1.0000 .10000E-03 10000. 22 'norm ' .10002E-03 1.0000 .10000E-03 10000. 23 'Normalizat' .75458 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.1466 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= 7226.070 FROM MIGRAD STATUS=CONVERGED 553 CALLS 2826 TOTAL EDM= .70E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.5574 14.138 .48995E-05 -.47491E-04 2 Prefactor 12.927 23.717 .53673E-05 -.20353E-04 3 Prefactor 35.354 83.685 -.59954E-04 -.11300E-04 4 norm 5.1116 4.0245 .52726E-07 -.17195E-03 5 Prefactor .10000E-03 14.301 -.11667E-05** at limit ** 6 Prefactor 12.573 26.123 .60122E-06 .77864E-06 7 norm .47173 1.0320 -.36237E-06 -.22893E-02 8 norm 1.2589 .89947 -.50914E-07 -.46219E-03 9 Prefactor .10000E-03 6.1976 .82095E-07** at limit ** 10 Prefactor .10000E-03 .80032 .27553E-08** at limit ** 11 Prefactor .10000E-03 11.191 -.15085E-05** at limit ** 12 Prefactor .10000E-03 31.869 .38515E-06** at limit ** 13 norm .10000E-03 6.6803 -.53834E-06** at limit ** 14 Prefactor 3.1803 7.7453 -.10898E-05 -.26940E-03 15 norm .10000E-03 2.0436 -.21701E-06** at limit ** 16 Prefactor .10000E-03 12.797 .25652E-05** at limit ** 17 norm 1.2212 .74252 -.82672E-07 .17893E-03 18 norm .42680 .28042 -.46128E-07 -.32628E-03 19 Prefactor .10000E-03 7.5840 .39543E-06** at limit ** 20 norm .10000E-03 2.4720 -.65835E-07** at limit ** 21 Prefactor .10000E-03 63.954 .13187E-05** at limit ** 22 norm .10000E-03 5.3048 -.93243E-07** at limit ** 23 Normalizat .75472 .23872 .36824E-05 -.28687E-04 24 Prefactor 1.1466 .99729E-01 .17428E-06 .19823E-04 ERR DEF= .500 Final values: Prefactor = 2.55744 Prefactor = 12.9271 Prefactor = 35.3536 norm = 5.11158 Prefactor = 0.0001 Prefactor = 12.5735 norm = 0.471731 norm = 1.25894 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 3.1803 norm = 0.0001 Prefactor = 0.0001 norm = 1.22125 norm = 0.426803 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 norm = 0.0001 Normalizat = 0.754723 Prefactor = 1.14659 ********** ** 18 **HESSE ********** FCN= 7226.070 FROM HESSE STATUS=OK 401 CALLS 3227 TOTAL EDM= .86E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.5574 13.738 .25435E-03 -1.5388 2 Prefactor 12.927 23.601 .11145E-03 -1.4989 3 Prefactor 35.354 82.663 .67361E-04 -1.4518 4 norm 5.1116 4.0212 .14687E-03 -1.5256 5 Prefactor .10000E-03 14.318 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 12.573 26.112 .11296E-03 -1.4999 7 norm .47173 .84732 .12539E-02 -1.5571 8 norm 1.2589 .88356 .65214E-04 -1.5484 9 Prefactor .10000E-03 6.2152 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 .80223 .74252E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10000E-03 11.201 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 32.011 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .10000E-03 6.9421 .36285E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 3.1803 7.7287 .22694E-03 -1.5351 15 norm .10000E-03 19.219 .21131E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 12.936 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 1.2212 .67288 .49449E-04 -1.5487 18 norm .42680 .28178 .35258E-04 -1.5577 19 Prefactor .10000E-03 7.8142 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 2.4786 .13050E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 64.246 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .10000E-03 5.3716 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat .75472 .25415 .43402E-03 -1.0177 24 Prefactor 1.1466 .10811 .15814E-03 -.87991 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.58517e-10 Minuit parameter uncertainties: 1 11.8587 2 23.6185 3 82.9327 4 4.02137 5 1.28249e-05 6 26.1354 7 0.847343 8 0.88357 9 8.66857e-06 10 1.15076e-06 11 7.04291e-07 12 2.47377e-05 13 7.75516e-06 14 7.73108 15 0.000163079 16 4.08383e-05 17 0.67288 18 0.281779 19 5.63351e-05 20 5.32367e-06 21 0.000123388 22 1.56861e-05 23 0.254548 24 0.108133 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7226.07029413 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 1.000e-04 2.474e-05 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: 1.147e+00 1.081e-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: 7.547e-01 2.545e-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: 5.72e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.35e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/35053/likelihoodResults_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.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) = 7226.07044291 delta logL = -0.0001487753525 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7226.07029447 delta logL = -3.35422555509e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.2224 1.0000 .0000 10.000 3 'Normalizat' .75472 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1466 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= 7225.974 FROM MIGRAD STATUS=FAILED 185 CALLS 378 TOTAL EDM= .25E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.054 6785.8 .18142E-01 .36110E-02 2 Index 1.2434 8.6714 .33958 -.26539E-04 3 Normalizat .75643 .11178 .43401E-03 .20379E-04 4 Prefactor 1.1447 .46883E-01 .15814E-03 .47519E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7225.974 FROM SIMPLEX STATUS=UNCHANGED 96 CALLS 474 TOTAL EDM= .17E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.054 6785.8 .68874E-03 .36110E-02 2 Index 1.2434 8.6714 .11541E-02 -.26539E-04 3 Normalizat .75643 .11178 .10409E-03 .20379E-04 4 Prefactor 1.1447 .46883E-01 .43096E-04 .47519E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7225.974 FROM MIGRAD STATUS=CONVERGED 35 CALLS 509 TOTAL EDM= .11E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.054 42.532 .36285E-02 -.11458E-04 2 Index 1.2434 .95054 .20068E-01 -.97194E-05 3 Normalizat .75643 .24030 .17361E-04 .19253E-04 4 Prefactor 1.1447 .10682 .63256E-05 .43494E-04 ERR DEF= .500 Final values: Prefactor = 16.0538 Index = 1.24336 Normalizat = 0.756429 Prefactor = 1.14474 ********** ** 18 **HESSE ********** FCN= 7225.974 FROM HESSE STATUS=OK 27 CALLS 536 TOTAL EDM= .11E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 16.054 42.860 .14514E-03 -1.4906 2 Index 1.2434 .95854 .80273E-03 -.85007 3 Normalizat .75643 .24022 .34721E-05 -1.0171 4 Prefactor 1.1447 .10678 .12651E-05 -.88049 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.06028e-11 Minuit parameter uncertainties: 1 42.942 2 0.972562 3 0.240553 4 0.106799 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/35053': 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) = 7225.97389717 delta logL = 0.0963969660752 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 1.605e+01 4.294e+01 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 1.243e+00 9.726e-01 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: 1.145e+00 1.068e-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: 7.564e-01 2.406e-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/35053/cmap_HighResolution_399772801_400032001_4FGL_J0202.7+4204_daily_bin619.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/35053 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.35e-03', job_status='DONE', photon_flux_upper_limit='5.72e-08', time_completed='2021-08-15 02:59:19.582293', job_id='35053', GAL2='1.14', fit_tolerance='1e-08', EG2='0.76', EG='0.75', time_epoch_completed='1629021559.58', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='9.64e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='619' AND source_name='4FGL J0202.7+4204' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Aug 15 02:59:19 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 35053: <4FGL_J0202.7+4204_daily_bin619> in cluster Done Job <4FGL_J0202.7+4204_daily_bin619> was submitted from host by user in cluster at Sun Aug 15 02:45:36 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Aug 15 02:46:21 2021 was used as the home directory. was used as the working directory. Started at Sun Aug 15 02:46:21 2021 Terminated at Sun Aug 15 02:59:20 2021 Results reported at Sun Aug 15 02:59:20 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0202.7+4204_daily_bin619 30.6862 42.0714 399772801 400032001 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 : 688.00 sec. Max Memory : 618 MB Average Memory : 278.93 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 781 sec. Turnaround time : 824 sec. The output (if any) is above this job summary.