/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 70 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 = 7368 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_daily_bin1372 RA = 75.6341, Dec = 13.6685 tmin = 594950401, tmax = 595209601 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='927803', job_status='RUN', time_executed='2021-08-21 18:16:59.633447', time_epoch_executed='1629595019.63' WHERE source_name='4FGL J0502.5+1340' and cadence='daily' and bin_id='1372' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/927803 Creating custom pfile directory: /scratch/kocevski/927803/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=594950401.0 && nMetStart<595209601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=594950401.0 && nMetStart<595209601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/927803/ft1_4FGL_J0502.5+1340_daily_bin1372.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=594950401.0 && nMetStart<595209601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/927803/ft1_4FGL_J0502.5+1340_daily_bin1372.fits outfile=/scratch/kocevski/927803/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1372.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=594950401.0 tmax=595209601.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 3.31 user 2.75 sys 0.52 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.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/927803/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1372.fits evtable="EVENTS" outfile="/scratch/kocevski/927803/ft1_filtered_4FGL_J0502.5+1340_daily_bin1372.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.82 user 0.34 sys 0.47 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/927803/ft1_filtered_4FGL_J0502.5+1340_daily_bin1372.fits" evtable="EVENTS" scfile=/scratch/kocevski/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.fits sctable="SC_DATA" outfile=/scratch/kocevski/927803/ltcube_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.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/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.fits .....................! real 12.64 user 11.93 sys 0.68 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/927803/ft1_filtered_4FGL_J0502.5+1340_daily_bin1372.fits evtable="EVENTS" scfile=/scratch/kocevski/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.fits sctable="SC_DATA" expcube=/scratch/kocevski/927803/ltcube_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.fits outfile=/scratch/kocevski/927803/expmap_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.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/927803/ltcube_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.fits .....................! real 190.33 user 185.28 sys 4.68 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/927803/ft1_filtered_4FGL_J0502.5+1340_daily_bin1372.fits scfile=/scratch/kocevski/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.fits outfile=/scratch/kocevski/927803/cmap_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.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 0.86 user 0.37 sys 0.46 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/927803/ft1_filtered_4FGL_J0502.5+1340_daily_bin1372.fits scfile=/scratch/kocevski/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.fits outfile=/scratch/kocevski/927803/cmap_HighResolution_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.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 0.86 user 0.37 sys 0.48 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/927803/ft1_filtered_4FGL_J0502.5+1340_daily_bin1372.fits evtable="EVENTS" scfile=/scratch/kocevski/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/927803/Model_4FGL_J0502.5+1340_daily_bin1372.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/927803/ft1_filtered_4FGL_J0502.5+1340_daily_bin1372.fits.....................! real 118.12 user 116.22 sys 1.62 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/927803/ft1_filtered_4FGL_J0502.5+1340_daily_bin1372.fits', '/scratch/kocevski/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.fits', expMap='/scratch/kocevski/927803/expmap_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.fits', expCube='/scratch/kocevski/927803/ltcube_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/927803/Model_4FGL_J0502.5+1340_daily_bin1372.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/927803/ft1_filtered_4FGL_J0502.5+1340_daily_bin1372.fits Spacecraft file(s): /scratch/kocevski/927803/ft2_4FGL_J0502.5+1340_daily_bin1372.fits Exposure map: /scratch/kocevski/927803/expmap_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.fits Exposure cube: /scratch/kocevski/927803/ltcube_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/927803/Model_4FGL_J0502.5+1340_daily_bin1372.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) = 4766.98054103 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4766.92471207 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 378.26 1.0000 .10000E-03 10000. 2 'Prefactor ' .10020E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'norm ' 6.8509 1.0000 .10000E-03 10000. 5 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10023E-03 1.0000 .10000E-03 10000. 7 'norm ' .10012E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 29.044 1.0000 .10000E-03 10000. 11 'norm ' .10006E-03 1.0000 .10000E-03 10000. 12 'norm ' 1.5408 1.0000 .10000E-03 10000. 13 'Prefactor ' .71863 1.0000 .10000E-03 10000. 14 'norm ' .10001E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10011E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 180.77 1.0000 .10000E-03 10000. 17 'norm ' 11.032 1.0000 .10000E-03 10000. 18 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 19 'norm ' 17.020 1.0000 .10000E-03 10000. 20 'norm ' .10031E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .29928 1.0000 .10000E-03 10000. 22 'norm ' 22.070 1.0000 .10000E-03 10000. 23 'Prefactor ' 6.6775 1.0000 .10000E-03 10000. 24 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' .28532E-03 1.0000 .10000E-03 10000. 28 'Normalizat' .80639E-01 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0960 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 4766.925 FROM MIGRAD STATUS=CONVERGED 107 CALLS 3645 TOTAL EDM= .28E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 378.26 1.4367 .19838E-06 -.42057E-02 2 Prefactor .10457E-03 101.04 -.46246E-04** at limit ** 3 Prefactor .10373E-03 37.071 .27337E-05** at limit ** 4 norm 6.8523 1.0243 .26550E-06 .73300E-04 5 Prefactor .10024E-03 34.729 .25791E-04** at limit ** 6 Prefactor .10003E-03 9.6818 -.10530E-05** at limit ** 7 norm .10000E-03 6.6619 -.24833E-05** at limit ** 8 Prefactor .10024E-03 13.979 .13225E-04** at limit ** 9 Prefactor .10023E-03 12.770 .11201E-05** at limit ** 10 Prefactor 29.052 1.4491 .56387E-06 -.35993E-03 11 norm .10000E-03 .65180 .20835E-05** at limit ** 12 norm 1.5414 6.5206 -.18763E-04 -.54479E-03 13 Prefactor .71535 1.1147 -.30527E-08 -.12499E-03 14 norm .10000E-03 6.3910 .22737E-05** at limit ** 15 Prefactor .10000E-03 9.0182 -.52377E-05** at limit ** 16 Prefactor 180.77 1.0005 -.60835E-08 .11053E-03 17 norm 11.033 1.0139 -.47571E-07 .30898E-03 18 Prefactor .10142E-03 26.243 .93776E-05** at limit ** 19 norm 17.023 1.0208 .21166E-06 .40542E-04 20 norm .10000E-03 1.8946 -.24635E-06** at limit ** 21 Prefactor .29966 .19016 -.22674E-06 .10618E-03 22 norm 22.060 1.3305 -.16893E-06 -.19636E-02 23 Prefactor 6.6757 1.9388 .21323E-06 -.11724E-03 24 Prefactor .10002E-03 8.5450 .17156E-05** at limit ** 25 Prefactor .10010E-03 31.264 -.28046E-04** at limit ** 26 Prefactor .10000E-03 11.086 .26926E-06** at limit ** 27 Prefactor .10005E-03 .93783 -.41899E-05** at limit ** 28 Normalizat .80718E-01 1.6837 .39174E-05 .27637E-05 29 Prefactor 1.0960 .12897 .88250E-06 .18894E-04 ERR DEF= .500 Final values: Prefactor = 378.264 Prefactor = 0.000104569 Prefactor = 0.000103732 norm = 6.85233 Prefactor = 0.000100245 Prefactor = 0.000100034 norm = 0.0001 Prefactor = 0.00010024 Prefactor = 0.000100231 Prefactor = 29.0521 norm = 0.0001 norm = 1.54141 Prefactor = 0.715349 norm = 0.0001 Prefactor = 0.0001 Prefactor = 180.771 norm = 11.0331 Prefactor = 0.000101418 norm = 17.0229 norm = 0.0001 Prefactor = 0.299663 norm = 22.0595 Prefactor = 6.6757 Prefactor = 0.000100018 Prefactor = 0.000100095 Prefactor = 0.0001 Prefactor = 0.000100045 Normalizat = 0.0807178 Prefactor = 1.09597 ********** ** 18 **HESSE ********** FCN= 4766.925 FROM HESSE STATUS=NOT POSDEF 629 CALLS 4274 TOTAL EDM= .17E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 378.26 663.40 .52418E-03 -1.1793 2 Prefactor .10457E-03 126.97 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10373E-03 87.461 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 6.8523 31.591 .38322E-02 -1.5184 5 Prefactor .10024E-03 64.101 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10003E-03 16.012 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .10000E-03 6.4284 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10024E-03 20.955 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10023E-03 22.825 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 29.052 46.946 .18585E-02 -1.4629 11 norm .10000E-03 .52779 .23505E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 1.5414 21.722 .85871E-02 -1.5460 13 Prefactor .71535 33.095 .86906E-01 -1.5539 14 norm .10000E-03 5.7464 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 8.0446 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 180.77 332.92 .75058E-03 -1.3011 17 norm 11.033 6.3286 .30155E-02 -1.5044 18 Prefactor .10142E-03 46.967 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 17.023 21.463 .24270E-02 -1.4883 20 norm .10000E-03 1.4769 .27973E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .29966 .23956 .42229E-02 -1.5598 22 norm 22.060 7.0028 .21316E-02 -1.4768 23 Prefactor 6.6757 3.9919 .38821E-02 -1.5191 24 Prefactor .10002E-03 16.279 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .10010E-03 35.271 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10000E-03 9.9465 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .10005E-03 17.204 .86052E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat .80718E-01 9.6890 .50000 -1.4023 29 Prefactor 1.0960 .66311 .37742E-01 -.89595 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.6825e-06 Minuit parameter uncertainties: 1 677.549 2 0.0482742 3 0.036187 4 29.4514 5 0.00793411 6 0.00146752 7 1.04503e-05 8 0.00448576 9 0.00459377 10 47.0055 11 7.28954e-07 12 11.5776 13 9.73637 14 6.31969e-07 15 3.12038e-05 16 336.486 17 6.32898 18 0.0163324 19 21.473 20 3.73276e-06 21 0.23956 22 7.00307 23 3.99204 24 0.00107264 25 0.00366451 26 5.24494e-05 27 0.00176245 28 3.16207 29 0.668197 Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 4766.92470889 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 2.905e+01 4.701e+01 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.096e+00 6.682e-01 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.072e-02 3.162e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.76 Ra Dec: 75.634 13.668 Photon Index (Fixed Index): 2.23 +/- 0.00 Photon Flux (Fixed Index): 1.65e-07 +/- 2.67e-07 Energy Flux (Fixed Index): 7.01e-05 +/- 1.13e-04 TS (Fixed Index): 1.76 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 5.24e-07 ph cm-2 s-1 Energy Flux Upper Limit: 4.00e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/927803/likelihoodResults_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.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) = 4766.42990007 delta logL = 0.494808824132 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 4766.42208825 delta logL = 0.502620643825 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 5.7606 1.0000 .10000E-03 10000. 2 'Index ' 3.2978 1.0000 .0000 10.000 3 'Normalizat' .10008E-01 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0948 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. FCN= 4766.422 FROM MIGRAD STATUS=CONVERGED 59 CALLS 317 TOTAL EDM= .10E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 5.8192 79.571 .41836E-02 -.97199E-03 2 Index 3.2935 2.5547 .95871E-01 -.13455E-03 3 Normalizat .10000E-01 .87643E-01 .50000 ** at limit ** 4 Prefactor 1.0948 .40742E-01 .37788E-01 -.17116E-03 ERR DEF= .500 Final values: Prefactor = 5.81922 Index = 3.29355 Normalizat = 0.01 Prefactor = 1.09482 ********** ** 18 **HESSE ********** FCN= 4766.422 FROM HESSE STATUS=NOT POSDEF 33 CALLS 350 TOTAL EDM= .47E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 5.8192 155.39 .11005E-03 -1.5225 2 Index 3.2935 3.8857 .35277E-02 -.34829 3 Normalizat .10000E-01 .95892 .19576E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 1.0948 .70004E-01 .14834E-03 -.89632 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.74887e-09 Minuit parameter uncertainties: 1 60.3157 2 4.57467 3 7.77376e-05 4 0.0700098 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/927803': 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) = 4766.42207813 delta logL = 0.502630761243 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 5.819e+00 6.032e+01 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 3.294e+00 4.575e+00 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.095e+00 7.001e-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: 1.000e-02 7.774e-05 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.79 Ra Dec: 75.634 13.668 Photon Index (Free Index): 3.29 +/- 4.57 Photon Flux (Free Index): 4.02e-07 +/- 5.19e-07 Energy Flux (Free Index): 7.12e-05 +/- 5.82e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/927803/cmap_HighResolution_594950401_595209601_4FGL_J0502.5+1340_daily_bin1372.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/927803 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-02', comment='SUCCESS', photon_flux='1.65e-07', energy_flux2='7.12e-05', photon_flux_error='2.67e-07', dlogl='5.03e-01', energy_flux='7.01e-05', photon_flux2='4.02e-07', job_status='DONE', time_completed='2021-08-21 18:30:11.071235', photon_index_error2='4.57', photon_index2='3.29', ts='1.76', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='5.24e-07', energy_flux_error2='5.82e-05', EG='0.08', time_epoch_completed='1629595811.07', return_code='102', job_id='927803', GAL2='1.09', EG2='0.01', return_code2='102', energy_flux_error='1.13e-04', photon_flux_error2='5.19e-07', ts2='2.79', photon_index='2.23' WHERE bin_id='1372' AND source_name='4FGL J0502.5+1340' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 21 18:30:11 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 927803: <4FGL_J0502.5+1340_daily_bin1372> in cluster Done Job <4FGL_J0502.5+1340_daily_bin1372> was submitted from host by user in cluster at Sat Aug 21 18:15:33 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:30:11 2021 Results reported at Sat Aug 21 18:30:11 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_daily_bin1372 75.6341 13.6685 594950401 595209601 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 : 787.55 sec. Max Memory : 1094 MB Average Memory : 331.33 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 876 sec. Turnaround time : 878 sec. The output (if any) is above this job summary.