/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 1 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 = 7483
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1507.2+1721_daily_bin222
RA = 226.821, Dec = 17.3519
tmin = 296870401, tmax = 297129601
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='63881', job_status='RUN', time_executed='2021-09-11 00:46:30.446170', time_epoch_executed='1631346390.45' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='222'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/63881

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/63881/ft1_4FGL_J1507.2+1721_daily_bin222.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/63881/ft2_4FGL_J1507.2+1721_daily_bin222.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/63881/ft1_4FGL_J1507.2+1721_daily_bin222.fits outfile=/scratch/kocevski/63881/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin222.fits ra=226.821 dec=17.3519 rad=12.0 tmin=296870401.0 tmax=297129601.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.69
user 3.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/63881/ft2_4FGL_J1507.2+1721_daily_bin222.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/63881/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin222.fits evtable="EVENTS" outfile="/scratch/kocevski/63881/ft1_filtered_4FGL_J1507.2+1721_daily_bin222.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/63881/ft1_filtered_4FGL_J1507.2+1721_daily_bin222.fits" evtable="EVENTS" scfile=/scratch/kocevski/63881/ft2_4FGL_J1507.2+1721_daily_bin222.fits sctable="SC_DATA" outfile=/scratch/kocevski/63881/ltcube_296870401_297129601_4FGL_J1507.2+1721_daily_bin222.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/63881/ft2_4FGL_J1507.2+1721_daily_bin222.fits
.....................!
real 11.79
user 11.45
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/63881/ft1_filtered_4FGL_J1507.2+1721_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/63881/ft2_4FGL_J1507.2+1721_daily_bin222.fits sctable="SC_DATA" expcube=/scratch/kocevski/63881/ltcube_296870401_297129601_4FGL_J1507.2+1721_daily_bin222.fits outfile=/scratch/kocevski/63881/expmap_296870401_297129601_4FGL_J1507.2+1721_daily_bin222.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/63881/ltcube_296870401_297129601_4FGL_J1507.2+1721_daily_bin222.fits
.....................!
real 190.53
user 185.31
sys 4.88

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/63881/ft1_filtered_4FGL_J1507.2+1721_daily_bin222.fits scfile=/scratch/kocevski/63881/ft2_4FGL_J1507.2+1721_daily_bin222.fits outfile=/scratch/kocevski/63881/cmap_296870401_297129601_4FGL_J1507.2+1721_daily_bin222.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/63881/ft1_filtered_4FGL_J1507.2+1721_daily_bin222.fits scfile=/scratch/kocevski/63881/ft2_4FGL_J1507.2+1721_daily_bin222.fits outfile=/scratch/kocevski/63881/cmap_HighResolution_296870401_297129601_4FGL_J1507.2+1721_daily_bin222.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5257       1.0000         .10000E-03   10000.    
     2 'norm      '    10.039       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.1719       1.0000         .10000E-03   10000.    
     5 'norm      '    6.3016       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.720       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10452E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10798E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    45.816       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .45870       1.0000         .10000E-03   10000.    
    12 'norm      '    .94248E-01   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 '    117.99       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9466       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .98408       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89422       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0556       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=   7580.810     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2410 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5255        7.0088       -.30486E-06   -.50570E-04
   2  norm          10.039        3.5011       -.53159E-07    .78616E-04
   3  Prefactor     .10000E-03    4.9252        .12676E-06** at limit **
   4  norm          3.1716        2.3210        .37270E-07    .36406E-04
   5  norm          6.3015        5.2113       -.57126E-06   -.24245E-03
   6  Prefactor     16.712        24.051       -.85327E-05   -.26208E-04
   7  Prefactor     .10000E-03    11.880        .53656E-05** at limit **
   8  Prefactor     .10000E-03    15.232       -.55796E-05** at limit **
   9  Prefactor     .10000E-03    19.398        .10696E-04** at limit **
  10  Prefactor     45.812        43.825       -.56897E-05   -.29201E-05
  11  Prefactor     .40083        6.3558       -.91590E-07   -.33303E-03
  12  norm          .94169E-01    .12351       -.10210E-06   -.49021E-02
  13  norm          .10000E-03    4.5960       -.54748E-07** at limit **
  14  norm          .10000E-03    14.305       -.63714E-05** at limit **
  15  Prefactor     117.98        60.951       -.85044E-05    .18647E-04
  16  Prefactor     3.9464        9.5115       -.99371E-06   -.16807E-03
  17  Prefactor     .10000E-03    27.079        .55859E-05** at limit **
  18  Prefactor     .10000E-03    29.364       -.10036E-04** at limit **
  19  norm          .98363        1.6663       -.25591E-06   -.10783E-02
  20  Prefactor     .10000E-03    7.6832       -.61319E-06** at limit **
  21  Normalizat    .89424        .21241        .38881E-05   -.39223E-04
  22  Prefactor     1.0557        .12725        .25957E-06    .15036E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.52548
  norm       = 10.0393
  Prefactor  = 0.0001
  norm       = 3.17161
  norm       = 6.30145
  Prefactor  = 16.7123
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.8117
  Prefactor  = 0.40083
  norm       = 0.0941692
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 117.975
  Prefactor  = 3.94644
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.98363
  Prefactor  = 0.0001
  Normalizat = 0.894237
  Prefactor  = 1.05566
 **********
 **   18 **HESSE 
 **********

 FCN=   7580.810     FROM HESSE     STATUS=OK           348 CALLS     2758 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5255        7.0067        .13729E-03   -1.5124    
   2  norm          10.039        3.5014        .93512E-04   -1.5074    
   3  Prefactor     .10000E-03    5.0110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.1716        2.3201        .10961E-03   -1.5352    
   5  norm          6.3015        5.2177        .15990E-03   -1.5206    
   6  Prefactor     16.712        24.109        .97950E-04   -1.4890    
   7  Prefactor     .10000E-03    11.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     45.812        43.813        .59234E-04   -1.4353    
  11  Prefactor     .40083        39.077        .41857E-02   -1.5581    
  12  norm          .94169E-01    .11170        .33614E-03   -1.5647    
  13  norm          .10000E-03    4.6947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    14.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     117.98        60.790        .37045E-04   -1.3531    
  16  Prefactor     3.9464        9.5220        .20305E-03   -1.5311    
  17  Prefactor     .10000E-03    27.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    29.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .98363        1.3427        .14276E-02   -1.5510    
  20  Prefactor     .10000E-03    7.6870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .89424        .25002        .33390E-03   -.96663    
  22  Prefactor     1.0557        .15185        .19379E-03   -.90897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84625e-09
