/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 237 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 = 7480
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1507.2+1721_daily_bin53
RA = 226.821, Dec = 17.3519
tmin = 253065601, tmax = 253324801
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='63601', job_status='RUN', time_executed='2021-09-11 00:50:03.804019', time_epoch_executed='1631346603.8' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/63601

Creating custom pfile directory:
/scratch/kocevski/63601/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=253065601.0 && nMetStart<253324801.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=253065601.0 && nMetStart<253324801.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/63601/ft1_4FGL_J1507.2+1721_daily_bin53.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=253065601.0 && nMetStart<253324801.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/63601/ft2_4FGL_J1507.2+1721_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/63601/ft1_4FGL_J1507.2+1721_daily_bin53.fits outfile=/scratch/kocevski/63601/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin53.fits ra=226.821 dec=17.3519 rad=12.0 tmin=253065601.0 tmax=253324801.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 1.41
user 1.24
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/63601/ft2_4FGL_J1507.2+1721_daily_bin53.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/63601/ft2_4FGL_J1507.2+1721_daily_bin53.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/63601/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin53.fits evtable="EVENTS" outfile="/scratch/kocevski/63601/ft1_filtered_4FGL_J1507.2+1721_daily_bin53.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/63601/ft1_filtered_4FGL_J1507.2+1721_daily_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/63601/ft2_4FGL_J1507.2+1721_daily_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/63601/ltcube_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.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/63601/ft2_4FGL_J1507.2+1721_daily_bin53.fits
.....................!
real 13.10
user 12.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/63601/ft1_filtered_4FGL_J1507.2+1721_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/63601/ft2_4FGL_J1507.2+1721_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/63601/ltcube_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.fits outfile=/scratch/kocevski/63601/expmap_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.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/63601/ltcube_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.fits
.....................!
real 190.73
user 185.13
sys 4.96

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
Added 144 point sources and 0 extended sources

Setting source of interest to:
4FGL J1507.2+1721 @ 226.821 17.3519

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/63601/ft1_filtered_4FGL_J1507.2+1721_daily_bin53.fits scfile=/scratch/kocevski/63601/ft2_4FGL_J1507.2+1721_daily_bin53.fits outfile=/scratch/kocevski/63601/cmap_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.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=226.821 yref=17.3519 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.61
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/63601/ft1_filtered_4FGL_J1507.2+1721_daily_bin53.fits scfile=/scratch/kocevski/63601/ft2_4FGL_J1507.2+1721_daily_bin53.fits outfile=/scratch/kocevski/63601/cmap_HighResolution_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.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=226.821 yref=17.3519 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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/63601/ft1_filtered_4FGL_J1507.2+1721_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/63601/ft2_4FGL_J1507.2+1721_daily_bin53.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/63601/Model_4FGL_J1507.2+1721_daily_bin53.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
Working on...
/scratch/kocevski/63601/ft1_filtered_4FGL_J1507.2+1721_daily_bin53.fits.....................!
real 60.62
user 59.19
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/63601/ft1_filtered_4FGL_J1507.2+1721_daily_bin53.fits', '/scratch/kocevski/63601/ft2_4FGL_J1507.2+1721_daily_bin53.fits', expMap='/scratch/kocevski/63601/expmap_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.fits', expCube='/scratch/kocevski/63601/ltcube_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/63601/Model_4FGL_J1507.2+1721_daily_bin53.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1507.2+1721'

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.297e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/63601/ft1_filtered_4FGL_J1507.2+1721_daily_bin53.fits
Spacecraft file(s): /scratch/kocevski/63601/ft2_4FGL_J1507.2+1721_daily_bin53.fits
Exposure map: /scratch/kocevski/63601/expmap_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.fits
Exposure cube: /scratch/kocevski/63601/ltcube_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/63601/Model_4FGL_J1507.2+1721_daily_bin53.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) = 7989.34011635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 7989.33484076

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    12.482       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.1012       1.0000         .10000E-03   10000.    
     5 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11703E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2811       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13355E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .61953E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.2965       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .65386       1.0000         .10000E-03   10000.    
    15 'Prefactor '    46.065       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10825E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .69424       1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.863       1.0000         .10000E-03   10000.    
    19 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1542       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95305       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+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.

 FCN=   7989.335     FROM MIGRAD    STATUS=CONVERGED    865 CALLS     2732 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9469        .14915E-02** at limit **
   2  norm          12.484        4.3211        .10590E-03   -.27975E-03
   3  Prefactor     .10000E-03    2.7472        .14374E-02** at limit **
   4  norm          4.1026        2.8210        .12016E-03   -.45035E-03
   5  norm          .10000E-03    1.5913        .10969E-02** at limit **
   6  Prefactor     .10000E-03    29.220        .18142E-02** at limit **
   7  Prefactor     .10000E-03    8.5779        .18142E-02** at limit **
   8  Prefactor     .10000E-03    4.0897        .17646E-02** at limit **
   9  Prefactor     8.2815        14.686        .13931E-03   -.55899E-04
  10  Prefactor     .10000E-03    10.368        .18142E-02** at limit **
  11  Prefactor     .10002E-03    44.203        .36589E-02** at limit **
  12  norm          4.2965        .40792        .16764E-04    .86872E-03
  13  norm          .10000E-03    2.8919        .14820E-02** at limit **
  14  norm          .54344        34.003        .18706        .18048E-03
  15  Prefactor     46.081        41.271        .59075E-04   -.17513E-04
  16  Prefactor     .10000E-03    5.2060        .18142E-02** at limit **
  17  Prefactor     .58956        262.00        .73321E-02    .10285E-03
  18  Prefactor     16.822        23.180        .97532E-04   -.50938E-04
  19  norm          .10000E-03    1.9654        .24113E-03** at limit **
  20  Prefactor     .10000E-03    36.394        .18142E-02** at limit **
  21  Normalizat    1.1542        .26810        .32875E-03    .81232E-04
  22  Prefactor     .95294        .16647        .22680E-03    .66660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 12.4845
  Prefactor  = 0.0001
  norm       = 4.1026
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.28145
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  norm       = 4.29654
  norm       = 0.0001
  norm       = 0.543439
  Prefactor  = 46.0807
  Prefactor  = 0.0001
  Prefactor  = 0.589562
  Prefactor  = 16.8218
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.15423
  Prefactor  = 0.95294
 **********
 **   18 **HESSE 
 **********

 FCN=   7989.335     FROM HESSE     STATUS=OK           334 CALLS     3066 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.9476        .29829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          12.484        4.3207        .42361E-05   -1.5001    
   3  Prefactor     .10000E-03    2.7481        .28748E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.1026        2.8206        .48065E-05   -1.5303    
   5  norm          .10000E-03    1.5915        .21938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.234        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.5782        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.0898        .35293E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.2815        14.685        .55725E-05   -1.5132    
  10  Prefactor     .10000E-03    10.368        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    44.990        .73179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.2965        .40792        .67056E-06   -1.5293    
  13  norm          .10000E-03    2.8922        .29639E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .54344        33.916        .18758       -1.5561    
  15  Prefactor     46.081        41.260        .23630E-05   -1.4349    
  16  Prefactor     .10000E-03    5.2076        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .58956        269.32        .29328E-02   -1.5554    
  18  Prefactor     16.822        23.175        .39013E-05   -1.4887    
  19  norm          .10000E-03    1.9654        .48226E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    36.400        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1542        .26767        .13150E-04   -.88029    
  22  Prefactor     .95294        .16662        .45359E-04   -.94315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55878e-09
