/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 120 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 = 7398
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2334.8+1432_daily_bin30
RA = 353.723, Dec = 14.5346
tmin = 247104001, tmax = 247363201
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='22580', job_status='RUN', time_executed='2021-09-29 23:47:32.069552', time_epoch_executed='1632984452.07' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='30'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/22580

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/22580/ft1_4FGL_J2334.8+1432_daily_bin30.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/22580/ft2_4FGL_J2334.8+1432_daily_bin30.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/22580/ft1_4FGL_J2334.8+1432_daily_bin30.fits outfile=/scratch/kocevski/22580/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin30.fits ra=353.723 dec=14.5346 rad=12.0 tmin=247104001.0 tmax=247363201.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 1.49
user 1.31
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/22580/ft2_4FGL_J2334.8+1432_daily_bin30.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/22580/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin30.fits evtable="EVENTS" outfile="/scratch/kocevski/22580/ft1_filtered_4FGL_J2334.8+1432_daily_bin30.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/22580/ft1_filtered_4FGL_J2334.8+1432_daily_bin30.fits" evtable="EVENTS" scfile=/scratch/kocevski/22580/ft2_4FGL_J2334.8+1432_daily_bin30.fits sctable="SC_DATA" outfile=/scratch/kocevski/22580/ltcube_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.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/22580/ft2_4FGL_J2334.8+1432_daily_bin30.fits
.....................!
real 12.38
user 12.04
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/22580/ft1_filtered_4FGL_J2334.8+1432_daily_bin30.fits evtable="EVENTS" scfile=/scratch/kocevski/22580/ft2_4FGL_J2334.8+1432_daily_bin30.fits sctable="SC_DATA" expcube=/scratch/kocevski/22580/ltcube_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.fits outfile=/scratch/kocevski/22580/expmap_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.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/22580/ltcube_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.fits
.....................!
real 191.62
user 186.62
sys 4.65

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/22580/ft1_filtered_4FGL_J2334.8+1432_daily_bin30.fits scfile=/scratch/kocevski/22580/ft2_4FGL_J2334.8+1432_daily_bin30.fits outfile=/scratch/kocevski/22580/cmap_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/22580/ft1_filtered_4FGL_J2334.8+1432_daily_bin30.fits scfile=/scratch/kocevski/22580/ft2_4FGL_J2334.8+1432_daily_bin30.fits outfile=/scratch/kocevski/22580/cmap_HighResolution_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.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.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/22580/ft1_filtered_4FGL_J2334.8+1432_daily_bin30.fits', '/scratch/kocevski/22580/ft2_4FGL_J2334.8+1432_daily_bin30.fits', expMap='/scratch/kocevski/22580/expmap_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.fits', expCube='/scratch/kocevski/22580/ltcube_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/22580/Model_4FGL_J2334.8+1432_daily_bin30.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/22580/ft1_filtered_4FGL_J2334.8+1432_daily_bin30.fits
Spacecraft file(s): /scratch/kocevski/22580/ft2_4FGL_J2334.8+1432_daily_bin30.fits
Exposure map: /scratch/kocevski/22580/expmap_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.fits
Exposure cube: /scratch/kocevski/22580/ltcube_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/22580/Model_4FGL_J2334.8+1432_daily_bin30.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) = 7252.15922912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29835E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4633       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.9999       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.209       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4613       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5039       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2808       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4541       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.061       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2052       1.0000         .10000E-03   10000.    
    13 'norm      '    17.212       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.957       1.0000         .10000E-03   10000.    
    15 'Prefactor '    39.983       1.0000         .10000E-03   10000.    
    16 'norm      '    18.562       1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.195       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3815       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .86712       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89126       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=   7252.156     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2209 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13104E-01    1.3411       -.40519E-06   -.97947E-05
   2  Prefactor     6.4787        12.873        .21531E-05    .38799E-04
   3  Prefactor     .10000E-03    5.3037        .36524E-07** at limit **
   4  Prefactor     6.9978        29.055       -.33113E-05   -.13038E-04
   5  Prefactor     16.205        25.434       -.37186E-05   -.15766E-04
   6  Prefactor     3.4613        .33126        .52490E-08   -.47684E-03
   7  Prefactor     .10000E-03    19.663       -.36622E-06** at limit **
   8  Prefactor     2.5035        4.9172        .33353E-05   -.50711E-03
   9  Prefactor     7.2796        9.7382        .11161E-05   -.82611E-04
  10  Prefactor     2.4554        4.4719       -.68012E-06   -.55100E-03
  11  Prefactor     13.060        16.027        .18675E-06   -.40991E-04
  12  Prefactor     3.1954        26.041        .15510E-05   -.64484E-04
  13  norm          17.212        14.579        .11010E-05   -.40359E-04
  14  Prefactor     21.957        10.485       -.53960E-06   -.31600E-04
  15  Prefactor     39.983        30.058       -.13927E-05   -.19414E-05
  16  norm          18.562        14.347       -.21272E-07    .53734E-06
  17  Prefactor     24.189        47.518       -.10932E-04   -.13804E-05
  18  Prefactor     .10000E-03    13.943       -.12367E-06** at limit **
  19  Prefactor     6.3826        7.0063       -.78668E-06   -.91605E-04
  20  Normalizat    .86701        .21482        .78352E-06    .28030E-04
  21  Prefactor     .89139        .12502       -.89954E-07    .10380E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0131042
  Prefactor  = 6.4787
  Prefactor  = 0.0001
  Prefactor  = 6.99784
  Prefactor  = 16.2049
  Prefactor  = 3.46127
  Prefactor  = 0.0001
  Prefactor  = 2.50347
  Prefactor  = 7.27958
  Prefactor  = 2.45537
  Prefactor  = 13.0596
  Prefactor  = 3.1954
  norm       = 17.2122
  Prefactor  = 21.9574
  Prefactor  = 39.9826
  norm       = 18.5621
  Prefactor  = 24.1892
  Prefactor  = 0.0001
  Prefactor  = 6.38259
  Normalizat = 0.867007
  Prefactor  = 0.891393
 **********
 **   18 **HESSE 
 **********

 FCN=   7252.156     FROM HESSE     STATUS=OK           339 CALLS     2548 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13104E-01    2.9935        .32460E-01   -1.5685    
   2  Prefactor     6.4787        13.080        .15787E-03   -1.5199    
   3  Prefactor     .10000E-03    5.3164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.9978        29.180        .15163E-03   -1.5179    
   5  Prefactor     16.205        25.569        .99482E-04   -1.4903    
   6  Prefactor     3.4613        .33260        .14191E-04   -1.5336    
   7  Prefactor     .10000E-03    19.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.5035        4.6936        .24537E-03   -1.5392    
   9  Prefactor     7.2796        9.7088        .14865E-03   -1.5168    
  10  Prefactor     2.4554        4.4603        .22891E-03   -1.5395    
  11  Prefactor     13.060        15.965        .11083E-03   -1.4985    
  12  Prefactor     3.1954        25.596        .22631E-03   -1.5350    
  13  norm          17.212        14.534        .96539E-04   -1.4878    
  14  Prefactor     21.957        10.499        .85479E-04   -1.4770    
  15  Prefactor     39.983        30.045        .63391E-04   -1.4442    
  16  norm          18.562        14.348        .92962E-04   -1.4846    
  17  Prefactor     24.189        47.928        .81436E-04   -1.4724    
  18  Prefactor     .10000E-03    13.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.3826        7.0349        .15889E-03   -1.5203    
  20  Normalizat    .86701        .24998        .35067E-03   -.97629    
  21  Prefactor     .89139        .14554        .21311E-03   -.96443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90855e-10
