/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 83 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 = 7433
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1519
RA = 215.792, Dec = 37.6452
tmin = 633052801, tmax = 633312001
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='392763', job_status='RUN', time_executed='2021-09-09 12:14:06.352637', time_epoch_executed='1631214846.35' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/392763

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/392763/ft1_4FGL_J1423.1+3738_daily_bin1519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/392763/ft1_4FGL_J1423.1+3738_daily_bin1519.fits outfile=/scratch/kocevski/392763/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1519.fits ra=215.792 dec=37.6452 rad=12.0 tmin=633052801.0 tmax=633312001.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 5.05
user 3.37
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.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/392763/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1519.fits evtable="EVENTS" outfile="/scratch/kocevski/392763/ft1_filtered_4FGL_J1423.1+3738_daily_bin1519.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 2.55
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/392763/ft1_filtered_4FGL_J1423.1+3738_daily_bin1519.fits" evtable="EVENTS" scfile=/scratch/kocevski/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.fits sctable="SC_DATA" outfile=/scratch/kocevski/392763/ltcube_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.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/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.fits
.....................!
real 14.77
user 13.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/392763/ft1_filtered_4FGL_J1423.1+3738_daily_bin1519.fits evtable="EVENTS" scfile=/scratch/kocevski/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.fits sctable="SC_DATA" expcube=/scratch/kocevski/392763/ltcube_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.fits outfile=/scratch/kocevski/392763/expmap_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.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/392763/ltcube_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.fits
.....................!
real 191.36
user 185.18
sys 4.24

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 J1423.1+3738 @ 215.792 37.6452

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/392763/ft1_filtered_4FGL_J1423.1+3738_daily_bin1519.fits scfile=/scratch/kocevski/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.fits outfile=/scratch/kocevski/392763/cmap_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.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.792 yref=37.6452 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.72
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/392763/ft1_filtered_4FGL_J1423.1+3738_daily_bin1519.fits scfile=/scratch/kocevski/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.fits outfile=/scratch/kocevski/392763/cmap_HighResolution_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.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.792 yref=37.6452 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.60
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/392763/ft1_filtered_4FGL_J1423.1+3738_daily_bin1519.fits evtable="EVENTS" scfile=/scratch/kocevski/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/392763/Model_4FGL_J1423.1+3738_daily_bin1519.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/392763/ft1_filtered_4FGL_J1423.1+3738_daily_bin1519.fits.....................!
real 50.41
user 47.74
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/392763/ft1_filtered_4FGL_J1423.1+3738_daily_bin1519.fits', '/scratch/kocevski/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.fits', expMap='/scratch/kocevski/392763/expmap_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.fits', expCube='/scratch/kocevski/392763/ltcube_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/392763/Model_4FGL_J1423.1+3738_daily_bin1519.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1423.1+3738'

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  3.465e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/392763/ft1_filtered_4FGL_J1423.1+3738_daily_bin1519.fits
Spacecraft file(s): /scratch/kocevski/392763/ft2_4FGL_J1423.1+3738_daily_bin1519.fits
Exposure map: /scratch/kocevski/392763/expmap_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.fits
Exposure cube: /scratch/kocevski/392763/ltcube_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/392763/Model_4FGL_J1423.1+3738_daily_bin1519.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) = 6356.12354196

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.910       1.0000         .10000E-03   10000.    
     2 'Prefactor '    64.038       1.0000         .10000E-03   10000.    
     3 'norm      '    3.2470       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7791       1.0000         .10000E-03   10000.    
     5 'norm      '    3.6299       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.2493       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3059       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12651E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1260       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.533       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.5644       1.0000         .10000E-03   10000.    
    13 'norm      '    10.203       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10135E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    60.318       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.783       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.443       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.1296       1.0000         .10000E-03   10000.    
    21 'norm      '    2.4796       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .75427       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0685       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=   6356.114     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     3123 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.842        90.799       -.84203E-04   -.10886E-04
   2  Prefactor     64.082        83.901        .52298E-04    .13809E-04
   3  norm          3.2472        1.5500       -.26635E-06   -.70072E-03
   4  Prefactor     3.7801        3.9822        .15902E-07   -.38114E-03
   5  norm          3.6341        13.242       -.80000E-05   -.18845E-03
   6  Prefactor     9.2491        13.135       -.20362E-05    .83414E-05
   7  Prefactor     2.3051        3.4328       -.62399E-06   -.70737E-03
   8  Prefactor     .10000E-03    43.632        .31674E-04** at limit **
   9  norm          1.1247        3.6077       -.94305E-06   -.10686E-02
  10  Prefactor     10.548        12.900       -.23934E-05   -.27404E-04
  11  Prefactor     .10000E-03    17.564       -.35425E-06** at limit **
  12  Prefactor     8.5653        3.7620       -.37817E-08   -.19927E-04
  13  norm          10.202        11.862       -.53231E-06    .24944E-04
  14  Prefactor     .10000E-03    4.7772       -.97080E-07** at limit **
  15  norm          .10000E-03    2.7707        .54890E-07** at limit **
  16  Prefactor     60.324        35.355        .45628E-05    .16413E-05
  17  Prefactor     23.785        23.881        .12317E-05    .58424E-05
  18  norm          .10000E-03    2.2592       -.47550E-08** at limit **
  19  Prefactor     19.447        13.937       -.49912E-06    .10363E-04
  20  Prefactor     8.1298        5.9087        .64233E-07    .63839E-05
  21  norm          2.4796        1.4904       -.46820E-07    .43876E-04
  22  Prefactor     .10000E-03    2.6657       -.62732E-07** at limit **
  23  Prefactor     .10000E-03    49.406       -.36311E-04** at limit **
  24  Prefactor     .10000E-03    6.3901        .13354E-06** at limit **
  25  Normalizat    .75385        .16660       -.17826E-05   -.97199E-04
  26  Prefactor     1.0690        .18040        .27103E-05   -.30471E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.8418
  Prefactor  = 64.0816
  norm       = 3.24715
  Prefactor  = 3.78009
  norm       = 3.63414
  Prefactor  = 9.24909
  Prefactor  = 2.30511
  Prefactor  = 0.000100004
  norm       = 1.12471
  Prefactor  = 10.5477
  Prefactor  = 0.000100001
  Prefactor  = 8.5653
  norm       = 10.2021
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 60.3236
  Prefactor  = 23.7848
  norm       = 0.0001
  Prefactor  = 19.4472
  Prefactor  = 8.12975
  norm       = 2.47956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.753848
  Prefactor  = 1.06895
 **********
 **   18 **HESSE 
 **********

 FCN=   6356.114     FROM HESSE     STATUS=OK           462 CALLS     3585 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.842        91.015        .25918E-03   -1.4159    
   2  Prefactor     64.082        84.848        .50148E-04   -1.4105    
   3  norm          3.2472        1.5485        .65466E-04   -1.5348    
   4  Prefactor     3.7801        3.9780        .15528E-03   -1.5319    
   5  norm          3.6341        13.240        .21205E-03   -1.5327    
   6  Prefactor     9.2491        13.110        .13178E-03   -1.5100    
   7  Prefactor     2.3051        3.4172        .17478E-03   -1.5404    
   8  Prefactor     .10000E-03    45.087        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1247        3.5715        .25242E-03   -1.5496    
  10  Prefactor     10.548        12.826        .12346E-03   -1.5058    
  11  Prefactor     .10000E-03    17.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.5653        3.7612        .97700E-04   -1.5123    
  13  norm          10.202        11.831        .12544E-03   -1.5069    
  14  Prefactor     .10000E-03    4.7791        .17018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.7935        .12953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     60.324        35.357        .25831E-03   -1.4153    
  17  Prefactor     23.785        23.883        .82137E-04   -1.4732    
  18  norm          .10000E-03    2.2596        .11703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.447        13.947        .90833E-04   -1.4826    
  20  Prefactor     8.1298        5.9056        .14061E-03   -1.5138    
  21  norm          2.4796        1.4834        .70726E-04   -1.5393    
  22  Prefactor     .10000E-03    2.6752        .12712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    49.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.3966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .75385        .19928        .24790E-03   -1.0180    
  26  Prefactor     1.0690        .21555        .24813E-03   -.90465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15315e-09
