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


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1075
RA = 215.792, Dec = 37.6452
tmin = 517968001, tmax = 518227201
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='390855', job_status='RUN', time_executed='2021-09-09 12:06:37.324110', time_epoch_executed='1631214397.32' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1075'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/390855

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/390855/ft1_4FGL_J1423.1+3738_daily_bin1075.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/390855/ft2_4FGL_J1423.1+3738_daily_bin1075.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/390855/ft1_4FGL_J1423.1+3738_daily_bin1075.fits outfile=/scratch/kocevski/390855/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1075.fits ra=215.792 dec=37.6452 rad=12.0 tmin=517968001.0 tmax=518227201.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 3.71
user 3.46
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/390855/ft2_4FGL_J1423.1+3738_daily_bin1075.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/390855/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1075.fits evtable="EVENTS" outfile="/scratch/kocevski/390855/ft1_filtered_4FGL_J1423.1+3738_daily_bin1075.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 0.51
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/390855/ft1_filtered_4FGL_J1423.1+3738_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/390855/ft2_4FGL_J1423.1+3738_daily_bin1075.fits sctable="SC_DATA" expcube=/scratch/kocevski/390855/ltcube_517968001_518227201_4FGL_J1423.1+3738_daily_bin1075.fits outfile=/scratch/kocevski/390855/expmap_517968001_518227201_4FGL_J1423.1+3738_daily_bin1075.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/390855/ltcube_517968001_518227201_4FGL_J1423.1+3738_daily_bin1075.fits
.....................!
real 190.43
user 185.34
sys 4.38

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/390855/ft1_filtered_4FGL_J1423.1+3738_daily_bin1075.fits scfile=/scratch/kocevski/390855/ft2_4FGL_J1423.1+3738_daily_bin1075.fits outfile=/scratch/kocevski/390855/cmap_517968001_518227201_4FGL_J1423.1+3738_daily_bin1075.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.70
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/390855/ft1_filtered_4FGL_J1423.1+3738_daily_bin1075.fits scfile=/scratch/kocevski/390855/ft2_4FGL_J1423.1+3738_daily_bin1075.fits outfile=/scratch/kocevski/390855/cmap_HighResolution_517968001_518227201_4FGL_J1423.1+3738_daily_bin1075.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=215.792 yref=37.6452 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.75
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    189.40       1.0000         .10000E-03   10000.    
     2 'Prefactor '    103.14       1.0000         .10000E-03   10000.    
     3 'norm      '    8.2281       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.119       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.4247       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .92345       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17354E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.460       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .39282       1.0000         .10000E-03   10000.    
    13 'norm      '    .10314E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12540E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.5911       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.984       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1195       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95355       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=   5946.324     FROM MIGRAD    STATUS=CONVERGED    620 CALLS     3299 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     189.43        108.09        .16801E-04   -.41828E-05
   2  Prefactor     103.17        85.585        .18829E-04   -.28785E-05
   3  norm          8.2288        2.4782       -.22489E-07    .50368E-04
   4  Prefactor     .10000E-03    2.5491        .19006E-08** at limit **
   5  norm          .10000E-03    7.4937        .42976E-07** at limit **
   6  Prefactor     13.121        16.013       -.86752E-06    .37061E-04
   7  Prefactor     4.4246        5.2688       -.26621E-06   -.42596E-04
   8  Prefactor     .10000E-03    17.498       -.18711E-04** at limit **
   9  norm          .92511        3.4694       -.13630E-05   -.11287E-02
  10  Prefactor     .10000E-03    35.667       -.48142E-05** at limit **
  11  Prefactor     22.420        22.678        .30173E-05    .20885E-03
  12  Prefactor     .38825        2.3103       -.49106E-06    .28369E-03
  13  norm          .10000E-03    13.754        .56542E-05** at limit **
  14  Prefactor     .10000E-03    136.62       -.44720E-04** at limit **
  15  norm          .10000E-03    1.6808       -.12627E-07** at limit **
  16  Prefactor     .10000E-03    78.046        .49143E-04** at limit **
  17  Prefactor     .10000E-03    19.073        .26104E-05** at limit **
  18  norm          7.5913        7.0276        .12351E-06   -.17654E-05
  19  Prefactor     12.986        16.323        .91229E-06   -.30695E-04
  20  Prefactor     .10000E-03    2.2480        .50065E-08** at limit **
  21  norm          .10000E-03    .42486        .30660E-07** at limit **
  22  Prefactor     .10000E-03    11.222       -.12268E-05** at limit **
  23  Prefactor     .10000E-03    19.870        .14905E-04** at limit **
  24  Prefactor     .10000E-03    55.055       -.18736E-04** at limit **
  25  Normalizat    1.1192        .19263       -.31948E-05    .69999E-03
  26  Prefactor     .95376        .20171        .10944E-05    .18770E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 189.432
  Prefactor  = 103.166
  norm       = 8.22877
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.1211
  Prefactor  = 4.42462
  Prefactor  = 0.0001
  norm       = 0.925115
  Prefactor  = 0.000100001
  Prefactor  = 22.42
  Prefactor  = 0.388251
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.59129
  Prefactor  = 12.9863
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.11917
  Prefactor  = 0.953764
 **********
 **   18 **HESSE 
 **********

 FCN=   5946.324     FROM HESSE     STATUS=OK           454 CALLS     3753 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     189.43        108.06        .14672E-03   -1.2947    
   2  Prefactor     103.17        85.515        .19796E-03   -1.3673    
   3  norm          8.2288        2.4877        .63119E-04   -1.5134    
   4  Prefactor     .10000E-03    2.6047        .12018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    7.5244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.121        15.998        .11059E-03   -1.4983    
   7  Prefactor     4.4246        5.2648        .18655E-03   -1.5287    
   8  Prefactor     .10000E-03    17.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .92511        3.4546        .26529E-03   -1.5516    
  10  Prefactor     .10000E-03    35.977        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.420        22.778        .84518E-04   -1.4761    
  12  Prefactor     .38825        9.7965        .21802E-02   -1.5583    
  13  norm          .10000E-03    13.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    139.21        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.6825        .97623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    78.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.5913        7.0275        .14555E-03   -1.5157    
  19  Prefactor     12.986        16.343        .11116E-03   -1.4987    
  20  Prefactor     .10000E-03    2.2514        .11290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .42739        .49058E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    19.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    55.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1192        .23363        .23749E-03   -.89139    
  26  Prefactor     .95376        .24370        .28218E-03   -.94287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64529e-09
