/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 74 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 = 7485
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1507.2+1721_daily_bin270
RA = 226.821, Dec = 17.3519
tmin = 309312001, tmax = 309571201
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='63953', job_status='RUN', time_executed='2021-09-11 00:47:47.204696', time_epoch_executed='1631346467.2' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='270'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/63953

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/63953/ft1_4FGL_J1507.2+1721_daily_bin270.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/63953/ft2_4FGL_J1507.2+1721_daily_bin270.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/63953/ft1_4FGL_J1507.2+1721_daily_bin270.fits outfile=/scratch/kocevski/63953/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin270.fits ra=226.821 dec=17.3519 rad=12.0 tmin=309312001.0 tmax=309571201.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.98
user 3.77
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/63953/ft2_4FGL_J1507.2+1721_daily_bin270.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/63953/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin270.fits evtable="EVENTS" outfile="/scratch/kocevski/63953/ft1_filtered_4FGL_J1507.2+1721_daily_bin270.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.51
user 0.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/63953/ft1_filtered_4FGL_J1507.2+1721_daily_bin270.fits evtable="EVENTS" scfile=/scratch/kocevski/63953/ft2_4FGL_J1507.2+1721_daily_bin270.fits sctable="SC_DATA" expcube=/scratch/kocevski/63953/ltcube_309312001_309571201_4FGL_J1507.2+1721_daily_bin270.fits outfile=/scratch/kocevski/63953/expmap_309312001_309571201_4FGL_J1507.2+1721_daily_bin270.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/63953/ltcube_309312001_309571201_4FGL_J1507.2+1721_daily_bin270.fits
.....................!
real 189.88
user 185.42
sys 4.06

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/63953/ft1_filtered_4FGL_J1507.2+1721_daily_bin270.fits scfile=/scratch/kocevski/63953/ft2_4FGL_J1507.2+1721_daily_bin270.fits outfile=/scratch/kocevski/63953/cmap_309312001_309571201_4FGL_J1507.2+1721_daily_bin270.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/63953/ft1_filtered_4FGL_J1507.2+1721_daily_bin270.fits scfile=/scratch/kocevski/63953/ft2_4FGL_J1507.2+1721_daily_bin270.fits outfile=/scratch/kocevski/63953/cmap_HighResolution_309312001_309571201_4FGL_J1507.2+1721_daily_bin270.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5797       1.0000         .10000E-03   10000.    
     2 'norm      '    9.3271       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10323E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .59449       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5380       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10407E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.434       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .62638       1.0000         .10000E-03   10000.    
    12 'norm      '    .18086       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.9250       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.2725       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0542       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0721       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.

 FCN=   6700.633     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2371 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5804        7.3697        .82839E-07   -.42223E-04
   2  norm          9.3270        3.3677       -.32635E-07   -.62901E-04
   3  Prefactor     .10000E-03    8.7448        .12482E-06** at limit **
   4  norm          .10000E-03    1.1972        .27985E-07** at limit **
   5  norm          .59402        5.6725        .30860E-05   -.23343E-03
   6  Prefactor     .10000E-03    40.659       -.89761E-07** at limit **
   7  Prefactor     7.5335        18.128        .28139E-06   -.90448E-05
   8  Prefactor     .10000E-03    8.9527        .14007E-06** at limit **
   9  Prefactor     .10000E-03    29.394       -.75500E-06** at limit **
  10  Prefactor     42.425        42.664       -.82912E-06   -.92187E-04
  11  Prefactor     .62651        8.2776        .43041E-05   -.20685E-03
  12  norm          .18083        .16190        .42963E-07    .23103E-03
  13  norm          .10000E-03    2.4327        .88921E-08** at limit **
  14  norm          4.8916        76.660       -.98010E-05   -.11329E-03
  15  Prefactor     .10000E-03    59.335        .63431E-06** at limit **
  16  Prefactor     .10000E-03    7.4650        .69771E-07** at limit **
  17  Prefactor     .10000E-03    28.005        .55132E-06** at limit **
  18  Prefactor     .10000E-03    10.623        .59263E-06** at limit **
  19  norm          2.2726        2.0913        .99520E-08    .16653E-04
  20  Prefactor     .10000E-03    10.153       -.66439E-06** at limit **
  21  Normalizat    1.0543        .20717       -.13833E-05   -.94429E-04
  22  Prefactor     1.0720        .13349        .25209E-06   -.23875E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.58036
  norm       = 9.32701
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.594024
  Prefactor  = 0.0001
  Prefactor  = 7.53346
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.425
  Prefactor  = 0.626506
  norm       = 0.180833
  norm       = 0.0001
  norm       = 4.89162
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.27263
  Prefactor  = 0.0001
  Normalizat = 1.0543
  Prefactor  = 1.07201
 **********
 **   18 **HESSE 
 **********

 FCN=   6700.633     FROM HESSE     STATUS=OK           340 CALLS     2711 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5804        7.3597        .15645E-03   -1.5195    
   2  norm          9.3270        3.3680        .87959E-04   -1.5097    
   3  Prefactor     .10000E-03    9.0421        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.2284        .17488E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .59402        5.8904        .37445E-03   -1.5554    
   6  Prefactor     .10000E-03    41.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.5335        18.117        .14607E-03   -1.5159    
   8  Prefactor     .10000E-03    8.9880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    29.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.425        42.807        .61540E-04   -1.4404    
  11  Prefactor     .62651        8.5732        .46078E-03   -1.5550    
  12  norm          .18083        .15402        .29759E-03   -1.5623    
  13  norm          .10000E-03    2.4363        .12469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8916        85.630        .18123E-03   -1.5266    
  15  Prefactor     .10000E-03    59.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.5401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    28.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.2726        2.1013        .11025E-03   -1.5406    
  20  Prefactor     .10000E-03    10.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0543        .24582        .29905E-03   -.91233    
  22  Prefactor     1.0720        .15926        .19252E-03   -.90366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.77243e-10
