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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin1754
RA = 217.229, Dec = 54.1114
tmin = 693964801, tmax = 694224001
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='644977', job_status='RUN', time_executed='2023-01-01 01:19:41.347672', time_epoch_executed='1672564781.35' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644977

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644977/ft1_4FGL_J1428.9+5406_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644977/ft2_4FGL_J1428.9+5406_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644977/ft1_4FGL_J1428.9+5406_daily_bin1754.fits outfile=/scratch/kocevski/644977/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1754.fits ra=217.229 dec=54.1114 rad=12.0 tmin=693964801.0 tmax=694224001.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.94
user 3.69
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644977/ft2_4FGL_J1428.9+5406_daily_bin1754.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/644977/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/644977/ft1_filtered_4FGL_J1428.9+5406_daily_bin1754.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.33
sys 0.17

Number of photons that the gtmktime cut: 629

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644977/ft1_filtered_4FGL_J1428.9+5406_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/644977/ft2_4FGL_J1428.9+5406_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/644977/ltcube_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.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/644977/ft2_4FGL_J1428.9+5406_daily_bin1754.fits
.....................!
real 16.30
user 15.83
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644977/ft1_filtered_4FGL_J1428.9+5406_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/644977/ft2_4FGL_J1428.9+5406_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/644977/ltcube_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.fits outfile=/scratch/kocevski/644977/expmap_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.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/644977/ltcube_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.fits
.....................!
real 192.97
user 186.99
sys 4.75

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/644977/ft1_filtered_4FGL_J1428.9+5406_daily_bin1754.fits scfile=/scratch/kocevski/644977/ft2_4FGL_J1428.9+5406_daily_bin1754.fits outfile=/scratch/kocevski/644977/cmap_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644977/ft1_filtered_4FGL_J1428.9+5406_daily_bin1754.fits scfile=/scratch/kocevski/644977/ft2_4FGL_J1428.9+5406_daily_bin1754.fits outfile=/scratch/kocevski/644977/cmap_HighResolution_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/644977/ft1_filtered_4FGL_J1428.9+5406_daily_bin1754.fits', '/scratch/kocevski/644977/ft2_4FGL_J1428.9+5406_daily_bin1754.fits', expMap='/scratch/kocevski/644977/expmap_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.fits', expCube='/scratch/kocevski/644977/ltcube_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/644977/Model_4FGL_J1428.9+5406_daily_bin1754.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/644977/ft1_filtered_4FGL_J1428.9+5406_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/644977/ft2_4FGL_J1428.9+5406_daily_bin1754.fits
Exposure map: /scratch/kocevski/644977/expmap_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.fits
Exposure cube: /scratch/kocevski/644977/ltcube_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/644977/Model_4FGL_J1428.9+5406_daily_bin1754.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) = 6884.9136237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3308       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15790E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .26146E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .60207E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .79381E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .11089E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    23.729       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36133E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .48025       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24930E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10436E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    33.721       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17092E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .22303E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    13.024       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24855E-03   1.0000          .0000       .10000E+07
    17 'norm      '    2.5806       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.8673       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18901E-01   1.0000          .0000       .10000E+07
    21 'norm      '    5.8189       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1228       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .56966       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=   6884.756     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1478 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-05    148.97       -.96754E-05** at limit **
   2  Prefactor     .28089E-07    12.062        .15943E-05** at limit **
   3  norm          .55511E-10    1.9310       -.17529E-06** at limit **
   4  Prefactor     .23481E-07    5.6841       -.19804E-05** at limit **
   5  norm          .38858E-09    .75043        .28923E-06** at limit **
   6  norm          .99920E-09    3.8049        .50382E-07** at limit **
   7  Prefactor     23.848        2.0196       -.94455E-07    .19840E-02
   8  Prefactor     .57038E-06    13.521        .36270E-05** at limit **
   9  Prefactor     .48282        7.0149        .15390E-06    .14746E-02
  10  Prefactor     .38236E-06    7.3136       -.27900E-05** at limit **
  11  Prefactor     .23315E-08    3.1169        .36441E-06** at limit **
  12  Prefactor     34.181        5.0353       -.47287E-06   -.12683E-02
  13  Prefactor     .12718E-06    4.9819       -.90615E-06** at limit **
  14  Prefactor     .13395E-06    5.6910        .10565E-05** at limit **
  15  Prefactor     13.114        6.2688        .92280E-06   -.43430E-01
  16  Prefactor     .55511E-10    4.9037       -.47609E-06** at limit **
  17  norm          2.5791        1.2265       -.31309E-07    .65704E-02
  18  Prefactor     4.8681        5.8009        .16267E-06    .55408E-02
  19  Prefactor      .0000        1.0035        .18301E-06** at limit **
  20  Prefactor     .88507E-06    54.337        .11720E-04** at limit **
  21  norm          5.8177        3.6384        .71575E-07    .70505E-02
  22  Normalizat    1.1230        .15650       -.34127E-05    .44776E-03
  23  Prefactor     .56948        .17980        .48782E-05    .50717E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00003e-06
  Prefactor  = 2.80886e-08
  norm       = 5.55112e-11
  Prefactor  = 2.34812e-08
  norm       = 3.88578e-10
  norm       = 9.99201e-10
  Prefactor  = 23.8483
  Prefactor  = 5.70377e-07
  Prefactor  = 0.482823
  Prefactor  = 3.82361e-07
  Prefactor  = 2.33147e-09
  Prefactor  = 34.1806
  Prefactor  = 1.27176e-07
  Prefactor  = 1.33948e-07
  Prefactor  = 13.1137
  Prefactor  = 5.55112e-11
  norm       = 2.57915
  Prefactor  = 4.86814
  Prefactor  = 0
  Prefactor  = 8.8507e-07
  norm       = 5.81766
  Normalizat = 1.12297
  Prefactor  = 0.569483
 **********
 **   18 **HESSE 
 **********

 FCN=   6884.756     FROM HESSE     STATUS=OK           416 CALLS     1894 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-05    156.40        .95157E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .28089E-07    12.994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    1.9390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23481E-07    16.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .38858E-09    .74003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .99920E-09    3.7623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.848        24.691        .20533E-03   -1.5610    
   8  Prefactor     .57038E-06    21.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .48282        6.8399        .80722E-03   -1.5694    
  10  Prefactor     .38236E-06    14.705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .23315E-08    3.0826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.181        21.150        .17223E-03   -1.5591    
  13  Prefactor     .12718E-06    17.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .13395E-06    18.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.114        11.399        .27730E-03   -1.5636    
  16  Prefactor     .55511E-10    4.9288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5791        1.2317        .63503E-03   -1.5676    
  18  Prefactor     4.8681        6.0115        .45571E-03   -1.5664    
  19  Prefactor      .0000        1.0030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .88507E-06    2.2529        .10029E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.8177        3.6400        .41611E-03   -1.5660    
  22  Normalizat    1.1230        .13568        .37140E-01   -.89018    
  23  Prefactor     .56948        .15401        .65384E-01   -1.0889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04377e-07