Minuit parameter uncertainties:
  1  91.228
  2  85.0083
  3  1.54849
  4  3.97831
  5  13.2507
  6  13.1138
  7  3.41751
  8  0.00088231
  9  3.57215
  10  12.8289
  11  0.000268753
  12  3.76131
  13  11.8339
  14  2.90136e-06
  15  3.04583e-06
  16  35.3697
  17  23.8931
  18  5.25505e-08
  19  13.9491
  20  5.90601
  21  1.48343
  22  1.4157e-06
  23  2.86232e-05
  24  1.16497e-06
  25  0.19947
  26  0.215728
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.020e+01  1.183e+01  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.069e+00  2.157e-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:  7.538e-01  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.00
Ra Dec: 215.792 37.645
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 1.12e-08 +/- 1.30e-08
Energy Flux (Fixed Index): 8.75e-06 +/- 1.01e-05

TS (Fixed Index): 2.00
Ra Dec: 215.792 37.645
Photon Flux Upper Limit: 4.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/392763/likelihoodResults_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.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) = 6356.09163679
delta logL = 0.0219980888533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6356.09144524
delta logL = 0.0221896414478

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.215       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7165       1.0000          .0000       5.0000    
     3 'Normalizat'    .75600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0682       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=   6356.091     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      252 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.226        11.643        .12537E-03   -.11491E-03
   2  alpha         1.7176        .96701        .25572E-01   -.14403E-04
   3  Normalizat    .75599        .17851        .24760E-03   -.23518E-03
   4  Prefactor     1.0682        .21039        .24823E-03   -.24636E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2263
  alpha      = 1.71764
  Normalizat = 0.755986
  Prefactor  = 1.06821
 **********
 **   18 **HESSE 
 **********

 FCN=   6356.091     FROM HESSE     STATUS=OK            23 CALLS      275 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.226        11.705        .25074E-04   -1.5068    
   2  alpha         1.7176        .97222        .10229E-02   -.31829    
   3  Normalizat    .75599        .17865        .99040E-05   -1.0172    
   4  Prefactor     1.0682        .21058        .49646E-04   -.90489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12676e-10
