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


Performing analysis on: 4FGL_J1419.8+5423_daily_bin1753
RA = 214.955, Dec = 54.3937
tmin = 693705601, tmax = 693964801
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='456427', job_status='RUN', time_executed='2022-12-29 01:04:14.928988', time_epoch_executed='1672304654.93' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/456427

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/456427/ft1_4FGL_J1419.8+5423_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/456427/ft2_4FGL_J1419.8+5423_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/456427/ft1_4FGL_J1419.8+5423_daily_bin1753.fits outfile=/scratch/kocevski/456427/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1753.fits ra=214.955 dec=54.3937 rad=12.0 tmin=693705601.0 tmax=693964801.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 4.68
user 4.41
sys 0.23

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

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

Number of photons that the gtmktime cut: 497

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/456427/ft1_filtered_4FGL_J1419.8+5423_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/456427/ft2_4FGL_J1419.8+5423_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/456427/ltcube_693705601_693964801_4FGL_J1419.8+5423_daily_bin1753.fits outfile=/scratch/kocevski/456427/expmap_693705601_693964801_4FGL_J1419.8+5423_daily_bin1753.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/456427/ltcube_693705601_693964801_4FGL_J1419.8+5423_daily_bin1753.fits
.....................!
real 192.43
user 187.09
sys 4.86

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/456427/ft1_filtered_4FGL_J1419.8+5423_daily_bin1753.fits scfile=/scratch/kocevski/456427/ft2_4FGL_J1419.8+5423_daily_bin1753.fits outfile=/scratch/kocevski/456427/cmap_693705601_693964801_4FGL_J1419.8+5423_daily_bin1753.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/456427/ft1_filtered_4FGL_J1419.8+5423_daily_bin1753.fits scfile=/scratch/kocevski/456427/ft2_4FGL_J1419.8+5423_daily_bin1753.fits outfile=/scratch/kocevski/456427/cmap_HighResolution_693705601_693964801_4FGL_J1419.8+5423_daily_bin1753.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34463E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .26456E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .50455E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .48346E-03   1.0000          .0000       .10000E+07
     5 'norm      '    4.0865       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.4426       1.0000          .0000       .10000E+07
     7 'norm      '    .12121E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .55150E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    38.021       1.0000          .0000       .10000E+07
    10 'Prefactor '    39.038       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11141E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30659E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10350E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.5050       1.0000          .0000       .10000E+07
    15 'Prefactor '    .24049E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    24.886       1.0000          .0000       .10000E+07
    17 'Prefactor '    46.384       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21207E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82869E-02   1.0000          .0000       .10000E+07
    20 'norm      '    1.4615       1.0000          .0000       .10000E+07
    21 'Prefactor '    .36673E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.2562       1.0000          .0000       .10000E+07
    23 'Prefactor '    .21135E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    .97411       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0487       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=   5432.253     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2123 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6210        .10012E-06** at limit **
   2  norm           .0000        1.8758       -.40635E-07** at limit **
   3  Prefactor     .42244E-07    22.380       -.32946E-06** at limit **
   4  Prefactor     .13021E-04    38.983        .42481E-07** at limit **
   5  norm          4.0848        3.8420        .17582E-07    .68099E-03
   6  Prefactor     6.6434        1.4152       -.25506E-08    .30196E-02
   7  norm           .0000        7.1169        .96667E-07** at limit **
   8  norm           .0000        3.2715       -.40450E-07** at limit **
   9  Prefactor     37.547        24.241       -.85445E-09    .10696    
  10  Prefactor     39.254        14.875        .39053E-08   -.90065E-01
  11  Prefactor     .14948E-04    52.978        .18064E-06** at limit **
  12  Prefactor      .0000        1.3947       -.62502E-07** at limit **
  13  Prefactor     .14052E-05    31.850       -.27657E-06** at limit **
  14  Prefactor     1.5029        2.4189       -.94101E-07   -.14216E-02
  15  Prefactor      .0000        26.592        .11309E-06** at limit **
  16  Prefactor     25.376        3.4990        .26405E-08   -.12963E-01
  17  Prefactor     46.536        1.3873        .21728E-09    .17817E-02
  18  Prefactor     .55511E-10    5.5075        .18081E-06** at limit **
  19  Prefactor     .61062E-09    15.762       -.43761E-06** at limit **
  20  norm          1.4607        1.1779        .93019E-08    .99571E-03
  21  Prefactor      .0000        2.5317        .53388E-07** at limit **
  22  Prefactor     2.2604        4.5190       -.36359E-07   -.15233E-03
  23  Prefactor      .0000        2.0935        .92501E-08** at limit **
  24  Normalizat    .97399        .19127        .29524E-05    .10258E-03
  25  Prefactor     1.0487        .23008       -.19692E-05    .50104E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 4.2244e-08
  Prefactor  = 1.30213e-05
  norm       = 4.08482
  Prefactor  = 6.64344
  norm       = 0
  norm       = 0
  Prefactor  = 37.5466
  Prefactor  = 39.254
  Prefactor  = 1.49484e-05
  Prefactor  = 0
  Prefactor  = 1.40521e-06
  Prefactor  = 1.50293
  Prefactor  = 0
  Prefactor  = 25.376
  Prefactor  = 46.5357
  Prefactor  = 5.55112e-11
  Prefactor  = 6.10623e-10
  norm       = 1.46067
  Prefactor  = 0
  Prefactor  = 2.26036
  Prefactor  = 0
  Normalizat = 0.973989
  Prefactor  = 1.04869
 **********
 **   18 **HESSE 
 **********

 FCN=   5432.253     FROM HESSE     STATUS=OK           477 CALLS     2600 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.8758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .42244E-07    22.405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .13021E-04    46.209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.0848        3.8485        .49848E-03   -1.5668    
   6  Prefactor     6.6434        60.918        .39518E-03   -1.5656    
   7  norm           .0000        1.1838        .26963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.2348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.547        50.613        .16219E-03   -1.5585    
  10  Prefactor     39.254        58.401        .16007E-03   -1.5583    
  11  Prefactor     .14948E-04    60.848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.4014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14052E-05    32.482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.5029        2.5335        .87208E-03   -1.5683    
  15  Prefactor      .0000        26.193        .16784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.376        29.786        .20050E-03   -1.5607    
  17  Prefactor     46.536        37.429        .14684E-03   -1.5572    
  18  Prefactor     .55511E-10    5.5046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .61062E-09    15.730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.4607        1.1826        .88958E-03   -1.5684    
  21  Prefactor      .0000        2.5339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.2604        4.5443        .68369E-03   -1.5678    
  23  Prefactor      .0000        2.0963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .97399        .16136        .45842E-01   -.93907    
  25  Prefactor     1.0487        .19168        .57203E-01   -.91124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02428e-06
