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


Performing analysis on: 4FGL_J1419.8+5423_daily_bin1714
RA = 214.955, Dec = 54.3937
tmin = 683596801, tmax = 683856001
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='144973', job_status='RUN', time_executed='2022-09-16 18:17:28.186162', time_epoch_executed='1663377448.19' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/144973

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/144973/ft1_4FGL_J1419.8+5423_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/144973/ft2_4FGL_J1419.8+5423_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/144973/ft1_4FGL_J1419.8+5423_daily_bin1714.fits outfile=/scratch/kocevski/144973/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1714.fits ra=214.955 dec=54.3937 rad=12.0 tmin=683596801.0 tmax=683856001.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.55
user 3.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/144973/ft2_4FGL_J1419.8+5423_daily_bin1714.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/144973/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/144973/ft1_filtered_4FGL_J1419.8+5423_daily_bin1714.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.53
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 602

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/144973/ft1_filtered_4FGL_J1419.8+5423_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/144973/ft2_4FGL_J1419.8+5423_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/144973/ltcube_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.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/144973/ft2_4FGL_J1419.8+5423_daily_bin1714.fits
.....................!
real 14.68
user 14.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/144973/ft1_filtered_4FGL_J1419.8+5423_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/144973/ft2_4FGL_J1419.8+5423_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/144973/ltcube_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.fits outfile=/scratch/kocevski/144973/expmap_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.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/144973/ltcube_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.fits
.....................!
real 192.21
user 186.61
sys 4.99

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/144973/ft1_filtered_4FGL_J1419.8+5423_daily_bin1714.fits scfile=/scratch/kocevski/144973/ft2_4FGL_J1419.8+5423_daily_bin1714.fits outfile=/scratch/kocevski/144973/cmap_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/144973/ft1_filtered_4FGL_J1419.8+5423_daily_bin1714.fits scfile=/scratch/kocevski/144973/ft2_4FGL_J1419.8+5423_daily_bin1714.fits outfile=/scratch/kocevski/144973/cmap_HighResolution_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.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.59
user 0.39
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/144973/ft1_filtered_4FGL_J1419.8+5423_daily_bin1714.fits', '/scratch/kocevski/144973/ft2_4FGL_J1419.8+5423_daily_bin1714.fits', expMap='/scratch/kocevski/144973/expmap_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.fits', expCube='/scratch/kocevski/144973/ltcube_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/144973/Model_4FGL_J1419.8+5423_daily_bin1714.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/144973/ft1_filtered_4FGL_J1419.8+5423_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/144973/ft2_4FGL_J1419.8+5423_daily_bin1714.fits
Exposure map: /scratch/kocevski/144973/expmap_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.fits
Exposure cube: /scratch/kocevski/144973/ltcube_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/144973/Model_4FGL_J1419.8+5423_daily_bin1714.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) = 6511.44786612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58398E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .63835E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    19.504       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.280       1.0000          .0000       .10000E+07
     5 'norm      '    .43543E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .23028E-05   1.0000          .0000       .10000E+07
     7 'norm      '    1.3154       1.0000          .0000       .10000E+07
     8 'norm      '    .84362       1.0000          .0000       .10000E+07
     9 'Prefactor '    30.287       1.0000          .0000       .10000E+07
    10 'Prefactor '    86.000       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10107E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .39468E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .62416E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.1839       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20723E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.156       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17267E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .77370E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .89159E-03   1.0000          .0000       .10000E+07
    20 'norm      '    1.8981       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.1963       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10527E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.5309       1.0000          .0000       .10000E+07
    24 'Normalizat'    .92860       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0223       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=   6511.439     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     2126 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10688E-05    8.8608       -.44027E-05** at limit **
   2  norm          .41200E-06    8.2228       -.74872E-05** at limit **
   3  Prefactor     19.615        10.449        .34652E-05   -.42076E-01
   4  Prefactor     16.385        8.2474        .32675E-05   -.41521E-01
   5  norm          .55511E-10    3.6238        .48543E-06** at limit **
   6  Prefactor      .0000        7.8316        .45008E-05** at limit **
   7  norm          1.3167        1.1849       -.14982E-06    .11475E-02
   8  norm          .84292        2.5726        .18352E-06   -.56204E-03
   9  Prefactor     30.773        7.8097       -.29809E-06   -.17232E-01
  10  Prefactor     85.665        10.767       -.12884E-05    .12385    
  11  Prefactor     .69827E-06    9.5335       -.79454E-06** at limit **
  12  Prefactor      .0000        1.2062       -.44158E-07** at limit **
  13  Prefactor     .22204E-09    6.1559        .82563E-06** at limit **
  14  Prefactor     2.1819        2.0443        .55179E-07   -.51090E-03
  15  Prefactor     .97755E-07    9.3232       -.29410E-05** at limit **
  16  Prefactor     12.920        53.801        .68461E-05    .63426E-02
  17  Prefactor     .53929E-06    8.7808        .61953E-05** at limit **
  18  Prefactor     .84327E-06    10.002        .36782E-06** at limit **
  19  Prefactor     .22204E-09    5.1424        .91412E-06** at limit **
  20  norm          1.8940        1.3530        .20794E-07   -.55274E-02
  21  Prefactor     3.2039        9.0663       -.15367E-05   -.24812E-02
  22  Prefactor     .26645E-08    60.174        .64109E-05** at limit **
  23  Prefactor     7.5473        7.2786        .46122E-06   -.54669E-03
  24  Normalizat    .92757        .17941       -.42655E-05   -.18465E-03
  25  Prefactor     1.0222        .21463       -.34483E-05   -.18210E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.06876e-06
  norm       = 4.12004e-07
  Prefactor  = 19.6149
  Prefactor  = 16.3848
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 1.31673
  norm       = 0.842915
  Prefactor  = 30.773
  Prefactor  = 85.6655
  Prefactor  = 6.98275e-07
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 2.18192
  Prefactor  = 9.77551e-08
  Prefactor  = 12.9204
  Prefactor  = 5.39291e-07
  Prefactor  = 8.4327e-07
  Prefactor  = 2.22045e-10
  norm       = 1.89403
  Prefactor  = 3.20392
  Prefactor  = 2.66454e-09
  Prefactor  = 7.54734
  Normalizat = 0.927571
  Prefactor  = 1.02225
 **********
 **   18 **HESSE 
 **********

 FCN=   6511.439     FROM HESSE     STATUS=OK           481 CALLS     2607 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10688E-05    11.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .41200E-06    21.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.615        34.287        .22651E-03   -1.5619    
   4  Prefactor     16.385        41.441        .24796E-03   -1.5627    
   5  norm          .55511E-10    3.5931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        16.367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3167        1.2154        .96005E-03   -1.5685    
   8  norm          .84292        2.5817        .49738E-03   -1.5690    
   9  Prefactor     30.773        35.571        .18174E-03   -1.5597    
  10  Prefactor     85.665        49.902        .10784E-03   -1.5523    
  11  Prefactor     .69827E-06    17.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.2039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22204E-09    6.1509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1819        2.0972        .69627E-03   -1.5678    
  15  Prefactor     .97755E-07    9.5641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.920        54.462        .31418E-03   -1.5636    
  17  Prefactor     .53929E-06    10.101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .84327E-06    13.695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    5.1546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.8940        1.3588        .75471E-03   -1.5680    
  21  Prefactor     3.2039        9.2111        .56649E-03   -1.5672    
  22  Prefactor     .26645E-08    4.4670        .53940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.5473        7.3696        .36521E-03   -1.5653    
  24  Normalizat    .92757        .15212        .45266E-01   -.95498    
  25  Prefactor     1.0222        .18112        .41919E-01   -.91992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4574e-06
