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


Performing analysis on: 4FGL_J2148.6+0652_daily_bin726
RA = 327.163, Dec = 6.8791
tmin = 427507201, tmax = 427766401
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='953192', job_status='RUN', time_executed='2021-09-27 16:34:03.891266', time_epoch_executed='1632785643.89' WHERE source_name='4FGL J2148.6+0652' and cadence='daily' and bin_id='726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/953192

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/953192/ft1_4FGL_J2148.6+0652_daily_bin726.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/953192/ft2_4FGL_J2148.6+0652_daily_bin726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/953192/ft1_4FGL_J2148.6+0652_daily_bin726.fits outfile=/scratch/kocevski/953192/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin726.fits ra=327.163 dec=6.8791 rad=12.0 tmin=427507201.0 tmax=427766401.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.47
user 5.18
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/953192/ft2_4FGL_J2148.6+0652_daily_bin726.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/953192/ft2_4FGL_J2148.6+0652_daily_bin726.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/953192/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin726.fits evtable="EVENTS" outfile="/scratch/kocevski/953192/ft1_filtered_4FGL_J2148.6+0652_daily_bin726.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.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/953192/ft1_filtered_4FGL_J2148.6+0652_daily_bin726.fits" evtable="EVENTS" scfile=/scratch/kocevski/953192/ft2_4FGL_J2148.6+0652_daily_bin726.fits sctable="SC_DATA" outfile=/scratch/kocevski/953192/ltcube_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.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/953192/ft2_4FGL_J2148.6+0652_daily_bin726.fits
.....................!
real 13.71
user 13.36
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/953192/ft1_filtered_4FGL_J2148.6+0652_daily_bin726.fits evtable="EVENTS" scfile=/scratch/kocevski/953192/ft2_4FGL_J2148.6+0652_daily_bin726.fits sctable="SC_DATA" expcube=/scratch/kocevski/953192/ltcube_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.fits outfile=/scratch/kocevski/953192/expmap_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.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/953192/ltcube_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.fits
.....................!
real 191.76
user 187.07
sys 4.02

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 167 point sources and 0 extended sources