Minuit parameter uncertainties:
  1  7.94225e-07
  2  4.32078
  3  4.51676e-06
  4  2.82068
  5  8.1306e-07
  6  1.10884e-05
  7  1.69494e-06
  8  1.17737e-06
  9  14.691
  10  6.73695e-06
  11  0.00167296
  12  0.40792
  13  2.31762e-06
  14  8.59064
  15  41.2854
  16  2.55136e-07
  17  25.3148
  18  23.1874
  19  8.86816e-06
  20  0.000387195
  21  0.267986
  22  0.166712
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 7989.33481229

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  5.434e-01  8.591e+00  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  1.534e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  2.414e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  9.529e-01  1.667e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.154e+00  2.680e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 226.821 17.352
Photon Flux Upper Limit: 2.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/63601/likelihoodResults_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.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) = 7989.19551701
delta logL = 0.139295282644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7989.19547653
delta logL = 0.139335757766

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8938       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5587       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7989.195     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      283 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8938        573.33        .41353E-02    .86551E-04
   2  alpha         2.5590        3.3218        .41166        .49167E-04
   3  Normalizat    1.1596        .58425E-01    .74128E-01    .16550E-04
   4  Prefactor     .94595        .34782E-01    .45589E-01    .93830E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.89385
  alpha      = 2.55895
  Normalizat = 1.15965
  Prefactor  = 0.945949
 **********
 **   18 **HESSE 
 **********

 FCN=   7989.195     FROM HESSE     STATUS=OK            33 CALLS      316 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8938        26.343        .16541E-03   -1.5222    
   2  alpha         2.5590        1.8234        .24206E-01    .23582E-01
   3  Normalizat    1.1596        .26041        .32806E-03   -.87859    
   4  Prefactor     .94595        .16625        .22750E-03   -.94554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29731e-11
Minuit parameter uncertainties:
  1  24.9391
  2  2.04368
  3  0.260696
  4  0.166339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/63601': 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) = 7989.19547645
delta logL = 0.139335838437

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  5.894e+00  2.494e+01  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  2.559e+00  2.044e+00  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  2.414e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  3.634e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  9.459e-01  1.663e-01  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.160e+00  2.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 226.821 17.352

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/63601/cmap_HighResolution_253065601_253324801_4FGL_J1507.2+1721_daily_bin53.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/63601

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.67e-05', job_status='DONE', photon_flux_upper_limit='2.28e-08', time_completed='2021-09-11 01:01:26.345181', job_id='63601', GAL2='0.95', fit_tolerance='1e-08', EG2='1.16', EG='1.15', time_epoch_completed='1631347286.35', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.39e-01', ts2='0.28', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='53' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 01:01:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 63601: <4FGL_J1507.2+1721_daily_bin53> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin53> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 11 00:45:57 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 00:45:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 00:45:58 2021
Terminated at Sat Sep 11 01:01:26 2021
Results reported at Sat Sep 11 01:01:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin53 226.821 17.3519 253065601 253324801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1507.2+1721 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   681.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            929 sec.

The output (if any) is above this job summary.

