aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 70 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin1716
RA = 217.203, Dec = 74.485
tmin = 684115201, tmax = 684374401
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='148580', job_status='RUN', time_executed='2022-09-16 18:27:02.904490', time_epoch_executed='1663378022.9' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/148580

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/148580/ft1_4FGL_J1428.8+7429_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/148580/ft1_4FGL_J1428.8+7429_daily_bin1716.fits outfile=/scratch/kocevski/148580/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1716.fits ra=217.203 dec=74.485 rad=12.0 tmin=684115201.0 tmax=684374401.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 4.20
user 3.91
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.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/148580/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/148580/ft1_filtered_4FGL_J1428.8+7429_daily_bin1716.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 721

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/148580/ft1_filtered_4FGL_J1428.8+7429_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/148580/ltcube_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.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/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.fits
.....................!
real 16.59
user 16.11
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/148580/ft1_filtered_4FGL_J1428.8+7429_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/148580/ltcube_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.fits outfile=/scratch/kocevski/148580/expmap_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.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/148580/ltcube_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.fits
.....................!
real 195.04
user 188.24
sys 6.25

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

Setting source of interest to:
4FGL J1428.8+7429 @ 217.203 74.485

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/148580/ft1_filtered_4FGL_J1428.8+7429_daily_bin1716.fits scfile=/scratch/kocevski/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.fits outfile=/scratch/kocevski/148580/cmap_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.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=217.203 yref=74.485 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/148580/ft1_filtered_4FGL_J1428.8+7429_daily_bin1716.fits scfile=/scratch/kocevski/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.fits outfile=/scratch/kocevski/148580/cmap_HighResolution_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.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=217.203 yref=74.485 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.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/148580/ft1_filtered_4FGL_J1428.8+7429_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/148580/Model_4FGL_J1428.8+7429_daily_bin1716.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/148580/ft1_filtered_4FGL_J1428.8+7429_daily_bin1716.fits.....................!
real 82.78
user 81.04
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/148580/ft1_filtered_4FGL_J1428.8+7429_daily_bin1716.fits', '/scratch/kocevski/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.fits', expMap='/scratch/kocevski/148580/expmap_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.fits', expCube='/scratch/kocevski/148580/ltcube_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/148580/Model_4FGL_J1428.8+7429_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.8+7429'

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  2.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/148580/ft1_filtered_4FGL_J1428.8+7429_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/148580/ft2_4FGL_J1428.8+7429_daily_bin1716.fits
Exposure map: /scratch/kocevski/148580/expmap_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.fits
Exposure cube: /scratch/kocevski/148580/ltcube_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/148580/Model_4FGL_J1428.8+7429_daily_bin1716.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) = 7736.26867226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.335       1.0000          .0000       .10000E+07
     2 'Prefactor '    .64160E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .79103E-07   1.0000          .0000       .10000E+07
     4 'norm      '    7.0622       1.0000          .0000       .10000E+07
     5 'Prefactor '    .74417E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .31360E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    20.448       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13004E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0409       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30725E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    21.273       1.0000          .0000       .10000E+07
    12 'Prefactor '    .32910E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .67789E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .11163E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    11.190       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30425E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18151E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    28.035       1.0000          .0000       .10000E+07
    19 'norm      '    56.316       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11022E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    70.352       1.0000          .0000       .10000E+07
    22 'Prefactor '    .93411       1.0000          .0000       .10000E+07
    23 'Prefactor '    9.0943       1.0000          .0000       .10000E+07
    24 'Normalizat'    .74799       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0474       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7736.246     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2123 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.401        12.682        .11331E-05    .50703E-01
   2  Prefactor     .34945E-05    57.694       -.70373E-05** at limit **
   3  norm          .11102E-09    1.4522       -.66161E-07** at limit **
   4  norm          7.0516        3.8185       -.84801E-07   -.19299E-02
   5  Prefactor      .0000        36.441       -.12672E-06** at limit **
   6  Prefactor     .55511E-10    56.818       -.68815E-06** at limit **
   7  Prefactor     20.460        12.733       -.29690E-05   -.10127    
   8  Prefactor      .0000        11.122        .28105E-06** at limit **
   9  Prefactor     3.0434        3.9531       -.23654E-06   -.45973E-02
  10  Prefactor     .19312E-05    81.307       -.84689E-05** at limit **
  11  Prefactor     21.296        9.1089       -.17499E-05    .10284    
  12  Prefactor     .11102E-09    17.898       -.29342E-06** at limit **
  13  Prefactor     .16653E-09    35.457       -.56911E-06** at limit **
  14  Prefactor     .55511E-10    8.4315       -.26185E-06** at limit **
  15  Prefactor     11.137        7.9298        .36955E-07   -.68614E-01
  16  Prefactor     .11657E-08    19.767       -.12307E-05** at limit **
  17  Prefactor     .27756E-09    41.855        .74898E-06** at limit **
  18  Prefactor     28.026        1.8402        .65233E-07   -.18253E-01
  19  norm          56.350        1.7940       -.19388E-06    .28640E-01
  20  Prefactor     .27056E-05    132.07       -.30036E-05** at limit **
  21  Prefactor     69.361        13.473       -.14255E-05    .10038    
  22  Prefactor     1.0020        3.4634        .24749E-05   -.44764E-02
  23  Prefactor     8.6192        30.174       -.88361E-05    .11071E-01
  24  Normalizat    .74827        .16789       -.22537E-04   -.65442E-03
  25  Prefactor     1.0473        .14780        .17540E-04   -.77078E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.4006
  Prefactor  = 3.49454e-06
  norm       = 1.11022e-10
  norm       = 7.0516
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 20.4604
  Prefactor  = 0
  Prefactor  = 3.04341
  Prefactor  = 1.93118e-06
  Prefactor  = 21.2962
  Prefactor  = 1.11022e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 11.1367
  Prefactor  = 1.16573e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 28.0261
  norm       = 56.3499
  Prefactor  = 2.70561e-06
  Prefactor  = 69.3612
  Prefactor  = 1.00199
  Prefactor  = 8.61921
  Normalizat = 0.748266
  Prefactor  = 1.04731
 **********
 **   18 **HESSE 
 **********

 FCN=   7736.246     FROM HESSE     STATUS=OK           481 CALLS     2604 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.401        13.064        .19490E-03   -1.5605    
   2  Prefactor     .34945E-05    115.65        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .11102E-09    1.4531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.0516        3.8299        .37725E-03   -1.5655    
   5  Prefactor      .0000        36.339        .14675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    55.615        .16379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.460        14.192        .22121E-03   -1.5617    
   8  Prefactor      .0000        11.136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0434        3.9715        .58160E-03   -1.5673    
  10  Prefactor     .19312E-05    9.5842        .78325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.296        18.583        .21687E-03   -1.5616    
  12  Prefactor     .11102E-09    18.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16653E-09    35.427        .14892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    8.4486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.137        22.571        .29924E-03   -1.5641    
  16  Prefactor     .11657E-08    20.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .27756E-09    41.570        .17161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.026        21.307        .18890E-03   -1.5602    
  19  norm          56.350        25.324        .13326E-03   -1.5558    
  20  Prefactor     .27056E-05    153.35        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     69.361        44.392        .11923E-03   -1.5541    
  22  Prefactor     1.0020        3.8810        .43430E-03   -1.5688    
  23  Prefactor     8.6192        33.979        .33211E-03   -1.5649    
  24  Normalizat    .74827        .15090        .62093E-01   -1.0202    
  25  Prefactor     1.0473        .12929        .40062E-01   -.91169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52056e-06