Setting source of interest to:
4FGL J2148.6+0652 @ 327.163 6.8791

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/953192/ft1_filtered_4FGL_J2148.6+0652_daily_bin726.fits scfile=/scratch/kocevski/953192/ft2_4FGL_J2148.6+0652_daily_bin726.fits outfile=/scratch/kocevski/953192/cmap_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.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=327.163 yref=6.8791 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/953192/ft1_filtered_4FGL_J2148.6+0652_daily_bin726.fits scfile=/scratch/kocevski/953192/ft2_4FGL_J2148.6+0652_daily_bin726.fits outfile=/scratch/kocevski/953192/cmap_HighResolution_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.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=327.163 yref=6.8791 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/953192/ft1_filtered_4FGL_J2148.6+0652_daily_bin726.fits evtable="EVENTS" scfile=/scratch/kocevski/953192/ft2_4FGL_J2148.6+0652_daily_bin726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/953192/Model_4FGL_J2148.6+0652_daily_bin726.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/953192/ft1_filtered_4FGL_J2148.6+0652_daily_bin726.fits.....................!
real 53.73
user 52.34
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/953192/ft1_filtered_4FGL_J2148.6+0652_daily_bin726.fits', '/scratch/kocevski/953192/ft2_4FGL_J2148.6+0652_daily_bin726.fits', expMap='/scratch/kocevski/953192/expmap_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.fits', expCube='/scratch/kocevski/953192/ltcube_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/953192/Model_4FGL_J2148.6+0652_daily_bin726.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2148.6+0652'

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  5.891e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  2.658e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  2.404e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  4.369e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/953192/ft1_filtered_4FGL_J2148.6+0652_daily_bin726.fits
Spacecraft file(s): /scratch/kocevski/953192/ft2_4FGL_J2148.6+0652_daily_bin726.fits
Exposure map: /scratch/kocevski/953192/expmap_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.fits
Exposure cube: /scratch/kocevski/953192/ltcube_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/953192/Model_4FGL_J2148.6+0652_daily_bin726.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) = 4815.16116442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.076       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    53.800       1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.518       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.253       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3408       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.418       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    19.285       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    73.735       1.0000         .10000E-03   10000.    
    15 'norm      '    12.406       1.0000         .10000E-03   10000.    
    16 'norm      '    .14992E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.7564       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12650E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    1.3663       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .81419E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.551       1.0000         .10000E-03   10000.    
    23 'Prefactor '    62.702       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .11698       1.0000         .10000E-03   10000.    
    26 'Prefactor '    11.472       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .27726       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1617       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+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=   4815.105     FROM MIGRAD    STATUS=CONVERGED   1233 CALLS     4588 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.597        .18142E-02** at limit **
   2  Prefactor     26.072        28.621        .78449E-04    .21448E-04
   3  Prefactor     .10000E-03    45.277        .18142E-02** at limit **
   4  Prefactor     53.810        68.288        .54684E-04    .22578E-04
   5  Prefactor     40.525        30.756        .62972E-04    .46578E-04
   6  Prefactor     12.253        39.699        .11444E-03    .14107E-04
   7  Prefactor     2.3439        11.184        .13399E-02    .27369E-03
   8  Prefactor     .10000E-03    4.8371        .14882E-02** at limit **
   9  Prefactor     .10000E-03    1.5574        .16689E-03** at limit **
  10  Prefactor     12.423        41.426        .11368E-03    .24402E-04
  11  Prefactor     .10000E-03    14.834        .18142E-02** at limit **
  12  norm          19.286        5.9243        .89723E-04    .62467E-04
  13  Prefactor     .10000E-03    50.678        .18142E-02** at limit **
  14  Prefactor     73.660        88.826        .23378E-03    .29081E-04
  15  norm          12.406        4.9166        .90188E-04    .30064E-03
  16  norm          .10000E-03    38.425        .18142E-02** at limit **
  17  Prefactor     7.7596        9.1557        .14398E-03    .74222E-04
  18  Prefactor     .10032E-03    21.725        .76794E-01** at limit **
  19  norm          1.3664        1.3132        .75274E-04    .43799E-04
  20  Prefactor     .10000E-03    21.319        .18142E-02** at limit **
  21  Prefactor     .10000E-03    172.11        .54150E-02** at limit **
  22  Prefactor     14.565        25.543        .10500E-03    .25986E-04
  23  Prefactor     62.708        51.914        .50676E-04    .25575E-04
  24  Prefactor     .10000E-03    9.7551        .18142E-02** at limit **
  25  Prefactor     .11710        .24341        .52532E-03    .19385E-02
  26  Prefactor     11.472        11.526        .59140E-03    .30815E-04
  27  Normalizat    .27730        .37929        .65428E-03    .69678E-04
  28  Prefactor     1.1617        .16861        .16472E-03    .19143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 26.0717
  Prefactor  = 0.0001
  Prefactor  = 53.8104
  Prefactor  = 40.5251
  Prefactor  = 12.2534
  Prefactor  = 2.34394
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4226
  Prefactor  = 0.0001
  norm       = 19.2861
  Prefactor  = 0.0001
  Prefactor  = 73.6596
  norm       = 12.4063
  norm       = 0.0001
  Prefactor  = 7.75962
  Prefactor  = 0.000100319
  norm       = 1.36637
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 14.5651
  Prefactor  = 62.7078
  Prefactor  = 0.0001
  Prefactor  = 0.117103
  Prefactor  = 11.4717
  Normalizat = 0.277302
  Prefactor  = 1.16166
 **********
 **   18 **HESSE 
 **********

 FCN=   4815.105     FROM HESSE     STATUS=OK           505 CALLS     5093 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.605        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.072        28.624        .31380E-05   -1.4686    
   3  Prefactor     .10000E-03    45.288        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     53.810        68.281        .10937E-04   -1.4240    
   5  Prefactor     40.525        30.755        .25189E-05   -1.4434    
   6  Prefactor     12.253        39.703        .45775E-05   -1.5008    
   7  Prefactor     2.3439        11.128        .26798E-03   -1.5402    
   8  Prefactor     .10000E-03    4.8374        .29765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.5574        .33378E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.423        41.427        .45470E-05   -1.5003    
  11  Prefactor     .10000E-03    14.834        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          19.286        5.9240        .35889E-05   -1.4829    
  13  Prefactor     .10000E-03    50.678        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     73.660        88.806        .93512E-05   -1.3989    
  15  norm          12.406        4.9156        .36075E-05   -1.5003    
  16  norm          .10000E-03    38.430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.7596        9.1550        .57593E-05   -1.5151    
  18  Prefactor     .10032E-03    19.758        .81515E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.3664        1.3132        .30110E-05   -1.5474    
  20  Prefactor     .10000E-03    21.321        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    175.01        .10830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.565        25.523        .41999E-05   -1.4944    
  23  Prefactor     62.708        51.905        .10135E-04   -1.4123    
  24  Prefactor     .10000E-03    9.7562        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .11710        .24323        .21013E-04   -1.5640    
  26  Prefactor     11.472        11.526        .23656E-04   -1.5030    
  27  Normalizat    .27730        .37811        .26171E-04   -1.2422    
  28  Prefactor     1.1617        .16833        .32945E-04   -.87519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02351e-10