Minuit parameter uncertainties:
  1  7.00733
  2  3.50152
  3  1.57617e-06
  4  2.32021
  5  5.21805
  6  24.1233
  7  2.41558e-05
  8  0.000123345
  9  0.000189877
  10  43.8433
  11  7.91965
  12  0.111698
  13  6.39858e-06
  14  4.07096e-06
  15  60.8226
  16  9.52566
  17  1.60481e-05
  18  1.48098e-05
  19  1.34279
  20  1.98679e-06
  21  0.250349
  22  0.151908
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  4.071e-06  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.056e+00  1.519e-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:  8.942e-01  2.503e-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.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/63881/likelihoodResults_296870401_297129601_4FGL_J1507.2+1721_daily_bin222.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) = 7580.80987402
delta logL = -0.000329799990141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7580.80954424
delta logL = -1.36451490107e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5288       1.0000          .0000       5.0000    
     3 'Normalizat'    .89423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0556       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=   7580.810     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      245 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6323.6        .18142E-02** at limit **
   2  alpha         1.3557        2.6719        .18397        .21629E-08
   3  Normalizat    .89424        .11307        .33390E-03    .34729E-05
   4  Prefactor     1.0557        .71204E-01    .19379E-03    .59251E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.35567
  Normalizat = 0.89424
  Prefactor  = 1.05566
 **********
 **   18 **HESSE 
 **********

 FCN=   7580.810     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.525        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3557        3.0379        .73589E-02   -.47544    
   3  Normalizat    .89424        .23924        .13356E-04   -.96663    
   4  Prefactor     1.0557        .15075        .77517E-05   -.90897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03232e-11
Minuit parameter uncertainties:
  1  9.25679e-05
  2  518.107
  3  0.239521
  4  0.150813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/63881': 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) = 7580.80954417
delta logL = 5.89943738305e-08

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  9.257e-05  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  1.356e+00  5.181e+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.056e+00  1.508e-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:  8.942e-01  2.395e-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/63881/cmap_HighResolution_296870401_297129601_4FGL_J1507.2+1721_daily_bin222.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-05', job_status='DONE', photon_flux_upper_limit='1.34e-08', time_completed='2021-09-11 00:56:49.369441', job_id='63881', GAL2='1.06', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1631347009.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='5.90e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='222' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 00:56:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 63881: <4FGL_J1507.2+1721_daily_bin222> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin222 226.821 17.3519 296870401 297129601 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.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            635 sec.

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

