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 0 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is 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 = 7483
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1428.8+7429_daily_bin1770
RA = 217.203, Dec = 74.485
tmin = 698112001, tmax = 698371201
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='488966', job_status='RUN', time_executed='2023-02-18 01:00:25.931088', time_epoch_executed='1676710825.93' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/488966

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/488966/ft1_4FGL_J1428.8+7429_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/488966/ft2_4FGL_J1428.8+7429_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/488966/ft1_4FGL_J1428.8+7429_daily_bin1770.fits outfile=/scratch/kocevski/488966/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1770.fits ra=217.203 dec=74.485 rad=12.0 tmin=698112001.0 tmax=698371201.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.36
user 4.12
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/488966/ft2_4FGL_J1428.8+7429_daily_bin1770.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/488966/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/488966/ft1_filtered_4FGL_J1428.8+7429_daily_bin1770.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 691

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/488966/ft1_filtered_4FGL_J1428.8+7429_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/488966/ft2_4FGL_J1428.8+7429_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/488966/ltcube_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.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/488966/ft2_4FGL_J1428.8+7429_daily_bin1770.fits
.....................!
real 11.80
user 11.48
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/488966/ft1_filtered_4FGL_J1428.8+7429_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/488966/ft2_4FGL_J1428.8+7429_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/488966/ltcube_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.fits outfile=/scratch/kocevski/488966/expmap_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.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/488966/ltcube_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.fits
.....................!
real 197.26
user 192.70
sys 4.24

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/488966/ft1_filtered_4FGL_J1428.8+7429_daily_bin1770.fits scfile=/scratch/kocevski/488966/ft2_4FGL_J1428.8+7429_daily_bin1770.fits outfile=/scratch/kocevski/488966/cmap_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/488966/ft1_filtered_4FGL_J1428.8+7429_daily_bin1770.fits scfile=/scratch/kocevski/488966/ft2_4FGL_J1428.8+7429_daily_bin1770.fits outfile=/scratch/kocevski/488966/cmap_HighResolution_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.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.53
user 0.38
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/488966/ft1_filtered_4FGL_J1428.8+7429_daily_bin1770.fits', '/scratch/kocevski/488966/ft2_4FGL_J1428.8+7429_daily_bin1770.fits', expMap='/scratch/kocevski/488966/expmap_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.fits', expCube='/scratch/kocevski/488966/ltcube_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/488966/Model_4FGL_J1428.8+7429_daily_bin1770.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/488966/ft1_filtered_4FGL_J1428.8+7429_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/488966/ft2_4FGL_J1428.8+7429_daily_bin1770.fits
Exposure map: /scratch/kocevski/488966/expmap_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.fits
Exposure cube: /scratch/kocevski/488966/ltcube_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/488966/Model_4FGL_J1428.8+7429_daily_bin1770.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) = 7513.68056996

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.736       1.0000          .0000       .10000E+07
     2 'Prefactor '    29.151       1.0000          .0000       .10000E+07
     3 'norm      '    9.0302       1.0000          .0000       .10000E+07
     4 'norm      '    .41256E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .80195       1.0000          .0000       .10000E+07
     6 'Prefactor '    53.819       1.0000          .0000       .10000E+07
     7 'Prefactor '    36.074       1.0000          .0000       .10000E+07
     8 'Prefactor '    .52244E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.3727       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11226E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.046       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24598E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    41.264       1.0000          .0000       .10000E+07
    14 'Prefactor '    .31531E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .21355       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.459       1.0000          .0000       .10000E+07
    17 'Prefactor '    .97338E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .72081E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .42468E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .28468       1.0000          .0000       .10000E+07
    21 'Prefactor '    .90988E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .18506E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .18968E-01   1.0000          .0000       .10000E+07
    24 'Normalizat'    .89795       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84660       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=   7513.677     FROM MIGRAD    STATUS=CONVERGED    208 CALLS     2102 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.609        11.934       -.52722E-07   -.20024E-01
   2  Prefactor     29.893        65.298       -.29106E-05    .22037E-01
   3  norm          9.0762        5.4117        .16419E-06   -.46637E-04
   4  norm           .0000        2.0644        .23030E-06** at limit **
   5  Prefactor     .15678E-04    1060.8       -.59834E-05** at limit **
   6  Prefactor     53.971        35.569       -.29213E-06   -.90889E-01
   7  Prefactor     36.029        7.3553        .20686E-06    .10075    
   8  Prefactor     .16619E-05    12.317       -.45307E-06** at limit **
   9  Prefactor     5.4130        5.7036        .96832E-06    .48705E-03
  10  Prefactor     .16653E-09    7.6636       -.28831E-06** at limit **
  11  Prefactor     11.007        3.4606       -.93304E-07   -.61671E-02
  12  Prefactor     .65775E-06    14.374        .13897E-06** at limit **
  13  Prefactor     41.281        1.9918        .58354E-09    .73650E-02
  14  Prefactor      .0000        6.9457        .12618E-06** at limit **
  15  Prefactor     .55511E-10    47.834        .35021E-06** at limit **
  16  Prefactor     14.371        24.915        .15213E-05   -.82539E-01
  17  Prefactor     .86697E-06    9.9652       -.60062E-07** at limit **
  18  Prefactor     .72825E-06    19.834       -.11844E-05** at limit **
  19  norm          .10361E-05    21.533        .77684E-06** at limit **
  20  Prefactor     .23315E-08    54.056        .36917E-06** at limit **
  21  Prefactor     .20070E-05    9.2702        .13983E-05** at limit **
  22  Prefactor      .0000        .77700        .88898E-07** at limit **
  23  Prefactor     .55511E-10    23.884       -.59041E-06** at limit **
  24  Normalizat    .89791        .15609        .81367E-05    .54539E-04
  25  Prefactor     .84685        .12822       -.88266E-06    .56922E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.6086
  Prefactor  = 29.8932
  norm       = 9.07625
  norm       = 0
  Prefactor  = 1.56785e-05
  Prefactor  = 53.9711
  Prefactor  = 36.0292
  Prefactor  = 1.66189e-06
  Prefactor  = 5.41297
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0065
  Prefactor  = 6.57752e-07
  Prefactor  = 41.2814
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 14.3708
  Prefactor  = 8.66973e-07
  Prefactor  = 7.28251e-07
  norm       = 1.03612e-06
  Prefactor  = 2.33147e-09
  Prefactor  = 2.00695e-06
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.89791
  Prefactor  = 0.846848
 **********
 **   18 **HESSE 
 **********

 FCN=   7513.677     FROM HESSE     STATUS=OK           469 CALLS     2571 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.609        12.297        .17480E-03   -1.5594    
   2  Prefactor     29.893        67.421        .18524E-03   -1.5599    
   3  norm          9.0762        5.4122        .33329E-03   -1.5648    
   4  norm           .0000        2.0562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15678E-04    1063.1        .52789E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     53.971        39.662        .13632E-03   -1.5561    
   7  Prefactor     36.029        16.291        .16652E-03   -1.5588    
   8  Prefactor     .16619E-05    13.698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.4130        5.6789        .43332E-03   -1.5661    
  10  Prefactor     .16653E-09    7.6668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.007        17.284        .30120E-03   -1.5642    
  12  Prefactor     .65775E-06    14.864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     41.281        49.602        .15569E-03   -1.5579    
  14  Prefactor      .0000        6.9410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    46.860        .11540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.371        30.154        .26314E-03   -1.5632    
  17  Prefactor     .86697E-06    12.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .72825E-06    20.374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10361E-05    22.134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23315E-08    54.060        .10429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .20070E-05    12.333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        .77492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55511E-10    22.946        .17106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .89791        .13990        .44875E-01   -.96534    
  25  Prefactor     .84685        .11465        .44321E-01   -.98024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3262e-06