Minuit parameter uncertainties:
  1  0.000109068
  2  28.6389
  3  9.09546e-05
  4  68.3809
  5  30.7674
  6  39.7886
  7  10.2172
  8  8.15106e-06
  9  8.43167e-06
  10  41.5229
  11  6.14425e-06
  12  5.92416
  13  0.000209134
  14  88.9668
  15  4.91577
  16  4.9381e-05
  17  9.15669
  18  0.00502112
  19  1.31319
  20  4.54846e-05
  21  0.00108801
  22  25.5424
  23  51.9422
  24  3.28939e-06
  25  0.243231
  26  11.5278
  27  0.381668
  28  0.168403
Done.

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

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  1.000e-04  4.938e-05  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  2.658e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  2.404e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  4.369e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.162e+00  1.684e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  2.773e-01  3.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 327.163 6.879
Photon Flux Upper Limit: 1.69e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.11e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/953192/likelihoodResults_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.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) = 4815.10519192
delta logL = -0.000123942420942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4815.10506856
delta logL = -5.75882040721e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12528E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6472       1.0000          .0000       5.0000    
     3 'Normalizat'    .27750       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1616       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4815.105     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      194 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    40.715        .90712E-02** at limit **
   2  alpha         2.6827        3.6066        .41242       -.47814E-05
   3  Normalizat    .27730        .39980        .14838        .87204E-04
   4  Prefactor     1.1617        .20289        .35609E-01    .19114E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.68271
  Normalizat = 0.277299
  Prefactor  = 1.16166
 **********
 **   18 **HESSE 
 **********

 FCN=   4815.105     FROM HESSE     STATUS=OK            29 CALLS      223 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    39.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6827        3.5914        .16497        .73149E-01
   3  Normalizat    .27730        .32082        .65424E-03   -1.2422    
   4  Prefactor     1.1617        .16185        .16472E-03   -.87519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39142e-11
Minuit parameter uncertainties:
  1  0.000248578
  2  2.49448
  3  0.322978
  4  0.16192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/953192': 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) = 4815.10506793
delta logL = 4.80067683384e-08

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  1.000e-04  2.486e-04  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  2.683e+00  2.494e+00  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  2.404e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  4.369e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.162e+00  1.619e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  2.773e-01  3.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 327.163 6.879

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/953192/cmap_HighResolution_427507201_427766401_4FGL_J2148.6+0652_daily_bin726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.11e-05', job_status='DONE', photon_flux_upper_limit='1.69e-07', time_completed='2021-09-27 16:46:18.631815', job_id='953192', GAL2='1.16', fit_tolerance='1e-08', EG2='0.28', EG='0.28', time_epoch_completed='1632786378.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='4.80e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='726' AND source_name='4FGL J2148.6+0652' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 16:46:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 953192: <4FGL_J2148.6+0652_daily_bin726> in cluster <slac> Done

Job <4FGL_J2148.6+0652_daily_bin726> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 27 16:30:15 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 16:30:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 16:30:45 2021
Terminated at Mon Sep 27 16:46:19 2021
Results reported at Mon Sep 27 16:46:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2148.6+0652_daily_bin726 327.163 6.8791 427507201 427766401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2148.6+0652 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   733.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             262.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            964 sec.

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

