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


Performing analysis on: 4FGL_J1507.2+1721_daily_bin57
RA = 226.821, Dec = 17.3519
tmin = 254102401, tmax = 254361601
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='63606', job_status='RUN', time_executed='2021-09-11 00:46:09.710943', time_epoch_executed='1631346369.71' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='57'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/63606

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/63606/ft1_4FGL_J1507.2+1721_daily_bin57.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/63606/ft2_4FGL_J1507.2+1721_daily_bin57.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/63606/ft1_4FGL_J1507.2+1721_daily_bin57.fits outfile=/scratch/kocevski/63606/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin57.fits ra=226.821 dec=17.3519 rad=12.0 tmin=254102401.0 tmax=254361601.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 2.03
user 1.84
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/63606/ft2_4FGL_J1507.2+1721_daily_bin57.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/63606/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin57.fits evtable="EVENTS" outfile="/scratch/kocevski/63606/ft1_filtered_4FGL_J1507.2+1721_daily_bin57.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/63606/ft1_filtered_4FGL_J1507.2+1721_daily_bin57.fits evtable="EVENTS" scfile=/scratch/kocevski/63606/ft2_4FGL_J1507.2+1721_daily_bin57.fits sctable="SC_DATA" expcube=/scratch/kocevski/63606/ltcube_254102401_254361601_4FGL_J1507.2+1721_daily_bin57.fits outfile=/scratch/kocevski/63606/expmap_254102401_254361601_4FGL_J1507.2+1721_daily_bin57.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/63606/ltcube_254102401_254361601_4FGL_J1507.2+1721_daily_bin57.fits
.....................!
real 191.87
user 186.63
sys 4.77

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/63606/ft1_filtered_4FGL_J1507.2+1721_daily_bin57.fits scfile=/scratch/kocevski/63606/ft2_4FGL_J1507.2+1721_daily_bin57.fits outfile=/scratch/kocevski/63606/cmap_254102401_254361601_4FGL_J1507.2+1721_daily_bin57.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/63606/ft1_filtered_4FGL_J1507.2+1721_daily_bin57.fits scfile=/scratch/kocevski/63606/ft2_4FGL_J1507.2+1721_daily_bin57.fits outfile=/scratch/kocevski/63606/cmap_HighResolution_254102401_254361601_4FGL_J1507.2+1721_daily_bin57.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=226.821 yref=17.3519 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96597       1.0000         .10000E-03   10000.    
     2 'norm      '    5.8690       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4847       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .13982E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5449       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2599       1.0000         .10000E-03   10000.    
    12 'norm      '    5.4616       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    87.246       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.6701       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6889       1.0000         .10000E-03   10000.    
    19 'norm      '    1.5776       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .70053       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2386       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9608.188     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2336 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96690        11.437         .0000        .37663E-01
   2  norm          5.8691        3.0188         .0000       -.30540E-03
   3  Prefactor     1.4843        5.2268         .0000        .26925E-02
   4  norm          .10000E-03    .72311         .0000    ** at limit **
   5  norm          .10012E-03    2.5384         .0000    ** at limit **
   6  Prefactor     .10001E-03    9.2142         .0000    ** at limit **
   7  Prefactor     .10004E-03    15.391         .0000    ** at limit **
   8  Prefactor     .10000E-03    11.503         .0000    ** at limit **
   9  Prefactor     3.5457        13.830         .0000        .19535E-02
  10  Prefactor     .10036E-03    18.013         .0000    ** at limit **
  11  Prefactor     4.2599        4.5836         .0000       -.20081E-02
  12  norm          5.4616        .42409         .0000        .88252E-04
  13  norm          .10000E-03    1.9966         .0000    ** at limit **
  14  norm          .10001E-03    15.896         .0000    ** at limit **
  15  Prefactor     87.245        50.747         .0000        .18290E-02
  16  Prefactor     8.6704        7.1615         .0000        .61023E-04
  17  Prefactor     .10005E-03    29.661         .0000    ** at limit **
  18  Prefactor     4.6877        36.982         .0000        .54173E-03
  19  norm          1.5775        1.6034         .0000       -.88476E-04
  20  Prefactor     .10011E-03    12.555         .0000    ** at limit **
  21  Normalizat    .70050        .22809         .0000        .78713E-04
  22  Prefactor     1.2386        .14101         .0000        .46048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.966905
  norm       = 5.86914
  Prefactor  = 1.48433
  norm       = 0.0001
  norm       = 0.000100119
  Prefactor  = 0.00010001
  Prefactor  = 0.000100045
  Prefactor  = 0.0001
  Prefactor  = 3.5457
  Prefactor  = 0.000100358
  Prefactor  = 4.25989
  norm       = 5.46159
  norm       = 0.0001
  norm       = 0.000100008
  Prefactor  = 87.2448
  Prefactor  = 8.67037
  Prefactor  = 0.000100053
  Prefactor  = 4.68766
  norm       = 1.57749
  Prefactor  = 0.000100111
  Normalizat = 0.700503
  Prefactor  = 1.23865
 **********
 **   18 **HESSE 
 **********

 FCN=   9608.188     FROM HESSE     STATUS=OK           342 CALLS     2678 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96690        11.222        .26090E-02   -1.5511    
   2  norm          5.8691        3.0183        .11884E-03   -1.5223    
   3  Prefactor     1.4843        5.0614        .35208E-03   -1.5464    
   4  norm          .10000E-03    .72690        .81384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10012E-03    10.403        .30195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    9.2408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10004E-03    15.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.5457        13.808        .10734E-02   -1.5331    
  10  Prefactor     .10036E-03    18.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2599        4.5848        .19521E-03   -1.5295    
  12  norm          5.4616        .42410        .16881E-04   -1.5241    
  13  norm          .10000E-03    1.9979        .13526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10001E-03    15.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     87.245        50.723        .43013E-04   -1.3837    
  16  Prefactor     8.6704        7.1613        .13613E-03   -1.5119    
  17  Prefactor     .10005E-03    29.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.6877        36.805        .18584E-03   -1.5275    
  19  norm          1.5775        1.6076        .12149E-03   -1.5457    
  20  Prefactor     .10011E-03    12.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .70050        .25261        .43049E-03   -1.0387    
  22  Prefactor     1.2386        .15873        .21278E-03   -.85150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75295e-08
