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


Performing analysis on: 4FGL_J1507.2+1721_daily_bin1356
RA = 226.821, Dec = 17.3519
tmin = 590803201, tmax = 591062401
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='71981', job_status='RUN', time_executed='2021-09-11 01:06:12.303188', time_epoch_executed='1631347572.3' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='1356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/71981

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/71981/ft1_4FGL_J1507.2+1721_daily_bin1356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/71981/ft2_4FGL_J1507.2+1721_daily_bin1356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/71981/ft1_4FGL_J1507.2+1721_daily_bin1356.fits outfile=/scratch/kocevski/71981/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1356.fits ra=226.821 dec=17.3519 rad=12.0 tmin=590803201.0 tmax=591062401.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.51
user 5.21
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/71981/ft2_4FGL_J1507.2+1721_daily_bin1356.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/71981/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1356.fits evtable="EVENTS" outfile="/scratch/kocevski/71981/ft1_filtered_4FGL_J1507.2+1721_daily_bin1356.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.53
user 0.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/71981/ft1_filtered_4FGL_J1507.2+1721_daily_bin1356.fits evtable="EVENTS" scfile=/scratch/kocevski/71981/ft2_4FGL_J1507.2+1721_daily_bin1356.fits sctable="SC_DATA" expcube=/scratch/kocevski/71981/ltcube_590803201_591062401_4FGL_J1507.2+1721_daily_bin1356.fits outfile=/scratch/kocevski/71981/expmap_590803201_591062401_4FGL_J1507.2+1721_daily_bin1356.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/71981/ltcube_590803201_591062401_4FGL_J1507.2+1721_daily_bin1356.fits
.....................!
real 191.73
user 186.04
sys 5.26

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

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/71981/ft1_filtered_4FGL_J1507.2+1721_daily_bin1356.fits scfile=/scratch/kocevski/71981/ft2_4FGL_J1507.2+1721_daily_bin1356.fits outfile=/scratch/kocevski/71981/cmap_HighResolution_590803201_591062401_4FGL_J1507.2+1721_daily_bin1356.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.58
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.4095       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.2930       1.0000         .10000E-03   10000.    
     5 'norm      '    7.1660       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11549E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.196       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.667       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.426       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5773       1.0000         .10000E-03   10000.    
    12 'norm      '    .30046       1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.4784       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10371E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68898       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2358       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=   6276.467     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2306 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.5097       -.27532E-08** at limit **
   2  norm          3.4096        2.6991       -.64107E-07   -.35893E-04
   3  Prefactor     .10000E-03    4.3950       -.34953E-07** at limit **
   4  norm          3.2932        2.8782        .15923E-08   -.16143E-04
   5  norm          7.1664        4.8661        .80213E-06   -.29043E-04
   6  Prefactor     .10000E-03    28.014       -.53948E-05** at limit **
   7  Prefactor     21.195        28.165       -.19535E-05   -.28114E-05
   8  Prefactor     17.668        16.711        .30944E-05    .39101E-04
   9  Prefactor     12.405        33.531       -.23627E-04   -.20007E-05
  10  Prefactor     .10000E-03    26.019        .35490E-05** at limit **
  11  Prefactor     6.5759        13.227       -.39168E-06   -.66956E-04
  12  norm          .30057        .17763       -.10153E-08   -.47770E-03
  13  norm          .10000E-03    3.5511       -.11231E-06** at limit **
  14  norm          .10000E-03    21.235       -.51748E-05** at limit **
  15  Prefactor     .10000E-03    22.127        .67397E-05** at limit **
  16  Prefactor     .10000E-03    4.2761       -.24657E-07** at limit **
  17  Prefactor     .10000E-03    42.796        .23029E-05** at limit **
  18  Prefactor     .10000E-03    41.795       -.11738E-05** at limit **
  19  norm          2.4777        2.2570        .32923E-06    .19111E-02
  20  Prefactor     .10000E-03    73.229        .12803E-05** at limit **
  21  Normalizat    .68846        .25505        .24152E-05   -.25131E-04
  22  Prefactor     1.2360        .15297        .73405E-07    .37218E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.40958
  Prefactor  = 0.0001
  norm       = 3.29321
  norm       = 7.16637
  Prefactor  = 0.000100001
  Prefactor  = 21.1948
  Prefactor  = 17.6681
  Prefactor  = 12.405
  Prefactor  = 0.0001
  Prefactor  = 6.57591
  norm       = 0.300565
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.47766
  Prefactor  = 0.0001
  Normalizat = 0.688456
  Prefactor  = 1.236
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.467     FROM HESSE     STATUS=OK           342 CALLS     2648 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.5940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.4096        2.6975        .11276E-03   -1.5339    
   3  Prefactor     .10000E-03    4.4317        .16214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.2932        2.8783        .12104E-03   -1.5345    
   5  norm          7.1664        4.8635        .13975E-03   -1.5173    
   6  Prefactor     .10000E-03    27.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.195        28.254        .86999E-04   -1.4787    
   8  Prefactor     17.668        16.716        .95288E-04   -1.4867    
   9  Prefactor     12.405        33.272        .11363E-03   -1.5003    
  10  Prefactor     .10000E-03    26.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.5759        13.213        .15648E-03   -1.5195    
  12  norm          .30057        .17342        .24357E-04   -1.5598    
  13  norm          .10000E-03    3.5818        .14579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    21.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.2926        .15999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    42.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    41.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.4777        2.2932        .55814E-03   -1.5393    
  20  Prefactor     .10000E-03    73.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .68846        .29234        .38482E-03   -1.0435    
  22  Prefactor     1.2360        .17732        .18477E-03   -.85231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.61506e-10