Minuit parameter uncertainties:
  1  0.394627
  2  13.086
  3  1.59413e-05
  4  28.6034
  5  25.5861
  6  0.332597
  7  4.76012e-06
  8  4.69429
  9  9.71094
  10  4.46091
  11  15.9705
  12  18.0978
  13  14.5368
  14  10.5003
  15  30.0568
  16  14.3506
  17  48.0046
  18  3.42858e-05
  19  7.03584
  20  0.250318
  21  0.145599
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.856e+01  1.435e+01  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:  8.914e-01  1.456e-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:  8.670e-01  2.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.19
Ra Dec: 353.723 14.535
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 2.70e-08 +/- 2.09e-08
Energy Flux (Fixed Index): 2.29e-05 +/- 1.77e-05

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) = 7251.90086472
delta logL = 0.255323241472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7251.88461904
delta logL = 0.271568924887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.447       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3239       1.0000          .0000       5.0000    
     3 'Normalizat'    .87917       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89067       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.

 FCN=   7251.885     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      215 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.430        14.226        .25477E-02    .70189E-04
   2  alpha         1.3230        .54782        .49280       -.48518E-04
   3  Normalizat    .87921        .20082        .78728E-01    .10839E-03
   4  Prefactor     .89065        .12387        .44886E-01    .74612E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.4304
  alpha      = 1.32296
  Normalizat = 0.879209
  Prefactor  = 0.890654
 **********
 **   18 **HESSE 
 **********

 FCN=   7251.885     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.430        16.943        .10191E-03   -1.4922    
   2  alpha         1.3230        .74987        .19642E-01   -.49022    
   3  Normalizat    .87921        .23107        .34850E-03   -.97195    
   4  Prefactor     .89065        .14348        .21328E-03   -.96468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85275e-11
Minuit parameter uncertainties:
  1  16.9486
  2  0.76512
  3  0.231332
  4  0.143545
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/22580': 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) = 7251.88461829
delta logL = 0.271569673838

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.543e+01  1.695e+01  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  1.323e+00  7.651e-01  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:  8.907e-01  1.435e-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:  8.792e-01  2.313e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.72
Ra Dec: 353.723 14.535
Photon Index (Free Index): 1.32 +/- 0.77
Photon Flux (Free Index): 1.22e-08 +/- 1.67e-08
Energy Flux (Free Index): 4.41e-05 +/- 5.87e-05

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/22580/cmap_HighResolution_247104001_247363201_4FGL_J2334.8+1432_daily_bin30.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.70e-08', energy_flux2='4.41e-05', photon_flux_error='2.09e-08', dlogl='2.72e-01', energy_flux='2.29e-05', photon_flux2='1.22e-08', job_status='DONE', time_completed='2021-09-29 23:57:44.152892', photon_index_error2='0.77', photon_index2='1.32', ts='5.19', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='5.87e-05', EG='0.87', time_epoch_completed='1632985064.15', return_code='0', job_id='22580', GAL2='0.89', EG2='0.88', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='1.67e-08', ts2='5.72', photon_index='1.90' WHERE bin_id='30' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:57:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 22580: <4FGL_J2334.8+1432_daily_bin30> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin30> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 23:45:21 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 23:45:23 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:45:23 2021
Terminated at Wed Sep 29 23:57:44 2021
Results reported at Wed Sep 29 23:57:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin30 353.723 14.5346 247104001 247363201 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 :                                   608.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            743 sec.

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

