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

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

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

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

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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin775
RA = 214.894, Dec = 38.3657
tmin = 440208001, tmax = 440467201
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='341911', job_status='RUN', time_executed='2021-09-09 09:29:09.404117', time_epoch_executed='1631204949.4' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='775'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/341911

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/341911/ft1_4FGL_J1419.5+3821_daily_bin775.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/341911/ft2_4FGL_J1419.5+3821_daily_bin775.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/341911/ft1_4FGL_J1419.5+3821_daily_bin775.fits outfile=/scratch/kocevski/341911/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin775.fits ra=214.894 dec=38.3657 rad=12.0 tmin=440208001.0 tmax=440467201.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.44
user 3.21
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/341911/ft2_4FGL_J1419.5+3821_daily_bin775.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/341911/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin775.fits evtable="EVENTS" outfile="/scratch/kocevski/341911/ft1_filtered_4FGL_J1419.5+3821_daily_bin775.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.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/341911/ft1_filtered_4FGL_J1419.5+3821_daily_bin775.fits" evtable="EVENTS" scfile=/scratch/kocevski/341911/ft2_4FGL_J1419.5+3821_daily_bin775.fits sctable="SC_DATA" outfile=/scratch/kocevski/341911/ltcube_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.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/341911/ft2_4FGL_J1419.5+3821_daily_bin775.fits
.....................!
real 11.92
user 11.58
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/341911/ft1_filtered_4FGL_J1419.5+3821_daily_bin775.fits evtable="EVENTS" scfile=/scratch/kocevski/341911/ft2_4FGL_J1419.5+3821_daily_bin775.fits sctable="SC_DATA" expcube=/scratch/kocevski/341911/ltcube_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.fits outfile=/scratch/kocevski/341911/expmap_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.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/341911/ltcube_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.fits
.....................!
real 191.59
user 186.37
sys 4.88

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/341911/ft1_filtered_4FGL_J1419.5+3821_daily_bin775.fits scfile=/scratch/kocevski/341911/ft2_4FGL_J1419.5+3821_daily_bin775.fits outfile=/scratch/kocevski/341911/cmap_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/341911/ft1_filtered_4FGL_J1419.5+3821_daily_bin775.fits scfile=/scratch/kocevski/341911/ft2_4FGL_J1419.5+3821_daily_bin775.fits outfile=/scratch/kocevski/341911/cmap_HighResolution_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/341911/ft1_filtered_4FGL_J1419.5+3821_daily_bin775.fits', '/scratch/kocevski/341911/ft2_4FGL_J1419.5+3821_daily_bin775.fits', expMap='/scratch/kocevski/341911/expmap_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.fits', expCube='/scratch/kocevski/341911/ltcube_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/341911/Model_4FGL_J1419.5+3821_daily_bin775.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  1.000e-04  1.000e+04 ( 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/341911/ft1_filtered_4FGL_J1419.5+3821_daily_bin775.fits
Spacecraft file(s): /scratch/kocevski/341911/ft2_4FGL_J1419.5+3821_daily_bin775.fits
Exposure map: /scratch/kocevski/341911/expmap_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.fits
Exposure cube: /scratch/kocevski/341911/ltcube_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/341911/Model_4FGL_J1419.5+3821_daily_bin775.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) = 7100.917409

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.7805       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.4321       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .25543E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9140       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10397E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.375       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.3757       1.0000         .10000E-03   10000.    
    14 'norm      '    .14009E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    55.250       1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3025       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.8659       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6607       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .53420E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.3437       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.8742       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .98201       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2395       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.

 FCN=   7100.905     FROM MIGRAD    STATUS=CONVERGED    632 CALLS     3142 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    57.551        .67699E-06** at limit **
   2  Prefactor     .10000E-03    38.772       -.17388E-06** at limit **
   3  norm          4.7806        1.6984       -.13477E-07    .12914E-03
   4  Prefactor     .10000E-03    1.5867       -.11851E-06** at limit **
   5  norm          3.4329        7.5008       -.13534E-05   -.52813E-04
   6  Prefactor     .10000E-03    5.7266        .12733E-06** at limit **
   7  Prefactor     .10000E-03    158.87       -.29209E-05** at limit **
   8  Prefactor     3.9129        3.8885       -.38684E-06    .30387E-03
   9  Prefactor     .10000E-03    10.994        .87853E-07** at limit **
  10  norm          .10000E-03    2.6466        .11145E-06** at limit **
  11  Prefactor     10.362        12.510       -.98176E-06    .30997E-04
  12  Prefactor     .10000E-03    6.8489        .35511E-06** at limit **
  13  Prefactor     6.3751        3.7714       -.79899E-08   -.28539E-04
  14  norm          .10001E-03    129.72       -.79181E-05** at limit **
  15  Prefactor     55.251        33.730        .13085E-06    .38826E-04
  16  norm          .10000E-03    2.7531        .85361E-07** at limit **
  17  Prefactor     4.3046        77.203        .29341E-06    .12777E-04
  18  Prefactor     .10000E-03    24.314        .29942E-07** at limit **
  19  norm          8.8657        7.9803       -.16100E-07    .85184E-04
  20  Prefactor     1.6669        45.342        .22339E-05    .72305E-04
  21  Prefactor     .10002E-03    8.9301       -.15769E-05** at limit **
  22  norm          3.3437        1.9244        .46976E-06    .11964E-02
  23  Prefactor     3.8763        15.463       -.20434E-05   -.13287E-04
  24  Prefactor     .10000E-03    59.124       -.79556E-07** at limit **
  25  Normalizat    .98232        .17640        .29872E-07    .30432E-03
  26  Prefactor     1.2390        .19673       -.14471E-06    .18576E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.78063
  Prefactor  = 0.000100001
  norm       = 3.43287
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.91295
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.362
  Prefactor  = 0.0001
  Prefactor  = 6.37512
  norm       = 0.000100008
  Prefactor  = 55.2512
  norm       = 0.0001
  Prefactor  = 4.30457
  Prefactor  = 0.0001
  norm       = 8.86572
  Prefactor  = 1.6669
  Prefactor  = 0.000100021
  norm       = 3.34375
  Prefactor  = 3.87627
  Prefactor  = 0.0001
  Normalizat = 0.982317
  Prefactor  = 1.23901
 **********
 **   18 **HESSE 
 **********

 FCN=   7100.905     FROM HESSE     STATUS=OK           466 CALLS     3608 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    57.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    38.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.7806        1.6983        .62733E-04   -1.5271    
   4  Prefactor     .10000E-03    11.683        .20039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.4329        7.5529        .10917E-02   -1.5337    
   6  Prefactor     .10000E-03    5.7341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    159.01        .21456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.9129        3.8471        .15928E-03   -1.5312    
   9  Prefactor     .10000E-03    11.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.7195        .26755E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.362        12.602        .12440E-03   -1.5064    
  12  Prefactor     .10000E-03    6.8625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.3751        3.7723        .12032E-03   -1.5203    
  14  norm          .10001E-03    13.560        .87865E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     55.251        33.791        .53965E-04   -1.4220    
  16  norm          .10000E-03    2.7650        .13646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.3046        76.949        .19422E-03   -1.5293    
  18  Prefactor     .10000E-03    24.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.8657        7.9200        .13461E-03   -1.5112    
  20  Prefactor     1.6669        43.686        .32737E-03   -1.5450    
  21  Prefactor     .10002E-03    28.844        .39524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.3437        1.9201        .83192E-04   -1.5342    
  23  Prefactor     3.8763        15.611        .10250E-02   -1.5314    
  24  Prefactor     .10000E-03    59.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .98232        .20961        .25631E-03   -.93625    
  26  Prefactor     1.2390        .23724        .27035E-03   -.85139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0407e-09
