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


Performing analysis on: 4FGL_J1419.8+5423_daily_bin1750
RA = 214.955, Dec = 54.3937
tmin = 692928001, tmax = 693187201
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='14825', job_status='RUN', time_executed='2022-12-20 01:02:04.019053', time_epoch_executed='1671526924.02' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/14825

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/14825/ft1_4FGL_J1419.8+5423_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/14825/ft2_4FGL_J1419.8+5423_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/14825/ft1_4FGL_J1419.8+5423_daily_bin1750.fits outfile=/scratch/kocevski/14825/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1750.fits ra=214.955 dec=54.3937 rad=12.0 tmin=692928001.0 tmax=693187201.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.45
user 3.23
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/14825/ft2_4FGL_J1419.8+5423_daily_bin1750.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/14825/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/14825/ft1_filtered_4FGL_J1419.8+5423_daily_bin1750.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 576

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/14825/ft1_filtered_4FGL_J1419.8+5423_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/14825/ft2_4FGL_J1419.8+5423_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/14825/ltcube_692928001_693187201_4FGL_J1419.8+5423_daily_bin1750.fits outfile=/scratch/kocevski/14825/expmap_692928001_693187201_4FGL_J1419.8+5423_daily_bin1750.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/14825/ltcube_692928001_693187201_4FGL_J1419.8+5423_daily_bin1750.fits
.....................!
real 190.81
user 185.02
sys 5.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/14825/ft1_filtered_4FGL_J1419.8+5423_daily_bin1750.fits scfile=/scratch/kocevski/14825/ft2_4FGL_J1419.8+5423_daily_bin1750.fits outfile=/scratch/kocevski/14825/cmap_692928001_693187201_4FGL_J1419.8+5423_daily_bin1750.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.55
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/14825/ft1_filtered_4FGL_J1419.8+5423_daily_bin1750.fits scfile=/scratch/kocevski/14825/ft2_4FGL_J1419.8+5423_daily_bin1750.fits outfile=/scratch/kocevski/14825/cmap_HighResolution_692928001_693187201_4FGL_J1419.8+5423_daily_bin1750.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31413E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .33001E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    52.240       1.0000          .0000       .10000E+07
     4 'Prefactor '    .80504E-01   1.0000          .0000       .10000E+07
     5 'norm      '    3.4566       1.0000          .0000       .10000E+07
     6 'Prefactor '    92.212       1.0000          .0000       .10000E+07
     7 'norm      '    .16798E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .52347E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .29478E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.5498       1.0000          .0000       .10000E+07
    11 'Prefactor '    16.740       1.0000          .0000       .10000E+07
    12 'Prefactor '    .46709       1.0000          .0000       .10000E+07
    13 'Prefactor '    22.503       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.1628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .52607E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .36713E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    22.028       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.2024       1.0000          .0000       .10000E+07
    19 'Prefactor '    .52094E-02   1.0000          .0000       .10000E+07
    20 'norm      '    1.6480       1.0000          .0000       .10000E+07
    21 'Prefactor '    .34172E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .54494       1.0000          .0000       .10000E+07
    23 'Prefactor '    8.1141       1.0000          .0000       .10000E+07
    24 'Normalizat'    .85627       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2380       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=   6261.760     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     2221 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5369       -.92684E-07** at limit **
   2  norm           .0000        3.5601        .36655E-06** at limit **
   3  Prefactor     52.557        27.491       -.87851E-07    .27970    
   4  Prefactor     .55511E-10    29.545       -.68126E-06** at limit **
   5  norm          3.4571        4.5180        .47467E-07   -.36511E-03
   6  Prefactor     92.727        41.733        .15041E-06   -.24467    
   7  norm           .0000        .98516        .31191E-07** at limit **
   8  norm           .0000        1.2464       -.26134E-06** at limit **
   9  Prefactor     .21827E-05    11.485       -.11285E-05** at limit **
  10  Prefactor     6.5661        1.1307       -.19049E-07    .54471E-02
  11  Prefactor     16.866        7.8080        .45707E-07    .43874E-02
  12  Prefactor     .47791        6.8984        .29685E-06    .24215E-03
  13  Prefactor     22.481        4.5020        .14542E-06   -.44088E-02
  14  Prefactor     4.1617        2.5914       -.79953E-07   -.65337E-03
  15  Prefactor     .16595E-05    10.184       -.91877E-06** at limit **
  16  Prefactor      .0000        23.857       -.40852E-07** at limit **
  17  Prefactor     22.029        1.5367       -.25870E-07    .45932E-02
  18  Prefactor     2.2374        1.1422       -.23342E-07    .79548E-03
  19  Prefactor     .15332E-06    9.0086       -.53096E-06** at limit **
  20  norm          1.6508        1.5324       -.64680E-07   -.36538E-03
  21  Prefactor     .53141E-06    16.092        .12380E-05** at limit **
  22  Prefactor     .53076        11.642       -.99031E-06   -.84884E-02
  23  Prefactor     8.2386        8.1403       -.14767E-06   -.29752E-02
  24  Normalizat    .85554        .20245        .47846E-05    .12619E-03
  25  Prefactor     1.2380        .23526        .28621E-05    .12019E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 52.5569
  Prefactor  = 5.55112e-11
  norm       = 3.45707
  Prefactor  = 92.7268
  norm       = 0
  norm       = 0
  Prefactor  = 2.1827e-06
  Prefactor  = 6.56611
  Prefactor  = 16.866
  Prefactor  = 0.477906
  Prefactor  = 22.4809
  Prefactor  = 4.16172
  Prefactor  = 1.65951e-06
  Prefactor  = 0
  Prefactor  = 22.0289
  Prefactor  = 2.23744
  Prefactor  = 1.53322e-07
  norm       = 1.65081
  Prefactor  = 5.31408e-07
  Prefactor  = 0.530755
  Prefactor  = 8.23856
  Normalizat = 0.855539
  Prefactor  = 1.238
 **********
 **   18 **HESSE 
 **********

 FCN=   6261.760     FROM HESSE     STATUS=OK           475 CALLS     2696 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        3.5521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     52.557        38.022        .13837E-03   -1.5563    
   4  Prefactor     .55511E-10    29.376        .14486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.4571        4.5516        .54371E-03   -1.5671    
   6  Prefactor     92.727        55.663        .10414E-03   -1.5515    
   7  norm           .0000        .97067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.2458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .21827E-05    12.193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.5661        77.468        .39189E-03   -1.5657    
  11  Prefactor     16.866        44.615        .24452E-03   -1.5626    
  12  Prefactor     .47791        7.5390        .82091E-03   -1.5694    
  13  Prefactor     22.481        21.008        .21086E-03   -1.5613    
  14  Prefactor     4.1617        2.7045        .49375E-03   -1.5667    
  15  Prefactor     .16595E-05    10.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        23.837        .16115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.029        22.637        .21312E-03   -1.5614    
  18  Prefactor     2.2374        19.818        .69298E-03   -1.5678    
  19  Prefactor     .15332E-06    9.0614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.6508        1.5584        .82230E-03   -1.5682    
  21  Prefactor     .53141E-06    16.284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .53076        11.317        .74312E-03   -1.5693    
  23  Prefactor     8.2386        8.1690        .35173E-03   -1.5651    
  24  Normalizat    .85554        .17345        .44340E-01   -.98040    
  25  Prefactor     1.2380        .19709        .57110E-01   -.85170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27801e-06
