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


Performing analysis on: 4FGL_J1419.8+5423_weekly_bin715
RA = 214.955, Dec = 54.3937
tmin = 671414401, tmax = 672019201
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='934926', job_status='RUN', time_executed='2022-04-19 02:31:33.198955', time_epoch_executed='1650360693.2' WHERE source_name='4FGL J1419.8+5423' and cadence='weekly' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934926

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934926/ft1_4FGL_J1419.8+5423_weekly_bin715.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934926/ft2_4FGL_J1419.8+5423_weekly_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934926/ft1_4FGL_J1419.8+5423_weekly_bin715.fits outfile=/scratch/kocevski/934926/ft1_filteredMKT_4FGL_J1419.8+5423_weekly_bin715.fits ra=214.955 dec=54.3937 rad=12.0 tmin=671414401.0 tmax=672019201.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 7.57
user 7.23
sys 0.30

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

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

Number of photons that the gtmktime cut: 1306

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934926/ft1_filtered_4FGL_J1419.8+5423_weekly_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/934926/ft2_4FGL_J1419.8+5423_weekly_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/934926/ltcube_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.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/934926/ft2_4FGL_J1419.8+5423_weekly_bin715.fits
.....................!
real 26.88
user 26.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934926/ft1_filtered_4FGL_J1419.8+5423_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/934926/ft2_4FGL_J1419.8+5423_weekly_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/934926/ltcube_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.fits outfile=/scratch/kocevski/934926/expmap_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.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/934926/ltcube_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.fits
.....................!
real 191.81
user 185.94
sys 5.13

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/934926/ft1_filtered_4FGL_J1419.8+5423_weekly_bin715.fits scfile=/scratch/kocevski/934926/ft2_4FGL_J1419.8+5423_weekly_bin715.fits outfile=/scratch/kocevski/934926/cmap_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.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.57
user 0.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934926/ft1_filtered_4FGL_J1419.8+5423_weekly_bin715.fits scfile=/scratch/kocevski/934926/ft2_4FGL_J1419.8+5423_weekly_bin715.fits outfile=/scratch/kocevski/934926/cmap_HighResolution_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.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.58
user 0.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934926/ft1_filtered_4FGL_J1419.8+5423_weekly_bin715.fits', '/scratch/kocevski/934926/ft2_4FGL_J1419.8+5423_weekly_bin715.fits', expMap='/scratch/kocevski/934926/expmap_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.fits', expCube='/scratch/kocevski/934926/ltcube_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934926/Model_4FGL_J1419.8+5423_weekly_bin715.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  1.000e-04  1.000e+04 ( 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/934926/ft1_filtered_4FGL_J1419.8+5423_weekly_bin715.fits
Spacecraft file(s): /scratch/kocevski/934926/ft2_4FGL_J1419.8+5423_weekly_bin715.fits
Exposure map: /scratch/kocevski/934926/expmap_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.fits
Exposure cube: /scratch/kocevski/934926/ltcube_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934926/Model_4FGL_J1419.8+5423_weekly_bin715.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) = 14214.8071075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.035       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11643E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.3697       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.304       1.0000         .10000E-03   10000.    
     8 'Prefactor '    34.463       1.0000         .10000E-03   10000.    
     9 'norm      '    .26567       1.0000         .10000E-03   10000.    
    10 'norm      '    .14614E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .12966E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.849       1.0000         .10000E-03   10000.    
    13 'Prefactor '    164.24       1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.459       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8039       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.973       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.142       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.4293       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.5999       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.1018       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .99299       1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.0049       1.0000         .10000E-03   10000.    
    29 'Prefactor '    8.0542       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .97587       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .92483       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.

 FCN=   14214.68     FROM MIGRAD    STATUS=CONVERGED    807 CALLS     4779 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.0913        .48467E-06** at limit **
   2  norm          .10000E-03    2.0188        .25214E-06** at limit **
   3  Prefactor     27.011        22.983        .16316E-06   -.80213E-04
   4  Prefactor     .10000E-03    4.2069        .97662E-07** at limit **
   5  Prefactor     .10000E-03    17.843        .60866E-06** at limit **
   6  norm          4.3699        2.5717        .17905E-06   -.18689E-03
   7  Prefactor     11.302        15.475        .13014E-06   -.43202E-04
   8  Prefactor     34.494        27.006        .48340E-06   -.87912E-04
   9  norm          .26551        .49645        .57057E-06    .67386E-03
  10  norm          .10000E-03    19.999        .35189E-07** at limit **
  11  norm          .10000E-03    .91279        .24864E-06** at limit **
  12  Prefactor     15.871        27.417        .55471E-06   -.83724E-06
  13  Prefactor     163.68        262.63       -.30705E-05   -.70927E-04
  14  Prefactor     28.451        22.184        .30611E-07   -.38524E-04
  15  Prefactor     .10000E-03    5.7310        .11858E-06** at limit **
  16  Prefactor     .10000E-03    .63557        .63062E-07** at limit **
  17  Prefactor     .10000E-03    5.5109        .23099E-06** at limit **
  18  Prefactor     1.8041        1.5500        .18900E-06   -.22052E-03
  19  Prefactor     .10000E-03    9.1045        .42296E-07** at limit **
  20  Prefactor     12.966        15.328       -.11893E-06   -.60628E-04
  21  Prefactor     .10000E-03    7.3630        .35563E-07** at limit **
  22  Prefactor     11.135        11.243       -.82354E-07   -.21348E-04
  23  Prefactor     7.4302        8.7112        .32589E-06   -.37296E-04
  24  Prefactor     7.6070        10.484        .27811E-06   -.10641E-04
  25  Prefactor     .10000E-03    3.3357        .68550E-07** at limit **
  26  norm          1.1018        .65113        .22824E-08   -.98177E-04
  27  Prefactor     .99251        3.4185        .12989E-05   -.25368E-03
  28  Prefactor     6.0037        3.6954        .19469E-06   -.47385E-04
  29  Prefactor     8.0543        4.5419        .21989E-05   -.40535E-03
  30  Normalizat    .97606        .10878       -.22992E-05   -.14992E-03
  31  Prefactor     .92457        .12363        .12171E-05   -.50461E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.0114
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.36987
  Prefactor  = 11.3015
  Prefactor  = 34.4944
  norm       = 0.265514
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 15.8708
  Prefactor  = 163.675
  Prefactor  = 28.4512
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.80406
  Prefactor  = 0.0001
  Prefactor  = 12.9656
  Prefactor  = 0.0001
  Prefactor  = 11.1348
  Prefactor  = 7.43024
  Prefactor  = 7.60699
  Prefactor  = 0.0001
  norm       = 1.10184
  Prefactor  = 0.992509
  Prefactor  = 6.00368
  Prefactor  = 8.05426
  Normalizat = 0.976064
  Prefactor  = 0.924565
 **********
 **   18 **HESSE 
 **********

 FCN=   14214.68     FROM HESSE     STATUS=OK           630 CALLS     5409 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.3357        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.0711        .33049E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.011        22.929        .77048E-04   -1.4668    
   4  Prefactor     .10000E-03    4.2204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.3699        2.5674        .13922E-03   -1.5290    
   7  Prefactor     11.302        15.447        .11916E-03   -1.5035    
   8  Prefactor     34.494        26.805        .68262E-04   -1.4533    
   9  norm          .26551        .48234        .11271E-02   -1.5605    
  10  norm          .10000E-03    20.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.5584        .21361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.871        27.418        .10061E-03   -1.4911    
  13  Prefactor     163.68        263.21        .15736E-03   -1.3142    
  14  Prefactor     28.451        22.140        .75099E-04   -1.4641    
  15  Prefactor     .10000E-03    5.7377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .63886        .92821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.5563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.8041        1.5154        .11971E-03   -1.5439    
  19  Prefactor     .10000E-03    9.1558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.966        15.175        .11121E-03   -1.4988    
  21  Prefactor     .10000E-03    7.3654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.135        11.242        .12002E-03   -1.5040    
  23  Prefactor     7.4302        8.6959        .14714E-03   -1.5163    
  24  Prefactor     7.6070        10.484        .14547E-03   -1.5156    
  25  Prefactor     .10000E-03    3.3514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.1018        .65355        .71487E-04   -1.5498    
  27  Prefactor     .99251        3.2918        .37771E-03   -1.5509    
  28  Prefactor     6.0037        3.6923        .16386E-03   -1.5218    
  29  Prefactor     8.0543        4.4662        .70638E-03   -1.5140    
  30  Normalizat    .97606        .12743        .21462E-03   -.93837    
  31  Prefactor     .92457        .14599        .26207E-03   -.95288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.21586e-10
