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


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1274
RA = 215.792, Dec = 37.6452
tmin = 569548801, tmax = 569808001
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='392415', job_status='RUN', time_executed='2021-09-09 12:14:18.165009', time_epoch_executed='1631214858.17' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1274'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/392415

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/392415/ft1_4FGL_J1423.1+3738_daily_bin1274.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/392415/ft2_4FGL_J1423.1+3738_daily_bin1274.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/392415/ft1_4FGL_J1423.1+3738_daily_bin1274.fits outfile=/scratch/kocevski/392415/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1274.fits ra=215.792 dec=37.6452 rad=12.0 tmin=569548801.0 tmax=569808001.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.89
user 3.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/392415/ft2_4FGL_J1423.1+3738_daily_bin1274.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/392415/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1274.fits evtable="EVENTS" outfile="/scratch/kocevski/392415/ft1_filtered_4FGL_J1423.1+3738_daily_bin1274.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.96
user 0.37
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/392415/ft1_filtered_4FGL_J1423.1+3738_daily_bin1274.fits evtable="EVENTS" scfile=/scratch/kocevski/392415/ft2_4FGL_J1423.1+3738_daily_bin1274.fits sctable="SC_DATA" expcube=/scratch/kocevski/392415/ltcube_569548801_569808001_4FGL_J1423.1+3738_daily_bin1274.fits outfile=/scratch/kocevski/392415/expmap_569548801_569808001_4FGL_J1423.1+3738_daily_bin1274.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/392415/ltcube_569548801_569808001_4FGL_J1423.1+3738_daily_bin1274.fits
.....................!
real 199.79
user 185.20
sys 3.92

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/392415/ft1_filtered_4FGL_J1423.1+3738_daily_bin1274.fits scfile=/scratch/kocevski/392415/ft2_4FGL_J1423.1+3738_daily_bin1274.fits outfile=/scratch/kocevski/392415/cmap_569548801_569808001_4FGL_J1423.1+3738_daily_bin1274.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.91
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/392415/ft1_filtered_4FGL_J1423.1+3738_daily_bin1274.fits scfile=/scratch/kocevski/392415/ft2_4FGL_J1423.1+3738_daily_bin1274.fits outfile=/scratch/kocevski/392415/cmap_HighResolution_569548801_569808001_4FGL_J1423.1+3738_daily_bin1274.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.90
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11985E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    22.745       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.7784       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .52721       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2333       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.891       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.544       1.0000         .10000E-03   10000.    
    15 'norm      '    31.516       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    16.314       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.5334       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .70582       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10776E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .72886       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1586       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=   6832.933     FROM MIGRAD    STATUS=CONVERGED   1111 CALLS     3120 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10009E-03    63.291        .19343    ** at limit **
   2  Prefactor     .10000E-03    75.012        .18142E-02** at limit **
   3  norm          22.745        2.8665        .47820E-04    .16713E-03
   4  Prefactor     .10000E-03    2.5459        .25284E-03** at limit **
   5  norm          6.7784        11.557        .77056E-03   -.22268E-03
   6  Prefactor     .10000E-03    17.370        .18142E-02** at limit **
   7  Prefactor     .52639        10.065        .26489E-02    .98457E-03
   8  Prefactor     .10000E-03    10.535        .18142E-02** at limit **
   9  norm          1.2323        3.8214        .26982E-03   -.84395E-04
  10  Prefactor     .10000E-03    5.1992        .18142E-02** at limit **
  11  Prefactor     .10000E-03    11.527        .18142E-02** at limit **
  12  Prefactor     17.890        5.0149        .92763E-04   -.23727E-03
  13  norm          .10000E-03    15.767        .18142E-02** at limit **
  14  Prefactor     11.544        12.270        .11791E-03   -.12053E-04
  15  norm          31.515        9.2860        .71374E-04   -.80916E-04
  16  Prefactor     .10000E-03    13.724        .18142E-02** at limit **
  17  Prefactor     .10000E-03    22.909        .18142E-02** at limit **
  18  norm          16.314        9.3419        .49580E-03    .40999E-04
  19  Prefactor     8.5327        8.8992        .13723E-03   -.15575E-04
  20  Prefactor     .10000E-03    2.3499        .12361E-02** at limit **
  21  norm          .70633        1.4230        .13370E-03   -.72532E-04
  22  Prefactor     .10000E-03    4.1712        .16457E-02** at limit **
  23  Prefactor     .10000E-03    179.41        .18142E-02** at limit **
  24  Prefactor     .10000E-03    8.1552        .18142E-02** at limit **
  25  Normalizat    .72885        .19457        .27158E-03   -.45168E-04
  26  Prefactor     1.1587        .21866        .25869E-03   -.76072E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100091
  Prefactor  = 0.0001
  norm       = 22.7451
  Prefactor  = 0.0001
  norm       = 6.77839
  Prefactor  = 0.0001
  Prefactor  = 0.526387
  Prefactor  = 0.0001
  norm       = 1.23228
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.8904
  norm       = 0.0001
  Prefactor  = 11.544
  norm       = 31.5151
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.3137
  Prefactor  = 8.53265
  Prefactor  = 0.0001
  norm       = 0.706333
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.728851
  Prefactor  = 1.15869
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.933     FROM HESSE     STATUS=OK           442 CALLS     3562 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10009E-03    65.282        .18919       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    75.024        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.745        2.8665        .19128E-05   -1.4754    
   4  Prefactor     .10000E-03    2.5459        .50569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.7784        11.555        .30823E-04   -1.5187    
   6  Prefactor     .10000E-03    17.377        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .52639        10.064        .10596E-03   -1.5563    
   8  Prefactor     .10000E-03    10.538        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2323        3.8202        .10793E-04   -1.5486    
  10  Prefactor     .10000E-03    5.1998        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.534        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.890        5.0144        .37105E-05   -1.4862    
  13  norm          .10000E-03    15.779        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.544        12.270        .47163E-05   -1.5028    
  15  norm          31.515        9.2853        .28550E-05   -1.4585    
  16  Prefactor     .10000E-03    13.724        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.913        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          16.314        9.3417        .19832E-04   -1.4900    
  19  Prefactor     8.5327        8.8988        .54890E-05   -1.5124    
  20  Prefactor     .10000E-03    2.3499        .24722E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .70633        1.4225        .53480E-05   -1.5540    
  22  Prefactor     .10000E-03    4.1717        .32915E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    179.44        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    8.1555        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .72885        .19470        .10863E-04   -1.0276    
  26  Prefactor     1.1587        .21890        .10348E-04   -.87612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35442e-09
