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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1429
RA = 215.577, Dec = 32.3911
tmin = 609724801, tmax = 609984001
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='384815', job_status='RUN', time_executed='2021-09-09 11:47:13.225171', time_epoch_executed='1631213233.23' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1429'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384815

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384815/ft1_4FGL_J1422.3+3223_daily_bin1429.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384815/ft1_4FGL_J1422.3+3223_daily_bin1429.fits outfile=/scratch/kocevski/384815/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1429.fits ra=215.577 dec=32.3911 rad=12.0 tmin=609724801.0 tmax=609984001.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 2.62
user 2.44
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.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/384815/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1429.fits evtable="EVENTS" outfile="/scratch/kocevski/384815/ft1_filtered_4FGL_J1422.3+3223_daily_bin1429.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.49
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384815/ft1_filtered_4FGL_J1422.3+3223_daily_bin1429.fits" evtable="EVENTS" scfile=/scratch/kocevski/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.fits sctable="SC_DATA" outfile=/scratch/kocevski/384815/ltcube_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.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/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.fits
.....................!
real 12.16
user 11.81
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384815/ft1_filtered_4FGL_J1422.3+3223_daily_bin1429.fits evtable="EVENTS" scfile=/scratch/kocevski/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.fits sctable="SC_DATA" expcube=/scratch/kocevski/384815/ltcube_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.fits outfile=/scratch/kocevski/384815/expmap_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.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/384815/ltcube_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.fits
.....................!
real 190.04
user 185.86
sys 3.87

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 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J1422.3+3223 @ 215.577 32.3911

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/384815/ft1_filtered_4FGL_J1422.3+3223_daily_bin1429.fits scfile=/scratch/kocevski/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.fits outfile=/scratch/kocevski/384815/cmap_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.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=215.577 yref=32.3911 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/384815/ft1_filtered_4FGL_J1422.3+3223_daily_bin1429.fits scfile=/scratch/kocevski/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.fits outfile=/scratch/kocevski/384815/cmap_HighResolution_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.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=215.577 yref=32.3911 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384815/ft1_filtered_4FGL_J1422.3+3223_daily_bin1429.fits evtable="EVENTS" scfile=/scratch/kocevski/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384815/Model_4FGL_J1422.3+3223_daily_bin1429.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/384815/ft1_filtered_4FGL_J1422.3+3223_daily_bin1429.fits.....................!
real 69.56
user 68.23
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/384815/ft1_filtered_4FGL_J1422.3+3223_daily_bin1429.fits', '/scratch/kocevski/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.fits', expMap='/scratch/kocevski/384815/expmap_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.fits', expCube='/scratch/kocevski/384815/ltcube_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/384815/Model_4FGL_J1422.3+3223_daily_bin1429.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1422.3+3223'

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.864e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.401e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.500e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/384815/ft1_filtered_4FGL_J1422.3+3223_daily_bin1429.fits
Spacecraft file(s): /scratch/kocevski/384815/ft2_4FGL_J1422.3+3223_daily_bin1429.fits
Exposure map: /scratch/kocevski/384815/expmap_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.fits
Exposure cube: /scratch/kocevski/384815/ltcube_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/384815/Model_4FGL_J1422.3+3223_daily_bin1429.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) = 9973.83293334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15832       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.475       1.0000         .10000E-03   10000.    
    10 'Prefactor '    50.105       1.0000         .10000E-03   10000.    
    11 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.3450       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .37771E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.710       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.2245       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7177       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.7289       1.0000         .10000E-03   10000.    
    21 'norm      '    .34241E-01   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1209       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84475       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9973.688     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2257 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.737        .46000E-05** at limit **
   2  Prefactor     .10000E-03    11.021       -.37621E-05** at limit **
   3  Prefactor     .10000E-03    25.230       -.42910E-05** at limit **
   4  Prefactor     .15379        1.2548        .30235E-09   -.84325E-04
   5  norm          .10000E-03    7.9281        .37781E-05** at limit **
   6  Prefactor     .10000E-03    6.5604       -.30187E-05** at limit **
   7  norm          .10000E-03    1.1109        .62300E-07** at limit **
   8  Prefactor     .10000E-03    5.7733        .10497E-05** at limit **
   9  Prefactor     11.479        10.846        .57178E-07   -.50956E-04
  10  Prefactor     50.106        6.1659       -.68272E-08   -.71023E-04
  11  norm          .10000E-03    3.7664        .66877E-07** at limit **
  12  norm          6.3451        2.4504       -.69040E-08   -.86567E-05
  13  Prefactor     .10000E-03    17.386        .12372E-05** at limit **
  14  norm          .10000E-03    2.1282       -.12119E-06** at limit **
  15  Prefactor     32.710        26.207       -.12890E-06   -.11289E-04
  16  norm          .10000E-03    .98658        .45779E-07** at limit **
  17  Prefactor     .10000E-03    24.193       -.10285E-05** at limit **
  18  norm          5.2239        5.2175       -.43109E-07    .24168E-04
  19  Prefactor     3.7170        4.6046        .15214E-05   -.19313E-02
  20  Prefactor     6.7281        4.5708        .19936E-06    .12657E-03
  21  norm          .34927E-01    .34987       -.74448E-07   -.11571E-03
  22  Normalizat    1.1207        .14008       -.36452E-06   -.69074E-04
  23  Prefactor     .84484        .14042        .36264E-07   -.76908E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.153785
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4794
  Prefactor  = 50.1057
  norm       = 0.0001
  norm       = 6.34507
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 32.71
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.22391
  Prefactor  = 3.71704
  Prefactor  = 6.72814
  norm       = 0.0349269
  Normalizat = 1.12074
  Prefactor  = 0.844843
 **********
 **   18 **HESSE 
 **********

 FCN=   9973.688     FROM HESSE     STATUS=OK           372 CALLS     2629 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15379        10.631        .21416E-02   -1.5630    
   5  norm          .10000E-03    8.1078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.6601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.9009        .20405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.8002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.479        10.856        .11826E-03   -1.5030    
  10  Prefactor     50.106        6.1862        .56654E-04   -1.4291    
  11  norm          .10000E-03    3.7706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.3451        2.4532        .94110E-04   -1.5204    
  13  Prefactor     .10000E-03    17.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    21.427        .27522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.710        26.084        .70062E-04   -1.4563    
  16  norm          .10000E-03    .99063        .96864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.2239        5.2187        .17586E-03   -1.5251    
  19  Prefactor     3.7170        7.2597        .10472E-02   -1.5322    
  20  Prefactor     6.7281        4.5800        .15468E-03   -1.5189    
  21  norm          .34927E-01    2.4525        .11195E-02   -1.5671    
  22  Normalizat    1.1207        .16854        .23956E-03   -.89089    
  23  Prefactor     .84484        .16928        .28249E-03   -.98096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99393e-08