Minuit parameter uncertainties:
  1  12.2966
  2  67.4231
  3  5.41224
  4  4.11349e-06
  5  0.258259
  6  39.6626
  7  16.2913
  8  0.00954259
  9  5.67895
  10  7.04104e-05
  11  17.2841
  12  0.00625354
  13  49.602
  14  2.5617e-05
  15  8.23438e-05
  16  30.1548
  17  0.00647083
  18  0.00770394
  19  0.00957784
  20  0.000707242
  21  0.00995028
  22  1.97346e-06
  23  7.01884e-05
  24  0.139953
  25  0.114686
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  4.128e+01  4.960e+01  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:  8.468e-01  1.147e-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:  8.979e-01  1.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 217.203 74.485
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 1.06e-08 +/- 1.27e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 1.27e-05

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

Saving results to:
/scratch/kocevski/488966/likelihoodResults_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.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) = 7513.62062346
delta logL = 0.0563890531985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7513.61455463
delta logL = 0.0624578874194

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.225       1.0000          .0000       .10000E+07
     2 'Index     '    2.1978       1.0000          .0000       10.000    
     3 'Normalizat'    .89007       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84952       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+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=   7513.615     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      315 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.211        105.38        .83021E-05   -.19179E-02
   2  Index         2.1979        1.7550        .72590E-02   -.74555E-04
   3  Normalizat    .88969        .15878        .24592E-03    .64583E-03
   4  Prefactor     .84987        .12825        .21073E-03    .47966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.2108
  Index      = 2.19785
  Normalizat = 0.889686
  Prefactor  = 0.849871
 **********
 **   18 **HESSE 
 **********

 FCN=   7513.615     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.211        55.134        .16604E-05   -1.5612    
   2  Index         2.1979        .99879        .29036E-03   -.59490    
   3  Normalizat    .88969        .15280        .49183E-04   -.96824    
   4  Prefactor     .84987        .12674        .42146E-04   -.97915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90278e-10
