/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 130 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 = 7637 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_daily_bin1380 RA = 75.6341, Dec = 13.6685 tmin = 597024001, tmax = 597283201 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='927815', job_status='RUN', time_executed='2021-08-21 18:18:03.493253', time_epoch_executed='1629595083.49' WHERE source_name='4FGL J0502.5+1340' and cadence='daily' and bin_id='1380' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/927815 Creating custom pfile directory: /scratch/kocevski/927815/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=597024001.0 && nMetStart<597283201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=597024001.0 && nMetStart<597283201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/927815/ft1_4FGL_J0502.5+1340_daily_bin1380.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=597024001.0 && nMetStart<597283201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/927815/ft1_4FGL_J0502.5+1340_daily_bin1380.fits outfile=/scratch/kocevski/927815/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1380.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=597024001.0 tmax=597283201.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.24 user 3.40 sys 0.81 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.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/927815/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1380.fits evtable="EVENTS" outfile="/scratch/kocevski/927815/ft1_filtered_4FGL_J0502.5+1340_daily_bin1380.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.16 user 0.32 sys 0.77 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/927815/ft1_filtered_4FGL_J0502.5+1340_daily_bin1380.fits" evtable="EVENTS" scfile=/scratch/kocevski/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.fits sctable="SC_DATA" outfile=/scratch/kocevski/927815/ltcube_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.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/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.fits .....................! real 12.53 user 11.45 sys 1.02 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/927815/ft1_filtered_4FGL_J0502.5+1340_daily_bin1380.fits evtable="EVENTS" scfile=/scratch/kocevski/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.fits sctable="SC_DATA" expcube=/scratch/kocevski/927815/ltcube_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.fits outfile=/scratch/kocevski/927815/expmap_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.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/927815/ltcube_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.fits .....................! real 191.76 user 186.45 sys 4.94 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 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. Extended source IC 443 in ROI with RadialGaussian spatial model. Added 161 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 J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/927815/ft1_filtered_4FGL_J0502.5+1340_daily_bin1380.fits scfile=/scratch/kocevski/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.fits outfile=/scratch/kocevski/927815/cmap_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.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=75.6341 yref=13.6685 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.16 user 0.38 sys 0.76 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/927815/ft1_filtered_4FGL_J0502.5+1340_daily_bin1380.fits scfile=/scratch/kocevski/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.fits outfile=/scratch/kocevski/927815/cmap_HighResolution_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.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=75.6341 yref=13.6685 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.13 user 0.38 sys 0.75 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/927815/ft1_filtered_4FGL_J0502.5+1340_daily_bin1380.fits evtable="EVENTS" scfile=/scratch/kocevski/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/927815/Model_4FGL_J0502.5+1340_daily_bin1380.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 S 147 Working on... /scratch/kocevski/927815/ft1_filtered_4FGL_J0502.5+1340_daily_bin1380.fits.....................! real 400.67 user 397.84 sys 2.07 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/927815/ft1_filtered_4FGL_J0502.5+1340_daily_bin1380.fits', '/scratch/kocevski/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.fits', expMap='/scratch/kocevski/927815/expmap_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.fits', expCube='/scratch/kocevski/927815/ltcube_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/927815/Model_4FGL_J0502.5+1340_daily_bin1380.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/927815/ft1_filtered_4FGL_J0502.5+1340_daily_bin1380.fits Spacecraft file(s): /scratch/kocevski/927815/ft2_4FGL_J0502.5+1340_daily_bin1380.fits Exposure map: /scratch/kocevski/927815/expmap_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.fits Exposure cube: /scratch/kocevski/927815/ltcube_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/927815/Model_4FGL_J0502.5+1340_daily_bin1380.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) = 18673.574238 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 18673.5697818 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 37.675 1.0000 .10000E-03 10000. 2 'Prefactor ' 3.4713 1.0000 .10000E-03 10000. 3 'Prefactor ' 17.219 1.0000 .10000E-03 10000. 4 'norm ' .12256E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .68104E-02 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.1171 1.0000 .10000E-03 10000. 7 'norm ' .10043E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 2.5733 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10017E-03 1.0000 .10000E-03 10000. 11 'norm ' .10002E-03 1.0000 .10000E-03 10000. 12 'norm ' 14.778 1.0000 .10000E-03 10000. 13 'Prefactor ' 5.8100 1.0000 .10000E-03 10000. 14 'norm ' 2.3413 1.0000 .10000E-03 10000. 15 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 17 'norm ' 6.7128 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'norm ' .10046E-03 1.0000 .10000E-03 10000. 20 'norm ' .77629 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.1462 1.0000 .10000E-03 10000. 22 'norm ' 2.7090 1.0000 .10000E-03 10000. 23 'Prefactor ' 3.6761 1.0000 .10000E-03 10000. 24 'Prefactor ' .10051E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' 1.2695 1.0000 .10000E-03 10000. 28 'Normalizat' .84600 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0086 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 18673.57 FROM MIGRAD STATUS=CONVERGED 748 CALLS 3748 TOTAL EDM= .13E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 37.664 32.546 .29534E-05 -.15277E-04 2 Prefactor 3.4813 87.184 -.25916E-05 -.18254E-04 3 Prefactor 17.207 16.976 .20230E-04 .51627E-04 4 norm .10000E-03 1.1233 .31186E-06** at limit ** 5 Prefactor .10307E-03 20.810 -.19623E-05** at limit ** 6 Prefactor 1.1131 9.6719 .27504E-05 .55618E-04 7 norm .10000E-03 .78924 .38289E-07** at limit ** 8 Prefactor 2.5719 82.487 -.25431E-06 .84324E-05 9 Prefactor .10000E-03 22.045 -.87906E-05** at limit ** 10 Prefactor .10000E-03 2.8214 -.31770E-07** at limit ** 11 norm .10000E-03 .12935 .73780E-07** at limit ** 12 norm 14.777 4.5084 -.29136E-06 .29863E-04 13 Prefactor 5.8078 3.8775 .65247E-06 -.73633E-03 14 norm 2.3393 3.7990 -.17339E-06 .15836E-04 15 Prefactor .10000E-03 1.5421 .57401E-07** at limit ** 16 Prefactor .10000E-03 19.810 .54420E-05** at limit ** 17 norm 6.7122 2.8125 .98537E-07 -.29715E-03 18 Prefactor .10000E-03 6.4212 .27640E-05** at limit ** 19 norm .10000E-03 6.4249 -.14009E-05** at limit ** 20 norm .77485 1.1949 .55891E-06 .38665E-03 21 Prefactor 1.1463 .16309 .49506E-07 -.17952E-02 22 norm 2.7079 3.7283 -.89257E-06 -.21897E-02 23 Prefactor 3.6750 1.2574 .63908E-07 .68727E-03 24 Prefactor .10000E-03 22.985 .35282E-05** at limit ** 25 Prefactor .10000E-03 6.1889 -.10955E-05** at limit ** 26 Prefactor .10000E-03 9.4638 -.66237E-07** at limit ** 27 Prefactor 1.2634 3.0494 .78369E-06 -.18066E-02 28 Normalizat .84677 .32487 -.10465E-04 -.19172E-03 29 Prefactor 1.0085 .57032E-01 -.26396E-06 .26691E-03 ERR DEF= .500 Final values: Prefactor = 37.6644 Prefactor = 3.48129 Prefactor = 17.2068 norm = 0.0001 Prefactor = 0.000103066 Prefactor = 1.11311 norm = 0.0001 Prefactor = 2.57193 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 14.7768 Prefactor = 5.80777 norm = 2.33932 Prefactor = 0.0001 Prefactor = 0.0001 norm = 6.71223 Prefactor = 0.0001 norm = 0.0001 norm = 0.774846 Prefactor = 1.14627 norm = 2.70787 Prefactor = 3.67502 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 1.2634 Normalizat = 0.846773 Prefactor = 1.00848 ********** ** 18 **HESSE ********** FCN= 18673.57 FROM HESSE STATUS=OK 567 CALLS 4315 TOTAL EDM= .11E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 37.664 32.454 .65297E-04 -1.4480 2 Prefactor 3.4813 87.222 .21704E-03 -1.5335 3 Prefactor 17.207 17.026 .96519E-04 -1.4878 4 norm .10000E-03 2.3796 .27376E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10307E-03 19.350 .19870 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 1.1131 9.2081 .44518E-03 -1.5497 7 norm .10000E-03 .81305 .23681E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 2.5719 79.315 .25444E-03 -1.5387 9 Prefactor .10000E-03 22.029 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 2.8327 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 .13259 .95419E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 14.777 4.4784 .10419E-03 -1.4939 13 Prefactor 5.8078 3.8983 .83310E-03 -1.5226 14 norm 2.3393 3.7820 .26795E-03 -1.5402 15 Prefactor .10000E-03 1.5501 .16570E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 19.819 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 6.7122 2.8185 .71629E-03 -1.5190 18 Prefactor .10000E-03 6.4267 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 6.5950 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .77485 1.1752 .17297E-03 -1.5532 21 Prefactor 1.1463 .21495 .13048E-04 -1.5494 22 norm 2.7079 5.3691 .12374E-02 -1.5379 23 Prefactor 3.6750 1.4095 .67730E-04 -1.5325 24 Prefactor .10000E-03 23.207 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .10000E-03 6.1917 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10000E-03 9.4760 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor 1.2634 5.0055 .19750E-02 -1.5483 28 Normalizat .84677 .31666 .77476E-03 -.98356 29 Prefactor 1.0085 .58201E-01 .14575E-03 -.92447 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.14838e-08 Minuit parameter uncertainties: 1 32.4689 2 34.9074 3 17.0305 4 5.15245e-05 5 0.0154094 6 6.40408 7 4.52225e-06 8 28.6062 9 0.000179609 10 8.83418e-06 11 2.77993e-06 12 4.47849 13 3.89847 14 3.78243 15 7.11386e-06 16 3.13795e-05 17 2.8186 18 2.75131e-06 19 7.55967e-05 20 1.17527 21 0.214954 22 5.37009 23 1.40952 24 8.63776e-05 25 1.06355e-05 26 1.46255e-05 27 5.00715 28 0.317353 29 0.0582051 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 18673.5697606 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.000e-04 8.834e-06 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 1.008e+00 5.821e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 8.468e-01 3.174e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 7.15e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.46e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/927815/likelihoodResults_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.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) = 18673.5714433 delta logL = -0.00168270232462 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 18673.56976 delta logL = 5.46635419596e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.2031 1.0000 .0000 10.000 3 'Normalizat' .84678 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0085 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+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= 18673.57 FROM MIGRAD STATUS=FAILED 91 CALLS 248 TOTAL EDM= .33E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10188E-03 22.653 .18142E-02** at limit ** 2 Index 2.1364 5.1292 .50000 .67101E-04 3 Normalizat .84678 .19293E-01 .77477E-03 -.26060E-04 4 Prefactor 1.0085 .39778E-02 .14575E-03 .34632E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 18673.57 FROM SIMPLEX STATUS=PROGRESS 121 CALLS 369 TOTAL EDM= .49E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10035E-03 22.653 .21894E-03** at limit ** 2 Index 2.1354 5.1292 .35070E-03 .67101E-04 3 Normalizat .84677 .19293E-01 .51781E-05 -.26060E-04 4 Prefactor 1.0085 .39778E-02 .80726E-06 .34632E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 18673.57 FROM MIGRAD STATUS=CONVERGED 57 CALLS 426 TOTAL EDM= .45E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 29.470 .36285E-02** at limit ** 2 Index 1.6865 7.6476 .50000 .14452E-06 3 Normalizat .84678 .19495E-01 .30991E-04 -.20837E-04 4 Prefactor 1.0085 .40194E-02 .58301E-05 -.64116E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.68646 Normalizat = 0.846781 Prefactor = 1.00848 ********** ** 18 **HESSE ********** FCN= 18673.57 FROM HESSE STATUS=NOT POSDEF 29 CALLS 455 TOTAL EDM= .22E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 145.51 .72569E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.6865 5.3651 .50000 -.72443 3 Normalizat .84678 .44812E-01 .61982E-05 -.98356 4 Prefactor 1.0085 .92430E-02 .11660E-05 -.92447 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.2131e-09 Minuit parameter uncertainties: 1 0.000529301 2 494.875 3 0.0448144 4 0.00924298 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/927815': 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): 102 logL (Free Index) = 18673.5697554 delta logL = 5.16177169629e-06 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.000e-04 5.293e-04 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 1.686e+00 4.949e+02 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 1.008e+00 9.243e-03 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 8.468e-01 4.481e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 75.634 13.668 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/927815/cmap_HighResolution_597024001_597283201_4FGL_J0502.5+1340_daily_bin1380.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/927815 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.15e-08', time_completed='2021-08-21 18:52:33.615669', job_id='927815', GAL2='1.01', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1629597153.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.16e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1380' AND source_name='4FGL J0502.5+1340' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 21 18:52:33 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 927815: <4FGL_J0502.5+1340_daily_bin1380> in cluster Done Job <4FGL_J0502.5+1340_daily_bin1380> was submitted from host by user in cluster at Sat Aug 21 18:15:34 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 21 18:15:35 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 21 18:15:35 2021 Terminated at Sat Aug 21 18:52:34 2021 Results reported at Sat Aug 21 18:52:34 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_daily_bin1380 75.6341 13.6685 597024001 597283201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2065.75 sec. Max Memory : 643 MB Average Memory : 352.09 MB Total Requested Memory : - Delta Memory : - Max Swap : 2932 MB Max Processes : 6 Max Threads : 21 Run time : 2219 sec. Turnaround time : 2220 sec. The output (if any) is above this job summary.