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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1501
RA = 215.577, Dec = 32.3911
tmin = 628387201, tmax = 628646401
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='385885', job_status='RUN', time_executed='2021-09-09 11:55:14.074998', time_epoch_executed='1631213714.08' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1501'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/385885

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/385885/ft1_4FGL_J1422.3+3223_daily_bin1501.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/385885/ft2_4FGL_J1422.3+3223_daily_bin1501.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/385885/ft1_4FGL_J1422.3+3223_daily_bin1501.fits outfile=/scratch/kocevski/385885/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1501.fits ra=215.577 dec=32.3911 rad=12.0 tmin=628387201.0 tmax=628646401.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.57
user 3.33
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/385885/ft2_4FGL_J1422.3+3223_daily_bin1501.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/385885/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1501.fits evtable="EVENTS" outfile="/scratch/kocevski/385885/ft1_filtered_4FGL_J1422.3+3223_daily_bin1501.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.53
user 0.36
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/385885/ft1_filtered_4FGL_J1422.3+3223_daily_bin1501.fits evtable="EVENTS" scfile=/scratch/kocevski/385885/ft2_4FGL_J1422.3+3223_daily_bin1501.fits sctable="SC_DATA" expcube=/scratch/kocevski/385885/ltcube_628387201_628646401_4FGL_J1422.3+3223_daily_bin1501.fits outfile=/scratch/kocevski/385885/expmap_628387201_628646401_4FGL_J1422.3+3223_daily_bin1501.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/385885/ltcube_628387201_628646401_4FGL_J1422.3+3223_daily_bin1501.fits
.....................!
real 192.50
user 187.50
sys 4.62

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/385885/ft1_filtered_4FGL_J1422.3+3223_daily_bin1501.fits scfile=/scratch/kocevski/385885/ft2_4FGL_J1422.3+3223_daily_bin1501.fits outfile=/scratch/kocevski/385885/cmap_628387201_628646401_4FGL_J1422.3+3223_daily_bin1501.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/385885/ft1_filtered_4FGL_J1422.3+3223_daily_bin1501.fits scfile=/scratch/kocevski/385885/ft2_4FGL_J1422.3+3223_daily_bin1501.fits outfile=/scratch/kocevski/385885/cmap_HighResolution_628387201_628646401_4FGL_J1422.3+3223_daily_bin1501.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/385885/ft1_filtered_4FGL_J1422.3+3223_daily_bin1501.fits', '/scratch/kocevski/385885/ft2_4FGL_J1422.3+3223_daily_bin1501.fits', expMap='/scratch/kocevski/385885/expmap_628387201_628646401_4FGL_J1422.3+3223_daily_bin1501.fits', expCube='/scratch/kocevski/385885/ltcube_628387201_628646401_4FGL_J1422.3+3223_daily_bin1501.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/385885/Model_4FGL_J1422.3+3223_daily_bin1501.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/385885/ft1_filtered_4FGL_J1422.3+3223_daily_bin1501.fits
Spacecraft file(s): /scratch/kocevski/385885/ft2_4FGL_J1422.3+3223_daily_bin1501.fits
Exposure map: /scratch/kocevski/385885/expmap_628387201_628646401_4FGL_J1422.3+3223_daily_bin1501.fits
Exposure cube: /scratch/kocevski/385885/ltcube_628387201_628646401_4FGL_J1422.3+3223_daily_bin1501.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/385885/Model_4FGL_J1422.3+3223_daily_bin1501.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) = 6821.52065821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12940E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10930E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .66346       1.0000         .10000E-03   10000.    
     5 'norm      '    9.2891       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    11.676       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10259E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10323E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.8764       1.0000         .10000E-03   10000.    
    11 'norm      '    .10692E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.6649       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.7355       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.2096       1.0000         .10000E-03   10000.    
    16 'norm      '    2.3948       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.6969       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .26334E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9212       1.0000         .10000E-03   10000.    
    21 'norm      '    1.3607       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2660       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82615       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=   6821.472     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2203 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.854        .20048E-06** at limit **
   2  Prefactor     .10040E-03    10.667       -.20041E-05** at limit **
   3  Prefactor     .10000E-03    69.555        .17869E-04** at limit **
   4  Prefactor     .68014        5.0233       -.32470E-06   -.15975E-04
   5  norm          9.2833        12.815       -.29622E-05   -.91567E-04
   6  Prefactor     .10000E-03    7.8919        .43176E-06** at limit **
   7  norm          11.679        5.5139       -.13720E-06    .36559E-04
   8  Prefactor     .10000E-03    4.0743       -.58821E-08** at limit **
   9  Prefactor     .10000E-03    5.0161        .59344E-08** at limit **
  10  Prefactor     9.8763        4.7421       -.16890E-05   -.28322E-03
  11  norm          .10000E-03    8.5335       -.12709E-05** at limit **
  12  norm          6.6660        2.6994       -.31484E-07    .20873E-04
  13  Prefactor     .10000E-03    10.432        .56760E-06** at limit **
  14  norm          1.7375        1.7233        .12536E-06   -.78510E-03
  15  Prefactor     8.2230        23.556        .40722E-05    .49188E-04
  16  norm          2.3948        2.7031       -.41580E-07   -.18315E-05
  17  Prefactor     .10000E-03    7.8987        .39629E-06** at limit **
  18  norm          2.6936        6.2448       -.28297E-06   -.14845E-03
  19  Prefactor     .10075E-03    7.7982       -.31999E-05** at limit **
  20  Prefactor     5.9368        8.3576        .23068E-05    .51233E-03
  21  norm          1.3597        1.2601       -.28493E-06    .43097E-03
  22  Normalizat    1.2660        .17051        .10589E-05    .38333E-03
  23  Prefactor     .82613        .17324        .13937E-07    .36109E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100404
  Prefactor  = 0.000100002
  Prefactor  = 0.68014
  norm       = 9.28326
  Prefactor  = 0.0001
  norm       = 11.6791
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.87633
  norm       = 0.0001
  norm       = 6.66601
  Prefactor  = 0.0001
  norm       = 1.73751
  Prefactor  = 8.22301
  norm       = 2.39476
  Prefactor  = 0.0001
  norm       = 2.6936
  Prefactor  = 0.000100748
  Prefactor  = 5.93676
  norm       = 1.35973
  Normalizat = 1.26597
  Prefactor  = 0.826126
 **********
 **   18 **HESSE 
 **********

 FCN=   6821.472     FROM HESSE     STATUS=OK           378 CALLS     2581 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10040E-03    83.033        .51777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    69.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .68014        5.2706        .34705E-02   -1.5543    
   5  norm          9.2833        12.841        .13149E-03   -1.5099    
   6  Prefactor     .10000E-03    7.9061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.679        5.5146        .11724E-03   -1.5024    
   8  Prefactor     .10000E-03    4.0817        .16280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.0264        .18064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.8763        4.7466        .11738E-03   -1.5079    
  11  norm          .10000E-03    8.5821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.6660        2.7015        .83635E-04   -1.5192    
  13  Prefactor     .10000E-03    10.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7375        5.2235        .15572E-02   -1.5444    
  15  Prefactor     8.2230        23.590        .13992E-03   -1.5134    
  16  norm          2.3948        2.6949        .14004E-03   -1.5398    
  17  Prefactor     .10000E-03    7.9023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.6936        6.3868        .12403E-02   -1.5380    
  19  Prefactor     .10075E-03    60.274        .41973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.9368        8.2865        .16503E-03   -1.5221    
  21  norm          1.3597        1.2504        .80066E-04   -1.5475    
  22  Normalizat    1.2660        .20598        .22677E-03   -.84588    
  23  Prefactor     .82613        .20792        .28692E-03   -.98772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08355e-07