Minuit parameter uncertainties:
  1  0.0250133
  2  0.00120832
  3  2.23464e-05
  4  0.00124825
  5  3.40682e-05
  6  0.000124281
  7  24.6915
  8  0.00702198
  9  3.63455
  10  0.00474236
  11  0.000170324
  12  21.1503
  13  0.00297
  14  0.00316493
  15  11.399
  16  3.25688e-05
  17  1.23173
  18  6.01154
  19  3.48364e-06
  20  0.00282417
  21  3.64001
  22  0.135726
  23  0.154126
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  3.418e+01  2.115e+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:  5.695e-01  1.541e-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:  1.123e+00  1.357e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.82
Ra Dec: 217.229 54.111
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 4.82e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 8.01e-06

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) = 6884.51127409
delta logL = 0.244999124034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6884.48979233
delta logL = 0.266480884797

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.215       1.0000          .0000       .10000E+07
     2 'Index     '    3.0417       1.0000          .0000       10.000    
     3 'Normalizat'    1.1001       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58776       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=   6884.490     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      274 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.212        25.595        .84888E-05   -.20892E-02
   2  Index         3.0418        .77987        .51319E-02   -.68905E-04
   3  Normalizat    1.1001        .16191        .18661E-03   -.33832E-03
   4  Prefactor     .58776        .18251        .28515E-03   -.24755E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.2122
  Index      = 3.04184
  Normalizat = 1.10011
  Prefactor  = 0.587756
 **********
 **   18 **HESSE 
 **********

 FCN=   6884.490     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.212        22.212        .33955E-06   -1.5614    
   2  Index         3.0418        .67689        .20528E-03   -.40240    
   3  Normalizat    1.1001        .16170        .37321E-04   -.89748    
   4  Prefactor     .58776        .18232        .11406E-04   -1.0810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13625e-10
Minuit parameter uncertainties:
  1  22.2122
  2  0.679359
  3  0.161771
  4  0.182502
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644977': 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) = 6884.48979231
delta logL = 0.266480900784

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  2.221e+01  2.221e+01  0.000e+00  1.000e+06 ( 1.000e-13)
347        Index:  3.042e+00  6.794e-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:  5.878e-01  1.825e-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:  1.100e+00  1.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.41
Ra Dec: 217.229 54.111
Photon Index (Free Index): 3.04 +/- 0.68
Photon Flux (Free Index): 6.45e-08 +/- 3.91e-08
Energy Flux (Free Index): 1.26e-05 +/- 6.97e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/644977/cmap_HighResolution_693964801_694224001_4FGL_J1428.9+5406_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.82e-08', energy_flux2='1.26e-05', photon_flux_error='2.98e-08', dlogl='2.66e-01', energy_flux='1.30e-05', photon_flux2='6.45e-08', job_status='DONE', time_completed='2023-01-01 01:30:04.645126', photon_index_error2='0.68', photon_index2='3.04', ts='4.82', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', energy_flux_error2='6.97e-06', EG='1.12', time_epoch_completed='1672565404.65', return_code='0', job_id='644977', GAL2='0.59', EG2='1.10', return_code2='0', energy_flux_error='8.01e-06', photon_flux_error2='3.91e-08', ts2='5.41', photon_index='2.57' WHERE bin_id='1754' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:30:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 644977: <4FGL_J1428.9+5406_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin1754> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Jan  1 01:15:21 2023
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:16:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:16:48 2023
Terminated at Sun Jan  1 01:30:05 2023
Results reported at Sun Jan  1 01:30:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin1754 217.229 54.1114 693964801 694224001 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 :                                   622.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             258.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            884 sec.

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

