/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 85 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 = 73266 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0240.5+6113_monthly_bin112 RA = 40.1426, Dec = 61.2287 tmin = 527299201, tmax = 529891201 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='50372', job_status='RUN', time_executed='2021-10-10 19:16:51.224327', time_epoch_executed='1633918611.22' WHERE source_name='4FGL J0240.5+6113' and cadence='monthly' and bin_id='112' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/50372 Creating custom pfile directory: /scratch/kocevski/50372/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=527299201.0 && nMetStart<529891201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=527299201.0 && nMetStart<529891201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/50372/ft1_4FGL_J0240.5+6113_monthly_bin112.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=527299201.0 && nMetStart<529891201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/50372/ft1_4FGL_J0240.5+6113_monthly_bin112.fits outfile=/scratch/kocevski/50372/ft1_filteredMKT_4FGL_J0240.5+6113_monthly_bin112.fits ra=40.1426 dec=61.2287 rad=12.0 tmin=527299201.0 tmax=529891201.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 32.04 user 31.16 sys 0.81 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.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/50372/ft1_filteredMKT_4FGL_J0240.5+6113_monthly_bin112.fits evtable="EVENTS" outfile="/scratch/kocevski/50372/ft1_filtered_4FGL_J0240.5+6113_monthly_bin112.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.88 user 0.68 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/50372/ft1_filtered_4FGL_J0240.5+6113_monthly_bin112.fits" evtable="EVENTS" scfile=/scratch/kocevski/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.fits sctable="SC_DATA" outfile=/scratch/kocevski/50372/ltcube_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.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/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.fits .....................! real 110.33 user 109.78 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/50372/ft1_filtered_4FGL_J0240.5+6113_monthly_bin112.fits evtable="EVENTS" scfile=/scratch/kocevski/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.fits sctable="SC_DATA" expcube=/scratch/kocevski/50372/ltcube_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.fits outfile=/scratch/kocevski/50372/expmap_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.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/50372/ltcube_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.fits .....................! real 192.90 user 187.44 sys 5.08 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. Extended source G150.3+4.5 in ROI with RadialDisk spatial model. Added 179 point sources and 3 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 J0240.5+6113 @ 40.1426 61.2287 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/50372/ft1_filtered_4FGL_J0240.5+6113_monthly_bin112.fits scfile=/scratch/kocevski/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.fits outfile=/scratch/kocevski/50372/cmap_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.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=40.1426 yref=61.2287 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.85 user 0.68 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/50372/ft1_filtered_4FGL_J0240.5+6113_monthly_bin112.fits scfile=/scratch/kocevski/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.fits outfile=/scratch/kocevski/50372/cmap_HighResolution_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.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=40.1426 yref=61.2287 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.87 user 0.68 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/50372/ft1_filtered_4FGL_J0240.5+6113_monthly_bin112.fits evtable="EVENTS" scfile=/scratch/kocevski/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/50372/Model_4FGL_J0240.5+6113_monthly_bin112.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 G150.3+4.5 adding source GAL_V02 adding source HB 3 adding source W 3 Working on... /scratch/kocevski/50372/ft1_filtered_4FGL_J0240.5+6113_monthly_bin112.fits.....................! real 5052.51 user 5039.51 sys 3.77 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/50372/ft1_filtered_4FGL_J0240.5+6113_monthly_bin112.fits', '/scratch/kocevski/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.fits', expMap='/scratch/kocevski/50372/expmap_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.fits', expCube='/scratch/kocevski/50372/ltcube_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/50372/Model_4FGL_J0240.5+6113_monthly_bin112.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0240.5+6113' 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 4.756e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/50372/ft1_filtered_4FGL_J0240.5+6113_monthly_bin112.fits Spacecraft file(s): /scratch/kocevski/50372/ft2_4FGL_J0240.5+6113_monthly_bin112.fits Exposure map: /scratch/kocevski/50372/expmap_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.fits Exposure cube: /scratch/kocevski/50372/ltcube_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/50372/Model_4FGL_J0240.5+6113_monthly_bin112.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) = 373870.101145 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 373869.639357 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 3.7007 1.0000 .10000E-03 10000. 2 'Prefactor ' .93510 1.0000 .10000E-03 10000. 3 'norm ' .70363 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.4845 1.0000 .10000E-03 10000. 5 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.5818 1.0000 .10000E-03 10000. 7 'Prefactor ' 1.6100 1.0000 .10000E-03 10000. 8 'norm ' 1.3787 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'norm ' 4.7161 1.0000 .10000E-03 10000. 11 'norm ' 5.3517 1.0000 .10000E-03 10000. 12 'norm ' 6.6172 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.0572 1.0000 .10000E-03 10000. 14 'norm ' 4.0322 1.0000 .10000E-03 10000. 15 'Prefactor ' 10.310 1.0000 .10000E-03 10000. 16 'Prefactor ' 1.7814 1.0000 .10000E-03 10000. 17 'Prefactor ' .97786 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.5994 1.0000 .10000E-03 10000. 19 'Prefactor ' 5.2784 1.0000 .10000E-03 10000. 20 'Normalizat' 1.3180 1.0000 .10000E-01 10.000 21 'Prefactor ' .96179 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 373869.6 FROM MIGRAD STATUS=CONVERGED 53 CALLS 1556 TOTAL EDM= .51E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.7009 1.5378 .93154E-06 -.85172E-03 2 Prefactor .93562 2.2077 .30333E-05 .24139E-03 3 norm .70354 .47068 .40300E-08 .22103E-03 4 Prefactor 1.4846 .77532 .50671E-08 .92260E-04 5 Prefactor .10000E-03 1.3008 .79664E-06** at limit ** 6 Prefactor 3.5815 1.0160 -.66877E-07 .50466E-03 7 Prefactor 1.6101 .25981 -.86200E-08 -.21614E-02 8 norm 1.3774 1.7865 .25921E-06 -.78125E-04 9 Prefactor .10000E-03 8.4048 .25920E-06** at limit ** 10 norm 4.7161 .18628 -.80962E-09 -.51649E-02 11 norm 5.3515 1.1125 .28510E-06 -.22284E-02 12 norm 6.6172 1.0702 .21683E-06 -.92227E-03 13 Prefactor 1.0576 .71364 -.26487E-07 -.34855E-03 14 norm 4.0323 1.2349 .87168E-07 -.28933E-03 15 Prefactor 10.310 1.0078 -.47580E-07 .88096E-03 16 Prefactor 1.7814 .86217 .25828E-07 .14131E-04 17 Prefactor .97812 .67788 -.51778E-08 -.35149E-03 18 Prefactor 3.5990 1.0116 .38105E-07 -.33009E-03 19 Prefactor 5.2785 1.0052 -.22961E-07 .12422E-03 20 Normalizat 1.3179 .94026E-01 -.25664E-06 -.43448E-04 21 Prefactor .96179 .95046E-02 -.32717E-07 -.36571E-03 ERR DEF= .500 Final values: norm = 3.70091 Prefactor = 0.935624 norm = 0.703535 Prefactor = 1.48464 Prefactor = 0.000100001 Prefactor = 3.5815 Prefactor = 1.61007 norm = 1.37737 Prefactor = 0.0001 norm = 4.71613 norm = 5.35153 norm = 6.61725 Prefactor = 1.05764 norm = 4.03234 Prefactor = 10.3102 Prefactor = 1.78142 Prefactor = 0.978122 Prefactor = 3.59905 Prefactor = 5.27849 Normalizat = 1.31791 Prefactor = 0.961795 ********** ** 18 **HESSE ********** FCN= 373869.6 FROM HESSE STATUS=OK 377 CALLS 1933 TOTAL EDM= .59E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.7009 2.3778 .52483E-02 -1.5323 2 Prefactor .93562 2.6780 .12934E-01 -1.5515 3 norm .70354 .60561 .71569E-01 -1.5540 4 Prefactor 1.4846 .78009 .88028E-02 -1.5464 5 Prefactor .10000E-03 1.3362 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 3.5815 9.3590 .53382E-02 -1.5329 7 Prefactor 1.6101 .26236 .83461E-02 -1.5454 8 norm 1.3774 1.8553 .92703E-02 -1.5473 9 Prefactor .10000E-03 8.3887 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 4.7161 .18684 .46323E-02 -1.5274 11 norm 5.3515 3.5167 .43430E-02 -1.5245 12 norm 6.6172 2.4696 .38999E-02 -1.5193 13 Prefactor 1.0576 .74183 .11953E-01 -1.5502 14 norm 4.0323 1.2512 .50204E-02 -1.5306 15 Prefactor 10.310 9.1918 .31196E-02 -1.5066 16 Prefactor 1.7814 .86344 .78389E-02 -1.5441 17 Prefactor .97812 .71652 .13087E-01 -1.5510 18 Prefactor 3.5990 5.5755 .53245E-02 -1.5329 19 Prefactor 5.2785 6.4154 .43736E-02 -1.5248 20 Normalizat 1.3179 .98891E-01 .23121 -.83033 21 Prefactor .96179 .94613E-02 .26909E-01 -.94014 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.85774e-06 Minuit parameter uncertainties: 1 2.37789 2 2.67837 3 0.605617 4 0.780095 5 7.08578e-05 6 9.36286 7 0.26236 8 1.85536 9 7.36175e-05 10 0.186841 11 3.5168 12 2.46964 13 0.741833 14 1.25116 15 9.19306 16 0.863448 17 0.71653 18 5.57626 19 6.41624 20 0.0989048 21 0.0094613 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 373869.639356 Extracting fit parameters... 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 4.716e+00 1.868e-01 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.399e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 618 Prefactor: 9.618e-01 9.461e-03 0.000e+00 1.000e+01 ( 1.000e+00) 619 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 620 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 613 Normalization: 1.318e+00 9.890e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1500.83 Ra Dec: 40.143 61.229 Photon Index (Fixed Index): 2.40 +/- 0.00 Photon Flux (Fixed Index): 7.74e-07 +/- 3.06e-08 Energy Flux (Fixed Index): 2.91e-04 +/- 1.15e-05 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) = 373868.850706 delta logL = 0.788650044182 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 373868.840123 delta logL = 0.799232904159 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 4.4783 1.0000 .10000E-03 10000. 2 'alpha ' 2.4524 1.0000 .0000 5.0000 3 'Normalizat' 1.2994 1.0000 .10000E-01 10.000 4 'Prefactor ' .96231 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 373868.8 FROM MIGRAD STATUS=FAILED 101 CALLS 273 TOTAL EDM= .12E-06 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 4.4783 .27119 .48327E-04 .15056E-04 2 alpha 2.4524 .44421E-01 .61973E-02 .19835E-01 3 Normalizat 1.2995 .93260E-01 .10384E-02 .56616E-04 4 Prefactor .96231 .94094E-02 .11888E-03 -.22034E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 373868.8 FROM SIMPLEX STATUS=UNCHANGED 72 CALLS 345 TOTAL EDM= .15E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 4.4783 .27119 .55254E-05 -1.5285 2 alpha 2.4524 .44421E-01 .64797E-04 -.19047E-01 3 Normalizat 1.2995 .93260E-01 .13580E-03 -.83581 4 Prefactor .96231 .94094E-02 .13255E-04 -.93997 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 373868.8 FROM MIGRAD STATUS=CONVERGED 27 CALLS 372 TOTAL EDM= .18E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 4.4783 .26146 .19331E-05 .15056E-04 2 alpha 2.4524 .42806E-01 .12395E-02 .79167E-03 3 Normalizat 1.2995 .93156E-01 .20768E-03 .56616E-04 4 Prefactor .96231 .94068E-02 .23776E-04 -.22034E-04 ERR DEF= .500 Final values: norm = 4.47827 alpha = 2.45239 Normalizat = 1.2995 Prefactor = 0.962305 ********** ** 18 **HESSE ********** FCN= 373868.8 FROM HESSE STATUS=OK 25 CALLS 397 TOTAL EDM= .26E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 4.4783 .25981 .19331E-05 -1.5285 2 alpha 2.4524 .42530E-01 .24789E-03 -.19047E-01 3 Normalizat 1.2995 .93139E-01 .20768E-03 -.83581 4 Prefactor .96231 .94064E-02 .23776E-04 -.93997 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.64786e-12 Minuit parameter uncertainties: 1 0.259806 2 0.0425325 3 0.0931512 4 0.00940641 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/50372': 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) = 373868.840123 delta logL = 0.799233456783 Extracting fit parameters... 4FGL J0240.5+6113 Spectrum: LogParabola 325 norm: 4.478e+00 2.598e-01 1.000e-04 1.000e+04 ( 1.000e-11) 326 alpha: 2.452e+00 4.253e-02 0.000e+00 5.000e+00 ( 1.000e+00) 327 beta: 1.481e-01 0.000e+00 0.000e+00 1.000e+01 ( 1.000e+00) fixed 328 Eb: 1.186e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 618 Prefactor: 9.623e-01 9.406e-03 0.000e+00 1.000e+01 ( 1.000e+00) 619 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 620 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 613 Normalization: 1.299e+00 9.315e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1500.91 Ra Dec: 40.143 61.229 Photon Index (Free Index): 2.45 +/- 0.04 Photon Flux (Free Index): 8.01e-07 +/- 3.75e-08 Energy Flux (Free Index): 2.85e-04 +/- 1.22e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -4.000e-01 [aplpy.core] INFO: Auto-setting vmax to 4.440e+00 [aplpy.core] Saving /scratch/kocevski/50372/cmap_HighResolution_527299201_529891201_4FGL_J0240.5+6113_monthly_bin112.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/50372 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.74e-07', energy_flux2='2.85e-04', photon_flux_error='3.06e-08', dlogl='7.99e-01', energy_flux='2.91e-04', photon_flux2='8.01e-07', job_status='DONE', time_completed='2021-10-11 00:27:30.770393', photon_index_error2='0.04', photon_index2='2.45', ts='1500.83', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.22e-05', EG='1.32', time_epoch_completed='1633937250.77', return_code='0', job_id='50372', GAL2='0.96', EG2='1.30', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='3.75e-08', ts2='1500.91', photon_index='2.40' WHERE bin_id='112' AND source_name='4FGL J0240.5+6113' AND cadence='monthly'; Database successfully updated. Analysis Complete. Mon Oct 11 00:27:30 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 50372: <4FGL_J0240.5+6113_monthly_bin112> in cluster Done Job <4FGL_J0240.5+6113_monthly_bin112> was submitted from host by user in cluster at Sun Oct 10 19:15:16 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Oct 10 19:15:18 2021 was used as the home directory. was used as the working directory. Started at Sun Oct 10 19:15:18 2021 Terminated at Mon Oct 11 00:27:33 2021 Results reported at Mon Oct 11 00:27:33 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0240.5+6113_monthly_bin112 40.1426 61.2287 527299201 529891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0240.5+6113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 18545.00 sec. Max Memory : 933 MB Average Memory : 820.06 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 18734 sec. Turnaround time : 18737 sec. The output (if any) is above this job summary.