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 58 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7448
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1774
RA = 214.894, Dec = 38.3657
tmin = 699148801, tmax = 699408001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='683992', job_status='RUN', time_executed='2023-03-02 00:51:28.305773', time_epoch_executed='1677747088.31' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/683992

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/683992/ft1_4FGL_J1419.5+3821_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/683992/ft2_4FGL_J1419.5+3821_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/683992/ft1_4FGL_J1419.5+3821_daily_bin1774.fits outfile=/scratch/kocevski/683992/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1774.fits ra=214.894 dec=38.3657 rad=12.0 tmin=699148801.0 tmax=699408001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.79
user 2.59
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/683992/ft2_4FGL_J1419.5+3821_daily_bin1774.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/683992/ft2_4FGL_J1419.5+3821_daily_bin1774.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/683992/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/683992/ft1_filtered_4FGL_J1419.5+3821_daily_bin1774.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 499

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/683992/ft1_filtered_4FGL_J1419.5+3821_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/683992/ft2_4FGL_J1419.5+3821_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/683992/ltcube_699148801_699408001_4FGL_J1419.5+3821_daily_bin1774.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/683992/ft2_4FGL_J1419.5+3821_daily_bin1774.fits
.....................!
real 12.35
user 12.02
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/683992/ft1_filtered_4FGL_J1419.5+3821_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/683992/ft2_4FGL_J1419.5+3821_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/683992/ltcube_699148801_699408001_4FGL_J1419.5+3821_daily_bin1774.fits outfile=/scratch/kocevski/683992/expmap_699148801_699408001_4FGL_J1419.5+3821_daily_bin1774.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/683992/ltcube_699148801_699408001_4FGL_J1419.5+3821_daily_bin1774.fits
.....................!
real 190.72
user 185.74
sys 4.67

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

Setting source of interest to:
4FGL J1419.5+3821 @ 214.894 38.3657

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/683992/ft1_filtered_4FGL_J1419.5+3821_daily_bin1774.fits scfile=/scratch/kocevski/683992/ft2_4FGL_J1419.5+3821_daily_bin1774.fits outfile=/scratch/kocevski/683992/cmap_699148801_699408001_4FGL_J1419.5+3821_daily_bin1774.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=214.894 yref=38.3657 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/683992/ft1_filtered_4FGL_J1419.5+3821_daily_bin1774.fits scfile=/scratch/kocevski/683992/ft2_4FGL_J1419.5+3821_daily_bin1774.fits outfile=/scratch/kocevski/683992/cmap_HighResolution_699148801_699408001_4FGL_J1419.5+3821_daily_bin1774.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=214.894 yref=38.3657 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/683992/ft1_filtered_4FGL_J1419.5+3821_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/683992/ft2_4FGL_J1419.5+3821_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/683992/Model_4FGL_J1419.5+3821_daily_bin1774.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/683992/ft1_filtered_4FGL_J1419.5+3821_daily_bin1774.fits.....................!
real 44.83
user 43.57
sys 1.18

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

Using source of interest name: '4FGL J1419.5+3821'

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  4.993e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.472e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/683992/ft1_filtered_4FGL_J1419.5+3821_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/683992/ft2_4FGL_J1419.5+3821_daily_bin1774.fits
Exposure map: /scratch/kocevski/683992/expmap_699148801_699408001_4FGL_J1419.5+3821_daily_bin1774.fits
Exposure cube: /scratch/kocevski/683992/ltcube_699148801_699408001_4FGL_J1419.5+3821_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/683992/Model_4FGL_J1419.5+3821_daily_bin1774.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6232       1.0000          .0000       .10000E+07
     2 'norm      '    .40036       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.6578       1.0000          .0000       .10000E+07
     4 'norm      '    20.631       1.0000          .0000       .10000E+07
     5 'Prefactor '    .85338       1.0000          .0000       .10000E+07
     6 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     7 'Prefactor '    .52170E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .27790E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.869       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42937E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .24645       1.0000          .0000       .10000E+07
    12 'norm      '    .58147E-04   1.0000          .0000       .10000E+07
    13 'norm      '    3.0184       1.0000          .0000       .10000E+07
    14 'Prefactor '    150.10       1.0000          .0000       .10000E+07
    15 'norm      '    .86597E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    24.482       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.5064       1.0000          .0000       .10000E+07
    18 'norm      '    .28305E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .17725E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .11409E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1086       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93731       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5509.334     FROM MIGRAD    STATUS=CONVERGED    206 CALLS     1194 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19429E-08    258.61       -.14698E-06** at limit **
   2  norm          .39900        .95143       -.22282E-07    .80719E-05
   3  Prefactor     2.6342        5.9804        .22904E-06   -.57239E-04
   4  norm          20.750        7.2717       -.61785E-08   -.29081E-01
   5  Prefactor     .14988E-08    207.72       -.28874E-06** at limit **
   6  Prefactor      .0000        1.5861       -.10062E-07** at limit **
   7  Prefactor     .82434E-07    272.71        .80460E-06** at limit **
   8  norm           .0000        1.4446        .22063E-08** at limit **
   9  Prefactor     20.441        13.520       -.37776E-07    .31538E-02
  10  Prefactor     .55511E-10    9.5480       -.92388E-07** at limit **
  11  Prefactor     .24527        3.8866       -.27911E-07** at limit **
  12  norm          .55511E-10    11.368       -.57610E-07** at limit **
  13  norm          3.0386        4.5088        .78748E-08   -.76600E-04
  14  Prefactor     149.81        3.1119       -.11972E-08    .65363E-02
  15  norm           .0000        3.2659       -.11677E-07** at limit **
  16  Prefactor     24.194        14.760        .19043E-07    .14207E-01
  17  Prefactor     6.5088        6.1245       -.38295E-07   -.53568E-03
  18  norm           .0000        1.0571        .10001E-07** at limit **
  19  Prefactor      .0000        4.6423       -.58871E-07** at limit **
  20  Prefactor     .55511E-10    26.041       -.18787E-06** at limit **
  21  Normalizat    1.1108        .21217        .41359E-06    .68232E-06
  22  Prefactor     .93670        .23614        .90131E-07    .15557E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.94289e-09
  norm       = 0.399001
  Prefactor  = 2.63417
  norm       = 20.7502
  Prefactor  = 1.4988e-09
  Prefactor  = 0
  Prefactor  = 8.24341e-08
  norm       = 0
  Prefactor  = 20.4409
  Prefactor  = 5.55112e-11
  Prefactor  = 0.245269
  norm       = 5.55112e-11
  norm       = 3.03858
  Prefactor  = 149.812
  norm       = 0
  Prefactor  = 24.194
  Prefactor  = 6.50881
  norm       = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 1.11078
  Prefactor  = 0.936697
 **********
 **   18 **HESSE 
 **********

 FCN=   5509.334     FROM HESSE     STATUS=OK           394 CALLS     1588 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19429E-08    259.69        .62943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .39900        1.0831        .25640E-02   -1.5695    
   3  Prefactor     2.6342        6.0029        .62498E-03   -1.5676    
   4  norm          20.750        17.803        .22023E-03   -1.5617    
   5  Prefactor     .14988E-08    206.89        .49038E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.5927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .82434E-07    16.687        .95568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.4382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.441        13.590        .21897E-03   -1.5618    
  10  Prefactor     .55511E-10    9.5467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .24527        1.9388        .36439E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    11.352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.0386        4.5441        .58389E-03   -1.5673    
  14  Prefactor     149.81        47.197        .81630E-04   -1.5463    
  15  norm           .0000        3.2639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.194        15.803        .20215E-03   -1.5610    
  17  Prefactor     6.5088        6.1671        .39321E-03   -1.5657    
  18  norm           .0000        1.0336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        4.6502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    26.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1108        .18941        .37662E-01   -.89406    
  22  Prefactor     .93670        .20552        .45479E-01   -.94870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05597e-07
