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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1755
RA = 214.894, Dec = 38.3657
tmin = 694224001, tmax = 694483201
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='825192', job_status='RUN', time_executed='2023-01-04 01:07:44.167379', time_epoch_executed='1672823264.17' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/825192

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/825192/ft1_4FGL_J1419.5+3821_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/825192/ft2_4FGL_J1419.5+3821_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/825192/ft1_4FGL_J1419.5+3821_daily_bin1755.fits outfile=/scratch/kocevski/825192/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1755.fits ra=214.894 dec=38.3657 rad=12.0 tmin=694224001.0 tmax=694483201.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.09
user 2.81
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/825192/ft2_4FGL_J1419.5+3821_daily_bin1755.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/825192/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/825192/ft1_filtered_4FGL_J1419.5+3821_daily_bin1755.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.52
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 848

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/825192/ft1_filtered_4FGL_J1419.5+3821_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/825192/ft2_4FGL_J1419.5+3821_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/825192/ltcube_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.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/825192/ft2_4FGL_J1419.5+3821_daily_bin1755.fits
.....................!
real 16.03
user 15.54
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/825192/ft1_filtered_4FGL_J1419.5+3821_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/825192/ft2_4FGL_J1419.5+3821_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/825192/ltcube_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.fits outfile=/scratch/kocevski/825192/expmap_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.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/825192/ltcube_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.fits
.....................!
real 192.93
user 184.83
sys 6.90

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/825192/ft1_filtered_4FGL_J1419.5+3821_daily_bin1755.fits scfile=/scratch/kocevski/825192/ft2_4FGL_J1419.5+3821_daily_bin1755.fits outfile=/scratch/kocevski/825192/cmap_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/825192/ft1_filtered_4FGL_J1419.5+3821_daily_bin1755.fits scfile=/scratch/kocevski/825192/ft2_4FGL_J1419.5+3821_daily_bin1755.fits outfile=/scratch/kocevski/825192/cmap_HighResolution_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/825192/ft1_filtered_4FGL_J1419.5+3821_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/825192/ft2_4FGL_J1419.5+3821_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/825192/Model_4FGL_J1419.5+3821_daily_bin1755.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/825192/ft1_filtered_4FGL_J1419.5+3821_daily_bin1755.fits.....................!
real 65.38
user 63.74
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/825192/ft1_filtered_4FGL_J1419.5+3821_daily_bin1755.fits', '/scratch/kocevski/825192/ft2_4FGL_J1419.5+3821_daily_bin1755.fits', expMap='/scratch/kocevski/825192/expmap_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.fits', expCube='/scratch/kocevski/825192/ltcube_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/825192/Model_4FGL_J1419.5+3821_daily_bin1755.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/825192/ft1_filtered_4FGL_J1419.5+3821_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/825192/ft2_4FGL_J1419.5+3821_daily_bin1755.fits
Exposure map: /scratch/kocevski/825192/expmap_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.fits
Exposure cube: /scratch/kocevski/825192/ltcube_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/825192/Model_4FGL_J1419.5+3821_daily_bin1755.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) = 9089.33800447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66096E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .74940E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8261       1.0000          .0000       .10000E+07
     4 'norm      '    4.4405       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37608E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21794E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .37148E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .37970E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10951E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .95325E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    33.170       1.0000          .0000       .10000E+07
    12 'norm      '    3.0496       1.0000          .0000       .10000E+07
    13 'norm      '    3.0490       1.0000          .0000       .10000E+07
    14 'Prefactor '    77.189       1.0000          .0000       .10000E+07
    15 'norm      '    .76783E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.3982       1.0000          .0000       .10000E+07
    17 'Prefactor '    .34347E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .68732       1.0000          .0000       .10000E+07
    19 'Prefactor '    .35355E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .73388E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    .81718       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0284       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=   9089.321     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1804 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    70.208        .33018E-05** at limit **
   2  norm           .0000        .37648        .52641E-07** at limit **
   3  Prefactor     4.8258        3.1200        .63725E-07   -.10889E-02
   4  norm          4.4716        5.5281        .51484E-07   -.41288E-03
   5  Prefactor     .55511E-10    20.745        .72634E-06** at limit **
   6  Prefactor      .0000        1.0024       -.16628E-06** at limit **
   7  Prefactor     .27756E-09    69.689       -.20025E-05** at limit **
   8  norm           .0000        .59329        .12699E-06** at limit **
   9  Prefactor     .14948        51.339        .43254E-05** at limit **
  10  Prefactor     .30929E-05    4.2688       -.60740E-06** at limit **
  11  Prefactor     33.202        4.9029        .50245E-07   -.40105E-02
  12  norm          3.0007        4.5986        .48125E-07   -.25677E-03
  13  norm          3.0512        3.5703        .25892E-06   -.23413E-02
  14  Prefactor     77.192        3.4804       -.90605E-07   -.29047E-01
  15  norm          .55511E-10    1.9646       -.16543E-06** at limit **
  16  Prefactor     5.4204        8.9321        .14487E-06   -.89138E-03
  17  Prefactor      .0000        6.5811        .86631E-07** at limit **
  18  norm          .68924        .88380       -.95169E-07    .16456E-02
  19  Prefactor     .33307E-09    6.8890       -.30423E-06** at limit **
  20  Prefactor     .10547E-08    38.588       -.31545E-06** at limit **
  21  Normalizat    .81693        .14950       -.15221E-06    .25850E-04
  22  Prefactor     1.0284        .17525       -.30589E-06    .12570E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 0
  Prefactor  = 4.82583
  norm       = 4.4716
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 0.149485
  Prefactor  = 3.09291e-06
  Prefactor  = 33.2019
  norm       = 3.00071
  norm       = 3.0512
  Prefactor  = 77.1922
  norm       = 5.55112e-11
  Prefactor  = 5.42045
  Prefactor  = 0
  norm       = 0.689242
  Prefactor  = 3.33067e-10
  Prefactor  = 1.05471e-09
  Normalizat = 0.816934
  Prefactor  = 1.02839
 **********
 **   18 **HESSE 
 **********

 FCN=   9089.321     FROM HESSE     STATUS=OK           404 CALLS     2208 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    69.221        .14949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .37192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8258        3.1264        .45769E-03   -1.5664    
   4  norm          4.4716        5.5339        .47763E-03   -1.5666    
   5  Prefactor     .55511E-10    20.700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.0043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    5.6290        .12464E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .59332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .14948        5.5263        .66493E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .30929E-05    4.8585        .10838E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.202        4.9049        .17365E-03   -1.5593    
  12  norm          3.0007        4.6072        .58072E-03   -1.5673    
  13  norm          3.0512        3.5856        .58078E-03   -1.5673    
  14  Prefactor     77.192        30.522        .11383E-03   -1.5532    
  15  norm          .55511E-10    1.9607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.4204        8.9797        .43228E-03   -1.5661    
  17  Prefactor      .0000        6.5284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .68924        .89791        .61744E-03   -1.5691    
  19  Prefactor     .33307E-09    6.8554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10547E-08    38.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .81693        .13180        .43834E-01   -.99444    
  22  Prefactor     1.0284        .15018        .41386E-01   -.91789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12873e-07
