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


Performing analysis on: 4FGL_J1507.2+1721_daily_bin507
RA = 226.821, Dec = 17.3519
tmin = 370742401, tmax = 371001601
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='66854', job_status='RUN', time_executed='2021-09-11 00:51:28.648500', time_epoch_executed='1631346688.65' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='507'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/66854

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/66854/ft1_4FGL_J1507.2+1721_daily_bin507.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/66854/ft2_4FGL_J1507.2+1721_daily_bin507.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/66854/ft1_4FGL_J1507.2+1721_daily_bin507.fits outfile=/scratch/kocevski/66854/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin507.fits ra=226.821 dec=17.3519 rad=12.0 tmin=370742401.0 tmax=371001601.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 5.46
user 5.21
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/66854/ft1_filtered_4FGL_J1507.2+1721_daily_bin507.fits" evtable="EVENTS" scfile=/scratch/kocevski/66854/ft2_4FGL_J1507.2+1721_daily_bin507.fits sctable="SC_DATA" outfile=/scratch/kocevski/66854/ltcube_370742401_371001601_4FGL_J1507.2+1721_daily_bin507.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/66854/ft2_4FGL_J1507.2+1721_daily_bin507.fits
.....................!
real 11.55
user 11.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/66854/ft1_filtered_4FGL_J1507.2+1721_daily_bin507.fits evtable="EVENTS" scfile=/scratch/kocevski/66854/ft2_4FGL_J1507.2+1721_daily_bin507.fits sctable="SC_DATA" expcube=/scratch/kocevski/66854/ltcube_370742401_371001601_4FGL_J1507.2+1721_daily_bin507.fits outfile=/scratch/kocevski/66854/expmap_370742401_371001601_4FGL_J1507.2+1721_daily_bin507.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/66854/ltcube_370742401_371001601_4FGL_J1507.2+1721_daily_bin507.fits
.....................!
real 190.64
user 185.94
sys 4.05

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/66854/ft1_filtered_4FGL_J1507.2+1721_daily_bin507.fits scfile=/scratch/kocevski/66854/ft2_4FGL_J1507.2+1721_daily_bin507.fits outfile=/scratch/kocevski/66854/cmap_370742401_371001601_4FGL_J1507.2+1721_daily_bin507.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/66854/ft1_filtered_4FGL_J1507.2+1721_daily_bin507.fits scfile=/scratch/kocevski/66854/ft2_4FGL_J1507.2+1721_daily_bin507.fits outfile=/scratch/kocevski/66854/cmap_HighResolution_370742401_371001601_4FGL_J1507.2+1721_daily_bin507.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44702E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    9.4778       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12565E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    4.8077       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2917       1.0000         .10000E-03   10000.    
     6 'Prefactor '    48.665       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.8561       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .48645       1.0000         .10000E-03   10000.    
    13 'norm      '    .68166       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    60.434       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .56319E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.517       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14773E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.0615       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.845       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0967       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89850       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=   6975.327     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2501 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10776E-03    4.8290       -.10489E-06** at limit **
   2  norm          9.4780        3.4553       -.68152E-08    .66861E-06
   3  Prefactor     .10000E-03    5.1296       -.92314E-07** at limit **
   4  norm          4.8115        3.4063        .14022E-06   -.28547E-04
   5  norm          2.2917        4.0040        .36921E-06   -.70062E-04
   6  Prefactor     48.688        29.029       -.53291E-06   -.11695E-03
   7  Prefactor     5.8450        22.749        .90561E-06    .11899E-04
   8  Prefactor     .10000E-03    4.2800       -.43677E-07** at limit **
   9  Prefactor     .10000E-03    7.6960       -.14332E-06** at limit **
  10  Prefactor     .10000E-03    34.855       -.75998E-07** at limit **
  11  Prefactor     .10000E-03    9.5405       -.94071E-07** at limit **
  12  norm          .48655        .18553       -.71086E-08   -.52065E-03
  13  norm          .68114        4.9800        .25840E-05   -.17640E-03
  14  norm          .10000E-03    25.099       -.15282E-07** at limit **
  15  Prefactor     60.419        56.807       -.38803E-06   -.29626E-04
  16  Prefactor     .90909E-01    4.2324        .78530E-07   -.36148E-04
  17  Prefactor     12.480        30.742        .23345E-05    .79269E-04
  18  Prefactor     .10000E-03    118.04       -.17437E-06** at limit **
  19  norm          1.0604        1.9600        .45358E-06    .47445E-03
  20  Prefactor     16.814        23.082       -.40940E-06   -.37410E-04
  21  Normalizat    1.0965        .21951       -.32932E-06   -.20280E-04
  22  Prefactor     .89860        .12634       -.96349E-07   -.46153E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010776
  norm       = 9.47798
  Prefactor  = 0.000100001
  norm       = 4.81145
  norm       = 2.29175
  Prefactor  = 48.6883
  Prefactor  = 5.84502
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.486545
  norm       = 0.681143
  norm       = 0.0001
  Prefactor  = 60.4187
  Prefactor  = 0.0909089
  Prefactor  = 12.4803
  Prefactor  = 0.0001
  norm       = 1.06038
  Prefactor  = 16.8137
  Normalizat = 1.09651
  Prefactor  = 0.898605
 **********
 **   18 **HESSE 
 **********

 FCN=   6975.327     FROM HESSE     STATUS=OK           366 CALLS     2867 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10776E-03    8.9801        .56700E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.4780        3.4555        .91252E-04   -1.5092    
   3  Prefactor     .10000E-03    16.152        .34774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8115        3.3923        .12307E-03   -1.5269    
   5  norm          2.2917        3.9872        .21308E-03   -1.5405    
   6  Prefactor     48.688        29.391        .57482E-04   -1.4311    
   7  Prefactor     5.8450        22.821        .16595E-03   -1.5224    
   8  Prefactor     .10000E-03    4.2837        .16874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.6975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.6871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .48655        .18443        .21028E-04   -1.5568    
  13  norm          .68114        4.8622        .36114E-03   -1.5543    
  14  norm          .10000E-03    25.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     60.419        57.067        .51612E-04   -1.4152    
  16  Prefactor     .90909E-01    4.5733        .58263E-01   -1.5648    
  17  Prefactor     12.480        31.484        .11322E-03   -1.5001    
  18  Prefactor     .10000E-03    119.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.0604        1.6627        .16213E-02   -1.5502    
  20  Prefactor     16.814        23.090        .97585E-04   -1.4888    
  21  Normalizat    1.0965        .26600        .30271E-03   -.89864    
  22  Prefactor     .89860        .15312        .20281E-03   -.96190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.46133e-10
