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


Performing analysis on: 4FGL_J1419.8+5423_daily_bin1774
RA = 214.955, Dec = 54.3937
tmin = 699148801, tmax = 699408001
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='683994', job_status='RUN', time_executed='2023-03-02 00:54:23.104600', time_epoch_executed='1677747263.1' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/683994

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/683994/ft1_4FGL_J1419.8+5423_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/683994/ft1_4FGL_J1419.8+5423_daily_bin1774.fits outfile=/scratch/kocevski/683994/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1774.fits ra=214.955 dec=54.3937 rad=12.0 tmin=699148801.0 tmax=699408001.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.79
user 2.59
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.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/683994/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/683994/ft1_filtered_4FGL_J1419.8+5423_daily_bin1774.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.33
sys 0.15

Number of photons that the gtmktime cut: 612

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/683994/ft1_filtered_4FGL_J1419.8+5423_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/683994/ltcube_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.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/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.fits
.....................!
real 12.30
user 11.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/683994/ft1_filtered_4FGL_J1419.8+5423_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/683994/ltcube_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.fits outfile=/scratch/kocevski/683994/expmap_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.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/683994/ltcube_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.fits
.....................!
real 190.01
user 185.18
sys 4.48

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

Setting source of interest to:
4FGL J1419.8+5423 @ 214.955 54.3937

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/683994/ft1_filtered_4FGL_J1419.8+5423_daily_bin1774.fits scfile=/scratch/kocevski/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.fits outfile=/scratch/kocevski/683994/cmap_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.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=214.955 yref=54.3937 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/683994/ft1_filtered_4FGL_J1419.8+5423_daily_bin1774.fits scfile=/scratch/kocevski/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.fits outfile=/scratch/kocevski/683994/cmap_HighResolution_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.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=214.955 yref=54.3937 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/683994/ft1_filtered_4FGL_J1419.8+5423_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/683994/Model_4FGL_J1419.8+5423_daily_bin1774.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/683994/ft1_filtered_4FGL_J1419.8+5423_daily_bin1774.fits.....................!
real 54.89
user 53.55
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/683994/ft1_filtered_4FGL_J1419.8+5423_daily_bin1774.fits', '/scratch/kocevski/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.fits', expMap='/scratch/kocevski/683994/expmap_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.fits', expCube='/scratch/kocevski/683994/ltcube_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/683994/Model_4FGL_J1419.8+5423_daily_bin1774.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1419.8+5423'

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  2.306e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
333        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/683994/ft1_filtered_4FGL_J1419.8+5423_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/683994/ft2_4FGL_J1419.8+5423_daily_bin1774.fits
Exposure map: /scratch/kocevski/683994/expmap_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.fits
Exposure cube: /scratch/kocevski/683994/ltcube_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/683994/Model_4FGL_J1419.8+5423_daily_bin1774.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) = 6748.90997243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17204E-03   1.0000          .0000       .10000E+07
     2 'norm      '    8.3989       1.0000          .0000       .10000E+07
     3 'Prefactor '    .73538E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26658E-01   1.0000          .0000       .10000E+07
     5 'norm      '    5.7725       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.794       1.0000          .0000       .10000E+07
     7 'norm      '    .28541       1.0000          .0000       .10000E+07
     8 'norm      '    2.0756       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22437E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12043       1.0000          .0000       .10000E+07
    11 'Prefactor '    .36650E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .79936E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .11648       1.0000          .0000       .10000E+07
    14 'Prefactor '    .92653       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.5749       1.0000          .0000       .10000E+07
    16 'Prefactor '    .22101E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    14.524       1.0000          .0000       .10000E+07
    19 'Prefactor '    .95056E-03   1.0000          .0000       .10000E+07
    20 'norm      '    5.6253       1.0000          .0000       .10000E+07
    21 'Prefactor '    .59571E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .49498E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    10.325       1.0000          .0000       .10000E+07
    24 'Normalizat'    .89792       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2509       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6748.829     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1684 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1400       -.82785E-07** at limit **
   2  norm          8.4191        8.3783        .80948E-07    .29583E-03
   3  Prefactor     .55511E-10    36.035       -.27431E-06** at limit **
   4  Prefactor     .69833E-07    1.2008        .33346E-08** at limit **
   5  norm          5.7374        5.5935       -.12828E-06    .63614E-03
   6  Prefactor     11.623        2.2743       -.31997E-07   -.12579E-01
   7  norm          .28539        .89445       -.35949E-07    .53624E-04
   8  norm          2.0745        2.3656        .25502E-07   -.76343E-04
   9  Prefactor     .10714E-07    23.251       -.70545E-07** at limit **
  10  Prefactor     .17347E-06    42.733        .15990E-06** at limit **
  11  Prefactor     .28588E-07    17.305        .15825E-06** at limit **
  12  Prefactor      .0000        1.4709        .21522E-07** at limit **
  13  Prefactor     .15797E-05    24.904        .12630E-06** at limit **
  14  Prefactor     .91797        1.3591        .34453E-07   -.15609E-03
  15  Prefactor     8.1407        10.685       -.43428E-07    .14287E-02
  16  Prefactor     .38025E-07    115.33       -.11449E-05** at limit **
  17  Prefactor     .44409E-09    8.5936        .13258E-06** at limit **
  18  Prefactor     14.099        4.7450        .35640E-07    .44320E-01
  19  Prefactor     .44409E-09    7.1246       -.11797E-07** at limit **
  20  norm          5.6301        1.9890       -.11680E-07   -.33860E-03
  21  Prefactor     .11102E-08    7.4623       -.73096E-08** at limit **
  22  Prefactor      .0000        1.9309        .16110E-08** at limit **
  23  Prefactor     10.263        7.4037        .28128E-07    .58549E-03
  24  Normalizat    .89852        .19317        .31686E-06    .26004E-05
  25  Prefactor     1.2509        .22456       -.74807E-06    .58217E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 8.41905
  Prefactor  = 5.55112e-11
  Prefactor  = 6.9833e-08
  norm       = 5.73744
  Prefactor  = 11.6227
  norm       = 0.285393
  norm       = 2.07453
  Prefactor  = 1.07137e-08
  Prefactor  = 1.73472e-07
  Prefactor  = 2.85882e-08
  Prefactor  = 0
  Prefactor  = 1.57968e-06
  Prefactor  = 0.917972
  Prefactor  = 8.14073
  Prefactor  = 3.80251e-08
  Prefactor  = 4.44089e-10
  Prefactor  = 14.0985
  Prefactor  = 4.44089e-10
  norm       = 5.63009
  Prefactor  = 1.11022e-09
  Prefactor  = 0
  Prefactor  = 10.2627
  Normalizat = 0.898518
  Prefactor  = 1.25089
 **********
 **   18 **HESSE 
 **********

 FCN=   6748.829     FROM HESSE     STATUS=OK           485 CALLS     2169 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.4191        8.4380        .34567E-03   -1.5650    
   3  Prefactor     .55511E-10    36.070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .69833E-07    27.630        .16633E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.7374        5.6488        .41780E-03   -1.5660    
   6  Prefactor     11.623        45.858        .29144E-03   -1.5640    
   7  norm          .28539        .89542        .32130E-02   -1.5697    
   8  norm          2.0745        2.3767        .71664E-03   -1.5679    
   9  Prefactor     .10714E-07    23.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17347E-06    116.52        .13410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28588E-07    17.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.4734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .15797E-05    10.082        .13506E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .91797        1.3867        .43943E-03   -1.5689    
  15  Prefactor     8.1407        16.774        .36414E-03   -1.5651    
  16  Prefactor     .38025E-07    115.62        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .44409E-09    8.6062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.099        17.974        .26255E-03   -1.5633    
  19  Prefactor     .44409E-09    7.1271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.6301        2.0148        .42331E-03   -1.5661    
  21  Prefactor     .11102E-08    7.4734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        1.9356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     10.263        7.4271        .31159E-03   -1.5644    
  24  Normalizat    .89852        .16573        .44875E-01   -.96512    
  25  Prefactor     1.2509        .18776        .57380E-01   -.84779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.95817e-08
