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


Performing analysis on: 4FGL_J1422.3+3223_daily_bin1252
RA = 215.577, Dec = 32.3911
tmin = 563846401, tmax = 564105601
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='384489', job_status='RUN', time_executed='2021-09-09 11:50:33.745627', time_epoch_executed='1631213433.75' WHERE source_name='4FGL J1422.3+3223' and cadence='daily' and bin_id='1252'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384489

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384489/ft1_4FGL_J1422.3+3223_daily_bin1252.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384489/ft2_4FGL_J1422.3+3223_daily_bin1252.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384489/ft1_4FGL_J1422.3+3223_daily_bin1252.fits outfile=/scratch/kocevski/384489/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1252.fits ra=215.577 dec=32.3911 rad=12.0 tmin=563846401.0 tmax=564105601.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.79
user 2.58
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384489/ft2_4FGL_J1422.3+3223_daily_bin1252.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/384489/ft1_filteredMKT_4FGL_J1422.3+3223_daily_bin1252.fits evtable="EVENTS" outfile="/scratch/kocevski/384489/ft1_filtered_4FGL_J1422.3+3223_daily_bin1252.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384489/ft1_filtered_4FGL_J1422.3+3223_daily_bin1252.fits" evtable="EVENTS" scfile=/scratch/kocevski/384489/ft2_4FGL_J1422.3+3223_daily_bin1252.fits sctable="SC_DATA" outfile=/scratch/kocevski/384489/ltcube_563846401_564105601_4FGL_J1422.3+3223_daily_bin1252.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/384489/ft2_4FGL_J1422.3+3223_daily_bin1252.fits
.....................!
real 12.47
user 12.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384489/ft1_filtered_4FGL_J1422.3+3223_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/384489/ft2_4FGL_J1422.3+3223_daily_bin1252.fits sctable="SC_DATA" expcube=/scratch/kocevski/384489/ltcube_563846401_564105601_4FGL_J1422.3+3223_daily_bin1252.fits outfile=/scratch/kocevski/384489/expmap_563846401_564105601_4FGL_J1422.3+3223_daily_bin1252.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/384489/ltcube_563846401_564105601_4FGL_J1422.3+3223_daily_bin1252.fits
.....................!
real 190.47
user 185.19
sys 4.88

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/384489/ft1_filtered_4FGL_J1422.3+3223_daily_bin1252.fits scfile=/scratch/kocevski/384489/ft2_4FGL_J1422.3+3223_daily_bin1252.fits outfile=/scratch/kocevski/384489/cmap_563846401_564105601_4FGL_J1422.3+3223_daily_bin1252.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384489/ft1_filtered_4FGL_J1422.3+3223_daily_bin1252.fits scfile=/scratch/kocevski/384489/ft2_4FGL_J1422.3+3223_daily_bin1252.fits outfile=/scratch/kocevski/384489/cmap_HighResolution_563846401_564105601_4FGL_J1422.3+3223_daily_bin1252.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.020       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5459       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9663       1.0000         .10000E-03   10000.    
     5 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17367E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8736       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.708       1.0000         .10000E-03   10000.    
    11 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.4091       1.0000         .10000E-03   10000.    
    13 'Prefactor '    33.523       1.0000         .10000E-03   10000.    
    14 'norm      '    4.8413       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14169E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.0171       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.0653       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .89119E-01   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4958       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .49407       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=   8722.890     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2265 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2074        .37251E-07** at limit **
   2  Prefactor     17.015        20.149        .19744E-06    .50724E-04
   3  Prefactor     2.4125        246.16        .48240E-06   -.88805E-05
   4  Prefactor     4.9659        2.8620        .39336E-07    .54825E-05
   5  norm          .10000E-03    13.866        .53374E-07** at limit **
   6  Prefactor     .10000E-03    11.072        .24063E-07** at limit **
   7  norm          .10000E-03    1.5266        .39619E-07** at limit **
   8  Prefactor     .10000E-03    19.017       -.68566E-06** at limit **
   9  Prefactor     1.8861        9.2299        .84152E-06    .23985E-04
  10  Prefactor     10.708        3.4523        .46418E-08    .34010E-05
  11  norm          .10000E-03    5.1064       -.21737E-07** at limit **
  12  norm          3.4091        1.8617        .12783E-07   -.17803E-05
  13  Prefactor     33.536        20.873       -.51047E-06   -.34605E-03
  14  norm          4.8415        4.0096       -.13695E-06   -.97204E-04
  15  Prefactor     .10000E-03    48.175       -.81255E-06** at limit **
  16  norm          4.0172        4.0354        .27309E-06   -.12374E-03
  17  Prefactor     .10000E-03    21.404        .30119E-06** at limit **
  18  norm          1.0650        9.6049        .47685E-05   -.37225E-04
  19  Prefactor     .10000E-03    7.8467       -.26296E-06** at limit **
  20  Prefactor     .10000E-03    2.8686       -.89034E-07** at limit **
  21  norm          .88106E-01    .49467       -.91539E-07    .29230E-03
  22  Normalizat    1.4960        .14954        .49725E-06   -.10477E-03
  23  Prefactor     .49393        .14834       -.16622E-05   -.15048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 17.0153
  Prefactor  = 2.4125
  Prefactor  = 4.96592
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.88612
  Prefactor  = 10.7076
  norm       = 0.0001
  norm       = 3.40909
  Prefactor  = 33.5361
  norm       = 4.84152
  Prefactor  = 0.0001
  norm       = 4.01716
  Prefactor  = 0.0001
  norm       = 1.06496
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0881064
  Normalizat = 1.49604
  Prefactor  = 0.493927
 **********
 **   18 **HESSE 
 **********

 FCN=   8722.890     FROM HESSE     STATUS=OK           370 CALLS     2635 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2088        .16335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.015        20.162        .97083E-04   -1.4883    
   3  Prefactor     2.4125        249.33        .25592E-03   -1.5397    
   4  Prefactor     4.9659        2.8624        .11596E-03   -1.5262    
   5  norm          .10000E-03    14.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.5590        .11263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.192        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8861        8.9417        .30424E-03   -1.5433    
  10  Prefactor     10.708        3.4609        .94607E-04   -1.5053    
  11  norm          .10000E-03    5.1261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.4091        1.8628        .91388E-04   -1.5339    
  13  Prefactor     33.536        20.859        .69210E-04   -1.4549    
  14  norm          4.8415        4.0044        .16352E-03   -1.5268    
  15  Prefactor     .10000E-03    48.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.0172        4.0333        .17863E-03   -1.5307    
  17  Prefactor     .10000E-03    21.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.0650        9.6427        .47270E-03   -1.5502    
  19  Prefactor     .10000E-03    7.9491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8894        .15426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .88106E-01    2.9187        .12433E-02   -1.5649    
  22  Normalizat    1.4960        .17110        .20285E-03   -.77890    
  23  Prefactor     .49393        .16722        .33756E-03   -1.1226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74586e-10