Minuit parameter uncertainties:
  1  0.00488289
  2  0.000100374
  3  2.86651
  4  3.89127e-06
  5  11.5583
  6  6.97306e-05
  7  4.60363
  8  7.64554e-06
  9  3.82098
  10  7.0631e-06
  11  4.10809e-05
  12  5.01452
  13  2.56577e-05
  14  12.273
  15  9.28573
  16  7.83175e-05
  17  1.02176e-05
  18  9.34257
  19  8.90021
  20  1.39292e-06
  21  1.42261
  22  1.14309e-06
  23  7.61732e-05
  24  1.84083e-06
  25  0.194888
  26  0.219073
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  2.566e-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:  1.159e+00  2.191e-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.289e-01  1.949e-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.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/392415/likelihoodResults_569548801_569808001_4FGL_J1423.1+3738_daily_bin1274.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) = 6832.93332904
delta logL = -0.000302242427097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6832.93302721
delta logL = -4.15628164774e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10150E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8986       1.0000          .0000       5.0000    
     3 'Normalizat'    .72887       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1587       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=   6832.933     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      206 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    19.713        .90712E-02** at limit **
   2  alpha         1.9558        3.4372        .42767       -.18805E-04
   3  Normalizat    .72885        .15280        .61396E-01    .40136E-04
   4  Prefactor     1.1587        .18048        .58501E-01    .28620E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  alpha      = 1.95583
  Normalizat = 0.728851
  Prefactor  = 1.15869
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.933     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    16.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9558        3.4035        .50000       -.21943    
   3  Normalizat    .72885        .18333        .27158E-03   -1.0276    
   4  Prefactor     1.1587        .21671        .25869E-03   -.87612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.38058e-10
Minuit parameter uncertainties:
  1  0.000602244
  2  2.45141
  3  0.183481
  4  0.216876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/392415': 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) = 6832.93302658
delta logL = 2.16493390326e-07

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  6.022e-04  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.956e+00  2.451e+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.159e+00  2.169e-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.289e-01  1.835e-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/392415/cmap_HighResolution_569548801_569808001_4FGL_J1423.1+3738_daily_bin1274.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.65e-05', job_status='DONE', photon_flux_upper_limit='3.41e-08', time_completed='2021-09-09 12:27:45.866850', job_id='392415', GAL2='1.16', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1631215665.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='2.16e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1274' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 12:27:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 392415: <4FGL_J1423.1+3738_daily_bin1274> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1274 215.792 37.6452 569548801 569808001 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 :                                   766.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            981 sec.

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

