/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 211 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 = 7447
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1507.2+1721_daily_bin1430
RA = 226.821, Dec = 17.3519
tmin = 609984001, tmax = 610243201
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='72090', job_status='RUN', time_executed='2021-09-11 01:09:50.705891', time_epoch_executed='1631347790.71' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='1430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/72090

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/72090/ft1_4FGL_J1507.2+1721_daily_bin1430.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/72090/ft2_4FGL_J1507.2+1721_daily_bin1430.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/72090/ft1_4FGL_J1507.2+1721_daily_bin1430.fits outfile=/scratch/kocevski/72090/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1430.fits ra=226.821 dec=17.3519 rad=12.0 tmin=609984001.0 tmax=610243201.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.12
user 3.89
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/72090/ft1_filtered_4FGL_J1507.2+1721_daily_bin1430.fits" evtable="EVENTS" scfile=/scratch/kocevski/72090/ft2_4FGL_J1507.2+1721_daily_bin1430.fits sctable="SC_DATA" outfile=/scratch/kocevski/72090/ltcube_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.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/72090/ft2_4FGL_J1507.2+1721_daily_bin1430.fits
.....................!
real 9.68
user 9.39
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/72090/ft1_filtered_4FGL_J1507.2+1721_daily_bin1430.fits evtable="EVENTS" scfile=/scratch/kocevski/72090/ft2_4FGL_J1507.2+1721_daily_bin1430.fits sctable="SC_DATA" expcube=/scratch/kocevski/72090/ltcube_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.fits outfile=/scratch/kocevski/72090/expmap_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.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/72090/ltcube_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.fits
.....................!
real 145.14
user 141.19
sys 3.67

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/72090/ft1_filtered_4FGL_J1507.2+1721_daily_bin1430.fits scfile=/scratch/kocevski/72090/ft2_4FGL_J1507.2+1721_daily_bin1430.fits outfile=/scratch/kocevski/72090/cmap_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.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.44
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/72090/ft1_filtered_4FGL_J1507.2+1721_daily_bin1430.fits scfile=/scratch/kocevski/72090/ft2_4FGL_J1507.2+1721_daily_bin1430.fits outfile=/scratch/kocevski/72090/cmap_HighResolution_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.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.44
user 0.30
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/72090/ft1_filtered_4FGL_J1507.2+1721_daily_bin1430.fits evtable="EVENTS" scfile=/scratch/kocevski/72090/ft2_4FGL_J1507.2+1721_daily_bin1430.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/72090/Model_4FGL_J1507.2+1721_daily_bin1430.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/72090/ft1_filtered_4FGL_J1507.2+1721_daily_bin1430.fits.....................!
real 37.16
user 36.13
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/72090/ft1_filtered_4FGL_J1507.2+1721_daily_bin1430.fits', '/scratch/kocevski/72090/ft2_4FGL_J1507.2+1721_daily_bin1430.fits', expMap='/scratch/kocevski/72090/expmap_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.fits', expCube='/scratch/kocevski/72090/ltcube_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/72090/Model_4FGL_J1507.2+1721_daily_bin1430.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/72090/ft1_filtered_4FGL_J1507.2+1721_daily_bin1430.fits
Spacecraft file(s): /scratch/kocevski/72090/ft2_4FGL_J1507.2+1721_daily_bin1430.fits
Exposure map: /scratch/kocevski/72090/expmap_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.fits
Exposure cube: /scratch/kocevski/72090/ltcube_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/72090/Model_4FGL_J1507.2+1721_daily_bin1430.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) = 6082.40234749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0496       1.0000         .10000E-03   10000.    
     2 'norm      '    1.8638       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8979       1.0000         .10000E-03   10000.    
     4 'norm      '    .77089E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10668E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.8767       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8469       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1273       1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    44.501       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19115E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    98.477       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .32144E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.0508       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2643       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80511       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=   6082.394     FROM MIGRAD    STATUS=CONVERGED    851 CALLS     3078 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0509        7.9110        .42148E-03    .19480E-03
   2  norm          1.8639        1.7470        .96567E-04   -.11290E-03
   3  Prefactor     5.8986        6.4682        .16536E-03    .44841E-03
   4  norm          .10001E-03    23.893        .18845E-02** at limit **
   5  norm          .10000E-03    3.0574        .13211E-02** at limit **
   6  Prefactor     .10000E-03    11.603        .18142E-02** at limit **
   7  Prefactor     .10000E-03    15.632        .18142E-02** at limit **
   8  Prefactor     .10000E-03    54.642        .18142E-02** at limit **
   9  Prefactor     4.8799        31.492        .18215E-03    .14979E-04
  10  Prefactor     .10002E-03    86.007        .18142E-02** at limit **
  11  Prefactor     2.8489        7.2541        .24098E-03    .49112E-04
  12  norm          1.1274        .29749        .20737E-04    .39802E-03
  13  norm          .10000E-03    4.8531        .16720E-02** at limit **
  14  norm          .10000E-03    24.434        .18142E-02** at limit **
  15  Prefactor     44.476        71.497        .60100E-04    .53004E-04
  16  Prefactor     .10000E-03    33.473        .35259E-02** at limit **
  17  Prefactor     98.467        51.749        .40509E-04    .17063E-04
  18  Prefactor     .10016E-03    42.938        .12377    ** at limit **
  19  norm          2.0508        1.9502        .10326E-03   -.95349E-04
  20  Prefactor     .10000E-03    19.319        .18142E-02** at limit **
  21  Normalizat    1.2642        .28000        .29052E-03   -.41811E-03
  22  Prefactor     .80501        .16228        .21507E-03   -.20675E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05095
  norm       = 1.86393
  Prefactor  = 5.89863
  norm       = 0.000100011
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.87988
  Prefactor  = 0.000100017
  Prefactor  = 2.84889
  norm       = 1.1274
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 44.4755
  Prefactor  = 0.000100002
  Prefactor  = 98.4673
  Prefactor  = 0.000100164
  norm       = 2.05078
  Prefactor  = 0.000100001
  Normalizat = 1.26424
  Prefactor  = 0.805006
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.394     FROM HESSE     STATUS=OK           330 CALLS     3408 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0509        7.9065        .16859E-04   -1.5503    
   2  norm          1.8639        1.7470        .38627E-05   -1.5435    
   3  Prefactor     5.8986        6.4666        .66142E-05   -1.5222    
   4  norm          .10001E-03    24.296        .37689E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.0584        .26422E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.604        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.634        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    54.683        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.8799        31.483        .72859E-05   -1.5266    
  10  Prefactor     .10002E-03    86.020        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8489        7.2537        .96391E-05   -1.5370    
  12  norm          1.1274        .29748        .82947E-06   -1.5496    
  13  norm          .10000E-03    4.8543        .33440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    24.434        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     44.476        71.488        .12020E-04   -1.4373    
  16  Prefactor     .10000E-03    33.864        .70517E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     98.467        51.747        .81017E-05   -1.3720    
  18  Prefactor     .10016E-03    40.937        .12758       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.0508        1.9502        .20651E-04   -1.5422    
  20  Prefactor     .10000E-03    19.320        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2642        .28019        .58104E-04   -.84640    
  22  Prefactor     .80501        .16242        .43014E-04   -.99544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03968e-09