Minuit parameter uncertainties:
  1  8.42426e-06
  2  8.438
  3  9.15266e-05
  4  0.00277839
  5  5.64885
  6  45.8598
  7  0.895417
  8  2.37671
  9  0.0010015
  10  0.00899161
  11  0.00142683
  12  4.54262e-07
  13  0.00798157
  14  1.38672
  15  16.7745
  16  0.00419335
  17  0.00012737
  18  17.9739
  19  0.000112036
  20  2.01477
  21  0.000180982
  22  1.11188e-06
  23  7.42715
  24  0.165828
  25  0.18786
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  9.180e-01  1.387e+00  0.000e+00  1.000e+06 ( 1.000e-12)
333        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.251e+00  1.879e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  8.985e-01  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.78
Ra Dec: 214.955 54.394
Photon Flux Upper Limit: 5.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/683994/likelihoodResults_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.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) = 6748.44997496
delta logL = 0.378966435516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6748.41719408
delta logL = 0.411747320819

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3036       1.0000          .0000       .10000E+07
     2 'Index     '    1.6434       1.0000          .0000       10.000    
     3 'Normalizat'    .90558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2442       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6748.417     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3030        2.4499        .96675E-03    .30386E-03
   2  Index         1.6430        .80109        .28355       -.34895E-04
   3  Normalizat    .90563        .15714        .44973E-01    .12807E-04
   4  Prefactor     1.2440        .18730        .57492E-01    .30676E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.30298
  Index      = 1.64304
  Normalizat = 0.905629
  Prefactor  = 1.24399
 **********
 **   18 **HESSE 
 **********

 FCN=   6748.417     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3030        1.6325        .11140E-04   -1.5685    
   2  Index         1.6430        .68273        .11305E-01   -.73609    
   3  Normalizat    .90563        .18765        .24657E-03   -.96263    
   4  Prefactor     1.2440        .22374        .25423E-03   -.84988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79561e-10