Minuit parameter uncertainties:
  1  1.61714e-07
  2  20.1696
  3  49.263
  4  2.86253
  5  1.34264e-05
  6  2.80906e-06
  7  4.70412e-07
  8  0.000130212
  9  8.21522
  10  3.46098
  11  1.4546e-06
  12  1.86285
  13  20.8633
  14  4.00465
  15  4.85856e-05
  16  4.03354
  17  6.3018e-05
  18  6.41015
  19  4.16294e-05
  20  4.57507e-06
  21  1.01368
  22  0.171162
  23  0.16739
Done.

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

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.071e+01  3.461e+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:  4.939e-01  1.674e-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.496e+00  1.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 28.75
Ra Dec: 215.577 32.391
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 9.65e-08 +/- 3.12e-08
Energy Flux (Fixed Index): 3.16e-05 +/- 1.02e-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) = 8722.31359167
delta logL = 0.576326070555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8722.21935119
delta logL = 0.670566551395

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.564       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0632       1.0000          .0000       10.000    
     3 'Normalizat'    1.5235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .47430       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=   8722.219     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      217 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.565        7.1510        .28253E-02   -.41195E-04
   2  Index         2.0632        .43325        .13681        .30576E-05
   3  Normalizat    1.5234        .14542        .45562E-01   -.12839E-03
   4  Prefactor     .47444        .14575        .77630E-01    .47268E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.5649
  Index      = 2.06321
  Normalizat = 1.52342
  Prefactor  = 0.474436
 **********
 **   18 **HESSE 
 **********

 FCN=   8722.219     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.565        4.2251        .10586E-03   -1.4999    
   2  Index         2.0632        .27732        .55654E-02   -.62779    
   3  Normalizat    1.5234        .16320        .20139E-03   -.77122    
   4  Prefactor     .47444        .16320        .34382E-03   -1.1316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56422e-11
Minuit parameter uncertainties:
  1  4.22516
  2  0.277536
  3  0.16326
  4  0.16336
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384489': 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) = 8722.21935063
delta logL = 0.670567108804

Extracting fit parameters...

4FGL J1422.3+3223
   Spectrum: PowerLaw
259    Prefactor:  1.256e+01  4.225e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.063e+00  2.775e-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:  4.744e-01  1.634e-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.523e+00  1.633e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.07
Ra Dec: 215.577 32.391
Photon Index (Free Index): 2.06 +/- 0.28
Photon Flux (Free Index): 7.55e-08 +/- 3.09e-08
Energy Flux (Free Index): 4.49e-05 +/- 2.29e-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/384489/cmap_HighResolution_563846401_564105601_4FGL_J1422.3+3223_daily_bin1252.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.65e-08', energy_flux2='4.49e-05', photon_flux_error='3.12e-08', dlogl='6.71e-01', energy_flux='3.16e-05', photon_flux2='7.55e-08', job_status='DONE', time_completed='2021-09-09 12:01:19.976828', photon_index_error2='0.28', photon_index2='2.06', ts='28.75', fit_tolerance='1e-08', GAL='0.49', photon_index_error='0.00', energy_flux_error2='2.29e-05', EG='1.50', time_epoch_completed='1631214079.98', return_code='0', job_id='384489', GAL2='0.47', EG2='1.52', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='3.09e-08', ts2='30.07', photon_index='2.40' WHERE bin_id='1252' AND source_name='4FGL J1422.3+3223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 12:01:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 384489: <4FGL_J1422.3+3223_daily_bin1252> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1422.3+3223_daily_bin1252 215.577 32.3911 563846401 564105601 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 :                                   641.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             247.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            891 sec.

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