Minuit parameter uncertainties:
  1  0.00017499
  2  0.000169687
  3  1.69836
  4  0.000169329
  5  7.55499
  6  1.28116e-06
  7  0.00092609
  8  3.84729
  9  2.93913e-05
  10  2.71463e-06
  11  12.6057
  12  2.41744e-06
  13  3.77245
  14  0.000649502
  15  33.8027
  16  4.06359e-06
  17  36.4538
  18  1.89883e-05
  19  7.92095
  20  17.0803
  21  0.00156673
  22  1.92014
  23  15.5649
  24  0.000155108
  25  0.209787
  26  0.237443
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.036e+01  1.261e+01  1.000e-04  1.000e+04 ( 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.239e+00  2.374e-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:  9.823e-01  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.08
Ra Dec: 214.894 38.366
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 2.59e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 7.75e-06 +/- 9.42e-06

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

Saving results to:
/scratch/kocevski/341911/likelihoodResults_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.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) = 7100.52095636
delta logL = 0.384533638036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7100.52000633
delta logL = 0.385483667827

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.323       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8914       1.0000          .0000       10.000    
     3 'Normalizat'    .99796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2227       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=   7100.520     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      301 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.323        17.752        .93568E-04   -.52589E-03
   2  Index         1.8914        .57150        .10108E-01   -.17768E-03
   3  Normalizat    .99794        .20078        .25447E-03    .80908E-04
   4  Prefactor     1.2227        .23528        .27172E-03    .90624E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.3234
  Index      = 1.89137
  Normalizat = 0.99794
  Prefactor  = 1.22274
 **********
 **   18 **HESSE 
 **********

 FCN=   7100.520     FROM HESSE     STATUS=OK            23 CALLS      324 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.323        17.675        .18714E-04   -1.4852    
   2  Index         1.8914        .56907        .40431E-03   -.67095    
   3  Normalizat    .99794        .20099        .10179E-04   -.93099    
   4  Prefactor     1.2227        .23553        .10869E-04   -.85634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08041e-09