Minuit parameter uncertainties:
  1  13.0639
  2  0.0402067
  3  2.63239e-05
  4  3.82991
  5  5.37669e-05
  6  8.50304e-05
  7  14.1924
  8  3.39966e-05
  9  3.97152
  10  0.00860435
  11  18.5835
  12  9.39626e-05
  13  0.000161541
  14  3.12103e-05
  15  22.5715
  16  0.000307183
  17  0.000205842
  18  21.3069
  19  25.3243
  20  0.0407394
  21  44.3923
  22  3.88106
  23  33.9793
  24  0.150984
  25  0.129333
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.665e-10  1.615e-04  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  1.047e+00  1.293e-01  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  7.483e-01  1.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 217.203 74.485
Photon Flux Upper Limit: 3.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/148580/likelihoodResults_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.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) = 7736.25959963
delta logL = -0.0134728054136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7736.24612687
delta logL = -4.58276190329e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92071E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .31689       1.0000          .0000       10.000    
     3 'Normalizat'    .74825       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0473       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7736.246     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      208 TOTAL
                     EDM=   .32E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    46.513        .56633E-07** at limit **
   2  Index         1.4951        6.9410       -.16060E-04    .16247E-11
   3  Normalizat    .74827        .16411        .26986E-04    .29797E-04
   4  Prefactor     1.0473        .14539       -.89241E-05    .22709E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.4951
  Normalizat = 0.748268
  Prefactor  = 1.04731
 **********
 **   18 **HESSE 
 **********

 FCN=   7736.246     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .23E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    1.0674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4951        6.3513        .37039       -.77677    
   3  Normalizat    .74827        .57944E-03    .62093E-01   -1.0202    
   4  Prefactor     1.0473        .51240E-03    .40068E-01   -.91169    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.25056e-14
Minuit parameter uncertainties:
  1  2.12806e-05
  2  87724.5
  3  0.000579441
  4  0.0005124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/148580': 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): 102
logL (Free Index) = 7736.24612682
delta logL = 2.18278728426e-10

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.110e-10  2.128e-05  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  1.495e+00  8.772e+04  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  1.047e+00  5.124e-04  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  7.483e-01  5.794e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 217.203 74.485

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/148580/cmap_HighResolution_684115201_684374401_4FGL_J1428.8+7429_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-03', job_status='DONE', photon_flux_upper_limit='3.78e-08', time_completed='2022-09-16 18:41:46.058606', job_id='148580', GAL2='1.05', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1663378906.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.18e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='1716' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:41:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 148580: <4FGL_J1428.8+7429_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1716> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 18:25:16 2022
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:25:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:25:43 2022
Terminated at Fri Sep 16 18:41:46 2022
Results reported at Fri Sep 16 18:41:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1716 217.203 74.485 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.8+7429 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   884.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            990 sec.

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

