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


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1502
RA = 215.792, Dec = 37.6452
tmin = 628646401, tmax = 628905601
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='392739', job_status='RUN', time_executed='2021-09-09 12:13:16.509169', time_epoch_executed='1631214796.51' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1502'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/392739

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/392739/ft1_4FGL_J1423.1+3738_daily_bin1502.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/392739/ft2_4FGL_J1423.1+3738_daily_bin1502.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/392739/ft1_4FGL_J1423.1+3738_daily_bin1502.fits outfile=/scratch/kocevski/392739/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1502.fits ra=215.792 dec=37.6452 rad=12.0 tmin=628646401.0 tmax=628905601.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 4.82
user 3.30
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/392739/ft1_filtered_4FGL_J1423.1+3738_daily_bin1502.fits" evtable="EVENTS" scfile=/scratch/kocevski/392739/ft2_4FGL_J1423.1+3738_daily_bin1502.fits sctable="SC_DATA" outfile=/scratch/kocevski/392739/ltcube_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.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/392739/ft2_4FGL_J1423.1+3738_daily_bin1502.fits
.....................!
real 15.17
user 13.95
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/392739/ft1_filtered_4FGL_J1423.1+3738_daily_bin1502.fits evtable="EVENTS" scfile=/scratch/kocevski/392739/ft2_4FGL_J1423.1+3738_daily_bin1502.fits sctable="SC_DATA" expcube=/scratch/kocevski/392739/ltcube_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.fits outfile=/scratch/kocevski/392739/expmap_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.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/392739/ltcube_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.fits
.....................!
real 201.08
user 185.66
sys 4.64

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/392739/ft1_filtered_4FGL_J1423.1+3738_daily_bin1502.fits scfile=/scratch/kocevski/392739/ft2_4FGL_J1423.1+3738_daily_bin1502.fits outfile=/scratch/kocevski/392739/cmap_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/392739/ft1_filtered_4FGL_J1423.1+3738_daily_bin1502.fits scfile=/scratch/kocevski/392739/ft2_4FGL_J1423.1+3738_daily_bin1502.fits outfile=/scratch/kocevski/392739/cmap_HighResolution_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.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.75
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/392739/ft1_filtered_4FGL_J1423.1+3738_daily_bin1502.fits', '/scratch/kocevski/392739/ft2_4FGL_J1423.1+3738_daily_bin1502.fits', expMap='/scratch/kocevski/392739/expmap_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.fits', expCube='/scratch/kocevski/392739/ltcube_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/392739/Model_4FGL_J1423.1+3738_daily_bin1502.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/392739/ft1_filtered_4FGL_J1423.1+3738_daily_bin1502.fits
Spacecraft file(s): /scratch/kocevski/392739/ft2_4FGL_J1423.1+3738_daily_bin1502.fits
Exposure map: /scratch/kocevski/392739/expmap_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.fits
Exposure cube: /scratch/kocevski/392739/ltcube_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/392739/Model_4FGL_J1423.1+3738_daily_bin1502.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) = 6524.33909796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11719E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.173       1.0000         .10000E-03   10000.    
     3 'norm      '    3.2401       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .31725       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.5362       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6936       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.727       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.3329       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.951       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.0634       1.0000         .10000E-03   10000.    
    18 'norm      '    8.0452       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.925       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3590       1.0000         .10000E-03   10000.    
    21 'norm      '    1.6300       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1912       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .75068       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.

 FCN=   6524.320     FROM MIGRAD    STATUS=CONVERGED    602 CALLS     3046 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    128.29        .90712E-02** at limit **
   2  Prefactor     11.172        110.76        .29963E-02    .23575E-03
   3  norm          3.2405        1.5776        .56255E-02    .24871E-03
   4  Prefactor     .32314        1.7580        .55715E-01    .97640E-03
   5  norm          .10000E-03    4.6519        .90712E-02** at limit **
   6  Prefactor     .10000E-03    6.8343        .90712E-02** at limit **
   7  Prefactor     .10000E-03    1.2704        .90712E-02** at limit **
   8  Prefactor     .10000E-03    9.6845        .90712E-02** at limit **
   9  norm          3.5368        4.6982        .53739E-02    .10304E-02
  10  Prefactor     8.6930        8.7402        .33987E-02   -.17280E-04
  11  Prefactor     .10000E-03    7.0080        .90712E-02** at limit **
  12  Prefactor     18.728        5.7041        .23138E-02    .46493E-03
  13  norm          .10000E-03    6.3550        .90712E-02** at limit **
  14  Prefactor     .10000E-03    10.069        .90712E-02** at limit **
  15  norm          5.3332        5.0947        .43508E-02   -.24837E-03
  16  Prefactor     27.952        32.839        .18944E-02   -.36521E-03
  17  Prefactor     7.0663        21.671        .37735E-02    .25859E-03
  18  norm          8.0453        7.0360        .35339E-02   -.95231E-04
  19  Prefactor     10.927        12.484        .30304E-02    .87919E-03
  20  Prefactor     1.3585        3.9096        .93687E-02    .80058E-03
  21  norm          1.6303        1.2292        .82809E-02    .30468E-03
  22  Prefactor     .10000E-03    2.8045        .90712E-02** at limit **
  23  Prefactor     .10000E-03    18.944        .90712E-02** at limit **
  24  Prefactor     .10000E-03    12.312        .90712E-02** at limit **
  25  Normalizat    1.1910        .17219        .35112E-01    .24396E-06
  26  Prefactor     .75074        .18177        .67411E-01    .18921E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 11.1722
  norm       = 3.24049
  Prefactor  = 0.323136
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 3.53678
  Prefactor  = 8.693
  Prefactor  = 0.000100001
  Prefactor  = 18.7283
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 5.33325
  Prefactor  = 27.9524
  Prefactor  = 7.06629
  norm       = 8.04526
  Prefactor  = 10.9274
  Prefactor  = 1.35852
  norm       = 1.63025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19101
  Prefactor  = 0.750742
 **********
 **   18 **HESSE 
 **********

 FCN=   6524.320     FROM HESSE     STATUS=OK           456 CALLS     3502 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    128.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.172        113.76        .11985E-03   -1.5039    
   3  norm          3.2405        1.5792        .67493E-04   -1.5348    
   4  Prefactor     .32314        6.0639        .20493E-02   -1.5594    
   5  norm          .10000E-03    4.6587        .17013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.8542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.2722        .88905E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.7279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5368        4.6791        .18965E-03   -1.5332    
  10  Prefactor     8.6930        8.7501        .13595E-03   -1.5118    
  11  Prefactor     .10000E-03    7.0246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.728        5.7227        .92552E-04   -1.4842    
  13  norm          .10000E-03    6.3670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3332        5.0933        .17051E-03   -1.5246    
  16  Prefactor     27.952        32.847        .75778E-04   -1.4650    
  17  Prefactor     7.0663        21.664        .15094E-03   -1.5176    
  18  norm          8.0453        7.0349        .14136E-03   -1.5141    
  19  Prefactor     10.927        12.479        .12121E-03   -1.5047    
  20  Prefactor     1.3585        3.8435        .25861E-03   -1.5475    
  21  norm          1.6303        1.2151        .73915E-04   -1.5453    
  22  Prefactor     .10000E-03    2.8094        .13210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    12.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1910        .20291        .21436E-03   -.86881    
  26  Prefactor     .75074        .21222        .29826E-03   -1.0157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20451e-09