Minuit parameter uncertainties:
  1  1.63247
  2  0.686649
  3  0.187788
  4  0.223912
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/683994': 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) = 6748.41719322
delta logL = 0.411748174097

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  1.303e+00  1.632e+00  0.000e+00  1.000e+06 ( 1.000e-12)
333        Index:  1.643e+00  6.866e-01  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.244e+00  2.239e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.056e-01  1.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 214.955 54.394
Photon Index (Free Index): 1.64 +/- 0.69
Photon Flux (Free Index): 6.82e-09 +/- 9.87e-09
Energy Flux (Free Index): 1.34e-05 +/- 2.53e-05

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/683994/cmap_HighResolution_699148801_699408001_4FGL_J1419.8+5423_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', comment='SUCCESS', energy_flux2='1.34e-05', dlogl='4.12e-01', photon_flux2='6.82e-09', job_status='DONE', time_completed='2023-03-02 01:05:23.523760', photon_index_error2='0.69', photon_index2='1.64', ts='0.78', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='5.93e-08', energy_flux_error2='2.53e-05', EG='0.90', time_epoch_completed='1677747923.52', return_code='0', job_id='683994', GAL2='1.24', EG2='0.91', return_code2='0', photon_flux_error2='9.87e-09', ts2='1.61', photon_index='2.36' WHERE bin_id='1774' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:05:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0015>
Subject: Job 683994: <4FGL_J1419.8+5423_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin1774> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Mar  2 00:50:19 2023
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:50:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:50:21 2023
Terminated at Thu Mar  2 01:05:24 2023
Results reported at Thu Mar  2 01:05:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin1774 214.955 54.3937 699148801 699408001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1419.8+5423 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   662.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             251.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            905 sec.

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

