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


Performing analysis on: 4FGL_J1419.8+5423_daily_bin1612
RA = 214.955, Dec = 54.3937
tmin = 657158401, tmax = 657417601
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='363996', job_status='RUN', time_executed='2021-12-08 01:04:00.986387', time_epoch_executed='1638954240.99' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='1612'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/363996

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/363996/ft1_4FGL_J1419.8+5423_daily_bin1612.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/363996/ft2_4FGL_J1419.8+5423_daily_bin1612.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/363996/ft1_4FGL_J1419.8+5423_daily_bin1612.fits outfile=/scratch/kocevski/363996/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1612.fits ra=214.955 dec=54.3937 rad=12.0 tmin=657158401.0 tmax=657417601.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.68
user 3.42
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/363996/ft2_4FGL_J1419.8+5423_daily_bin1612.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/363996/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1612.fits evtable="EVENTS" outfile="/scratch/kocevski/363996/ft1_filtered_4FGL_J1419.8+5423_daily_bin1612.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/363996/ft1_filtered_4FGL_J1419.8+5423_daily_bin1612.fits" evtable="EVENTS" scfile=/scratch/kocevski/363996/ft2_4FGL_J1419.8+5423_daily_bin1612.fits sctable="SC_DATA" outfile=/scratch/kocevski/363996/ltcube_657158401_657417601_4FGL_J1419.8+5423_daily_bin1612.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/363996/ft2_4FGL_J1419.8+5423_daily_bin1612.fits
.....................!
real 12.70
user 12.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/363996/ft1_filtered_4FGL_J1419.8+5423_daily_bin1612.fits evtable="EVENTS" scfile=/scratch/kocevski/363996/ft2_4FGL_J1419.8+5423_daily_bin1612.fits sctable="SC_DATA" expcube=/scratch/kocevski/363996/ltcube_657158401_657417601_4FGL_J1419.8+5423_daily_bin1612.fits outfile=/scratch/kocevski/363996/expmap_657158401_657417601_4FGL_J1419.8+5423_daily_bin1612.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/363996/ltcube_657158401_657417601_4FGL_J1419.8+5423_daily_bin1612.fits
.....................!
real 191.21
user 185.28
sys 5.50

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/363996/ft1_filtered_4FGL_J1419.8+5423_daily_bin1612.fits scfile=/scratch/kocevski/363996/ft2_4FGL_J1419.8+5423_daily_bin1612.fits outfile=/scratch/kocevski/363996/cmap_657158401_657417601_4FGL_J1419.8+5423_daily_bin1612.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.56
user 0.40
sys 0.14

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

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/363996/ft1_filtered_4FGL_J1419.8+5423_daily_bin1612.fits', '/scratch/kocevski/363996/ft2_4FGL_J1419.8+5423_daily_bin1612.fits', expMap='/scratch/kocevski/363996/expmap_657158401_657417601_4FGL_J1419.8+5423_daily_bin1612.fits', expCube='/scratch/kocevski/363996/ltcube_657158401_657417601_4FGL_J1419.8+5423_daily_bin1612.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/363996/Model_4FGL_J1419.8+5423_daily_bin1612.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  1.000e-04  1.000e+04 ( 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/363996/ft1_filtered_4FGL_J1419.8+5423_daily_bin1612.fits
Spacecraft file(s): /scratch/kocevski/363996/ft2_4FGL_J1419.8+5423_daily_bin1612.fits
Exposure map: /scratch/kocevski/363996/expmap_657158401_657417601_4FGL_J1419.8+5423_daily_bin1612.fits
Exposure cube: /scratch/kocevski/363996/ltcube_657158401_657417601_4FGL_J1419.8+5423_daily_bin1612.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/363996/Model_4FGL_J1419.8+5423_daily_bin1612.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) = 5606.31231309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.0745       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.401       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.5615       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.918       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1077       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .58913       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.279       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.783       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1194       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.8336       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12882E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .14258E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .13343E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    21.120       1.0000         .10000E-03   10000.    
    26 'norm      '    .94161       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.7912       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .81491       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1608       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5606.237     FROM MIGRAD    STATUS=CONVERGED    816 CALLS     3566 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0697        .40006E-07** at limit **
   2  norm          .10000E-03    1.8593       -.57873E-07** at limit **
   3  Prefactor     4.0740        28.461       -.59348E-05   -.29676E-05
   4  Prefactor     16.396        21.552        .10410E-06   -.78725E-05
   5  Prefactor     .10000E-03    11.920        .24463E-06** at limit **
   6  norm          9.5626        6.3660        .61955E-07   -.18238E-04
   7  Prefactor     13.917        51.615       -.35432E-06    .10729E-04
   8  Prefactor     .10000E-03    32.017        .10518E-05** at limit **
   9  norm          1.1077        1.2055        .16090E-07    .83118E-04
  10  norm          .10001E-03    46.454       -.22048E-05** at limit **
  11  norm          .59169        3.9109        .42922E-06    .39752E-03
  12  Prefactor     16.279        24.661        .32537E-07    .70159E-06
  13  Prefactor     .10002E-03    158.78       -.42054E-05** at limit **
  14  Prefactor     .10002E-03    89.254        .54131E-05** at limit **
  15  Prefactor     13.772        36.716       -.13061E-05   -.10011E-04
  16  Prefactor     3.1200        3.2147        .52708E-07   -.16566E-04
  17  Prefactor     .10000E-03    5.9304        .74217E-07** at limit **
  18  Prefactor     9.8380        4.0504       -.99613E-06   -.12215E-02
  19  Prefactor     .10000E-03    11.106       -.90263E-07** at limit **
  20  Prefactor     .10003E-03    264.79       -.21517E-04** at limit **
  21  Prefactor     .10000E-03    135.72        .36126E-06** at limit **
  22  Prefactor     .10000E-03    14.858       -.24703E-07** at limit **
  23  Prefactor     .10000E-03    33.138        .52245E-06** at limit **
  24  Prefactor     .10000E-03    14.272       -.15324E-07** at limit **
  25  Prefactor     21.109        15.387       -.14202E-06   -.61341E-04
  26  norm          .94159        .84335        .10074E-07   -.17469E-03
  27  Prefactor     4.7926        9.8345       -.46197E-06   -.69531E-04
  28  Prefactor     .10000E-03    1.6928        .43085E-07** at limit **
  29  Prefactor     .10000E-03    7.1500        .27310E-06** at limit **
  30  Normalizat    .81495        .16647       -.79001E-06   -.16677E-03
  31  Prefactor     1.1608        .19122        .16153E-06   -.17307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.07396
  Prefactor  = 16.3959
  Prefactor  = 0.0001
  norm       = 9.56257
  Prefactor  = 13.9175
  Prefactor  = 0.000100001
  norm       = 1.10774
  norm       = 0.000100006
  norm       = 0.591691
  Prefactor  = 16.2793
  Prefactor  = 0.00010002
  Prefactor  = 0.000100023
  Prefactor  = 13.7722
  Prefactor  = 3.11999
  Prefactor  = 0.0001
  Prefactor  = 9.83804
  Prefactor  = 0.0001
  Prefactor  = 0.000100027
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.1093
  norm       = 0.941594
  Prefactor  = 4.79256
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.814953
  Prefactor  = 1.16082
 **********
 **   18 **HESSE 
 **********

 FCN=   5606.237     FROM HESSE     STATUS=OK           628 CALLS     4194 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0771        .14752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.8606        .99688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0740        28.520        .99870E-03   -1.5304    
   4  Prefactor     16.396        21.621        .98897E-04   -1.4898    
   5  Prefactor     .10000E-03    11.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.5626        6.3850        .12531E-03   -1.5089    
   7  Prefactor     13.917        51.346        .10736E-03   -1.4962    
   8  Prefactor     .10000E-03    31.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1077        1.1064        .83210E-03   -1.5497    
  10  norm          .10001E-03    45.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59169        7.2521        .26904E-02   -1.5554    
  12  Prefactor     16.279        24.660        .99266E-04   -1.4901    
  13  Prefactor     .10002E-03    156.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    87.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.772        36.659        .10789E-03   -1.4966    
  16  Prefactor     3.1200        3.2155        .13145E-03   -1.5355    
  17  Prefactor     .10000E-03    5.9401        .17808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.8380        4.0385        .88267E-04   -1.5081    
  19  Prefactor     .10000E-03    11.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10003E-03    256.11        .70973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    137.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    33.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    14.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     21.109        15.354        .87155E-04   -1.4789    
  26  norm          .94159        .89965        .62956E-03   -1.5514    
  27  Prefactor     4.7926        9.8097        .18380E-03   -1.5270    
  28  Prefactor     .10000E-03    1.7042        .95122E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    7.2521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .81495        .19644        .24001E-03   -.99516    
  31  Prefactor     1.1608        .22635        .24661E-03   -.87546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94006e-09