Minuit parameter uncertainties:
  1  2.47034e-05
  2  1.94158e-06
  3  22.9364
  4  3.61079e-06
  5  5.61897e-06
  6  2.56751
  7  15.4529
  8  26.8148
  9  0.482348
  10  6.5869e-06
  11  6.66212e-05
  12  27.4396
  13  265.131
  14  22.1463
  15  6.87037e-06
  16  8.22075e-07
  17  1.01523e-05
  18  1.51546
  19  4.71082e-06
  20  15.1793
  21  4.09862e-07
  22  11.2438
  23  8.69735
  24  10.4868
  25  1.96899e-06
  26  0.653551
  27  3.2924
  28  3.69242
  29  4.46641
  30  0.127466
  31  0.146052
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  1.804e+00  1.515e+00  1.000e-04  1.000e+04 ( 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:  9.246e-01  1.461e-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.761e-01  1.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.98
Ra Dec: 214.955 54.394
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.12e-08 +/- 1.78e-08
Energy Flux (Fixed Index): 7.30e-06 +/- 6.13e-06

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

Saving results to:
/scratch/kocevski/934926/likelihoodResults_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.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) = 14214.6773987
delta logL = 0.00194421865308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14214.6769714
delta logL = 0.00237147969347

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7670       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4080       1.0000          .0000       10.000    
     3 'Normalizat'    .97480       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92554       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=   14214.68     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      194 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7670        22.930        .78774E-02    .14314E-02
   2  Index         2.4080        3.1122        .23873        .12107E-03
   3  Normalizat    .97480        .29077E-01    .45850E-01    .21384E-04
   4  Prefactor     .92554        .31395E-01    .45330E-01    .27742E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.76698
  Index      = 2.40804
  Normalizat = 0.974798
  Prefactor  = 0.925537
 **********
 **   18 **HESSE 
 **********

 FCN=   14214.68     FROM HESSE     STATUS=OK            33 CALLS      227 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7670        1.5317        .11750E-03   -1.5442    
   2  Index         2.4080        .65415        .99816E-02   -.54497    
   3  Normalizat    .97480        .12152        .21474E-03   -.93880    
   4  Prefactor     .92554        .14384        .26194E-03   -.95254    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00273e-11