Minuit parameter uncertainties:
  1  5.76598
  2  1.747
  3  6.46732
  4  0.00102481
  5  2.08425e-05
  6  3.06171e-05
  7  0.000150075
  8  0.000462863
  9  24.8086
  10  0.00243509
  11  7.25592
  12  0.297476
  13  1.75922e-05
  14  0.000306315
  15  71.6261
  16  0.000533576
  17  51.7703
  18  0.00518566
  19  1.95027
  20  0.000253213
  21  0.28053
  22  0.162515
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  3.063e-04  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:  8.050e-01  1.625e-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.264e+00  2.805e-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.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/72090/likelihoodResults_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.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) = 6082.39393959
delta logL = -0.000182844739356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6082.39375699
delta logL = -2.45023329626e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11148E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5251       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2642       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80501       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=   6082.394     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      198 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    24.816        .90712E-02** at limit **
   2  alpha         1.5360        3.2515        .46039       -.19576E-05
   3  Normalizat    1.2642        .22052        .65672E-01    .68201E-05
   4  Prefactor     .80500        .13427        .43782E-01    .10826E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.53596
  Normalizat = 1.26425
  Prefactor  = 0.805003
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.394     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    24.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5360        3.2491        .50000       -.39587    
   3  Normalizat    1.2642        .26313        .29052E-03   -.84640    
   4  Prefactor     .80500        .16033        .21507E-03   -.99544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8784e-12
Minuit parameter uncertainties:
  1  1.09723e-05
  2  2.30831
  3  0.263407
  4  0.160419
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/72090': 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) = 6082.39375675
delta logL = 2.24645191338e-09

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  1.097e-05  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  1.536e+00  2.308e+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:  8.050e-01  1.604e-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.264e+00  2.634e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/72090/cmap_HighResolution_609984001_610243201_4FGL_J1507.2+1721_daily_bin1430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.35e-05', job_status='DONE', photon_flux_upper_limit='2.19e-08', time_completed='2021-09-11 01:18:41.905395', job_id='72090', GAL2='0.81', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1631348321.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.25e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='1430' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 01:18:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 72090: <4FGL_J1507.2+1721_daily_bin1430> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin1430> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 01:06:09 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 01:06:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 01:06:11 2021
Terminated at Sat Sep 11 01:18:42 2021
Results reported at Sat Sep 11 01:18:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin1430 226.821 17.3519 609984001 610243201 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 :                                   449.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            753 sec.

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