Minuit parameter uncertainties:
  1  5.18815e-08
  2  9.10689e-06
  3  21.5726
  4  21.6312
  5  2.96599e-05
  6  6.38545
  7  51.5101
  8  0.000306
  9  1.10637
  10  0.00102909
  11  4.14323
  12  24.6757
  13  0.00357669
  14  0.00284766
  15  36.7191
  16  3.21565
  17  2.66227e-06
  18  4.0386
  19  7.11421e-05
  20  0.00530555
  21  0.000370353
  22  2.63808e-05
  23  3.20658e-05
  24  3.18938e-05
  25  15.3573
  26  0.899667
  27  9.81296
  28  1.73894e-07
  29  2.12811e-05
  30  0.196613
  31  0.22654
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  9.838e+00  4.039e+00  1.000e-04  1.000e+04 ( 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.161e+00  2.265e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  8.150e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.36
Ra Dec: 214.955 54.394
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 1.16e-07 +/- 4.74e-08
Energy Flux (Fixed Index): 3.98e-05 +/- 1.63e-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) = 5605.93668598
delta logL = 0.300334332946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5605.9096738
delta logL = 0.327346515765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2921       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7220       1.0000          .0000       10.000    
     3 'Normalizat'    .77078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1965       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=   5605.910     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      271 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2911        36.208        .37133E-02    .15256E-03
   2  Index         2.7219        2.7452        .93116E-01    .13541E-03
   3  Normalizat    .77072        .96664E-01    .43228E-01    .16843E-04
   4  Prefactor     1.1967        .91126E-01    .55047E-01    .39796E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.29106
  Index      = 2.72191
  Normalizat = 0.770718
  Prefactor  = 1.19666
 **********
 **   18 **HESSE 
 **********

 FCN=   5605.910     FROM HESSE     STATUS=OK            33 CALLS      304 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2911        4.9844        .69323E-04   -1.5168    
   2  Index         2.7219        .50479        .37905E-02   -.47307    
   3  Normalizat    .77072        .19730        .24583E-03   -1.0116    
   4  Prefactor     1.1967        .23087        .24340E-03   -.86434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.07447e-12
