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


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1324
RA = 215.792, Dec = 37.6452
tmin = 582508801, tmax = 582768001
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='392486', job_status='RUN', time_executed='2021-09-09 12:13:05.687723', time_epoch_executed='1631214785.69' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1324'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/392486

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/392486/ft1_4FGL_J1423.1+3738_daily_bin1324.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/392486/ft2_4FGL_J1423.1+3738_daily_bin1324.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/392486/ft1_4FGL_J1423.1+3738_daily_bin1324.fits outfile=/scratch/kocevski/392486/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1324.fits ra=215.792 dec=37.6452 rad=12.0 tmin=582508801.0 tmax=582768001.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.72
user 3.43
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/392486/ft1_filtered_4FGL_J1423.1+3738_daily_bin1324.fits" evtable="EVENTS" scfile=/scratch/kocevski/392486/ft2_4FGL_J1423.1+3738_daily_bin1324.fits sctable="SC_DATA" outfile=/scratch/kocevski/392486/ltcube_582508801_582768001_4FGL_J1423.1+3738_daily_bin1324.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/392486/ft2_4FGL_J1423.1+3738_daily_bin1324.fits
.....................!
real 13.18
user 11.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/392486/ft1_filtered_4FGL_J1423.1+3738_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/392486/ft2_4FGL_J1423.1+3738_daily_bin1324.fits sctable="SC_DATA" expcube=/scratch/kocevski/392486/ltcube_582508801_582768001_4FGL_J1423.1+3738_daily_bin1324.fits outfile=/scratch/kocevski/392486/expmap_582508801_582768001_4FGL_J1423.1+3738_daily_bin1324.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/392486/ltcube_582508801_582768001_4FGL_J1423.1+3738_daily_bin1324.fits
.....................!
real 193.60
user 185.53
sys 4.88

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/392486/ft1_filtered_4FGL_J1423.1+3738_daily_bin1324.fits scfile=/scratch/kocevski/392486/ft2_4FGL_J1423.1+3738_daily_bin1324.fits outfile=/scratch/kocevski/392486/cmap_582508801_582768001_4FGL_J1423.1+3738_daily_bin1324.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/392486/ft1_filtered_4FGL_J1423.1+3738_daily_bin1324.fits scfile=/scratch/kocevski/392486/ft2_4FGL_J1423.1+3738_daily_bin1324.fits outfile=/scratch/kocevski/392486/cmap_HighResolution_582508801_582768001_4FGL_J1423.1+3738_daily_bin1324.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9822       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    22.740       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0561       1.0000         .10000E-03   10000.    
     5 'norm      '    7.7373       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2155       1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.872       1.0000         .10000E-03   10000.    
    13 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11505E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11296E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.077       1.0000         .10000E-03   10000.    
    18 'norm      '    5.1058       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.4083       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .41392       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .68099       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.5176       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=   6978.317     FROM MIGRAD    STATUS=CONVERGED    634 CALLS     3090 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9160        385.41       -.30733E-04   -.77132E-04
   2  Prefactor     .10000E-03    43.531        .95538E-06** at limit **
   3  norm          22.740        3.1035        .28192E-07   -.55196E-04
   4  Prefactor     1.0584        5.2018        .26934E-05   -.15219E-03
   5  norm          7.7381        9.7560        .14312E-06   -.11745E-04
   6  Prefactor     .10000E-03    6.9787        .60247E-07** at limit **
   7  Prefactor     .10000E-03    3.4357        .29301E-06** at limit **
   8  Prefactor     .10000E-03    15.622        .21184E-06** at limit **
   9  norm          .10000E-03    1.0365        .24250E-07** at limit **
  10  Prefactor     .10000E-03    4.7127        .20538E-07** at limit **
  11  Prefactor     7.2112        10.440        .14329E-06   -.94849E-05
  12  Prefactor     35.874        6.9351       -.47187E-08   -.10733E-03
  13  norm          .10000E-03    5.3507        .25347E-07** at limit **
  14  Prefactor     .10000E-03    38.891       -.88391E-06** at limit **
  15  norm          .10000E-03    2.8848        .71573E-07** at limit **
  16  Prefactor     .10000E-03    190.60        .35201E-05** at limit **
  17  Prefactor     22.079        37.773        .16344E-06   -.29748E-05
  18  norm          5.1056        5.8125       -.10157E-05    .11416E-03
  19  Prefactor     4.4095        8.1192        .48464E-05   -.41181E-03
  20  Prefactor     .10000E-03    4.2038       -.66516E-07** at limit **
  21  norm          .41460        1.0673        .42564E-06   -.35397E-03
  22  Prefactor     .10000E-03    4.7362        .12230E-06** at limit **
  23  Prefactor     .10000E-03    29.413        .37671E-06** at limit **
  24  Prefactor     .10000E-03    10.654        .12693E-06** at limit **
  25  Normalizat    .68098        .18587       -.46564E-06   -.16953E-03
  26  Prefactor     1.5173        .21077       -.99883E-06   -.11318E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.91603
  Prefactor  = 0.000100001
  norm       = 22.7404
  Prefactor  = 1.05841
  norm       = 7.73815
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.21122
  Prefactor  = 35.8736
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 22.0789
  norm       = 5.10564
  Prefactor  = 4.40953
  Prefactor  = 0.0001
  norm       = 0.4146
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.680983
  Prefactor  = 1.5173
 **********
 **   18 **HESSE 
 **********

 FCN=   6978.317     FROM HESSE     STATUS=OK           454 CALLS     3544 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9160        437.34        .23509E-03   -1.5366    
   2  Prefactor     .10000E-03    43.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.740        3.1041        .52150E-04   -1.4754    
   4  Prefactor     1.0584        5.3439        .35823E-03   -1.5502    
   5  norm          7.7381        9.7509        .14416E-03   -1.5152    
   6  Prefactor     .10000E-03    6.9958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.1489        .29982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.0395        .83047E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.7186        .17698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.2112        10.444        .14933E-03   -1.5171    
  12  Prefactor     35.874        6.9341        .66912E-04   -1.4509    
  13  norm          .10000E-03    5.3674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    39.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.9041        .13853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    194.40        .20680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.079        37.740        .85248E-04   -1.4768    
  18  norm          5.1056        5.8208        .88966E-03   -1.5256    
  19  Prefactor     4.4095        8.2128        .95905E-03   -1.5288    
  20  Prefactor     .10000E-03    4.2702        .16708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .41460        1.0828        .13074E-02   -1.5579    
  22  Prefactor     .10000E-03    4.8059        .17755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    29.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .68098        .22292        .31479E-03   -1.0465    
  26  Prefactor     1.5173        .25619        .26078E-03   -.77056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13598e-08