Minuit parameter uncertainties:
  1  0.0166982
  2  3.45554
  3  0.000287247
  4  3.39246
  5  3.98763
  6  29.4
  7  22.8552
  8  3.10033e-06
  9  8.84089e-06
  10  1.6311e-05
  11  1.03559e-05
  12  0.184435
  13  3.63986
  14  3.4983e-07
  15  57.1187
  16  1.28897
  17  31.5255
  18  0.000198374
  19  1.66279
  20  23.1022
  21  0.266329
  22  0.153195
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  3.498e-07  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.986e-01  1.532e-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.097e+00  2.663e-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: 1.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/66854/likelihoodResults_370742401_371001601_4FGL_J1507.2+1721_daily_bin507.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) = 6975.32750626
delta logL = -0.000189426348697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6975.32731857
delta logL = -1.7356733224e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7101       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0965       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89860       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=   6975.327     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      298 TOTAL
                     EDM=   .79E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    91.528        .18142E-01** at limit **
   2  alpha         1.9181        3.8633        .50000        .12415E-07
   3  Normalizat    1.0965        .95381E-02    .30271E-03   -.61146E-03
   4  Prefactor     .89860        .58815E-02    .20281E-03   -.91178E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.91814
  Normalizat = 1.09651
  Prefactor  = 0.898604
 **********
 **   18 **HESSE 
 **********

 FCN=   6975.327     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      327 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    485.41        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9181        3.5980        .50000       -.23490    
   3  Normalizat    1.0965        .22331E-01    .60542E-04   -.89864    
   4  Prefactor     .89860        .13770E-01    .40563E-04   -.96190    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.20187e-11
Minuit parameter uncertainties:
  1  0.000331765
  2  1612.82
  3  0.022331
  4  0.01377
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/66854': 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): 102
logL (Free Index) = 6975.32731668
delta logL = 1.55087036546e-07

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  3.318e-04  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  1.918e+00  1.613e+03  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.986e-01  1.377e-02  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.097e+00  2.233e-02  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/66854/cmap_HighResolution_370742401_371001601_4FGL_J1507.2+1721_daily_bin507.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-05', job_status='DONE', photon_flux_upper_limit='1.81e-08', time_completed='2021-09-11 01:01:44.198686', job_id='66854', GAL2='0.90', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631347304.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='507' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 01:01:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 66854: <4FGL_J1507.2+1721_daily_bin507> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin507> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 11 00:51:18 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 00:51:19 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:51:19 2021
Terminated at Sat Sep 11 01:01:44 2021
Results reported at Sat Sep 11 01:01:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin507 226.821 17.3519 370742401 371001601 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 :                                   609.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             327.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            626 sec.

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

