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


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1410
RA = 215.792, Dec = 37.6452
tmin = 604800001, tmax = 605059201
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='392608', job_status='RUN', time_executed='2021-09-09 12:13:31.769794', time_epoch_executed='1631214811.77' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/392608

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/392608/ft1_4FGL_J1423.1+3738_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/392608/ft2_4FGL_J1423.1+3738_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/392608/ft1_4FGL_J1423.1+3738_daily_bin1410.fits outfile=/scratch/kocevski/392608/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1410.fits ra=215.792 dec=37.6452 rad=12.0 tmin=604800001.0 tmax=605059201.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.59
user 4.80
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/392608/ft1_filtered_4FGL_J1423.1+3738_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/392608/ft2_4FGL_J1423.1+3738_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/392608/ltcube_604800001_605059201_4FGL_J1423.1+3738_daily_bin1410.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/392608/ft2_4FGL_J1423.1+3738_daily_bin1410.fits
.....................!
real 14.18
user 12.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/392608/ft1_filtered_4FGL_J1423.1+3738_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/392608/ft2_4FGL_J1423.1+3738_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/392608/ltcube_604800001_605059201_4FGL_J1423.1+3738_daily_bin1410.fits outfile=/scratch/kocevski/392608/expmap_604800001_605059201_4FGL_J1423.1+3738_daily_bin1410.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/392608/ltcube_604800001_605059201_4FGL_J1423.1+3738_daily_bin1410.fits
.....................!
real 191.68
user 185.52
sys 4.09

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/392608/ft1_filtered_4FGL_J1423.1+3738_daily_bin1410.fits scfile=/scratch/kocevski/392608/ft2_4FGL_J1423.1+3738_daily_bin1410.fits outfile=/scratch/kocevski/392608/cmap_604800001_605059201_4FGL_J1423.1+3738_daily_bin1410.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.54
user 0.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/392608/ft1_filtered_4FGL_J1423.1+3738_daily_bin1410.fits scfile=/scratch/kocevski/392608/ft2_4FGL_J1423.1+3738_daily_bin1410.fits outfile=/scratch/kocevski/392608/cmap_HighResolution_604800001_605059201_4FGL_J1423.1+3738_daily_bin1410.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10398E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.030       1.0000         .10000E-03   10000.    
     3 'norm      '    4.1598       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2049       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3980       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16078E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.756       1.0000         .10000E-03   10000.    
    13 'norm      '    5.1130       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0624       1.0000         .10000E-03   10000.    
    15 'norm      '    6.6851       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    62.046       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0373       1.0000         .10000E-03   10000.    
    21 'norm      '    2.4023       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.8260       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0917       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0949       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=   6416.519     FROM MIGRAD    STATUS=CONVERGED    619 CALLS     3143 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    168.62        .57936E-06** at limit **
   2  Prefactor     39.026        44.943       -.16416E-05   -.62135E-04
   3  norm          4.1599        1.9760        .84644E-07   -.18100E-03
   4  Prefactor     5.2054        4.6016        .12032E-06   -.83179E-04
   5  norm          .10000E-03    14.313        .17281E-05** at limit **
   6  Prefactor     5.3891        19.814        .62263E-05    .11614E-03
   7  Prefactor     .10000E-03    2.3722        .24747E-07** at limit **
   8  Prefactor     .10001E-03    16.862        .45325E-06** at limit **
   9  norm          .10000E-03    3.2105        .41420E-08** at limit **
  10  Prefactor     .10000E-03    8.5250       -.14360E-06** at limit **
  11  Prefactor     .10000E-03    12.560       -.28225E-05** at limit **
  12  Prefactor     21.757        6.7392       -.10147E-06   -.86359E-04
  13  norm          5.1131        9.6556       -.13835E-06   -.26389E-04
  14  Prefactor     4.0627        40.908        .29787E-05   -.22123E-03
  15  norm          6.6845        6.9286        .44528E-06   -.12635E-02
  16  Prefactor     .10000E-03    25.561        .29018E-06** at limit **
  17  Prefactor     62.067        42.997        .65594E-05    .30985E-03
  18  norm          .10000E-03    3.6165       -.14487E-07** at limit **
  19  Prefactor     .10000E-03    4.3809       -.82694E-07** at limit **
  20  Prefactor     4.0362        6.1864        .15035E-05   -.17766E-02
  21  norm          2.4026        1.7877       -.10782E-06   -.17963E-03
  22  Prefactor     8.8263        8.4859        .16683E-06   -.14603E-03
  23  Prefactor     .10000E-03    21.175       -.10018E-05** at limit **
  24  Prefactor     .10000E-03    11.774        .13780E-05** at limit **
  25  Normalizat    1.0916        .19207       -.14536E-05   -.33804E-04
  26  Prefactor     1.0950        .20167       -.44955E-06   -.88523E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 39.026
  norm       = 4.15987
  Prefactor  = 5.20537
  norm       = 0.0001
  Prefactor  = 5.38913
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 21.7565
  norm       = 5.11313
  Prefactor  = 4.06266
  norm       = 6.68455
  Prefactor  = 0.0001
  Prefactor  = 62.0673
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.03618
  norm       = 2.40257
  Prefactor  = 8.82626
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09158
  Prefactor  = 1.09496
 **********
 **   18 **HESSE 
 **********

 FCN=   6416.519     FROM HESSE     STATUS=OK           458 CALLS     3601 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    169.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.026        45.055        .64157E-04   -1.4458    
   3  norm          4.1599        1.9788        .74012E-04   -1.5300    
   4  Prefactor     5.2054        4.6024        .15519E-03   -1.5252    
   5  norm          .10000E-03    14.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3891        19.926        .17296E-03   -1.5244    
   7  Prefactor     .10000E-03    2.3881        .12046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    163.80        .62028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.2679        .14005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.5456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.757        6.7609        .85874E-04   -1.4775    
  13  norm          5.1131        9.6415        .17780E-03   -1.5256    
  14  Prefactor     4.0627        43.941        .10002E-02   -1.5305    
  15  norm          6.6845        7.2023        .77598E-03   -1.5191    
  16  Prefactor     .10000E-03    25.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     62.067        43.628        .50941E-04   -1.4131    
  18  norm          .10000E-03    3.6259        .14877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.3852        .16374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.0362        8.1547        .10034E-02   -1.5306    
  21  norm          2.4026        1.8170        .85101E-04   -1.5398    
  22  Prefactor     8.8263        8.4928        .67459E-03   -1.5114    
  23  Prefactor     .10000E-03    21.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    11.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0916        .22872        .25735E-03   -.90023    
  26  Prefactor     1.0950        .24317        .28625E-03   -.89628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.34371e-09