Minuit parameter uncertainties:
  1  71.9635
  2  0.000388515
  3  3.10417
  4  4.75695
  5  9.75286
  6  3.65021e-06
  7  3.03116e-05
  8  1.38183e-06
  9  4.04022e-07
  10  2.12468e-06
  11  10.4469
  12  6.9343
  13  1.21595e-07
  14  0.000368689
  15  7.79944e-07
  16  0.00148294
  17  37.7803
  18  5.82142
  19  8.21488
  20  1.14678e-05
  21  1.08283
  22  6.08808e-06
  23  8.53029e-05
  24  1.05477e-05
  25  0.223218
  26  0.256405
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  1.216e-07  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.517e+00  2.564e-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:  6.810e-01  2.232e-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: 2.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/392486/likelihoodResults_582508801_582768001_4FGL_J1423.1+3738_daily_bin1324.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) = 6978.31806359
delta logL = -0.000865096512825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6978.31719848
delta logL = 1.15805960377e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9207       1.0000          .0000       5.0000    
     3 'Normalizat'    .68098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5173       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6978.317     FROM MIGRAD    STATUS=FAILED        92 CALLS      239 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1019.3        .18142E-02** at limit **
   2  alpha         1.7196        3.3436        .17057       -.20262E-07
   3  Normalizat    .68098        .90428E-01    .31479E-03    .14518E-04
   4  Prefactor     1.5173        .10766        .26078E-03    .15642E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6978.317     FROM SIMPLEX   STATUS=UNCHANGED    184 CALLS      423 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1019.3        .34257E-03** at limit **
   2  alpha         1.7196        3.3436        .36566E-06   -.20262E-07
   3  Normalizat    .68098        .90428E-01    .39535E-07    .14518E-04
   4  Prefactor     1.5173        .10766        .22811E-08    .15642E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6978.317     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      451 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.5322        .36285E-03** at limit **
   2  alpha         1.7215        4.0300        .68228E-02    .35658E-07
   3  Normalizat    .68098        .21409        .12592E-04    .14627E-04
   4  Prefactor     1.5173        .25496        .52155E-04    .15782E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.72145
  Normalizat = 0.680984
  Prefactor  = 1.5173
 **********
 **   18 **HESSE 
 **********

 FCN=   6978.317     FROM HESSE     STATUS=OK            23 CALLS      474 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.5311        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7215        3.6414        .13646E-02   -.31669    
   3  Normalizat    .68098        .21401        .25183E-05   -1.0465    
   4  Prefactor     1.5173        .25490        .10431E-04   -.77056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44092e-11
Minuit parameter uncertainties:
  1  4.55638e-05
  2  281.324
  3  0.214277
  4  0.255115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/392486': 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) = 6978.31719821
delta logL = 2.74446392723e-07

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  4.556e-05  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.721e+00  2.813e+02  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.517e+00  2.551e-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:  6.810e-01  2.143e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/392486/cmap_HighResolution_582508801_582768001_4FGL_J1423.1+3738_daily_bin1324.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-05', job_status='DONE', photon_flux_upper_limit='2.69e-08', time_completed='2021-09-09 12:26:23.777886', job_id='392486', GAL2='1.52', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1631215583.78', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.52', dlogl='2.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1324' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 12:26:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 392486: <4FGL_J1423.1+3738_daily_bin1324> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1324 215.792 37.6452 582508801 582768001 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 :                                   784.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            893 sec.

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