Minuit parameter uncertainties:
  1  0.00715331
  2  0.00599338
  3  34.2875
  4  41.4421
  5  2.37694e-05
  6  3.9902e-05
  7  1.21537
  8  2.5817
  9  35.5713
  10  49.9024
  11  0.00692831
  12  1.39685e-08
  13  7.60085e-05
  14  2.09722
  15  0.00193358
  16  53.0546
  17  0.00466801
  18  0.00679674
  19  6.95918e-05
  20  1.35878
  21  9.21111
  22  0.000218496
  23  7.36966
  24  0.152189
  25  0.181228
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  2.182e+00  2.097e+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.022e+00  1.812e-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.276e-01  1.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.91
Ra Dec: 214.955 54.394
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.57e-08 +/- 2.46e-08
Energy Flux (Fixed Index): 8.82e-06 +/- 8.48e-06

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

Saving results to:
/scratch/kocevski/144973/likelihoodResults_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.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) = 6511.39012366
delta logL = 0.049368359013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6511.38506039
delta logL = 0.0544316288333

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3921       1.0000          .0000       .10000E+07
     2 'Index     '    2.1000       1.0000          .0000       10.000    
     3 'Normalizat'    .93609       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0158       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6511.385     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      233 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3921        2.3334        .11783E-04   -.36414E-02
   2  Index         2.1000        .78286        .10123E-01   -.26475E-04
   3  Normalizat    .93608        .17770        .21837E-03    .26448E-04
   4  Prefactor     1.0158        .21414        .25466E-03    .74911E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.39214
  Index      = 2.09998
  Normalizat = 0.936085
  Prefactor  = 1.01576
 **********
 **   18 **HESSE 
 **********

 FCN=   6511.385     FROM HESSE     STATUS=OK            25 CALLS      258 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3921        2.3298        .47130E-06   -1.5677    
   2  Index         2.1000        .78143        .40492E-03   -.61873    
   3  Normalizat    .93608        .17786        .87346E-05   -.95204    
   4  Prefactor     1.0158        .21433        .10186E-04   -.92206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.44182e-11
Minuit parameter uncertainties:
  1  2.32985
  2  0.786308
  3  0.177971
  4  0.214513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/144973': 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) = 6511.38506039
delta logL = 0.0544316292853

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  2.392e+00  2.330e+00  0.000e+00  1.000e+06 ( 1.000e-12)
333        Index:  2.100e+00  7.863e-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.016e+00  2.145e-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.361e-01  1.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.02
Ra Dec: 214.955 54.394
Photon Index (Free Index): 2.10 +/- 0.79
Photon Flux (Free Index): 1.98e-08 +/- 2.71e-08
Energy Flux (Free Index): 1.08e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/144973/cmap_HighResolution_683596801_683856001_4FGL_J1419.8+5423_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', comment='SUCCESS', photon_flux='2.57e-08', energy_flux2='1.08e-05', photon_flux_error='2.46e-08', dlogl='5.44e-02', energy_flux='8.82e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2022-09-16 18:29:24.524403', photon_index_error2='0.79', photon_index2='2.10', ts='1.91', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='8.19e-08', energy_flux_error2='1.32e-05', EG='0.93', time_epoch_completed='1663378164.52', return_code='0', job_id='144973', GAL2='1.02', EG2='0.94', return_code2='0', energy_flux_error='8.48e-06', photon_flux_error2='2.71e-08', ts2='2.02', photon_index='2.36' WHERE bin_id='1714' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:29:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 144973: <4FGL_J1419.8+5423_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin1714> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 18:15:21 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:16:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:16:01 2022
Terminated at Fri Sep 16 18:29:25 2022
Results reported at Fri Sep 16 18:29:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin1714 214.955 54.3937 683596801 683856001 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 :                                   718.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             344.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            844 sec.

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

