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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1256
RA = 214.894, Dec = 38.3657
tmin = 564883201, tmax = 565142401
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='344581', job_status='RUN', time_executed='2021-09-09 09:35:46.743721', time_epoch_executed='1631205346.74' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/344581

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/344581/ft1_4FGL_J1419.5+3821_daily_bin1256.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/344581/ft2_4FGL_J1419.5+3821_daily_bin1256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/344581/ft1_4FGL_J1419.5+3821_daily_bin1256.fits outfile=/scratch/kocevski/344581/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1256.fits ra=214.894 dec=38.3657 rad=12.0 tmin=564883201.0 tmax=565142401.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.54
user 3.31
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/344581/ft1_filtered_4FGL_J1419.5+3821_daily_bin1256.fits evtable="EVENTS" scfile=/scratch/kocevski/344581/ft2_4FGL_J1419.5+3821_daily_bin1256.fits sctable="SC_DATA" expcube=/scratch/kocevski/344581/ltcube_564883201_565142401_4FGL_J1419.5+3821_daily_bin1256.fits outfile=/scratch/kocevski/344581/expmap_564883201_565142401_4FGL_J1419.5+3821_daily_bin1256.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/344581/ltcube_564883201_565142401_4FGL_J1419.5+3821_daily_bin1256.fits
.....................!
real 191.66
user 185.44
sys 5.78

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/344581/ft1_filtered_4FGL_J1419.5+3821_daily_bin1256.fits scfile=/scratch/kocevski/344581/ft2_4FGL_J1419.5+3821_daily_bin1256.fits outfile=/scratch/kocevski/344581/cmap_564883201_565142401_4FGL_J1419.5+3821_daily_bin1256.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/344581/ft1_filtered_4FGL_J1419.5+3821_daily_bin1256.fits scfile=/scratch/kocevski/344581/ft2_4FGL_J1419.5+3821_daily_bin1256.fits outfile=/scratch/kocevski/344581/cmap_HighResolution_564883201_565142401_4FGL_J1419.5+3821_daily_bin1256.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.329       1.0000         .10000E-03   10000.    
     2 'Prefactor '    42.845       1.0000         .10000E-03   10000.    
     3 'norm      '    8.9567       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1415       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    45.709       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0580       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10391E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .44074       1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.761       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.7494       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.8882       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4976       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.433       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.380       1.0000         .10000E-03   10000.    
    19 'norm      '    4.1810       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.6165       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .15572E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.369       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0831       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .80760       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=   7839.120     FROM MIGRAD    STATUS=CONVERGED    600 CALLS     3093 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.328        25.982        .32193E-06    .12017E-04
   2  Prefactor     42.870        60.396       -.10526E-05   -.11838E-03
   3  norm          8.9572        1.9540        .97361E-08   -.48323E-03
   4  Prefactor     1.1413        2.1820        .16282E-06    .13636E-03
   5  norm          .10000E-03    4.4341       -.98399E-07** at limit **
   6  Prefactor     .10000E-03    6.3493       -.15901E-07** at limit **
   7  Prefactor     45.691        44.138       -.18123E-05   -.78175E-04
   8  Prefactor     1.0606        2.4397        .24588E-05   -.26341E-04
   9  Prefactor     .10003E-03    38.719       -.21935E-05** at limit **
  10  norm          .44043        2.9517        .61737E-05   -.33169E-03
  11  Prefactor     41.770        18.256       -.62305E-06   -.37345E-03
  12  Prefactor     8.7473        17.159        .64225E-06   -.95286E-04
  13  Prefactor     8.8898        4.1671       -.12183E-06   -.16793E-03
  14  norm          .10000E-03    4.5986        .36488E-07** at limit **
  15  Prefactor     3.4746        38.722        .35910E-05    .72200E-04
  16  norm          .10000E-03    1.8108        .22072E-07** at limit **
  17  Prefactor     31.446        34.537       -.86581E-06   -.26045E-03
  18  Prefactor     12.384        28.585        .24804E-06   -.54836E-04
  19  norm          4.1813        4.5235       -.15707E-06   -.43918E-04
  20  Prefactor     2.6169        9.7706        .77991E-06    .31857E-04
  21  Prefactor     .10000E-03    3.8238        .13129E-06** at limit **
  22  norm          .10000E-03    .54301        .93865E-06** at limit **
  23  Prefactor     .10000E-03    4.6486        .12390E-06** at limit **
  24  Prefactor     13.366        51.566        .12262E-05    .18194E-04
  25  Normalizat    1.0827        .15673       -.56799E-06   -.55670E-03
  26  Prefactor     .80810        .16673       -.88745E-06   -.51312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3282
  Prefactor  = 42.87
  norm       = 8.95725
  Prefactor  = 1.14128
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.6909
  Prefactor  = 1.06064
  Prefactor  = 0.000100032
  norm       = 0.440425
  Prefactor  = 41.7697
  Prefactor  = 8.74734
  Prefactor  = 8.88985
  norm       = 0.0001
  Prefactor  = 3.47461
  norm       = 0.0001
  Prefactor  = 31.4456
  Prefactor  = 12.3841
  norm       = 4.1813
  Prefactor  = 2.61694
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.3663
  Normalizat = 1.08266
  Prefactor  = 0.808103
 **********
 **   18 **HESSE 
 **********

 FCN=   7839.120     FROM HESSE     STATUS=OK           458 CALLS     3551 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.328        25.985        .10971E-03   -1.4978    
   2  Prefactor     42.870        60.841        .61245E-04   -1.4398    
   3  norm          8.9572        1.9625        .54610E-04   -1.5109    
   4  Prefactor     1.1413        2.1381        .17454E-03   -1.5494    
   5  norm          .10000E-03    4.4486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.3607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     45.691        44.532        .59303E-04   -1.4355    
   8  Prefactor     1.0606        2.4475        .22870E-02   -1.5502    
   9  Prefactor     .10003E-03    40.576        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .44043        3.0079        .14648E-02   -1.5575    
  11  Prefactor     41.770        18.188        .62032E-04   -1.4414    
  12  Prefactor     8.7473        17.045        .13551E-03   -1.5116    
  13  Prefactor     8.8898        4.1785        .11604E-03   -1.5112    
  14  norm          .10000E-03    4.6042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4746        39.059        .21619E-03   -1.5335    
  16  norm          .10000E-03    1.8224        .11632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     31.446        34.602        .71467E-04   -1.4586    
  18  Prefactor     12.384        28.600        .11385E-03   -1.5004    
  19  norm          4.1813        4.5233        .95283E-03   -1.5299    
  20  Prefactor     2.6169        9.7284        .25215E-03   -1.5384    
  21  Prefactor     .10000E-03    3.8762        .16882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.9966        .11764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.6660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     13.366        51.065        .10955E-03   -1.4977    
  25  Normalizat    1.0827        .18642        .22142E-03   -.90310    
  26  Prefactor     .80810        .19675        .29050E-03   -.99430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33914e-08
