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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin1713
RA = 217.229, Dec = 54.1114
tmin = 683337601, tmax = 683596801
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='148591', job_status='RUN', time_executed='2022-09-16 18:26:05.032110', time_epoch_executed='1663377965.03' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/148591

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/148591/ft1_4FGL_J1428.9+5406_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/148591/ft1_4FGL_J1428.9+5406_daily_bin1713.fits outfile=/scratch/kocevski/148591/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1713.fits ra=217.229 dec=54.1114 rad=12.0 tmin=683337601.0 tmax=683596801.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.56
user 3.32
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.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/148591/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/148591/ft1_filtered_4FGL_J1428.9+5406_daily_bin1713.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.52
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 596

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/148591/ft1_filtered_4FGL_J1428.9+5406_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/148591/ltcube_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.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/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.fits
.....................!
real 15.61
user 15.25
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/148591/ft1_filtered_4FGL_J1428.9+5406_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/148591/ltcube_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.fits outfile=/scratch/kocevski/148591/expmap_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.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/148591/ltcube_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.fits
.....................!
real 191.85
user 187.38
sys 4.11

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

Setting source of interest to:
4FGL J1428.9+5406 @ 217.229 54.1114

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/148591/ft1_filtered_4FGL_J1428.9+5406_daily_bin1713.fits scfile=/scratch/kocevski/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.fits outfile=/scratch/kocevski/148591/cmap_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.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.229 yref=54.1114 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/148591/ft1_filtered_4FGL_J1428.9+5406_daily_bin1713.fits scfile=/scratch/kocevski/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.fits outfile=/scratch/kocevski/148591/cmap_HighResolution_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.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.229 yref=54.1114 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/148591/ft1_filtered_4FGL_J1428.9+5406_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/148591/Model_4FGL_J1428.9+5406_daily_bin1713.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/148591/ft1_filtered_4FGL_J1428.9+5406_daily_bin1713.fits.....................!
real 51.76
user 50.47
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/148591/ft1_filtered_4FGL_J1428.9+5406_daily_bin1713.fits', '/scratch/kocevski/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.fits', expMap='/scratch/kocevski/148591/expmap_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.fits', expCube='/scratch/kocevski/148591/ltcube_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/148591/Model_4FGL_J1428.9+5406_daily_bin1713.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.9+5406'

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  4.001e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/148591/ft1_filtered_4FGL_J1428.9+5406_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/148591/ft2_4FGL_J1428.9+5406_daily_bin1713.fits
Exposure map: /scratch/kocevski/148591/expmap_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.fits
Exposure cube: /scratch/kocevski/148591/ltcube_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/148591/Model_4FGL_J1428.9+5406_daily_bin1713.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) = 6469.99456286

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79702E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19944E-03   1.0000          .0000       .10000E+07
     3 'norm      '    4.8186       1.0000          .0000       .10000E+07
     4 'Prefactor '    43.262       1.0000          .0000       .10000E+07
     5 'norm      '    .38969E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .74618E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60238E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13485E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .71760E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .96454E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.5158       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.8586       1.0000          .0000       .10000E+07
    13 'Prefactor '    36.322       1.0000          .0000       .10000E+07
    14 'Prefactor '    .35992E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .35351E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .14843E-01   1.0000          .0000       .10000E+07
    17 'norm      '    2.3580       1.0000          .0000       .10000E+07
    18 'Prefactor '    27.099       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50893E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16566       1.0000          .0000       .10000E+07
    21 'norm      '    .54893E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    .90552       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0690       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6469.965     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1841 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15446E-05    38.302        .11018E-04** at limit **
   2  Prefactor     .16875E-07    12.794       -.22313E-05** at limit **
   3  norm          4.8106        3.8293       -.40979E-07    .45056E-02
   4  Prefactor     43.045        12.815       -.32925E-05    .15978    
   5  norm           .0000        .41514        .14945E-07** at limit **
   6  norm          .55511E-10    1.5848       -.23593E-08** at limit **
   7  Prefactor     .17242E-06    6.7040       -.15084E-07** at limit **
   8  Prefactor     .38775E-06    11.456        .82987E-05** at limit **
   9  Prefactor     .55511E-10    2.6570        .35890E-07** at limit **
  10  Prefactor     .44409E-09    10.185        .17869E-06** at limit **
  11  Prefactor     1.5230        1.7234        .35528E-06    .28366E-02
  12  Prefactor     9.5526        2.3101       -.10326E-05    .29952E-02
  13  Prefactor     36.047        4.7262       -.10986E-05    .25165E-01
  14  Prefactor     .28411E-05    50.371       -.78726E-05** at limit **
  15  Prefactor      .0000        3.7078        .89658E-07** at limit **
  16  Prefactor     .47296E-07    16.860       -.12593E-04** at limit **
  17  norm          2.3589        1.2290       -.45080E-08   -.56515E-03
  18  Prefactor     27.219        11.863       -.60922E-06   -.26350E-02
  19  Prefactor      .0000        1.2862       -.18290E-06** at limit **
  20  Prefactor     .43593E-06    4.4742        .65715E-05** at limit **
  21  norm          .27756E-09    1.6800        .86143E-07** at limit **
  22  Normalizat    .90645        .17864        .64762E-05   -.69356E-03
  23  Prefactor     1.0686        .21251       -.24128E-05   -.50187E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.5446e-06
  Prefactor  = 1.68754e-08
  norm       = 4.8106
  Prefactor  = 43.045
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 1.72418e-07
  Prefactor  = 3.87745e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 4.44089e-10
  Prefactor  = 1.52302
  Prefactor  = 9.55264
  Prefactor  = 36.0472
  Prefactor  = 2.84106e-06
  Prefactor  = 0
  Prefactor  = 4.72955e-08
  norm       = 2.35885
  Prefactor  = 27.2193
  Prefactor  = 0
  Prefactor  = 4.35929e-07
  norm       = 2.77556e-10
  Normalizat = 0.906447
  Prefactor  = 1.06861
 **********
 **   18 **HESSE 
 **********

 FCN=   6469.965     FROM HESSE     STATUS=OK           416 CALLS     2257 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15446E-05    39.307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16875E-07    12.836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.8106        3.8287        .45805E-03   -1.5664    
   4  Prefactor     43.045        52.318        .15205E-03   -1.5577    
   5  norm           .0000        .41472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    1.5848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17242E-06    17.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38775E-06    16.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.6421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .44409E-09    10.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5230        1.8437        .86795E-03   -1.5683    
  12  Prefactor     9.5526        21.976        .31890E-03   -1.5646    
  13  Prefactor     36.047        38.999        .16595E-03   -1.5588    
  14  Prefactor     .28411E-05    52.258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.7159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .47296E-07    19.504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.3589        1.2265        .66715E-03   -1.5677    
  18  Prefactor     27.219        13.109        .19213E-03   -1.5604    
  19  Prefactor      .0000        1.2840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .43593E-06    4.0171        .98819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .27756E-09    1.6796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .90645        .15173        .44972E-01   -.96234    
  23  Prefactor     1.0686        .17656        .56628E-01   -.90476    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80667e-06