Minuit parameter uncertainties:
  1  55.1351
  2  1.00874
  3  0.152874
  4  0.126787
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/488966': 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) = 7513.61455046
delta logL = 0.0624620532571

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  2.321e+01  5.514e+01  0.000e+00  1.000e+06 ( 1.000e-15)
369        Index:  2.198e+00  1.009e+00  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:  8.499e-01  1.268e-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:  8.897e-01  1.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.60
Ra Dec: 217.203 74.485
Photon Index (Free Index): 2.20 +/- 1.01
Photon Flux (Free Index): 1.73e-08 +/- 2.88e-08
Energy Flux (Free Index): 7.81e-06 +/- 1.00e-05

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/488966/cmap_HighResolution_698112001_698371201_4FGL_J1428.8+7429_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.56e-03', comment='SUCCESS', photon_flux='1.06e-08', energy_flux2='7.81e-06', photon_flux_error='1.27e-08', dlogl='6.25e-02', energy_flux='1.06e-05', photon_flux2='1.73e-08', job_status='DONE', time_completed='2023-02-18 01:14:31.709884', photon_index_error2='1.01', photon_index2='2.20', ts='1.47', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='4.80e-08', energy_flux_error2='1.00e-05', EG='0.90', time_epoch_completed='1676711671.71', return_code='0', job_id='488966', GAL2='0.85', EG2='0.89', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='2.88e-08', ts2='1.60', photon_index='1.86' WHERE bin_id='1770' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 01:14:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 488966: <4FGL_J1428.8+7429_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1770> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Feb 18 01:00:16 2023
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 01:00:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 01:00:18 2023
Terminated at Sat Feb 18 01:14:32 2023
Results reported at Sat Feb 18 01:14:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1770 217.203 74.485 698112001 698371201 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 :                                   847.42 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            856 sec.

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