Minuit parameter uncertainties:
  1  26.0069
  2  60.9289
  3  1.96256
  4  2.13824
  5  1.85348e-05
  6  1.40749e-05
  7  44.5645
  8  2.44775
  9  0.00229113
  10  2.30186
  11  18.1906
  12  17.0545
  13  4.17866
  14  8.97603e-06
  15  23.3181
  16  9.48009e-06
  17  34.6241
  18  28.6321
  19  4.52371
  20  9.73428
  21  1.19525e-05
  22  4.19754e-05
  23  2.30891e-06
  24  51.2325
  25  0.186537
  26  0.196917
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  4.177e+01  1.819e+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:  8.081e-01  1.969e-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.083e+00  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.82
Ra Dec: 214.894 38.366
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 1.04e-07 +/- 4.53e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 1.36e-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) = 7839.11704318
delta logL = 0.00297868983125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7839.11249122
delta logL = 0.00753065584649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.813       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5164       1.0000          .0000       10.000    
     3 'Normalizat'    1.0785       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81139       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=   7839.112     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      259 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.820        22.555        .63525E-04    .50110E-04
   2  Index         2.5164        .38530        .40181E-02    .72817E-03
   3  Normalizat    1.0786        .17298        .22175E-03   -.64751E-04
   4  Prefactor     .81129        .19543        .28999E-03    .23091E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.8197
  Index      = 2.51645
  Normalizat = 1.07864
  Prefactor  = 0.811288
 **********
 **   18 **HESSE 
 **********

 FCN=   7839.112     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.820        21.444        .25410E-05   -1.4445    
   2  Index         2.5164        .36614        .80361E-03   -.51980    
   3  Normalizat    1.0786        .17293        .88700E-05   -.90441    
   4  Prefactor     .81129        .19546        .11600E-04   -.99314    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24192e-11
Minuit parameter uncertainties:
  1  21.4485
  2  0.366579
  3  0.173024
  4  0.195631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/344581': 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) = 7839.11249017
delta logL = 0.00753169950076

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  3.982e+01  2.145e+01  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.516e+00  3.666e-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:  8.113e-01  1.956e-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.079e+00  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.90
Ra Dec: 214.894 38.366
Photon Index (Free Index): 2.52 +/- 0.37
Photon Flux (Free Index): 1.07e-07 +/- 4.42e-08
Energy Flux (Free Index): 3.06e-05 +/- 1.19e-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/344581/cmap_HighResolution_564883201_565142401_4FGL_J1419.5+3821_daily_bin1256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.04e-07', energy_flux2='3.06e-05', photon_flux_error='4.53e-08', dlogl='7.53e-03', energy_flux='3.12e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-09 09:48:17.355011', photon_index_error2='0.37', photon_index2='2.52', ts='19.82', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.19e-05', EG='1.08', time_epoch_completed='1631206097.36', return_code='0', job_id='344581', GAL2='0.81', EG2='1.08', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='4.42e-08', ts2='19.90', photon_index='2.47' WHERE bin_id='1256' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:48:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 344581: <4FGL_J1419.5+3821_daily_bin1256> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1256> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 09:35:36 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:35:37 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:35:37 2021
Terminated at Thu Sep  9 09:48:18 2021
Results reported at Thu Sep  9 09:48:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1256 214.894 38.3657 564883201 565142401 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 :                                   744.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            762 sec.

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