Minuit parameter uncertainties:
  1  0.015584
  2  0.00093102
  3  3.82872
  4  52.3187
  5  4.51396e-06
  6  2.12727e-05
  7  0.00345702
  8  0.00499973
  9  2.5061e-05
  10  0.00013725
  11  1.84373
  12  21.9759
  13  38.9996
  14  0.0243697
  15  7.47593e-06
  16  0.001921
  17  1.22653
  18  13.1091
  19  1.72588e-06
  20  0.00264655
  21  4.39007e-05
  22  0.151802
  23  0.176658
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  9.553e+00  2.198e+01  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  1.069e+00  1.767e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  9.064e-01  1.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 217.229 54.111
Photon Flux Upper Limit: 7.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/148591/likelihoodResults_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.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) = 6469.58475011
delta logL = 0.380581063702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6469.35750758
delta logL = 0.607823597053

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.655       1.0000          .0000       .10000E+07
     2 'Index     '    1.6725       1.0000          .0000       10.000    
     3 'Normalizat'    .92095       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0471       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+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=   6469.358     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      254 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.633        30.419        .76076E-05   -.25405E-04
   2  Index         1.6725        .57012        .88599E-02   -.19109E-03
   3  Normalizat    .92091        .17575        .22302E-03    .34664E-04
   4  Prefactor     1.0471        .21174        .25221E-03   -.41289E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.6331
  Index      = 1.67248
  Normalizat = 0.920914
  Prefactor  = 1.04712
 **********
 **   18 **HESSE 
 **********

 FCN=   6469.358     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.633        30.776        .30430E-06   -1.5603    
   2  Index         1.6725        .57693        .17720E-02   -.72817    
   3  Normalizat    .92091        .17595        .89207E-05   -.95729    
   4  Prefactor     1.0471        .21197        .10089E-04   -.91175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34885e-11
Minuit parameter uncertainties:
  1  30.7757
  2  0.579254
  3  0.176059
  4  0.212144
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/148591': 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) = 6469.35750725
delta logL = 0.607823922012

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  2.763e+01  3.078e+01  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  1.672e+00  5.793e-01  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  1.047e+00  2.121e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  9.209e-01  1.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.46
Ra Dec: 217.229 54.111
Photon Index (Free Index): 1.67 +/- 0.58
Photon Flux (Free Index): 1.36e-08 +/- 1.77e-08
Energy Flux (Free Index): 2.43e-05 +/- 3.69e-05

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/148591/cmap_HighResolution_683337601_683596801_4FGL_J1428.9+5406_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.19e-03', comment='SUCCESS', energy_flux2='2.43e-05', dlogl='6.08e-01', photon_flux2='1.36e-08', job_status='DONE', time_completed='2022-09-16 18:37:23.101325', photon_index_error2='0.58', photon_index2='1.67', ts='0.24', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='7.92e-08', energy_flux_error2='3.69e-05', EG='0.91', time_epoch_completed='1663378643.1', return_code='0', job_id='148591', GAL2='1.05', EG2='0.92', return_code2='0', photon_flux_error2='1.77e-08', ts2='1.46', photon_index='2.57' WHERE bin_id='1713' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:37:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 148591: <4FGL_J1428.9+5406_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin1713> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 18:25:17 2022
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:25:46 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:46 2022
Terminated at Fri Sep 16 18:37:23 2022
Results reported at Fri Sep 16 18:37:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin1713 217.229 54.1114 683337601 683596801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.9+5406 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            726 sec.

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