Minuit parameter uncertainties:
  1  1.88393e-05
  2  9.54465e-06
  3  38.0221
  4  6.03149e-05
  5  4.55162
  6  55.6632
  7  3.06826e-08
  8  8.70007e-06
  9  0.0103178
  10  45.1079
  11  44.6163
  12  3.79629
  13  21.0079
  14  2.70448
  15  0.00840646
  16  1.43159e-05
  17  22.6371
  18  13.318
  19  0.00235738
  20  1.55841
  21  0.00588346
  22  4.90163
  23  8.16902
  24  0.173565
  25  0.197212
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  4.162e+00  2.704e+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.238e+00  1.972e-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.555e-01  1.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.39
Ra Dec: 214.955 54.394
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 4.89e-08 +/- 3.18e-08
Energy Flux (Fixed Index): 1.68e-05 +/- 1.09e-05

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) = 6261.70775898
delta logL = 0.0517997752986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6261.70567242
delta logL = 0.053886336329

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5958       1.0000          .0000       .10000E+07
     2 'Index     '    2.5591       1.0000          .0000       10.000    
     3 'Normalizat'    .84524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2461       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=   6261.706     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5956        3.0738        .86420E-05    .59093E-02
   2  Index         2.5590        .63562        .60617E-02    .70953E-04
   3  Normalizat    .84525        .19450        .24735E-03   -.15338E-03
   4  Prefactor     1.2462        .23287        .25182E-03   -.18045E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.59565
  Index      = 2.559
  Normalizat = 0.845253
  Prefactor  = 1.24616
 **********
 **   18 **HESSE 
 **********

 FCN=   6261.706     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5956        2.9215        .34568E-06   -1.5670    
   2  Index         2.5590        .60378        .24247E-03   -.51003    
   3  Normalizat    .84525        .19450        .98939E-05   -.98411    
   4  Prefactor     1.2462        .23293        .50364E-04   -.84923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.77351e-11
Minuit parameter uncertainties:
  1  2.9215
  2  0.605728
  3  0.194658
  4  0.233126
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/14825': 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) = 6261.70567235
delta logL = 0.0538864103428

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  3.596e+00  2.922e+00  0.000e+00  1.000e+06 ( 1.000e-12)
333        Index:  2.559e+00  6.057e-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.246e+00  2.331e-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.453e-01  1.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.51
Ra Dec: 214.955 54.394
Photon Index (Free Index): 2.56 +/- 0.61
Photon Flux (Free Index): 5.62e-08 +/- 3.96e-08
Energy Flux (Free Index): 1.53e-05 +/- 9.93e-06

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/14825/cmap_HighResolution_692928001_693187201_4FGL_J1419.8+5423_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.89e-08', energy_flux2='1.53e-05', photon_flux_error='3.18e-08', dlogl='5.39e-02', energy_flux='1.68e-05', photon_flux2='5.62e-08', job_status='DONE', time_completed='2022-12-20 01:12:46.420762', photon_index_error2='0.61', photon_index2='2.56', ts='5.39', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='9.93e-06', EG='0.86', time_epoch_completed='1671527566.42', return_code='0', job_id='14825', GAL2='1.25', EG2='0.85', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='3.96e-08', ts2='5.51', photon_index='2.36' WHERE bin_id='1750' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:12:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 14825: <4FGL_J1419.8+5423_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin1750> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 20 01:00:18 2022
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:00:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:00:18 2022
Terminated at Tue Dec 20 01:12:47 2022
Results reported at Tue Dec 20 01:12:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin1750 214.955 54.3937 692928001 693187201 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 :                                   645.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            749 sec.

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