Minuit parameter uncertainties:
  1  0.000258657
  2  0.000162455
  3  0.000275438
  4  2.55695
  5  0.000133367
  6  9.8026e-05
  7  1.30023e-06
  8  3.40623e-05
  9  10.8576
  10  6.1863
  11  1.82191e-06
  12  2.45325
  13  6.60278e-05
  14  0.000363694
  15  26.0931
  16  7.95756e-07
  17  5.21317e-05
  18  5.21911
  19  7.26138
  20  4.58021
  21  0.58453
  22  0.168622
  23  0.169389
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  5.011e+01  6.186e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.401e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.500e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  8.448e-01  1.694e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.121e+00  1.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 215.88
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 4.52e-07 +/- 5.57e-08
Energy Flux (Fixed Index): 1.48e-04 +/- 1.82e-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) = 9973.6868842
delta logL = 0.00144544192153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9973.68572702
delta logL = 0.00260261635231

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.455       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3917       1.0000          .0000       10.000    
     3 'Normalizat'    1.1231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84323       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9973.686     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      201 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.455        13.806        .14115E-02   -.26659E-02
   2  Index         2.3918        .21922        .48968E-01    .16641E-03
   3  Normalizat    1.1231        .13877        .54134E-01    .11106E-04
   4  Prefactor     .84317        .14103        .63923E-01    .25090E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.4546
  Index      = 2.39179
  Normalizat = 1.12312
  Prefactor  = 0.843166
 **********
 **   18 **HESSE 
 **********

 FCN=   9973.686     FROM HESSE     STATUS=OK            29 CALLS      230 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.455        7.8849        .56459E-04   -1.4286    
   2  Index         2.3918        .12700        .21429E-03   -.54877    
   3  Normalizat    1.1231        .16604        .23936E-03   -.89013    
   4  Prefactor     .84317        .16857        .28274E-03   -.98156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81585e-10
Minuit parameter uncertainties:
  1  7.88504
  2  0.127014
  3  0.166116
  4  0.16867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384815': 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) = 9973.68572664
delta logL = 0.00260300353875

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  5.045e+01  7.885e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.392e+00  1.270e-01  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  7.500e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  8.432e-01  1.687e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.123e+00  1.661e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 214.73
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.39 +/- 0.13
Photon Flux (Free Index): 4.49e-07 +/- 6.35e-08
Energy Flux (Free Index): 1.49e-04 +/- 2.38e-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/384815/cmap_HighResolution_609724801_609984001_4FGL_J1422.3+3223_daily_bin1429.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.52e-07', energy_flux2='1.49e-04', photon_flux_error='5.57e-08', dlogl='2.60e-03', energy_flux='1.48e-04', photon_flux2='4.49e-07', job_status='DONE', time_completed='2021-09-09 11:58:52.358401', photon_index_error2='0.13', photon_index2='2.39', ts='215.88', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='2.38e-05', EG='1.12', time_epoch_completed='1631213932.36', return_code='0', job_id='384815', GAL2='0.84', EG2='1.12', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='6.35e-08', ts2='214.73', photon_index='2.40' WHERE bin_id='1429' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 11:58:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 384815: <4FGL_J1422.3+3223_daily_bin1429> in cluster <slac> Done

Job <4FGL_J1422.3+3223_daily_bin1429> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 11:46:52 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 11:46: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 11:46:53 2021
Terminated at Thu Sep  9 11:58:53 2021
Results reported at Thu Sep  9 11:58:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1429 215.577 32.3911 609724801 609984001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1422.3+3223 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   678.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             332.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            721 sec.

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