Minuit parameter uncertainties:
  1  17.6798
  2  0.571091
  3  0.201138
  4  0.235732
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/341911': 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) = 7100.52000633
delta logL = 0.385483676255

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.832e+01  1.768e+01  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  1.891e+00  5.711e-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:  1.223e+00  2.357e-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:  9.979e-01  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 214.894 38.366
Photon Index (Free Index): 1.89 +/- 0.57
Photon Flux (Free Index): 1.88e-08 +/- 2.17e-08
Energy Flux (Free Index): 1.73e-05 +/- 2.33e-05

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/341911/cmap_HighResolution_440208001_440467201_4FGL_J1419.5+3821_daily_bin775.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.44e-03', comment='SUCCESS', photon_flux='2.59e-08', energy_flux2='1.73e-05', photon_flux_error='3.14e-08', dlogl='3.85e-01', energy_flux='7.75e-06', photon_flux2='1.88e-08', job_status='DONE', time_completed='2021-09-09 09:42:14.225290', photon_index_error2='0.57', photon_index2='1.89', ts='1.08', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='9.58e-08', energy_flux_error2='2.33e-05', EG='0.98', time_epoch_completed='1631205734.23', return_code='0', job_id='341911', GAL2='1.22', EG2='1.00', return_code2='0', energy_flux_error='9.42e-06', photon_flux_error2='2.17e-08', ts2='1.85', photon_index='2.47' WHERE bin_id='775' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:42:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 341911: <4FGL_J1419.5+3821_daily_bin775> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin775> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 09:25:51 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:25:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 09:25:53 2021
Terminated at Thu Sep  9 09:42:14 2021
Results reported at Thu Sep  9 09:42:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin775 214.894 38.3657 440208001 440467201 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 :                                   782.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

