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


Performing analysis on: 4FGL_J1507.2+1721_daily_bin1607
RA = 226.821, Dec = 17.3519
tmin = 655862401, tmax = 656121601
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='378862', job_status='RUN', time_executed='2021-12-08 01:55:49.454216', time_epoch_executed='1638957349.45' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='1607'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378862

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378862/ft1_4FGL_J1507.2+1721_daily_bin1607.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378862/ft2_4FGL_J1507.2+1721_daily_bin1607.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378862/ft1_4FGL_J1507.2+1721_daily_bin1607.fits outfile=/scratch/kocevski/378862/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1607.fits ra=226.821 dec=17.3519 rad=12.0 tmin=655862401.0 tmax=656121601.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.75
user 3.55
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378862/ft1_filtered_4FGL_J1507.2+1721_daily_bin1607.fits" evtable="EVENTS" scfile=/scratch/kocevski/378862/ft2_4FGL_J1507.2+1721_daily_bin1607.fits sctable="SC_DATA" outfile=/scratch/kocevski/378862/ltcube_655862401_656121601_4FGL_J1507.2+1721_daily_bin1607.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/378862/ft2_4FGL_J1507.2+1721_daily_bin1607.fits
.....................!
real 11.88
user 11.54
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378862/ft1_filtered_4FGL_J1507.2+1721_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/378862/ft2_4FGL_J1507.2+1721_daily_bin1607.fits sctable="SC_DATA" expcube=/scratch/kocevski/378862/ltcube_655862401_656121601_4FGL_J1507.2+1721_daily_bin1607.fits outfile=/scratch/kocevski/378862/expmap_655862401_656121601_4FGL_J1507.2+1721_daily_bin1607.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/378862/ltcube_655862401_656121601_4FGL_J1507.2+1721_daily_bin1607.fits
.....................!
real 157.43
user 153.12
sys 3.81

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/378862/ft1_filtered_4FGL_J1507.2+1721_daily_bin1607.fits scfile=/scratch/kocevski/378862/ft2_4FGL_J1507.2+1721_daily_bin1607.fits outfile=/scratch/kocevski/378862/cmap_655862401_656121601_4FGL_J1507.2+1721_daily_bin1607.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.48
user 0.35
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378862/ft1_filtered_4FGL_J1507.2+1721_daily_bin1607.fits scfile=/scratch/kocevski/378862/ft2_4FGL_J1507.2+1721_daily_bin1607.fits outfile=/scratch/kocevski/378862/cmap_HighResolution_655862401_656121601_4FGL_J1507.2+1721_daily_bin1607.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.47
user 0.33
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5513       1.0000         .10000E-03   10000.    
     2 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .45921E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    2.2561       1.0000         .10000E-03   10000.    
     5 'norm      '    9.5827       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .87908       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.719       1.0000         .10000E-03   10000.    
    10 'Prefactor '    111.21       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .25275E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    1.8510       1.0000         .10000E-03   10000.    
    14 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.0234       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7233       1.0000         .10000E-03   10000.    
    17 'Prefactor '    57.798       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.746       1.0000         .10000E-03   10000.    
    19 'norm      '    5.4771       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90796       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0990       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=   6456.422     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2442 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5432        15.356        .40697E-05    .21286E-04
   2  norm          .10000E-03    .93196        .10868E-07** at limit **
   3  Prefactor     .10146E-03    9.8525        .57123E-05** at limit **
   4  norm          2.2559        2.1099        .15013E-06    .66055E-05
   5  norm          9.5830        5.3283        .11545E-06    .10863E-04
   6  Prefactor     .10000E-03    13.527        .91545E-06** at limit **
   7  Prefactor     .10000E-03    14.926       -.88312E-07** at limit **
   8  Prefactor     .88834        13.972       -.12000E-05   -.30272E-05
   9  Prefactor     13.712        33.691       -.41414E-05   -.86033E-04
  10  Prefactor     111.16        71.178        .26212E-05   -.96586E-05
  11  Prefactor     .10000E-03    2.5995       -.42257E-07** at limit **
  12  norm          .25310E-01    .12587        .55069E-07   -.73186E-03
  13  norm          1.8509        4.3245        .25902E-06    .38901E-04
  14  norm          .10000E-03    51.940        .30779E-05** at limit **
  15  Prefactor     8.8667        59.504        .25576E-05    .21708E-05
  16  Prefactor     2.7223        7.3276        .71884E-05    .63644E-03
  17  Prefactor     57.799        37.989       -.44365E-06   -.20285E-04
  18  Prefactor     12.751        28.552        .21981E-05    .30420E-04
  19  norm          5.4769        3.2316        .52417E-07    .41961E-04
  20  Prefactor     .10000E-03    42.017       -.16095E-05** at limit **
  21  Normalizat    .90778        .23044       -.18200E-05   -.90504E-04
  22  Prefactor     1.0992        .13988        .52936E-07   -.71258E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.54325
  norm       = 0.0001
  Prefactor  = 0.00010146
  norm       = 2.2559
  norm       = 9.58297
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.888338
  Prefactor  = 13.7119
  Prefactor  = 111.162
  Prefactor  = 0.0001
  norm       = 0.0253099
  norm       = 1.85088
  norm       = 0.0001
  Prefactor  = 8.86667
  Prefactor  = 2.72228
  Prefactor  = 57.7986
  Prefactor  = 12.751
  norm       = 5.4769
  Prefactor  = 0.000100001
  Normalizat = 0.907776
  Prefactor  = 1.09919
 **********
 **   18 **HESSE 
 **********

 FCN=   6456.422     FROM HESSE     STATUS=OK           360 CALLS     2802 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5432        15.176        .34195E-03   -1.5460    
   2  norm          .10000E-03    .94391        .75747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10146E-03    6.0710        .55847E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.2559        2.1088        .10920E-03   -1.5408    
   5  norm          9.5830        5.3345        .12946E-03   -1.5089    
   6  Prefactor     .10000E-03    13.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .88834        103.65        .52419E-02   -1.5519    
   9  Prefactor     13.712        33.661        .10814E-03   -1.4967    
  10  Prefactor     111.16        71.015        .38144E-04   -1.3595    
  11  Prefactor     .10000E-03    2.6053        .12652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .25310E-01    .24355        .53097E-03   -1.5676    
  13  norm          1.8509        4.2857        .24865E-03   -1.5436    
  14  norm          .10000E-03    51.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.8667        59.477        .13343E-03   -1.5112    
  16  Prefactor     2.7223        7.5116        .12339E-02   -1.5378    
  17  Prefactor     57.799        38.045        .52769E-04   -1.4186    
  18  Prefactor     12.751        28.542        .11220E-03   -1.4994    
  19  norm          5.4769        3.2316        .10687E-03   -1.5240    
  20  Prefactor     .10000E-03    42.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90778        .26908        .32577E-03   -.96187    
  22  Prefactor     1.0992        .16513        .19227E-03   -.89493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.89043e-08