Minuit parameter uncertainties:
  1  7.36067
  2  3.3681
  3  1.92584e-05
  4  4.6292e-07
  5  3.7413
  6  2.26283e-05
  7  18.1301
  8  3.10337e-05
  9  4.2402e-05
  10  42.838
  11  4.63558
  12  0.154016
  13  5.24188e-08
  14  41.0008
  15  0.0002001
  16  2.2548e-06
  17  0.00010383
  18  7.13336e-05
  19  2.10141
  20  8.46723e-05
  21  0.246084
  22  0.159334
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  4.892e+00  4.100e+01  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:  1.072e+00  1.593e-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.054e+00  2.461e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/63953/likelihoodResults_309312001_309571201_4FGL_J1507.2+1721_daily_bin270.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6700.60037872
delta logL = 0.0326993723938

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6700.40935837
delta logL = 0.223719716692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37062E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0032       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0892       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=   6700.409     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      431 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37124E-01    .59427E-01    .21876E-04    .17711E-02
   2  alpha         5.0000        3.2597        .50000    ** at limit **
   3  Normalizat    1.0030        .25794        .30576E-03   -.17360E-03
   4  Prefactor     1.0892        .16041        .19114E-03    .87494E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0371242
  alpha      = 5
  Normalizat = 1.00301
  Prefactor  = 1.08923
 **********
 **   18 **HESSE 
 **********

 FCN=   6700.409     FROM HESSE     STATUS=OK            29 CALLS      460 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37124E-01    .59293E-01    .87503E-06   -1.5669    
   2  alpha         5.0000        3.2571        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0030        .25830        .12230E-04   -.92930    
   4  Prefactor     1.0892        .16059        .38228E-04   -.89812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09704e-10
Minuit parameter uncertainties:
  1  0.0592929
  2  4.23064e-05
  3  0.25862
  4  0.160664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/63953': 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) = 6700.40935723
delta logL = 0.223720859602

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  3.712e-02  5.929e-02  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  5.000e+00  4.231e-05  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:  1.089e+00  1.607e-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.003e+00  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/63953/cmap_HighResolution_309312001_309571201_4FGL_J1507.2+1721_daily_bin270.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.38e-05', job_status='DONE', photon_flux_upper_limit='2.50e-08', time_completed='2021-09-11 00:57:51.682473', job_id='63953', GAL2='1.09', fit_tolerance='1e-08', EG2='1.00', EG='1.05', time_epoch_completed='1631347071.68', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.24e-01', ts2='0.49', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='270' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 00:57:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 63953: <4FGL_J1507.2+1721_daily_bin270> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin270> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 11 00:46:20 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 00:46:21 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:46:21 2021
Terminated at Sat Sep 11 00:57:52 2021
Results reported at Sat Sep 11 00:57:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin270 226.821 17.3519 309312001 309571201 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 :                                   598.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            692 sec.

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

