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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin938
RA = 214.894, Dec = 38.3657
tmin = 482457601, tmax = 482716801
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='342985', job_status='RUN', time_executed='2021-09-09 09:30:44.694874', time_epoch_executed='1631205044.69' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/342985

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/342985/ft1_4FGL_J1419.5+3821_daily_bin938.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/342985/ft2_4FGL_J1419.5+3821_daily_bin938.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/342985/ft1_4FGL_J1419.5+3821_daily_bin938.fits outfile=/scratch/kocevski/342985/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin938.fits ra=214.894 dec=38.3657 rad=12.0 tmin=482457601.0 tmax=482716801.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.51
user 3.30
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/342985/ft2_4FGL_J1419.5+3821_daily_bin938.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/342985/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin938.fits evtable="EVENTS" outfile="/scratch/kocevski/342985/ft1_filtered_4FGL_J1419.5+3821_daily_bin938.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/342985/ft1_filtered_4FGL_J1419.5+3821_daily_bin938.fits" evtable="EVENTS" scfile=/scratch/kocevski/342985/ft2_4FGL_J1419.5+3821_daily_bin938.fits sctable="SC_DATA" outfile=/scratch/kocevski/342985/ltcube_482457601_482716801_4FGL_J1419.5+3821_daily_bin938.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/342985/ft2_4FGL_J1419.5+3821_daily_bin938.fits
.....................!
real 11.62
user 11.32
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/342985/ft1_filtered_4FGL_J1419.5+3821_daily_bin938.fits evtable="EVENTS" scfile=/scratch/kocevski/342985/ft2_4FGL_J1419.5+3821_daily_bin938.fits sctable="SC_DATA" expcube=/scratch/kocevski/342985/ltcube_482457601_482716801_4FGL_J1419.5+3821_daily_bin938.fits outfile=/scratch/kocevski/342985/expmap_482457601_482716801_4FGL_J1419.5+3821_daily_bin938.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/342985/ltcube_482457601_482716801_4FGL_J1419.5+3821_daily_bin938.fits
.....................!
real 191.53
user 187.08
sys 4.09

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/342985/ft1_filtered_4FGL_J1419.5+3821_daily_bin938.fits scfile=/scratch/kocevski/342985/ft2_4FGL_J1419.5+3821_daily_bin938.fits outfile=/scratch/kocevski/342985/cmap_482457601_482716801_4FGL_J1419.5+3821_daily_bin938.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=214.894 yref=38.3657 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

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

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.147       1.0000         .10000E-03   10000.    
     3 'norm      '    4.7881       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4541       1.0000         .10000E-03   10000.    
     5 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.6083       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.5218       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.340       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7449       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8242       1.0000         .10000E-03   10000.    
    14 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0323       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.069       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.762       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10766E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.4493       1.0000         .10000E-03   10000.    
    22 'norm      '    3.0534       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.2265       1.0000         .10000E-03   10000.    
    24 'Prefactor '    18.456       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .99176       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .68300       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=   5606.497     FROM MIGRAD    STATUS=CONVERGED    602 CALLS     3113 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.371       -.20740E-06** at limit **
   2  Prefactor     31.059        76.885       -.46630E-05   -.25609E-04
   3  norm          4.7878        1.5719       -.84991E-07   -.14191E-03
   4  Prefactor     2.4538        2.3360       -.10073E-06   -.57643E-04
   5  norm          .10000E-03    26.663       -.17182E-05** at limit **
   6  Prefactor     .10000E-03    6.3307        .45074E-07** at limit **
   7  Prefactor     .10000E-03    25.716        .77019E-07** at limit **
   8  Prefactor     6.6088        4.0849       -.16151E-07   -.68767E-04
   9  Prefactor     .10000E-03    17.502        .94873E-06** at limit **
  10  norm          3.5217        2.7169       -.42851E-07    .11316E-04
  11  Prefactor     11.286        13.686        .48667E-06    .22530E-03
  12  Prefactor     1.7811        38.256       -.88788E-06    .29707E-04
  13  Prefactor     4.8234        3.4292       -.91365E-07    .66584E-04
  14  norm          .10000E-03    5.7918        .17640E-06** at limit **
  15  Prefactor     4.0260        17.249        .71838E-06    .35669E-04
  16  norm          .10000E-03    2.9152        .18167E-06** at limit **
  17  Prefactor     21.057        31.429       -.25841E-06   -.30172E-05
  18  Prefactor     10.761        18.967       -.20564E-06    .31183E-05
  19  norm          .10000E-03    5.3964        .23952E-06** at limit **
  20  Prefactor     .10000E-03    28.305        .15896E-05** at limit **
  21  Prefactor     4.4491        6.6287        .17061E-06    .66943E-04
  22  norm          3.0534        1.6991       -.83431E-07    .75019E-05
  23  Prefactor     4.2243        10.666        .71515E-07    .64259E-04
  24  Prefactor     18.387        39.383       -.35323E-06   -.51783E-04
  25  Normalizat    .99217        .19005        .57019E-05    .87657E-05
  26  Prefactor     .68255        .20819       -.71063E-05    .69658E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 31.0595
  norm       = 4.78783
  Prefactor  = 2.45384
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.60881
  Prefactor  = 0.0001
  norm       = 3.52171
  Prefactor  = 11.286
  Prefactor  = 1.7811
  Prefactor  = 4.82343
  norm       = 0.0001
  Prefactor  = 4.02599
  norm       = 0.0001
  Prefactor  = 21.0571
  Prefactor  = 10.7608
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.4491
  norm       = 3.0534
  Prefactor  = 4.22435
  Prefactor  = 18.3866
  Normalizat = 0.992167
  Prefactor  = 0.682546
 **********
 **   18 **HESSE 
 **********

 FCN=   5606.497     FROM HESSE     STATUS=OK           460 CALLS     3573 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.059        77.013        .71793E-04   -1.4593    
   3  norm          4.7878        1.5719        .51568E-04   -1.5270    
   4  Prefactor     2.4538        2.3437        .10848E-03   -1.5395    
   5  norm          .10000E-03    27.917        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.3422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.6088        4.0841        .11541E-03   -1.5194    
   9  Prefactor     .10000E-03    17.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.5217        2.7173        .10502E-03   -1.5333    
  11  Prefactor     11.286        12.913        .11897E-03   -1.5036    
  12  Prefactor     1.7811        33.640        .31752E-03   -1.5441    
  13  Prefactor     4.8234        3.4270        .11142E-03   -1.5269    
  14  norm          .10000E-03    5.7954        .17594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.0260        17.239        .20081E-03   -1.5307    
  16  norm          .10000E-03    2.9423        .12479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     21.057        31.401        .87262E-04   -1.4790    
  18  Prefactor     10.761        18.964        .12213E-03   -1.5052    
  19  norm          .10000E-03    5.4464        .16992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.395        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.4491        6.6167        .19090E-03   -1.5286    
  22  norm          3.0534        1.6947        .65533E-04   -1.5358    
  23  Prefactor     4.2243        10.676        .19601E-03   -1.5297    
  24  Prefactor     18.387        39.547        .93229E-04   -1.4850    
  25  Normalizat    .99217        .19049        .20248E-03   -.93293    
  26  Prefactor     .68255        .20864        .27958E-03   -1.0422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82214e-10