Minuit parameter uncertainties:
  1  108.17
  2  85.617
  3  2.4877
  4  2.99081e-06
  5  1.40505e-05
  6  16.0032
  7  5.26533
  8  9.78461e-05
  9  3.45532
  10  0.000357382
  11  22.7868
  12  3.90073
  13  5.41949e-05
  14  0.00155525
  15  4.15871e-07
  16  0.00030296
  17  2.48345e-05
  18  7.02831
  19  16.3491
  20  1.93277e-06
  21  1.2611e-06
  22  6.74827e-05
  23  6.44311e-06
  24  0.000376949
  25  0.233849
  26  0.243982
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  5.419e-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:  9.538e-01  2.440e-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.119e+00  2.338e-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.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/390855/likelihoodResults_517968001_518227201_4FGL_J1423.1+3738_daily_bin1075.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) = 5946.32473966
delta logL = -0.000343742355653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5946.32439557
delta logL = 3.5539324017e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10360E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9849       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95376       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=   5946.324     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      240 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    19.653        .18142E-02** at limit **
   2  alpha         2.0519        3.4351        .16925       -.21990E-04
   3  Normalizat    1.1192        .21267        .23749E-03    .11642E-03
   4  Prefactor     .95377        .23641        .28217E-03    .28276E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010001
  alpha      = 2.05194
  Normalizat = 1.11916
  Prefactor  = 0.953775
 **********
 **   18 **HESSE 
 **********

 FCN=   5946.324     FROM HESSE     STATUS=OK            25 CALLS      265 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    19.405        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0519        3.4319        .67701E-01   -.18020    
   3  Normalizat    1.1192        .21288        .94996E-05   -.89139    
   4  Prefactor     .95377        .23665        .56435E-04   -.94287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23521e-09
Minuit parameter uncertainties:
  1  0.000882621
  2  2.46
  3  0.213048
  4  0.236907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/390855': 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) = 5946.32439487
delta logL = 1.04834816739e-06

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  8.826e-04  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  2.052e+00  2.460e+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:  9.538e-01  2.369e-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.119e+00  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/390855/cmap_HighResolution_517968001_518227201_4FGL_J1423.1+3738_daily_bin1075.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', job_status='DONE', photon_flux_upper_limit='3.96e-08', time_completed='2021-09-09 12:18:42.224047', job_id='390855', GAL2='0.95', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1631215122.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.05e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1075' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 12:18:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 390855: <4FGL_J1423.1+3738_daily_bin1075> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1075 215.792 37.6452 517968001 518227201 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 :                                   716.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            739 sec.

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