Minuit parameter uncertainties:
  1  4.98465
  2  0.505881
  3  0.197487
  4  0.231065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/363996': 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) = 5605.90967314
delta logL = 0.327347178505

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  7.291e+00  4.985e+00  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  2.722e+00  5.059e-01  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.197e+00  2.311e-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:  7.707e-01  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.14
Ra Dec: 214.955 54.394
Photon Index (Free Index): 2.72 +/- 0.51
Photon Flux (Free Index): 1.46e-07 +/- 6.25e-08
Energy Flux (Free Index): 3.46e-05 +/- 1.40e-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/363996/cmap_HighResolution_657158401_657417601_4FGL_J1419.8+5423_daily_bin1612.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.16e-07', energy_flux2='3.46e-05', photon_flux_error='4.74e-08', dlogl='3.27e-01', energy_flux='3.98e-05', photon_flux2='1.46e-07', job_status='DONE', time_completed='2021-12-08 01:16:35.032190', photon_index_error2='0.51', photon_index2='2.72', ts='12.36', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='1.40e-05', EG='0.81', time_epoch_completed='1638954995.03', return_code='0', job_id='363996', GAL2='1.20', EG2='0.77', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='6.25e-08', ts2='13.14', photon_index='2.36' WHERE bin_id='1612' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 01:16:35 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 363996: <4FGL_J1419.8+5423_daily_bin1612> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin1612> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Dec  8 01:00:33 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 01:03:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 01:03:53 2021
Terminated at Wed Dec  8 01:16:35 2021
Results reported at Wed Dec  8 01:16:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin1612 214.955 54.3937 657158401 657417601 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 :                                   752.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             359.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            962 sec.

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

