/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 34 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 = 74173 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0202.7+4204_monthly_bin166 RA = 30.6862, Dec = 42.0714 tmin = 667267201, tmax = 669859201 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='994691', job_status='RUN', time_executed='2022-03-25 00:41:33.010744', time_epoch_executed='1648194093.01' WHERE source_name='4FGL J0202.7+4204' and cadence='monthly' and bin_id='166' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/994691 Creating custom pfile directory: /scratch/kocevski/994691/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=667267201.0 && nMetStart<669859201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=667267201.0 && nMetStart<669859201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/994691/ft1_4FGL_J0202.7+4204_monthly_bin166.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=667267201.0 && nMetStart<669859201.0' /Data/Flight/Level1/LPA Retrieving 455 files... Done. Merging files... Merged file saved to: /scratch/kocevski/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/994691/ft1_4FGL_J0202.7+4204_monthly_bin166.fits outfile=/scratch/kocevski/994691/ft1_filteredMKT_4FGL_J0202.7+4204_monthly_bin166.fits ra=30.6862 dec=42.0714 rad=12.0 tmin=667267201.0 tmax=669859201.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 40.67 user 39.47 sys 0.91 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.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/994691/ft1_filteredMKT_4FGL_J0202.7+4204_monthly_bin166.fits evtable="EVENTS" outfile="/scratch/kocevski/994691/ft1_filtered_4FGL_J0202.7+4204_monthly_bin166.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.66 sys 0.17 Number of photons that the gtmktime cut: 11666 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/994691/ft1_filtered_4FGL_J0202.7+4204_monthly_bin166.fits" evtable="EVENTS" scfile=/scratch/kocevski/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.fits sctable="SC_DATA" outfile=/scratch/kocevski/994691/ltcube_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.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/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.fits .....................! real 143.61 user 142.33 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/994691/ft1_filtered_4FGL_J0202.7+4204_monthly_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.fits sctable="SC_DATA" expcube=/scratch/kocevski/994691/ltcube_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.fits outfile=/scratch/kocevski/994691/expmap_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.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/994691/ltcube_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.fits .....................! real 192.10 user 186.40 sys 4.56 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/994691/ft1_filtered_4FGL_J0202.7+4204_monthly_bin166.fits scfile=/scratch/kocevski/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.fits outfile=/scratch/kocevski/994691/cmap_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.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.79 user 0.62 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/994691/ft1_filtered_4FGL_J0202.7+4204_monthly_bin166.fits scfile=/scratch/kocevski/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.fits outfile=/scratch/kocevski/994691/cmap_HighResolution_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.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.82 user 0.62 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/994691/ft1_filtered_4FGL_J0202.7+4204_monthly_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/994691/Model_4FGL_J0202.7+4204_monthly_bin166.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/994691/ft1_filtered_4FGL_J0202.7+4204_monthly_bin166.fits.....................! real 1179.12 user 1170.79 sys 1.24 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/994691/ft1_filtered_4FGL_J0202.7+4204_monthly_bin166.fits', '/scratch/kocevski/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.fits', expMap='/scratch/kocevski/994691/expmap_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.fits', expCube='/scratch/kocevski/994691/ltcube_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/994691/Model_4FGL_J0202.7+4204_monthly_bin166.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/994691/ft1_filtered_4FGL_J0202.7+4204_monthly_bin166.fits Spacecraft file(s): /scratch/kocevski/994691/ft2_4FGL_J0202.7+4204_monthly_bin166.fits Exposure map: /scratch/kocevski/994691/expmap_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.fits Exposure cube: /scratch/kocevski/994691/ltcube_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/994691/Model_4FGL_J0202.7+4204_monthly_bin166.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) = 120682.093169 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 120681.9635 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .74712 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.1000 1.0000 .10000E-03 10000. 3 'Prefactor ' .12853E-03 1.0000 .10000E-03 10000. 4 'norm ' .70868 1.0000 .10000E-03 10000. 5 'Prefactor ' 14.901 1.0000 .10000E-03 10000. 6 'Prefactor ' .36800 1.0000 .10000E-03 10000. 7 'norm ' .85090 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10052E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .30144 1.0000 .10000E-03 10000. 11 'Prefactor ' 1.3781 1.0000 .10000E-03 10000. 12 'Prefactor ' 8.3294 1.0000 .10000E-03 10000. 13 'norm ' .10006E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 15 'norm ' 1.6777 1.0000 .10000E-03 10000. 16 'Prefactor ' .11633E-03 1.0000 .10000E-03 10000. 17 'norm ' .50727 1.0000 .10000E-03 10000. 18 'norm ' .45541 1.0000 .10000E-03 10000. 19 'Prefactor ' .44822 1.0000 .10000E-03 10000. 20 'norm ' 12.609 1.0000 .10000E-03 10000. 21 'Prefactor ' 9.8491 1.0000 .10000E-03 10000. 22 'norm ' 3.1705 1.0000 .10000E-03 10000. 23 'Normalizat' 1.0857 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.0418 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 120682.0 FROM MIGRAD STATUS=CONVERGED 584 CALLS 2489 TOTAL EDM= .32E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .75140 1.7962 .0000 .35232 2 Prefactor 1.1099 3.4425 .0000 .10102 3 Prefactor .10000E-03 2.6480 .0000 ** at limit ** 4 norm .70855 .58158 .0000 .11577E-01 5 Prefactor 14.845 7.6095 .0000 -.21443E-02 6 Prefactor .46546 1.7227 .0000 .33756E-02 7 norm .85086 .23435 .0000 -.59062E-03 8 norm .10000E-03 .23053E-01 .0000 ** at limit ** 9 Prefactor .10000E-03 1.0670 .0000 ** at limit ** 10 Prefactor .30213 .36036 .0000 .11405E-01 11 Prefactor 1.3790 3.1949 .0000 .72389E-01 12 Prefactor 8.2914 7.9314 .0000 .57361E-03 13 norm .10000E-03 .18379 .0000 ** at limit ** 14 Prefactor .10000E-03 .22358 .0000 ** at limit ** 15 norm 1.6773 .73991 .0000 .98768E-02 16 Prefactor .10000E-03 .36750 .0000 ** at limit ** 17 norm .50731 .14618 .0000 .98653E-02 18 norm .45538 .72072E-01 .0000 -.91949E-02 19 Prefactor .44877 .60281 .0000 .93379E-02 20 norm 12.613 2.0426 .0000 -.44845E-02 21 Prefactor 9.8767 6.0856 .0000 -.41923E-03 22 norm 3.1728 1.1531 .0000 .44278E-01 23 Normalizat 1.0856 .57705E-01 .0000 .37571E-03 24 Prefactor 1.0418 .23771E-01 .0000 -.45380E-03 ERR DEF= .500 Final values: Prefactor = 0.751405 Prefactor = 1.10991 Prefactor = 0.0001 norm = 0.708549 Prefactor = 14.8448 Prefactor = 0.465461 norm = 0.850863 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.302126 Prefactor = 1.37901 Prefactor = 8.29143 norm = 0.0001 Prefactor = 0.0001 norm = 1.67732 Prefactor = 0.0001 norm = 0.507312 norm = 0.455379 Prefactor = 0.448768 norm = 12.6128 Prefactor = 9.87665 norm = 3.17283 Normalizat = 1.0856 Prefactor = 1.0418 ********** ** 18 **HESSE ********** FCN= 120682.0 FROM HESSE STATUS=OK 435 CALLS 2924 TOTAL EDM= .22E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .75140 1.8176 .24483E-02 -1.5535 2 Prefactor 1.1099 3.4644 .22661E-02 -1.5497 3 Prefactor .10000E-03 2.6545 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .70855 .64358 .22930E-02 -1.5540 5 Prefactor 14.845 7.4184 .10376E-03 -1.4937 6 Prefactor .46546 1.7621 .15552 -1.5572 7 norm .85086 .23895 .85988E-04 -1.5523 8 norm .10000E-03 .26199 .99875E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 1.1169 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .30213 .73746 .21260E-02 -1.5598 11 Prefactor 1.3790 3.1532 .18546E-02 -1.5473 12 Prefactor 8.2914 7.9206 .13891E-03 -1.5132 13 norm .10000E-03 .18726 .14529E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 .94711 .31117E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.6773 .72432 .17320E-03 -1.5449 16 Prefactor .10000E-03 3.2233 .39869E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .50731 .13629 .61613E-03 -1.5566 18 norm .45538 .72085E-01 .35805E-04 -1.5573 19 Prefactor .44877 1.2639 .26679E-02 -1.5574 20 norm 12.613 2.0677 .11281E-03 -1.4998 21 Prefactor 9.8767 6.0723 .12768E-03 -1.5079 22 norm 3.1728 1.1535 .10925E-02 -1.5352 23 Normalizat 1.0856 .62695E-01 .36462E-03 -.90216 24 Prefactor 1.0418 .26625E-01 .16614E-03 -.91349 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.23225e-07 Minuit parameter uncertainties: 1 1.81778 2 3.46506 3 4.98042e-06 4 0.64359 5 7.41884 6 1.76226 7 0.238949 8 5.59145e-06 9 2.42246e-05 10 0.737485 11 3.15361 12 7.92155 13 2.14415e-06 14 1.00838e-05 15 0.72432 16 6.76384e-05 17 0.136291 18 0.0720853 19 1.26399 20 2.06774 21 6.07273 22 1.15355 23 0.0626995 24 0.0266249 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 120681.963272 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 8.291e+00 7.922e+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 GAL_V02 Spectrum: PowerLaw 587 Prefactor: 1.042e+00 2.662e-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.086e+00 6.270e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.56 Ra Dec: 30.686 42.071 Photon Index (Fixed Index): 2.17 +/- 0.00 Photon Flux (Fixed Index): 5.36e-09 +/- 5.12e-09 Energy Flux (Fixed Index): 2.53e-06 +/- 2.42e-06 TS (Fixed Index): 1.56 Ra Dec: 30.686 42.071 Photon Flux Upper Limit: 1.66e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.26e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/994691/likelihoodResults_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.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) = 120681.940173 delta logL = 0.0230983512593 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 120681.93345 delta logL = 0.0298213306087 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 7.3070 1.0000 .10000E-03 10000. 2 'Index ' 2.3385 1.0000 .0000 10.000 3 'Normalizat' 1.0837 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0422 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. FCN= 120681.9 FROM MIGRAD STATUS=CONVERGED 64 CALLS 234 TOTAL EDM= .25E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.2960 17.718 .37095E-02 .25067E-03 2 Index 2.3384 .97424E-01 .50000 .32545E-04 3 Normalizat 1.0838 .40203E-02 .82420E-01 .32161E-03 4 Prefactor 1.0422 .18057E-02 .40389E-01 -.89486E-04 ERR DEF= .500 Final values: Prefactor = 7.29597 Index = 2.33838 Normalizat = 1.0838 Prefactor = 1.04218 ********** ** 18 **HESSE ********** FCN= 120681.9 FROM HESSE STATUS=OK 33 CALLS 267 TOTAL EDM= .57E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 7.2960 8.6462 .14838E-03 -1.5168 2 Index 2.3384 .70233 .29130E-02 -.56134 3 Normalizat 1.0838 .58803E-01 .36489E-03 -.90274 4 Prefactor 1.0422 .26204E-01 .16611E-03 -.91336 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.70331e-12 Minuit parameter uncertainties: 1 8.64764 2 0.705593 3 0.0588063 4 0.0262039 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/994691': 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) = 120681.933447 delta logL = 0.0298249602056 Extracting fit parameters... 4FGL J0202.7+4204 Spectrum: PowerLaw 274 Prefactor: 7.296e+00 8.648e+00 1.000e-04 1.000e+04 ( 1.000e-14) 275 Index: 2.338e+00 7.056e-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.042e+00 2.620e-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.084e+00 5.881e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.62 Ra Dec: 30.686 42.071 Photon Index (Free Index): 2.34 +/- 0.71 Photon Flux (Free Index): 6.84e-09 +/- 8.64e-09 Energy Flux (Free Index): 2.44e-06 +/- 2.27e-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/994691/cmap_HighResolution_667267201_669859201_4FGL_J0202.7+4204_monthly_bin166.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/994691 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-03', comment='SUCCESS', photon_flux='5.36e-09', energy_flux2='2.44e-06', photon_flux_error='5.12e-09', dlogl='2.98e-02', energy_flux='2.53e-06', photon_flux2='6.84e-09', job_status='DONE', time_completed='2022-03-25 03:02:42.664672', photon_index_error2='0.71', photon_index2='2.34', ts='1.56', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.66e-08', energy_flux_error2='2.27e-06', EG='1.09', time_epoch_completed='1648202562.66', return_code='0', job_id='994691', GAL2='1.04', EG2='1.08', return_code2='0', energy_flux_error='2.42e-06', photon_flux_error2='8.64e-09', ts2='1.62', photon_index='2.17' WHERE bin_id='166' AND source_name='4FGL J0202.7+4204' AND cadence='monthly'; Database successfully updated. Analysis Complete. Fri Mar 25 03:02:42 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 994691: <4FGL_J0202.7+4204_monthly_bin166> in cluster Done Job <4FGL_J0202.7+4204_monthly_bin166> was submitted from host by user in cluster at Fri Mar 25 00:40:46 2022 Job was executed on host(s) , in queue , as user in cluster at Fri Mar 25 00:40:48 2022 was used as the home directory. was used as the working directory. Started at Fri Mar 25 00:40:48 2022 Terminated at Fri Mar 25 03:02:43 2022 Results reported at Fri Mar 25 03:02:43 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0202.7+4204_monthly_bin166 30.6862 42.0714 667267201 669859201 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 : 8390.00 sec. Max Memory : 639 MB Average Memory : 469.91 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 8515 sec. Turnaround time : 8517 sec. The output (if any) is above this job summary.