Minuit parameter uncertainties:
  1  1.5291e-05
  2  77.2612
  3  1.57189
  4  2.34374
  5  0.000283762
  6  1.47755e-06
  7  1.65949e-05
  8  4.08425
  9  6.90578e-05
  10  2.71742
  11  12.9163
  12  15.4908
  13  3.42719
  14  1.14857e-05
  15  16.6698
  16  5.62755e-06
  17  31.4259
  18  18.9742
  19  1.66915e-05
  20  0.000195843
  21  6.61779
  22  1.69473
  23  10.6812
  24  39.6037
  25  0.190625
  26  0.208881
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.129e+01  1.292e+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:  6.825e-01  2.089e-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.922e-01  1.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.85
Ra Dec: 214.894 38.366
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 2.82e-08 +/- 3.22e-08
Energy Flux (Fixed Index): 8.44e-06 +/- 9.65e-06

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

Saving results to:
/scratch/kocevski/342985/likelihoodResults_482457601_482716801_4FGL_J1419.5+3821_daily_bin938.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) = 5606.48679718
delta logL = 0.0101414013161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5606.47795322
delta logL = 0.0189853571401

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.259       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3233       1.0000          .0000       10.000    
     3 'Normalizat'    .99585       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67936       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=   5606.478     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      259 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.254        16.246        .11000E-03    .14345E-03
   2  Index         2.3231        .78366        .83521E-02    .15779E-04
   3  Normalizat    .99602        .17737        .20213E-03    .11286E-03
   4  Prefactor     .67916        .20565        .28021E-03    .13511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2536
  Index      = 2.32312
  Normalizat = 0.996024
  Prefactor  = 0.679158
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.254        15.399        .44001E-05   -1.4980    
   2  Index         2.3231        .74290        .33408E-03   -.56495    
   3  Normalizat    .99602        .17739        .40425E-04   -.93164    
   4  Prefactor     .67916        .20570        .11208E-04   -1.0435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49386e-11
Minuit parameter uncertainties:
  1  15.4033
  2  0.746789
  3  0.177499
  4  0.205935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/342985': 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) = 5606.47795255
delta logL = 0.0189860303299

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.325e+01  1.540e+01  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.323e+00  7.468e-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:  6.792e-01  2.059e-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.960e-01  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.89
Ra Dec: 214.894 38.366
Photon Index (Free Index): 2.32 +/- 0.75
Photon Flux (Free Index): 2.58e-08 +/- 2.75e-08
Energy Flux (Free Index): 9.41e-06 +/- 1.04e-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/342985/cmap_HighResolution_482457601_482716801_4FGL_J1419.5+3821_daily_bin938.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', comment='SUCCESS', photon_flux='2.82e-08', energy_flux2='9.41e-06', photon_flux_error='3.22e-08', dlogl='1.90e-02', energy_flux='8.44e-06', photon_flux2='2.58e-08', job_status='DONE', time_completed='2021-09-09 09:42:14.472413', photon_index_error2='0.75', photon_index2='2.32', ts='1.85', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='8.89e-08', energy_flux_error2='1.04e-05', EG='0.99', time_epoch_completed='1631205734.47', return_code='0', job_id='342985', GAL2='0.68', EG2='1.00', return_code2='0', energy_flux_error='9.65e-06', photon_flux_error2='2.75e-08', ts2='1.89', photon_index='2.47' WHERE bin_id='938' 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@bullet0245>
Subject: Job 342985: <4FGL_J1419.5+3821_daily_bin938> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin938> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 09:30:30 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:30:31 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:30:31 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_bin938 214.894 38.3657 482457601 482716801 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 :                                   684.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            704 sec.

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

