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


Performing analysis on: 4FGL_J1507.2+1721_daily_bin1472
RA = 226.821, Dec = 17.3519
tmin = 620870401, tmax = 621129601
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='72153', job_status='RUN', time_executed='2021-09-11 01:08:23.620573', time_epoch_executed='1631347703.62' WHERE source_name='4FGL J1507.2+1721' and cadence='daily' and bin_id='1472'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/72153

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/72153/ft1_4FGL_J1507.2+1721_daily_bin1472.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/72153/ft2_4FGL_J1507.2+1721_daily_bin1472.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/72153/ft1_4FGL_J1507.2+1721_daily_bin1472.fits outfile=/scratch/kocevski/72153/ft1_filteredMKT_4FGL_J1507.2+1721_daily_bin1472.fits ra=226.821 dec=17.3519 rad=12.0 tmin=620870401.0 tmax=621129601.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.29
user 2.99
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/72153/ft1_filtered_4FGL_J1507.2+1721_daily_bin1472.fits" evtable="EVENTS" scfile=/scratch/kocevski/72153/ft2_4FGL_J1507.2+1721_daily_bin1472.fits sctable="SC_DATA" outfile=/scratch/kocevski/72153/ltcube_620870401_621129601_4FGL_J1507.2+1721_daily_bin1472.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/72153/ft2_4FGL_J1507.2+1721_daily_bin1472.fits
.....................!
real 12.19
user 11.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/72153/ft1_filtered_4FGL_J1507.2+1721_daily_bin1472.fits evtable="EVENTS" scfile=/scratch/kocevski/72153/ft2_4FGL_J1507.2+1721_daily_bin1472.fits sctable="SC_DATA" expcube=/scratch/kocevski/72153/ltcube_620870401_621129601_4FGL_J1507.2+1721_daily_bin1472.fits outfile=/scratch/kocevski/72153/expmap_620870401_621129601_4FGL_J1507.2+1721_daily_bin1472.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/72153/ltcube_620870401_621129601_4FGL_J1507.2+1721_daily_bin1472.fits
.....................!
real 190.57
user 185.58
sys 4.68

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/72153/ft1_filtered_4FGL_J1507.2+1721_daily_bin1472.fits scfile=/scratch/kocevski/72153/ft2_4FGL_J1507.2+1721_daily_bin1472.fits outfile=/scratch/kocevski/72153/cmap_620870401_621129601_4FGL_J1507.2+1721_daily_bin1472.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.53
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.162       1.0000         .10000E-03   10000.    
     2 'norm      '    5.6628       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1585       1.0000         .10000E-03   10000.    
     4 'norm      '    .72340       1.0000         .10000E-03   10000.    
     5 'norm      '    5.9652       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3851       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4390       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1742       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.402       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5849       1.0000         .10000E-03   10000.    
    12 'norm      '    2.0574       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14336E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.1109       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9766       1.0000         .10000E-03   10000.    
    19 'norm      '    1.4238       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2228       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83394       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=   9025.071     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2376 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.162        9.7717       -.76761E-06   -.86703E-05
   2  norm          5.6629        2.8030       -.43608E-07    .32698E-04
   3  Prefactor     3.1583        8.4743        .13552E-05    .57910E-04
   4  norm          .72293        2.5035        .90623E-06   -.26645E-03
   5  norm          5.9662        4.0701       -.32602E-07   -.46022E-04
   6  Prefactor     2.4031        54.387       -.44067E-04   -.70736E-04
   7  Prefactor     .10000E-03    15.100       -.14533E-05** at limit **
   8  Prefactor     4.4401        13.538       -.18575E-05    .50504E-04
   9  Prefactor     1.1632        8.5979        .26035E-05   -.77813E-03
  10  Prefactor     21.402        31.229        .31822E-05    .66700E-04
  11  Prefactor     3.5847        5.5734       -.63749E-07   -.62163E-04
  12  norm          2.0575        .26249        .14513E-07    .93603E-03
  13  norm          .10000E-03    2.1010        .37478E-06** at limit **
  14  norm          .10000E-03    13.877        .14610E-08** at limit **
  15  Prefactor     .10000E-03    204.39       -.19034E-04** at limit **
  16  Prefactor     .10000E-03    4.5995        .18272E-06** at limit **
  17  Prefactor     3.1089        54.515        .75020E-05    .16139E-04
  18  Prefactor     3.9764        12.460        .66470E-06   -.17733E-04
  19  norm          1.4238        1.3667       -.34454E-07   -.11755E-03
  20  Prefactor     .10000E-03    6.7297       -.20556E-06** at limit **
  21  Normalizat    1.2227        .19010        .19573E-05    .10980E-03
  22  Prefactor     .83397        .11264       -.70043E-06    .38988E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1624
  norm       = 5.66287
  Prefactor  = 3.15834
  norm       = 0.722935
  norm       = 5.9662
  Prefactor  = 2.4031
  Prefactor  = 0.0001
  Prefactor  = 4.44013
  Prefactor  = 1.16324
  Prefactor  = 21.4018
  Prefactor  = 3.58472
  norm       = 2.05746
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.10886
  Prefactor  = 3.97636
  norm       = 1.42379
  Prefactor  = 0.0001
  Normalizat = 1.22271
  Prefactor  = 0.833968
 **********
 **   18 **HESSE 
 **********

 FCN=   9025.071     FROM HESSE     STATUS=OK           350 CALLS     2726 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.162        9.6600        .11992E-03   -1.5040    
   2  norm          5.6629        2.8035        .10893E-03   -1.5232    
   3  Prefactor     3.1583        8.3404        .22806E-03   -1.5353    
   4  norm          .72293        2.5137        .26395E-03   -1.5538    
   5  norm          5.9662        4.0687        .15339E-03   -1.5219    
   6  Prefactor     2.4031        59.640        .26522E-03   -1.5398    
   7  Prefactor     .10000E-03    15.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4401        13.557        .19113E-03   -1.5287    
   9  Prefactor     1.1632        102.28        .21146E-02   -1.5492    
  10  Prefactor     21.402        31.846        .86581E-04   -1.4782    
  11  Prefactor     3.5847        5.5646        .21343E-03   -1.5329    
  12  norm          2.0575        .26292        .16702E-04   -1.5421    
  13  norm          .10000E-03    2.1062        .13447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    13.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    209.52        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.6803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.1089        54.638        .22990E-03   -1.5355    
  18  Prefactor     3.9764        12.440        .20226E-03   -1.5309    
  19  norm          1.4238        1.3531        .10580E-03   -1.5469    
  20  Prefactor     .10000E-03    6.7416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2227        .23055        .28980E-03   -.85904    
  22  Prefactor     .83397        .13629        .21299E-03   -.98488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41998e-08