Minuit parameter uncertainties:
  1  0.00142626
  2  1.08308
  3  6.00294
  4  17.8026
  5  0.00110477
  6  4.71123e-07
  7  0.00234573
  8  1.40535e-06
  9  13.5902
  10  3.47678e-05
  11  1.37918
  12  5.76593e-05
  13  4.54409
  14  47.1975
  15  2.19782e-06
  16  15.8031
  17  6.16711
  18  5.3506e-08
  19  2.28203e-06
  20  7.81387e-05
  21  0.189527
  22  0.205691
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  2.044e+01  1.359e+01  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.472e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.367e-01  2.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  1.111e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.11
Ra Dec: 214.894 38.366
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 5.10e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.02e-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) = 5509.27953183
delta logL = 0.0548002242995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5509.2726822
delta logL = 0.0616498534664

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.138       1.0000          .0000       .10000E+07
     2 'Index     '    2.2715       1.0000          .0000       10.000    
     3 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93039       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+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=   5509.273     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      272 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.144        19.106        .81435E-05    .94931E-03
   2  Index         2.2715        .57394        .64540E-02   -.11598E-04
   3  Normalizat    1.1200        .21000        .22916E-03   -.47129E-05
   4  Prefactor     .93037        .23608        .28156E-03   -.80594E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.1437
  Index      = 2.27148
  Normalizat = 1.11997
  Prefactor  = 0.930365
 **********
 **   18 **HESSE 
 **********

 FCN=   5509.273     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.144        18.712        .16287E-05   -1.5610    
   2  Index         2.2715        .56182        .25816E-03   -.57723    
   3  Normalizat    1.1200        .21012        .91665E-05   -.89113    
   4  Prefactor     .93037        .23626        .11262E-04   -.95088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.3262e-11
Minuit parameter uncertainties:
  1  18.7119
  2  0.563521
  3  0.210273
  4  0.236518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/683992': 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) = 5509.27268212
delta logL = 0.0616499305042

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  2.414e+01  1.871e+01  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.271e+00  5.635e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.304e-01  2.365e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  1.120e+00  2.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.22
Ra Dec: 214.894 38.366
Photon Index (Free Index): 2.27 +/- 0.56
Photon Flux (Free Index): 4.32e-08 +/- 3.74e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.35e-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/683992/cmap_HighResolution_699148801_699408001_4FGL_J1419.5+3821_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.10e-08', energy_flux2='1.71e-05', photon_flux_error='3.39e-08', dlogl='6.16e-02', energy_flux='1.53e-05', photon_flux2='4.32e-08', job_status='DONE', time_completed='2023-03-02 00:59:20.960486', photon_index_error2='0.56', photon_index2='2.27', ts='6.11', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.35e-05', EG='1.11', time_epoch_completed='1677747560.96', return_code='0', job_id='683992', GAL2='0.93', EG2='1.12', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='3.74e-08', ts2='6.22', photon_index='2.47' WHERE bin_id='1774' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:59:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 683992: <4FGL_J1419.5+3821_daily_bin1774> in cluster <slac> Done

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

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   475.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             281.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   540 sec.
    Turnaround time :                            542 sec.

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

