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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin1674
RA = 217.203, Dec = 74.485
tmin = 673228801, tmax = 673488001
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='670620', job_status='RUN', time_executed='2022-05-06 02:53:23.142039', time_epoch_executed='1651830803.14' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/670620

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/670620/ft1_4FGL_J1428.8+7429_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/670620/ft2_4FGL_J1428.8+7429_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/670620/ft1_4FGL_J1428.8+7429_daily_bin1674.fits outfile=/scratch/kocevski/670620/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1674.fits ra=217.203 dec=74.485 rad=12.0 tmin=673228801.0 tmax=673488001.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 2.75
user 2.53
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/670620/ft2_4FGL_J1428.8+7429_daily_bin1674.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/670620/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/670620/ft1_filtered_4FGL_J1428.8+7429_daily_bin1674.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.49
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 1309

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/670620/ft1_filtered_4FGL_J1428.8+7429_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/670620/ft2_4FGL_J1428.8+7429_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/670620/ltcube_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.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/670620/ft2_4FGL_J1428.8+7429_daily_bin1674.fits
.....................!
real 12.49
user 12.17
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/670620/ft1_filtered_4FGL_J1428.8+7429_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/670620/ft2_4FGL_J1428.8+7429_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/670620/ltcube_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.fits outfile=/scratch/kocevski/670620/expmap_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.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/670620/ltcube_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.fits
.....................!
real 190.96
user 185.26
sys 5.34

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/670620/ft1_filtered_4FGL_J1428.8+7429_daily_bin1674.fits scfile=/scratch/kocevski/670620/ft2_4FGL_J1428.8+7429_daily_bin1674.fits outfile=/scratch/kocevski/670620/cmap_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/670620/ft1_filtered_4FGL_J1428.8+7429_daily_bin1674.fits scfile=/scratch/kocevski/670620/ft2_4FGL_J1428.8+7429_daily_bin1674.fits outfile=/scratch/kocevski/670620/cmap_HighResolution_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/670620/ft1_filtered_4FGL_J1428.8+7429_daily_bin1674.fits', '/scratch/kocevski/670620/ft2_4FGL_J1428.8+7429_daily_bin1674.fits', expMap='/scratch/kocevski/670620/expmap_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.fits', expCube='/scratch/kocevski/670620/ltcube_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/670620/Model_4FGL_J1428.8+7429_daily_bin1674.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  1.000e-04  1.000e+04 ( 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/670620/ft1_filtered_4FGL_J1428.8+7429_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/670620/ft2_4FGL_J1428.8+7429_daily_bin1674.fits
Exposure map: /scratch/kocevski/670620/expmap_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.fits
Exposure cube: /scratch/kocevski/670620/ltcube_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/670620/Model_4FGL_J1428.8+7429_daily_bin1674.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) = 14160.7662792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.951       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8451       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0230       1.0000         .10000E-03   10000.    
     4 'norm      '    1.8178       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.6035       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.1793       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.5576       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5111       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4776       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6455       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5543       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1993       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10487E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14166E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.680       1.0000         .10000E-03   10000.    
    22 'norm      '    8.9624       1.0000         .10000E-03   10000.    
    23 'Prefactor '    48.928       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .67348       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .22678E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .20680E-02   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .65948       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2107       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.

 FCN=   14160.62     FROM MIGRAD    STATUS=CONVERGED    675 CALLS     3570 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.946        8.0201        .73556E-07    .22377E-04
   2  Prefactor     2.8365        126.07        .70340E-05    .49336E-05
   3  norm          2.0231        2.5687        .52300E-07   -.36002E-04
   4  norm          1.8164        1.7262        .39618E-07   -.72095E-05
   5  Prefactor     .10000E-03    18.402        .17379E-05** at limit **
   6  Prefactor     .10000E-03    7.8696        .12257E-06** at limit **
   7  Prefactor     4.6026        5.8093       -.47915E-08   -.22832E-03
   8  Prefactor     9.1785        10.163        .23246E-08    .28273E-05
   9  Prefactor     5.5573        4.0273       -.13210E-07    .15331E-04
  10  Prefactor     4.5089        9.3983        .24845E-06   -.14113E-03
  11  Prefactor     3.4788        8.2847        .30002E-06   -.40500E-03
  12  Prefactor     7.6427        6.0646       -.69569E-09    .67678E-05
  13  Prefactor     1.5516        13.548       -.23962E-06   -.21638E-04
  14  Prefactor     .10000E-03    7.8066       -.15161E-06** at limit **
  15  Prefactor     .10000E-03    18.965       -.42971E-06** at limit **
  16  Prefactor     1.2008        4.0170        .12967E-05   -.86676E-03
  17  Prefactor     .10000E-03    3.7826       -.72128E-07** at limit **
  18  Prefactor     .10000E-03    18.922       -.60462E-06** at limit **
  19  Prefactor     .10000E-03    35.556       -.23980E-05** at limit **
  20  Prefactor     .10000E-03    7.2848       -.11614E-06** at limit **
  21  Prefactor     20.677        14.793        .60995E-07    .93218E-05
  22  norm          8.9600        10.447        .39201E-06    .11216E-04
  23  Prefactor     48.955        45.632       -.53728E-05   -.57166E-04
  24  Prefactor     .69255        8.0683        .53102E-06   -.57808E-04
  25  Prefactor     .10002E-03    .99378        .53024E-06** at limit **
  26  Prefactor     .10007E-03    40.223       -.42957E-05** at limit **
  27  Normalizat    .65954        .11180       -.17823E-07    .58809E-04
  28  Prefactor     1.2107        .96623E-01    .32831E-06    .37317E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9465
  Prefactor  = 2.83652
  norm       = 2.02313
  norm       = 1.8164
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.60257
  Prefactor  = 9.1785
  Prefactor  = 5.55726
  Prefactor  = 4.50887
  Prefactor  = 3.47877
  Prefactor  = 7.64275
  Prefactor  = 1.55164
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.20079
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.6769
  norm       = 8.95999
  Prefactor  = 48.9551
  Prefactor  = 0.692555
  Prefactor  = 0.000100019
  Prefactor  = 0.000100069
  Normalizat = 0.659545
  Prefactor  = 1.21072  **********
 **   18 **HESSE 
 **********

 FCN=   14160.62     FROM HESSE     STATUS=OK           541 CALLS     4111 TOTAL
                     EDM=   .79E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.946        7.9778        .97281E-04   -1.4884    
   2  Prefactor     2.8365        125.87        .24106E-03   -1.5371    
   3  norm          2.0231        2.5524        .20807E-03   -1.5423    
   4  norm          1.8164        1.7075        .14375E-03   -1.5438    
   5  Prefactor     .10000E-03    18.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.8766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.6026        5.8423        .93799E-03   -1.5279    
   8  Prefactor     9.1785        10.159        .13228E-03   -1.5102    
   9  Prefactor     5.5573        4.0340        .14733E-03   -1.5236    
  10  Prefactor     4.5089        9.4132        .94778E-03   -1.5283    
  11  Prefactor     3.4788        8.4801        .10842E-02   -1.5335    
  12  Prefactor     7.6427        6.0683        .14503E-03   -1.5155    
  13  Prefactor     1.5516        13.579        .34152E-03   -1.5459    
  14  Prefactor     .10000E-03    7.8161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.2008        7.9632        .20734E-02   -1.5489    
  17  Prefactor     .10000E-03    3.7864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    35.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.3815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.677        14.792        .88077E-04   -1.4798    
  22  norm          8.9600        10.456        .13388E-03   -1.5109    
  23  Prefactor     48.955        45.698        .28664E-03   -1.4307    
  24  Prefactor     .69255        67.416        .64451E-02   -1.5542    
  25  Prefactor     .10002E-03    1.1007        .29752E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10007E-03    51.255        .62843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .65954        .12594        .28632E-03   -1.0551    
  28  Prefactor     1.2107        .10954        .19552E-03   -.86002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.93667e-08