Minuit parameter uncertainties:
  1  1.5317
  2  0.656726
  3  0.121553
  4  0.143899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934926': 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) = 14214.6769714
delta logL = 0.0023714799172

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  1.767e+00  1.532e+00  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  2.408e+00  6.567e-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:  9.255e-01  1.439e-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.748e-01  1.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.99
Ra Dec: 214.955 54.394
Photon Index (Free Index): 2.41 +/- 0.66
Photon Flux (Free Index): 2.21e-08 +/- 2.08e-08
Energy Flux (Free Index): 7.17e-06 +/- 5.95e-06

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/934926/cmap_HighResolution_671414401_672019201_4FGL_J1419.8+5423_weekly_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-03', comment='SUCCESS', photon_flux='2.12e-08', energy_flux2='7.17e-06', photon_flux_error='1.78e-08', dlogl='2.37e-03', energy_flux='7.30e-06', photon_flux2='2.21e-08', job_status='DONE', time_completed='2022-04-19 03:05:44.911212', photon_index_error2='0.66', photon_index2='2.41', ts='2.98', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='5.69e-08', energy_flux_error2='5.95e-06', EG='0.98', time_epoch_completed='1650362744.91', return_code='0', job_id='934926', GAL2='0.93', EG2='0.97', return_code2='0', energy_flux_error='6.13e-06', photon_flux_error2='2.08e-08', ts2='2.99', photon_index='2.36' WHERE bin_id='715' AND source_name='4FGL J1419.8+5423' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 19 03:05:44 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 931169: <4FGL_J1419.8+5423_weekly_bin715> in cluster <slac> Done

Job <4FGL_J1419.8+5423_weekly_bin715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Apr 19 00:07:05 2022
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:16:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:16:29 2022
Terminated at Tue Apr 19 02:54:27 2022
Results reported at Tue Apr 19 02:54:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_weekly_bin715 214.955 54.3937 671414401 672019201 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 :                                   2058.00 sec.
    Max Memory :                                 622 MB
    Average Memory :                             300.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2278 sec.
    Turnaround time :                            10042 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 934926: <4FGL_J1419.8+5423_weekly_bin715> in cluster <slac> Done

Job <4FGL_J1419.8+5423_weekly_bin715> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 19 00:18:19 2022
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:30:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:30:25 2022
Terminated at Tue Apr 19 03:05:45 2022
Results reported at Tue Apr 19 03:05:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_weekly_bin715 214.955 54.3937 671414401 672019201 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 :                                   2048.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             328.51 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2120 sec.
    Turnaround time :                            10046 sec.

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

