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


Performing analysis on: 4FGL_J2334.8+1432_daily_bin648
RA = 353.723, Dec = 14.5346
tmin = 407289601, tmax = 407548801
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='24437', job_status='RUN', time_executed='2021-09-29 23:51:00.396551', time_epoch_executed='1632984660.4' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='648'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24437

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24437/ft1_4FGL_J2334.8+1432_daily_bin648.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24437/ft2_4FGL_J2334.8+1432_daily_bin648.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24437/ft1_4FGL_J2334.8+1432_daily_bin648.fits outfile=/scratch/kocevski/24437/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin648.fits ra=353.723 dec=14.5346 rad=12.0 tmin=407289601.0 tmax=407548801.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.56
user 3.31
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/24437/ft2_4FGL_J2334.8+1432_daily_bin648.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/24437/ft2_4FGL_J2334.8+1432_daily_bin648.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/24437/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin648.fits evtable="EVENTS" outfile="/scratch/kocevski/24437/ft1_filtered_4FGL_J2334.8+1432_daily_bin648.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.49
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24437/ft1_filtered_4FGL_J2334.8+1432_daily_bin648.fits" evtable="EVENTS" scfile=/scratch/kocevski/24437/ft2_4FGL_J2334.8+1432_daily_bin648.fits sctable="SC_DATA" outfile=/scratch/kocevski/24437/ltcube_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.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/24437/ft2_4FGL_J2334.8+1432_daily_bin648.fits
.....................!
real 11.86
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24437/ft1_filtered_4FGL_J2334.8+1432_daily_bin648.fits evtable="EVENTS" scfile=/scratch/kocevski/24437/ft2_4FGL_J2334.8+1432_daily_bin648.fits sctable="SC_DATA" expcube=/scratch/kocevski/24437/ltcube_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.fits outfile=/scratch/kocevski/24437/expmap_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.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/24437/ltcube_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.fits
.....................!
real 190.51
user 185.21
sys 4.89

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2334.8+1432 @ 353.723 14.5346

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/24437/ft1_filtered_4FGL_J2334.8+1432_daily_bin648.fits scfile=/scratch/kocevski/24437/ft2_4FGL_J2334.8+1432_daily_bin648.fits outfile=/scratch/kocevski/24437/cmap_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.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=353.723 yref=14.5346 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24437/ft1_filtered_4FGL_J2334.8+1432_daily_bin648.fits scfile=/scratch/kocevski/24437/ft2_4FGL_J2334.8+1432_daily_bin648.fits outfile=/scratch/kocevski/24437/cmap_HighResolution_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.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=353.723 yref=14.5346 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/24437/ft1_filtered_4FGL_J2334.8+1432_daily_bin648.fits evtable="EVENTS" scfile=/scratch/kocevski/24437/ft2_4FGL_J2334.8+1432_daily_bin648.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/24437/Model_4FGL_J2334.8+1432_daily_bin648.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/24437/ft1_filtered_4FGL_J2334.8+1432_daily_bin648.fits.....................!
real 83.59
user 82.13
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/24437/ft1_filtered_4FGL_J2334.8+1432_daily_bin648.fits', '/scratch/kocevski/24437/ft2_4FGL_J2334.8+1432_daily_bin648.fits', expMap='/scratch/kocevski/24437/expmap_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.fits', expCube='/scratch/kocevski/24437/ltcube_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/24437/Model_4FGL_J2334.8+1432_daily_bin648.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.8+1432'

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  4.331e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/24437/ft1_filtered_4FGL_J2334.8+1432_daily_bin648.fits
Spacecraft file(s): /scratch/kocevski/24437/ft2_4FGL_J2334.8+1432_daily_bin648.fits
Exposure map: /scratch/kocevski/24437/expmap_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.fits
Exposure cube: /scratch/kocevski/24437/ltcube_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/24437/Model_4FGL_J2334.8+1432_daily_bin648.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) = 7342.35579046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29180       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7770       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1852       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.716       1.0000         .10000E-03   10000.    
    13 'norm      '    .20466E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7931       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7773       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1038       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0399       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7342.282     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2167 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28251        1.4968        .11337E-06   -.11474E-03
   2  Prefactor     .10000E-03    5.2483       -.76413E-07** at limit **
   3  Prefactor     .10000E-03    7.2015        .47359E-07** at limit **
   4  Prefactor     .10000E-03    23.995       -.12097E-06** at limit **
   5  Prefactor     .10000E-03    10.983        .74504E-07** at limit **
   6  Prefactor     1.7769        .25361        .71616E-09   -.50900E-05
   7  Prefactor     .10000E-03    47.038       -.40590E-06** at limit **
   8  Prefactor     .10000E-03    2.0645       -.70212E-08** at limit **
   9  Prefactor     .10000E-03    4.2208        .49122E-08** at limit **
  10  Prefactor     8.1838        7.2770        .32562E-07    .93872E-05
  11  Prefactor     .10000E-03    2.5056       -.16216E-08** at limit **
  12  Prefactor     13.695        24.952       -.16192E-06   -.77437E-04
  13  norm          .10018E-03    5.5096       -.47957E-06** at limit **
  14  Prefactor     1.8036        7.7602        .36035E-05   -.95595E-04
  15  Prefactor     .10000E-03    5.1434        .72259E-07** at limit **
  16  norm          .10000E-03    11.143       -.12998E-06** at limit **
  17  Prefactor     .10000E-03    37.366        .62238E-06** at limit **
  18  Prefactor     4.7719        16.689        .41347E-06   -.20158E-04
  19  Prefactor     .10000E-03    2.8844        .54921E-08** at limit **
  20  Normalizat    1.1040        .22010       -.29040E-06   -.39452E-04
  21  Prefactor     1.0397        .12813       -.18722E-06   -.33773E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.282515
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.77694
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.18382
  Prefactor  = 0.0001
  Prefactor  = 13.695
  norm       = 0.000100184
  Prefactor  = 1.80358
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.77194
  Prefactor  = 0.0001
  Normalizat = 1.10402
  Prefactor  = 1.03974
 **********
 **   18 **HESSE 
 **********

 FCN=   7342.282     FROM HESSE     STATUS=OK           315 CALLS     2482 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28251        7.0631        .19471E-02   -1.5602    
   2  Prefactor     .10000E-03    5.2656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.2917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    24.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7769        .25374        .15676E-04   -1.5441    
   7  Prefactor     .10000E-03    47.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.0678        .12023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.2304        .17192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.1838        7.2565        .14013E-03   -1.5136    
  11  Prefactor     .10000E-03    2.5088        .13245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.695        24.985        .10815E-03   -1.4968    
  13  norm          .10018E-03    34.010        .38569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.8036        7.9022        .31232E-03   -1.5439    
  15  Prefactor     .10000E-03    5.1448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    11.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    37.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7719        16.672        .18408E-03   -1.5271    
  19  Prefactor     .10000E-03    2.9031        .14210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1040        .25761        .32663E-03   -.89623    
  21  Prefactor     1.0397        .15055        .20503E-03   -.91416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28869e-08
