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


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1423
RA = 215.792, Dec = 37.6452
tmin = 608169601, tmax = 608428801
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='392625', job_status='RUN', time_executed='2021-09-09 12:15:19.357337', time_epoch_executed='1631214919.36' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1423'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/392625

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/392625/ft1_4FGL_J1423.1+3738_daily_bin1423.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/392625/ft2_4FGL_J1423.1+3738_daily_bin1423.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/392625/ft1_4FGL_J1423.1+3738_daily_bin1423.fits outfile=/scratch/kocevski/392625/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1423.fits ra=215.792 dec=37.6452 rad=12.0 tmin=608169601.0 tmax=608428801.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.33
user 3.46
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/392625/ft1_filtered_4FGL_J1423.1+3738_daily_bin1423.fits" evtable="EVENTS" scfile=/scratch/kocevski/392625/ft2_4FGL_J1423.1+3738_daily_bin1423.fits sctable="SC_DATA" outfile=/scratch/kocevski/392625/ltcube_608169601_608428801_4FGL_J1423.1+3738_daily_bin1423.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/392625/ft2_4FGL_J1423.1+3738_daily_bin1423.fits
.....................!
real 12.35
user 11.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/392625/ft1_filtered_4FGL_J1423.1+3738_daily_bin1423.fits evtable="EVENTS" scfile=/scratch/kocevski/392625/ft2_4FGL_J1423.1+3738_daily_bin1423.fits sctable="SC_DATA" expcube=/scratch/kocevski/392625/ltcube_608169601_608428801_4FGL_J1423.1+3738_daily_bin1423.fits outfile=/scratch/kocevski/392625/expmap_608169601_608428801_4FGL_J1423.1+3738_daily_bin1423.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/392625/ltcube_608169601_608428801_4FGL_J1423.1+3738_daily_bin1423.fits
.....................!
real 191.87
user 186.20
sys 4.49

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/392625/ft1_filtered_4FGL_J1423.1+3738_daily_bin1423.fits scfile=/scratch/kocevski/392625/ft2_4FGL_J1423.1+3738_daily_bin1423.fits outfile=/scratch/kocevski/392625/cmap_608169601_608428801_4FGL_J1423.1+3738_daily_bin1423.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 1.76
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/392625/ft1_filtered_4FGL_J1423.1+3738_daily_bin1423.fits scfile=/scratch/kocevski/392625/ft2_4FGL_J1423.1+3738_daily_bin1423.fits outfile=/scratch/kocevski/392625/cmap_HighResolution_608169601_608428801_4FGL_J1423.1+3738_daily_bin1423.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 1.34
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11383E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.791       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0166       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.4383       1.0000         .10000E-03   10000.    
     5 'norm      '    .15343       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.4163       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.780       1.0000         .10000E-03   10000.    
     9 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .38641E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.966       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.296       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.840       1.0000         .10000E-03   10000.    
    15 'norm      '    8.3589       1.0000         .10000E-03   10000.    
    16 'Prefactor '    81.776       1.0000         .10000E-03   10000.    
    17 'Prefactor '    60.734       1.0000         .10000E-03   10000.    
    18 'norm      '    7.4913       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .50568E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.1282       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.1169       1.0000         .10000E-03   10000.    
    23 'Prefactor '    69.240       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .79673       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .98594       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=   5681.475     FROM MIGRAD    STATUS=CONVERGED    622 CALLS     3145 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    129.24        .69314E-06** at limit **
   2  Prefactor     33.802        43.248       -.44105E-06    .18432E-04
   3  norm          1.0167        .73366        .48805E-08    .37157E-04
   4  Prefactor     5.4400        4.8302        .24798E-06   -.10575E-03
   5  norm          .24714        8.3518        .20372E-06    .77568E-04
   6  Prefactor     .10000E-03    6.4831        .13955E-06** at limit **
   7  Prefactor     5.4162        4.8861       -.62006E-08    .22689E-04
   8  Prefactor     11.786        14.366        .98016E-07   -.41795E-06
   9  norm          .10000E-03    1.1652        .35074E-07** at limit **
  10  Prefactor     .10001E-03    9.9012        .24936E-05** at limit **
  11  Prefactor     17.995        15.733       -.41027E-05   -.17429E-03
  12  Prefactor     11.299        4.6772       -.20930E-07    .41196E-04
  13  norm          .10000E-03    8.6888        .16832E-06** at limit **
  14  Prefactor     18.846        23.166       -.16701E-06    .21563E-04
  15  norm          8.3586        7.8151       -.80020E-07    .75616E-04
  16  Prefactor     81.781        49.781       -.21932E-06    .20790E-04
  17  Prefactor     60.734        40.625       -.36434E-06    .76920E-04
  18  norm          7.4867        8.3756       -.67665E-07    .74528E-04
  19  Prefactor     .10015E-03    9.8419       -.15174E-05** at limit **
  20  Prefactor     .10000E-03    7.5275        .16580E-06** at limit **
  21  norm          2.1262        1.7750        .15250E-06    .39847E-03
  22  Prefactor     1.1173        14.565        .37371E-05    .21119E-03
  23  Prefactor     69.333        64.785       -.56770E-05    .23073E-03
  24  Prefactor     .10000E-03    16.593        .65330E-07** at limit **
  25  Normalizat    .79614        .17881       -.10294E-05    .92313E-04
  26  Prefactor     .98652        .19566        .58307E-06   -.33982E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 33.8015
  norm       = 1.01669
  Prefactor  = 5.44004
  norm       = 0.247138
  Prefactor  = 0.0001
  Prefactor  = 5.41624
  Prefactor  = 11.7859
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 17.9954
  Prefactor  = 11.2991
  norm       = 0.0001
  Prefactor  = 18.846
  norm       = 8.35857
  Prefactor  = 81.7807
  Prefactor  = 60.7345
  norm       = 7.48666
  Prefactor  = 0.000100148
  Prefactor  = 0.0001
  norm       = 2.12622
  Prefactor  = 1.11734
  Prefactor  = 69.3332
  Prefactor  = 0.0001
  Normalizat = 0.796139
  Prefactor  = 0.986524
 **********
 **   18 **HESSE 
 **********

 FCN=   5681.475     FROM HESSE     STATUS=OK           466 CALLS     3611 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    129.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.802        43.271        .68935E-04   -1.4545    
   3  norm          1.0167        .74830        .53349E-04   -1.5506    
   4  Prefactor     5.4400        4.8318        .14791E-03   -1.5241    
   5  norm          .24714        113.56        .41542E-02   -1.5609    
   6  Prefactor     .10000E-03    6.4878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.4162        4.8818        .15213E-03   -1.5242    
   8  Prefactor     11.786        14.388        .11672E-03   -1.5021    
   9  norm          .10000E-03    1.1738        .79448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    24.648        .40929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.995        16.317        .94492E-04   -1.4859    
  12  Prefactor     11.299        4.6866        .99755E-04   -1.5036    
  13  norm          .10000E-03    8.7593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.846        23.169        .92274E-04   -1.4839    
  15  norm          8.3586        7.7795        .13866E-03   -1.5130    
  16  Prefactor     81.781        49.762        .44416E-04   -1.3897    
  17  Prefactor     60.734        40.521        .51485E-04   -1.4148    
  18  norm          7.4867        8.3380        .14653E-03   -1.5161    
  19  Prefactor     .10015E-03    49.525        .42281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.6052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1262        1.7491        .84283E-04   -1.5416    
  22  Prefactor     1.1173        15.406        .22263E-02   -1.5497    
  23  Prefactor     69.333        64.317        .24120E-03   -1.4041    
  24  Prefactor     .10000E-03    16.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .79614        .20963        .24482E-03   -1.0021    
  26  Prefactor     .98652        .22963        .25661E-03   -.93180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73314e-09