Minuit parameter uncertainties:
  1  6.58927
  2  3.01837
  3  5.06283
  4  2.02956e-06
  5  0.00222741
  6  0.000603691
  7  0.00166252
  8  0.000138877
  9  13.8208
  10  0.0050847
  11  4.5852
  12  0.424103
  13  2.1503e-06
  14  0.000704973
  15  50.7482
  16  7.16197
  17  0.0025201
  18  26.2923
  19  1.60765
  20  0.00236241
  21  0.253034
  22  0.15879
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  7.050e-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:  1.239e+00  1.588e-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:  7.005e-01  2.530e-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.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.13e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/63606/likelihoodResults_254102401_254361601_4FGL_J1507.2+1721_daily_bin57.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) = 9608.18810103
delta logL = -0.000294709530863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9608.18780981
delta logL = -3.48502726411e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7028       1.0000          .0000       5.0000    
     3 'Normalizat'    .70052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2386       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=   9608.188     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      284 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    580.73        .18142E-01** at limit **
   2  alpha         1.4261        3.2776        .16530       -.12242E-07
   3  Normalizat    .70050        .32177E-01    .43049E-03    .13416E-03
   4  Prefactor     1.2386        .20745E-01    .21278E-03    .26341E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 1.4261
  Normalizat = 0.700503
  Prefactor  = 1.23865
 **********
 **   18 **HESSE 
 **********

 FCN=   9608.188     FROM HESSE     STATUS=OK            23 CALLS      307 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.068        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4261        3.2171        .66118E-02   -.44400    
   3  Normalizat    .70050        .24486        .17219E-04   -1.0387    
   4  Prefactor     1.2386        .15804        .42556E-04   -.85150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62681e-10
Minuit parameter uncertainties:
  1  0.000336337
  2  573.813
  3  0.245243
  4  0.158105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/63606': 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) = 9608.18780631
delta logL = 1.71585270436e-08

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  3.363e-04  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  1.426e+00  5.738e+02  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.239e+00  1.581e-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:  7.005e-01  2.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/63606/cmap_HighResolution_254102401_254361601_4FGL_J1507.2+1721_daily_bin57.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-05', job_status='DONE', photon_flux_upper_limit='1.53e-08', time_completed='2021-09-11 00:58:09.297692', job_id='63606', GAL2='1.24', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1631347089.3', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.72e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='57' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 00:58:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 63606: <4FGL_J1507.2+1721_daily_bin57> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin57 226.821 17.3519 254102401 254361601 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 :                                   715.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             394.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            732 sec.

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