Minuit parameter uncertainties:
  1  2.82507
  2  1.77021e-05
  3  2.24818e-06
  4  6.51057e-05
  5  1.46106e-05
  6  0.253745
  7  0.000304438
  8  1.24932e-07
  9  2.49756e-06
  10  7.25724
  11  3.24029e-06
  12  25.004
  13  0.00501214
  14  7.5519
  15  1.42326e-05
  16  1.69939e-05
  17  0.000284126
  18  16.6885
  19  2.99591e-07
  20  0.2579
  21  0.150615
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.000e-04  1.699e-05  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.040e+00  1.506e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  1.104e+00  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 353.723 14.535
Photon Flux Upper Limit: 4.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.11e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/24437/likelihoodResults_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.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) = 7342.28230751
delta logL = -0.000424577934609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7342.28188288
delta logL = 5.76847014599e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10190E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9299       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1040       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0397       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+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=   7342.282     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      260 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .33738        .84963E-01** at limit **
   2  alpha         2.7577        3.6611        .50000        .14518E-06
   3  Normalizat    1.1040        .19683E-02    .32663E-03    .29387E-03
   4  Prefactor     1.0397        .12105E-02    .20503E-03    .62739E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.75768
  Normalizat = 1.10402
  Prefactor  = 1.03974
 **********
 **   18 **HESSE 
 **********

 FCN=   7342.282     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    253.51        .26830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7577        2.9417        .50000        .10325    
   3  Normalizat    1.1040        .15308E-01    .13065E-04   -.89623    
   4  Prefactor     1.0397        .94144E-02    .41005E-04   -.91416    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.54694e-10
Minuit parameter uncertainties:
  1  0.00077269
  2  405.31
  3  0.015308
  4  0.00941445
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24437': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7342.28187997
delta logL = 2.96289817925e-06

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.000e-04  7.727e-04  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  2.758e+00  4.053e+02  0.000e+00  5.000e+00 ( 1.000e+00)
451         beta:  8.816e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.040e+00  9.414e-03  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  1.104e+00  1.531e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 353.723 14.535

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/24437/cmap_HighResolution_407289601_407548801_4FGL_J2334.8+1432_daily_bin648.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.11e-05', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2021-09-30 00:02:08.422577', job_id='24437', GAL2='1.04', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1632985328.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.96e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='648' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 00:02:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 24437: <4FGL_J2334.8+1432_daily_bin648> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin648> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 23:50:42 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 23:50:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 23:50:46 2021
Terminated at Thu Sep 30 00:02:09 2021
Results reported at Thu Sep 30 00:02:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin648 353.723 14.5346 407289601 407548801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.8+1432 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   661.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             382.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            687 sec.

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