Minuit parameter uncertainties:
  1  0.000220193
  2  43.3116
  3  0.748303
  4  4.83216
  5  10.6134
  6  4.59534e-06
  7  4.8822
  8  14.3922
  9  6.63422e-07
  10  0.00100447
  11  16.3209
  12  4.68674
  13  6.53655e-06
  14  23.18
  15  7.78041
  16  49.7875
  17  40.539
  18  8.33927
  19  0.0054156
  20  4.42957e-06
  21  1.74917
  22  8.30025
  23  64.3817
  24  5.86875e-06
  25  0.209847
  26  0.229855
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  6.537e-06  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:  9.865e-01  2.299e-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.961e-01  2.098e-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.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/392625/likelihoodResults_608169601_608428801_4FGL_J1423.1+3738_daily_bin1423.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): 102
logL (Free Index) = 5681.47585941
delta logL = -0.000543594860574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5681.47531586
delta logL = -5.12800397701e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9308       1.0000          .0000       5.0000    
     3 'Normalizat'    .79620       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98646       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=   5681.475     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      233 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    374.80        .18142E-02** at limit **
   2  alpha         1.9951        3.4963        .50000        .18395E-07
   3  Normalizat    .79614        .27541E-01    .24482E-03   -.18807E-04
   4  Prefactor     .98653        .32005E-01    .25661E-03   -.17633E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.99513
  Normalizat = 0.796137
  Prefactor  = 0.986526
 **********
 **   18 **HESSE 
 **********

 FCN=   5681.475     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1347.1        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9951        3.7863        .50000       -.20335    
   3  Normalizat    .79614        .67596E-01    .97929E-05   -1.0021    
   4  Prefactor     .98653        .78553E-01    .10264E-04   -.93180    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.18287e-10
Minuit parameter uncertainties:
  1  0.000779735
  2  2873.99
  3  0.0676034
  4  0.0785624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/392625': 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): 102
logL (Free Index) = 5681.47531579
delta logL = 2.4369910534e-08

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  7.797e-04  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.995e+00  2.874e+03  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:  9.865e-01  7.856e-02  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.961e-01  6.760e-02  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/392625/cmap_HighResolution_608169601_608428801_4FGL_J1423.1+3738_daily_bin1423.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.44e-05', job_status='DONE', photon_flux_upper_limit='3.14e-08', time_completed='2021-09-09 12:27:31.815108', job_id='392625', GAL2='0.99', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1631215651.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.44e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1423' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 12:27:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 392625: <4FGL_J1423.1+3738_daily_bin1423> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1423 215.792 37.6452 608169601 608428801 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 :                                   682.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            951 sec.

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