Minuit parameter uncertainties:
  1  11.7075
  2  1.00167
  3  0.178787
  4  0.210741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/392763': 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) = 6356.09144423
delta logL = 0.0221906511861

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.023e+01  1.171e+01  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.718e+00  1.002e+00  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.446e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.068e+00  2.107e-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:  7.560e-01  1.788e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.05
Ra Dec: 215.792 37.645
Photon Index (Free Index): 1.72 +/- 1.00
Photon Flux (Free Index): 8.71e-09 +/- 1.48e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.38e-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/392763/cmap_HighResolution_633052801_633312001_4FGL_J1423.1+3738_daily_bin1519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-05', comment='SUCCESS', photon_flux='1.12e-08', energy_flux2='1.01e-05', photon_flux_error='1.30e-08', dlogl='2.22e-02', energy_flux='8.75e-06', photon_flux2='8.71e-09', job_status='DONE', time_completed='2021-09-09 12:26:41.771697', photon_index_error2='1.00', photon_index2='1.72', ts='2.00', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='4.86e-08', energy_flux_error2='1.38e-05', EG='0.75', time_epoch_completed='1631215601.77', return_code='0', job_id='392763', GAL2='1.07', EG2='0.76', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='1.48e-08', ts2='2.05', photon_index='1.93' WHERE bin_id='1519' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 12:26:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 392763: <4FGL_J1423.1+3738_daily_bin1519> in cluster <slac> Done

Job <4FGL_J1423.1+3738_daily_bin1519> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 12:11:51 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 12:11: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 12:11:53 2021
Terminated at Thu Sep  9 12:26:42 2021
Results reported at Thu Sep  9 12:26:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1519 215.792 37.6452 633052801 633312001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1423.1+3738 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   735.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            891 sec.

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