Minuit parameter uncertainties:
  1  0.000642771
  2  71.4771
  3  1.5792
  4  2.79951
  5  7.2298e-06
  6  0.000154194
  7  2.2842e-06
  8  0.000323263
  9  4.67956
  10  8.75138
  11  0.000138978
  12  5.72284
  13  2.23539e-05
  14  0.000407093
  15  5.09374
  16  32.868
  17  21.6883
  18  7.03559
  19  12.4818
  20  3.84418
  21  1.21512
  22  1.33402e-06
  23  5.9603e-06
  24  8.87452e-05
  25  0.203043
  26  0.212453
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  2.235e-05  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:  7.507e-01  2.125e-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:  1.191e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/392739/likelihoodResults_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.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) = 6524.32107853
delta logL = -0.000745547255065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6524.32033297
delta logL = 1.94650056073e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9185       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75074       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.

 FCN=   6524.320     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.3842        .90712E-02** at limit **
   2  alpha         1.9092        3.3863        .42655        .70466E-05
   3  Normalizat    1.1910        .15794        .35115E-01    .32775E-05
   4  Prefactor     .75074        .17940        .67411E-01    .21663E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.90916
  Normalizat = 1.19101
  Prefactor  = 0.750742
 **********
 **   18 **HESSE 
 **********

 FCN=   6524.320     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.3944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9092        3.3862        .50000       -.23859    
   3  Normalizat    1.1910        .18211        .21436E-03   -.86881    
   4  Prefactor     .75074        .20651        .29826E-03   -1.0157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99824e-11
Minuit parameter uncertainties:
  1  8.0666e-06
  2  2.4292
  3  0.18221
  4  0.206723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/392739': 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) = 6524.32033293
delta logL = 5.35910658073e-08

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  8.067e-06  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.909e+00  2.429e+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:  7.507e-01  2.067e-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:  1.191e+00  1.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 215.792 37.645

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/392739/cmap_HighResolution_628646401_628905601_4FGL_J1423.1+3738_daily_bin1502.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.46e-05', job_status='DONE', photon_flux_upper_limit='3.16e-08', time_completed='2021-09-09 12:26:22.028550', job_id='392739', GAL2='0.75', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1631215582.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='5.36e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1502' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 12:26:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 392739: <4FGL_J1423.1+3738_daily_bin1502> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1502 215.792 37.6452 628646401 628905601 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 :                                   751.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            873 sec.

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