Minuit parameter uncertainties:
  1  0.000282482
  2  45.0943
  3  1.97879
  4  4.60272
  5  8.46436e-05
  6  19.9505
  7  2.808e-06
  8  0.00273445
  9  1.6175e-06
  10  5.0728e-05
  11  0.000191691
  12  6.76114
  13  9.64445
  14  26.7468
  15  7.20324
  16  2.89398e-05
  17  43.6505
  18  1.97721e-07
  19  5.94368e-06
  20  8.15698
  21  1.81705
  22  8.49394
  23  6.84112e-05
  24  7.69634e-05
  25  0.228925
  26  0.243412
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  5.113e+00  9.644e+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

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.095e+00  2.434e-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.092e+00  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/392608/likelihoodResults_604800001_605059201_4FGL_J1423.1+3738_daily_bin1410.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) = 6416.51081555
delta logL = 0.0080428201245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6416.5102735
delta logL = 0.00858486741254

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8222       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1044       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0905       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0954       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=   6416.510     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      236 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8222        628.90        .45800E-02    .29110E-03
   2  alpha         2.1044        3.5925        .41822        .21910E-04
   3  Normalizat    1.0904        .10016        .58222E-01    .11892E-04
   4  Prefactor     1.0955        .84876E-01    .64699E-01    .10964E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.82216
  alpha      = 2.10445
  Normalizat = 1.09038
  Prefactor  = 1.0955
 **********
 **   18 **HESSE 
 **********

 FCN=   6416.510     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8222        9.8665        .18320E-03   -1.5269    
   2  alpha         2.1044        1.3372        .33205E-01   -.15889    
   3  Normalizat    1.0904        .21653        .25748E-03   -.90061    
   4  Prefactor     1.0955        .24209        .28619E-03   -.89611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21515e-09
Minuit parameter uncertainties:
  1  9.86979
  2  1.41313
  3  0.216702
  4  0.242331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/392608': 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) = 6416.51027345
delta logL = 0.00858492193038

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  4.822e+00  9.870e+00  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  2.104e+00  1.413e+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.095e+00  2.423e-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.090e+00  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.45
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/392608/cmap_HighResolution_604800001_605059201_4FGL_J1423.1+3738_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-05', job_status='DONE', photon_flux_upper_limit='4.32e-08', time_completed='2021-09-09 12:26:08.545252', job_id='392608', GAL2='1.10', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1631215568.55', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='8.58e-03', ts2='0.46', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1410' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 12:26:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 392608: <4FGL_J1423.1+3738_daily_bin1410> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1410 215.792 37.6452 604800001 605059201 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 :                                   731.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            870 sec.

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