Minuit parameter uncertainties:
  1  7.97833
  2  37.8754
  3  2.55251
  4  1.70757
  5  2.49496e-05
  6  9.79577e-07
  7  5.84298
  8  10.1606
  9  4.03421
  10  9.41628
  11  8.48304
  12  6.06879
  13  9.18294
  14  4.51369e-06
  15  1.38031e-05
  16  6.18549
  17  2.22201e-06
  18  2.56198e-05
  19  9.32087e-05
  20  1.14245e-05
  21  14.7942
  22  10.458
  23  45.7308
  24  13.6808
  25  0.000286973
  26  0.00377063
  27  0.125991
  28  0.109562DDone.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.380e-05  1.000e-04  1.000e+04 ( 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.211e+00  1.096e-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:  6.595e-01  1.260e-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: 2.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/670620/likelihoodResults_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14160.6224776
delta logL = -0.000250990526183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14160.6222344
delta logL = -7.83058021625e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16608E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8331       1.0000          .0000       10.000    
     3 'Normalizat'    .65956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2105       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.

 FCN=   14160.62     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0546        .90712E-02** at limit **
   2  Index         1.8099        5.3727        .50000        .87318E-05
   3  Normalizat    .65954        .10632E-02    .64711E-01    .69251E-04
   4  Prefactor     1.2107        .96155E-03    .34387E-01    .11374E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.80986
  Normalizat = 0.659545
  Prefactor  = 1.21072
 **********
 **   18 **HESSE 
 **********

 FCN=   14160.62     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      246 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    71.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8099        5.5054        .50000       -.69193    
   3  Normalizat    .65954        .51706E-02    .28632E-03   -1.0551    
   4  Prefactor     1.2107        .46843E-02    .19552E-03   -.86002    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.06132e-07
Minuit parameter uncertainties:
  1  0.000241827
  2  146.321
  3  0.00517061
  4  0.00468432
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670620': 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) = 14160.6222264
delta logL = 1.19036485557e-07

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.418e-04  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.810e+00  1.463e+02  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.211e+00  4.684e-03  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:  6.595e-01  5.171e-03  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/670620/cmap_HighResolution_673228801_673488001_4FGL_J1428.8+7429_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-03', job_status='DONE', photon_flux_upper_limit='2.07e-08', time_completed='2022-05-06 03:21:28.204235', job_id='670620', GAL2='1.21', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1651832488.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='1.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='1674' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:21:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 670538: <4FGL_J1428.8+7429_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:07:44 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:51:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:51:57 2022
Terminated at Fri May  6 03:20:13 2022
Results reported at Fri May  6 03:20:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1674 217.203 74.485 673228801 673488001 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 :                                   1681.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             349.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1695 sec.
    Turnaround time :                            11549 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 670620: <4FGL_J1428.8+7429_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:07:48 2022
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:52:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:52:27 2022
Terminated at Fri May  6 03:21:28 2022
Results reported at Fri May  6 03:21:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1674 217.203 74.485 673228801 673488001 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 :                                   1684.28 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             329.49 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1741 sec.
    Turnaround time :                            11620 sec.

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