Minuit parameter uncertainties:
  1  0.000236939
  2  2.10124e-06
  3  3.12639
  4  5.53386
  5  5.46032e-05
  6  5.35633e-06
  7  8.28322e-05
  8  2.14761e-06
  9  1.81779
  10  0.00775292
  11  4.90486
  12  4.6072
  13  3.58563
  14  30.5219
  15  1.82746e-05
  16  8.97971
  17  1.47822e-05
  18  0.897915
  19  9.56539e-05
  20  0.000406121
  21  0.131851
  22  0.150244
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.495e-01  1.818e+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

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.028e+00  1.502e-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:  8.169e-01  1.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 214.894 38.366
Photon Flux Upper Limit: 4.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/825192/likelihoodResults_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.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): 102
logL (Free Index) = 9089.31351202
delta logL = 0.00711307536403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9089.24451336
delta logL = 0.0761117421134

Fit tolerance = 1e-08

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

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

 FCN=   9089.245     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      239 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2220        349.82        .56480E-03    .20599E-02
   2  Index         1.7161        5.7850        .47154       -.10502E-04
   3  Normalizat    .81859        .25375E-01    .43852E-01    .33163E-04
   4  Prefactor     1.0237        .29181E-01    .41787E-01    .15256E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.22203
  Index      = 1.7161
  Normalizat = 0.818589
  Prefactor  = 1.02371
 **********
 **   18 **HESSE 
 **********

 FCN=   9089.245     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2220        9.0157        .22592E-04   -1.5672    
   2  Index         1.7161        1.1194        .13636E-01   -.71654    
   3  Normalizat    .81859        .14661        .23377E-03   -.99383    
   4  Prefactor     1.0237        .17527        .25086E-03   -.91943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88697e-10
Minuit parameter uncertainties:
  1  9.01576
  2  1.13656
  3  0.146681
  4  0.17537
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/825192': 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) = 9089.24451282
delta logL = 0.0761122739314

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  3.222e+00  9.016e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.716e+00  1.137e+00  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:  1.024e+00  1.754e-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:  8.186e-01  1.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 214.894 38.366

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/825192/cmap_HighResolution_694224001_694483201_4FGL_J1419.5+3821_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.14e-08', time_completed='2023-01-04 01:19:42.481820', job_id='825192', GAL2='1.02', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1672823982.48', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='7.61e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1755' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:19:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 825192: <4FGL_J1419.5+3821_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan  4 01:05:26 2023
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 01:06:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 01:06:23 2023
Terminated at Wed Jan  4 01:19:43 2023
Results reported at Wed Jan  4 01:19:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1755 214.894 38.3657 694224001 694483201 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 :                                   719.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            857 sec.

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