Minuit parameter uncertainties:
  1  5.53172e-06
  2  2.69765
  3  4.63114e-07
  4  2.87844
  5  4.86377
  6  0.000404042
  7  28.2722
  8  16.7204
  9  33.3221
  10  0.000183832
  11  13.2186
  12  0.173417
  13  1.93854e-06
  14  9.74679e-06
  15  3.82023e-06
  16  4.68827e-06
  17  4.79904e-05
  18  7.61656e-05
  19  2.29329
  20  0.000162544
  21  0.292999
  22  0.17741
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  9.747e-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.236e+00  1.774e-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:  6.885e-01  2.930e-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.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.24e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/71981/likelihoodResults_590803201_591062401_4FGL_J1507.2+1721_daily_bin1356.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) = 6276.46711103
delta logL = -0.000222568201025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6276.46688853
delta logL = -7.59719114285e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10302E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5258       1.0000          .0000       5.0000    
     3 'Normalizat'    .68846       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2360       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=   6276.467     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      192 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    21.315        .90712E-02** at limit **
   2  alpha         1.5313        3.2485        .46030       -.11456E-05
   3  Normalizat    .68846        .23977        .86879E-01    .65552E-04
   4  Prefactor     1.2360        .15106        .33830E-01   -.12880E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  alpha      = 1.53133
  Normalizat = 0.68846
  Prefactor  = 1.236
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.467     FROM HESSE     STATUS=OK            31 CALLS      223 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    21.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5313        3.2471        .50000       -.39789    
   3  Normalizat    .68846        .27498        .38482E-03   -1.0435    
   4  Prefactor     1.2360        .17379        .18477E-03   -.85231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04422e-10
Minuit parameter uncertainties:
  1  0.000738259
  2  2.3057
  3  0.275534
  4  0.173875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/71981': 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) = 6276.46688846
delta logL = -1.34878064273e-09

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  7.383e-04  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  1.531e+00  2.306e+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.236e+00  1.739e-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:  6.885e-01  2.755e-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/71981/cmap_HighResolution_590803201_591062401_4FGL_J1507.2+1721_daily_bin1356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.24e-05', job_status='DONE', photon_flux_upper_limit='1.86e-08', time_completed='2021-09-11 01:15:47.001164', job_id='71981', GAL2='1.24', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1631348147.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='-1.35e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='1356' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 01:15:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 71981: <4FGL_J1507.2+1721_daily_bin1356> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin1356> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 01:06:02 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 01:06:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 01:06:04 2021
Terminated at Sat Sep 11 01:15:47 2021
Results reported at Sat Sep 11 01:15:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin1356 226.821 17.3519 590803201 591062401 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 :                                   559.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   583 sec.
    Turnaround time :                            585 sec.

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