Minuit parameter uncertainties:
  1  1.8305e-05
  2  4.77468e-06
  3  0.00194518
  4  0.0490595
  5  3.84848
  6  40.235
  7  9.59002e-06
  8  6.48238e-06
  9  50.614
  10  58.4016
  11  0.0603193
  12  5.93203e-06
  13  0.013512
  14  2.53354
  15  4.86261e-05
  16  29.7858
  17  37.4294
  18  3.98772e-05
  19  0.000193038
  20  1.18262
  21  6.49931e-06
  22  4.54434
  23  1.39284e-06
  24  0.161438
  25  0.191802
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  1.503e+00  2.534e+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.049e+00  1.918e-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.740e-01  1.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/456427/likelihoodResults_693705601_693964801_4FGL_J1419.8+5423_daily_bin1753.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) = 5432.20834472
delta logL = 0.044321919353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5432.19458592
delta logL = 0.058080726003

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0843       1.0000          .0000       .10000E+07
     2 'Index     '    2.8665       1.0000          .0000       10.000    
     3 'Normalizat'    .96038       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0593       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=   5432.195     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0827        27.502        .11534E-02    .96947E-02
   2  Index         2.8695        3.4069        .22431        .66353E-04
   3  Normalizat    .96004        .31717E-01    .45669E-01   -.75882E-04
   4  Prefactor     1.0597        .38045E-01    .56941E-01   -.16932E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08273
  Index      = 2.86948
  Normalizat = 0.960043
  Prefactor  = 1.05973
 **********
 **   18 **HESSE 
 **********

 FCN=   5432.195     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0827        3.4906        .10197E-04   -1.5687    
   2  Index         2.8695        2.1509        .82898E-02   -.44018    
   3  Normalizat    .96004        .19770        .21866E-03   -.94381    
   4  Prefactor     1.0597        .23418        .25179E-03   -.90764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.61233e-11
Minuit parameter uncertainties:
  1  3.49063
  2  2.24152
  3  0.197847
  4  0.234407
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/456427': 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) = 5432.19458225
delta logL = 0.0580843970347

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  1.083e+00  3.491e+00  0.000e+00  1.000e+06 ( 1.000e-12)
333        Index:  2.869e+00  2.242e+00  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.060e+00  2.344e-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.600e-01  1.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.54
Ra Dec: 214.955 54.394

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/456427/cmap_HighResolution_693705601_693964801_4FGL_J1419.8+5423_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.80e-03', job_status='DONE', photon_flux_upper_limit='8.82e-08', time_completed='2022-12-29 01:15:15.947617', job_id='456427', GAL2='1.06', fit_tolerance='1e-08', EG2='0.96', EG='0.97', time_epoch_completed='1672305315.95', return_code2='0', ts='0.54', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='5.81e-02', ts2='0.67', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1753' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:15:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 456427: <4FGL_J1419.8+5423_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin1753> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec 29 01:00:24 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:03:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:03:50 2022
Terminated at Thu Dec 29 01:15:16 2022
Results reported at Thu Dec 29 01:15:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin1753 214.955 54.3937 693705601 693964801 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.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            892 sec.

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