Minuit parameter uncertainties:
  1  9.68186
  2  7.18261e-07
  3  0.00595479
  4  2.10891
  5  5.33474
  6  0.000228261
  7  1.20984e-05
  8  19.2248
  9  33.7077
  10  71.0692
  11  1.28697e-06
  12  0.156717
  13  4.2864
  14  9.82547e-05
  15  45.9946
  16  7.51415
  17  38.0606
  18  28.5723
  19  3.23171
  20  0.000378375
  21  0.269484
  22  0.165207
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  9.825e-05  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.099e+00  1.652e-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:  9.078e-01  2.695e-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.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.00e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378862/likelihoodResults_655862401_656121601_4FGL_J1507.2+1721_daily_bin1607.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) = 6456.42254914
delta logL = -9.15346008696e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6456.42245765
delta logL = -4.38240022049e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5169       1.0000          .0000       5.0000    
     3 'Normalizat'    .90777       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0992       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=   6456.422     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      197 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    70.830        .90712E-02** at limit **
   2  alpha         1.5771        3.2853        .46144       -.55153E-05
   3  Normalizat    .90779        .21358        .73619E-01    .23532E-03
   4  Prefactor     1.0992        .13817        .37617E-01   -.24469E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 1.57713
  Normalizat = 0.907785
  Prefactor  = 1.09918
 **********
 **   18 **HESSE 
 **********

 FCN=   6456.422     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    57.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5771        3.2667        .50000       -.37809    
   3  Normalizat    .90779        .25066        .32577E-03   -.96187    
   4  Prefactor     1.0992        .16246        .19227E-03   -.89493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.95243e-10
Minuit parameter uncertainties:
  1  0.000629585
  2  2.33597
  3  0.250983
  4  0.162538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378862': 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) = 6456.4224575
delta logL = 1.0098938219e-07

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  6.296e-04  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  1.577e+00  2.336e+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:  1.099e+00  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:  9.078e-01  2.510e-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/378862/cmap_HighResolution_655862401_656121601_4FGL_J1507.2+1721_daily_bin1607.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-05', job_status='DONE', photon_flux_upper_limit='2.08e-08', time_completed='2021-12-08 02:03:55.530563', job_id='378862', GAL2='1.10', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1638957835.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='1607' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 02:03:55 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 378862: <4FGL_J1507.2+1721_daily_bin1607> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin1607> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec  8 01:50:21 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 01:51:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 01:51:55 2021
Terminated at Wed Dec  8 02:03:56 2021
Results reported at Wed Dec  8 02:03:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin1607 226.821 17.3519 655862401 656121601 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 :                                   484.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             247.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            815 sec.

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