Minuit parameter uncertainties:
  1  9.66132
  2  2.80358
  3  8.34346
  4  2.51403
  5  4.06886
  6  23.9695
  7  1.74177e-05
  8  13.5665
  9  21.8528
  10  31.8717
  11  5.5654
  12  0.26292
  13  7.78399e-07
  14  6.4939e-07
  15  0.00066347
  16  6.36676e-06
  17  26.0935
  18  12.4482
  19  1.35317
  20  5.45984e-06
  21  0.230745
  22  0.136343
Done.

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

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  6.494e-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.340e-01  1.363e-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.223e+00  2.307e-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.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/72153/likelihoodResults_620870401_621129601_4FGL_J1507.2+1721_daily_bin1472.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) = 9025.07165934
delta logL = -0.000342448494848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9025.07131688
delta logL = 2.43198883254e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5295       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2227       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83397       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=   9025.071     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      249 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6237.9        .18142E-02** at limit **
   2  alpha         1.3950        3.0909        .18394        .32140E-08
   3  Normalizat    1.2227        .96812E-01    .28980E-03    .87089E-05
   4  Prefactor     .83397        .60338E-01    .21299E-03    .11956E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.39504
  Normalizat = 1.22271
  Prefactor  = 0.833967
 **********
 **   18 **HESSE 
 **********

 FCN=   9025.071     FROM HESSE     STATUS=OK            23 CALLS      272 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.036        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3950        2.6122        .73575E-02   -.45781    
   3  Normalizat    1.2227        .21595        .11592E-04   -.85904    
   4  Prefactor     .83397        .13463        .85196E-05   -.98488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4196e-12
Minuit parameter uncertainties:
  1  5.5557e-05
  2  492.944
  3  0.216109
  4  0.13468
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/72153': 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) = 9025.07131685
delta logL = 4.00395947509e-08

Extracting fit parameters...

4FGL J1507.2+1721
   Spectrum: LogParabola
219         norm:  1.000e-04  5.556e-05  1.000e-04  1.000e+04 ( 1.000e-14)
220        alpha:  1.395e+00  4.929e+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:  8.340e-01  1.347e-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.223e+00  2.161e-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/72153/cmap_HighResolution_620870401_621129601_4FGL_J1507.2+1721_daily_bin1472.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.42e-05', job_status='DONE', photon_flux_upper_limit='1.32e-08', time_completed='2021-09-11 01:20:10.020219', job_id='72153', GAL2='0.83', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631348410.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.00e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.53' WHERE bin_id='1472' AND source_name='4FGL J1507.2+1721' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 01:20:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 72153: <4FGL_J1507.2+1721_daily_bin1472> in cluster <slac> Done

Job <4FGL_J1507.2+1721_daily_bin1472> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 01:06:13 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 01:06:15 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:15 2021
Terminated at Sat Sep 11 01:20:10 2021
Results reported at Sat Sep 11 01:20:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1507.2+1721_daily_bin1472 226.821 17.3519 620870401 621129601 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 :                                   674.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