Minuit parameter uncertainties:
  1  5.87706e-06
  2  0.0115967
  3  0.000778949
  4  3.78685
  5  12.8452
  6  1.1681e-05
  7  5.51479
  8  1.88996e-06
  9  8.38944e-07
  10  4.74681
  11  1.85169e-05
  12  2.70153
  13  7.3436e-07
  14  5.22489
  15  23.6168
  16  2.69502
  17  9.14166e-06
  18  6.38845
  19  0.0134391
  20  8.28807
  21  1.25038
  22  0.206112
  23  0.208117
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  9.876e+00  4.747e+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.261e-01  2.081e-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.266e+00  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.47
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 8.90e-08 +/- 4.27e-08
Energy Flux (Fixed Index): 2.91e-05 +/- 1.40e-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) = 6821.40184051
delta logL = 0.0702667557453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6821.39952424
delta logL = 0.0725830205783

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6416       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5641       1.0000          .0000       10.000    
     3 'Normalizat'    1.2547       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83519       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=   6821.400     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      239 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6416        74.042        .34090E-02    .10129E-02
   2  Index         2.5641        3.2717        .13320        .10203E-03
   3  Normalizat    1.2547        .86151E-01    .51480E-01    .36183E-05
   4  Prefactor     .83518        .85434E-01    .64549E-01    .19386E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.64157
  Index      = 2.56409
  Normalizat = 1.25471
  Prefactor  = 0.835175
 **********
 **   18 **HESSE 
 **********

 FCN=   6821.400     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6416        5.6689        .10782E-03   -1.5120    
   2  Index         2.5641        .46143        .52828E-02   -.50886    
   3  Normalizat    1.2547        .19990        .22761E-03   -.84929    
   4  Prefactor     .83518        .20678        .28552E-03   -.98444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16196e-09
Minuit parameter uncertainties:
  1  5.66928
  2  0.462296
  3  0.200025
  4  0.206969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/385885': 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) = 6821.39952423
delta logL = 0.0725830270994

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  8.642e+00  5.669e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.564e+00  4.623e-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.352e-01  2.070e-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.255e+00  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.64
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.56 +/- 0.46
Photon Flux (Free Index): 9.69e-08 +/- 4.86e-08
Energy Flux (Free Index): 2.63e-05 +/- 1.44e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/385885/cmap_HighResolution_628387201_628646401_4FGL_J1422.3+3223_daily_bin1501.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.90e-08', energy_flux2='2.63e-05', photon_flux_error='4.27e-08', dlogl='7.26e-02', energy_flux='2.91e-05', photon_flux2='9.69e-08', job_status='DONE', time_completed='2021-09-09 12:05:02.870597', photon_index_error2='0.46', photon_index2='2.56', ts='7.47', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.44e-05', EG='1.27', time_epoch_completed='1631214302.87', return_code='0', job_id='385885', GAL2='0.84', EG2='1.25', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='4.86e-08', ts2='7.64', photon_index='2.40' WHERE bin_id='1501' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 12:05:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 385885: <4FGL_J1422.3+3223_daily_bin1501> in cluster <slac> Done

Job <4FGL_J1422.3+3223_daily_bin1501> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 11:51:12 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 11:51:14 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:51:14 2021
Terminated at Thu Sep  9 12:05:03 2021
Results reported at Thu Sep  9 12:05:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1501 215.577 32.3911 628387201 628646401 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 :                                   578.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             208.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            831 sec.

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

