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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin783
RA = 353.557, Dec = 7.602
tmin = 442281601, tmax = 442540801
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='18264', job_status='RUN', time_executed='2021-09-29 23:34:46.365212', time_epoch_executed='1632983686.37' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='783'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18264

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18264/ft1_4FGL_J2334.2+0736_daily_bin783.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18264/ft2_4FGL_J2334.2+0736_daily_bin783.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18264/ft1_4FGL_J2334.2+0736_daily_bin783.fits outfile=/scratch/kocevski/18264/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin783.fits ra=353.557 dec=7.602 rad=12.0 tmin=442281601.0 tmax=442540801.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.44
user 3.20
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/18264/ft2_4FGL_J2334.2+0736_daily_bin783.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/18264/ft2_4FGL_J2334.2+0736_daily_bin783.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/18264/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin783.fits evtable="EVENTS" outfile="/scratch/kocevski/18264/ft1_filtered_4FGL_J2334.2+0736_daily_bin783.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.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18264/ft1_filtered_4FGL_J2334.2+0736_daily_bin783.fits" evtable="EVENTS" scfile=/scratch/kocevski/18264/ft2_4FGL_J2334.2+0736_daily_bin783.fits sctable="SC_DATA" outfile=/scratch/kocevski/18264/ltcube_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.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/18264/ft2_4FGL_J2334.2+0736_daily_bin783.fits
.....................!
real 11.98
user 11.63
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18264/ft1_filtered_4FGL_J2334.2+0736_daily_bin783.fits evtable="EVENTS" scfile=/scratch/kocevski/18264/ft2_4FGL_J2334.2+0736_daily_bin783.fits sctable="SC_DATA" expcube=/scratch/kocevski/18264/ltcube_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.fits outfile=/scratch/kocevski/18264/expmap_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.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/18264/ltcube_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.fits
.....................!
real 192.33
user 187.00
sys 4.95

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

Setting source of interest to:
4FGL J2334.2+0736 @ 353.557 7.602

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/18264/ft1_filtered_4FGL_J2334.2+0736_daily_bin783.fits scfile=/scratch/kocevski/18264/ft2_4FGL_J2334.2+0736_daily_bin783.fits outfile=/scratch/kocevski/18264/cmap_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.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.557 yref=7.602 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/18264/ft1_filtered_4FGL_J2334.2+0736_daily_bin783.fits scfile=/scratch/kocevski/18264/ft2_4FGL_J2334.2+0736_daily_bin783.fits outfile=/scratch/kocevski/18264/cmap_HighResolution_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.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.557 yref=7.602 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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/18264/ft1_filtered_4FGL_J2334.2+0736_daily_bin783.fits evtable="EVENTS" scfile=/scratch/kocevski/18264/ft2_4FGL_J2334.2+0736_daily_bin783.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/18264/Model_4FGL_J2334.2+0736_daily_bin783.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/18264/ft1_filtered_4FGL_J2334.2+0736_daily_bin783.fits.....................!
real 82.88
user 81.56
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/18264/ft1_filtered_4FGL_J2334.2+0736_daily_bin783.fits', '/scratch/kocevski/18264/ft2_4FGL_J2334.2+0736_daily_bin783.fits', expMap='/scratch/kocevski/18264/expmap_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.fits', expCube='/scratch/kocevski/18264/ltcube_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/18264/Model_4FGL_J2334.2+0736_daily_bin783.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.2+0736'

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  5.621e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/18264/ft1_filtered_4FGL_J2334.2+0736_daily_bin783.fits
Spacecraft file(s): /scratch/kocevski/18264/ft2_4FGL_J2334.2+0736_daily_bin783.fits
Exposure map: /scratch/kocevski/18264/expmap_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.fits
Exposure cube: /scratch/kocevski/18264/ltcube_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/18264/Model_4FGL_J2334.2+0736_daily_bin783.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) = 7442.1510913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.865       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8990       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .65396E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.720       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0721       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6508       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.357       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.020       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.878       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    32.086       1.0000         .10000E-03   10000.    
    17 'norm      '    .89442       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18623E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.710       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.8023       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0398       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81151       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7442.128     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2717 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.868        15.439       -.20013E-05   -.25485E-04
   2  Prefactor     .10000E-03    19.642        .26430E-05** at limit **
   3  Prefactor     .10000E-03    31.734        .22939E-06** at limit **
   4  Prefactor     5.8958        8.7038        .20904E-06   -.51359E-04
   5  Prefactor     .10413E-03    5.4671        .86626E-06** at limit **
   6  Prefactor     19.723        15.698       -.19082E-05   -.28230E-04
   7  norm          1.0721        .70706       -.10224E-07   -.10204E-03
   8  Prefactor     1.6465        3.6222        .76089E-06   -.10494E-02
   9  Prefactor     16.358        20.513       -.20201E-05   -.15329E-04
  10  Prefactor     .10000E-03    19.832       -.34724E-05** at limit **
  11  norm          13.025        9.6604        .12802E-05    .16216E-04
  12  Prefactor     14.880        8.4665        .96184E-06    .20735E-04
  13  Prefactor     .10000E-03    165.69       -.28465E-05** at limit **
  14  Prefactor     .10000E-03    3.7434       -.47028E-07** at limit **
  15  Prefactor     .10000E-03    9.1159       -.18978E-06** at limit **
  16  norm          32.085        17.645       -.59871E-08   -.11051E-05
  17  norm          .86568        8.6589        .28611E-05   -.56978E-03
  18  Prefactor     .10000E-03    1.7587       -.19285E-06** at limit **
  19  Prefactor     22.668        32.874       -.13519E-04   -.72837E-04
  20  Prefactor     .10000E-03    12.643        .80767E-07** at limit **
  21  Prefactor     .10000E-03    1.8385        .14190E-07** at limit **
  22  Prefactor     4.7994        14.530        .15140E-05   -.65050E-05
  23  Normalizat    1.0394        .19538        .19723E-05   -.23930E-03
  24  Prefactor     .81180        .11949       -.57492E-06   -.82530E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.8683
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.89576
  Prefactor  = 0.000104131
  Prefactor  = 19.7229
  norm       = 1.07214
  Prefactor  = 1.64648
  Prefactor  = 16.3581
  Prefactor  = 0.0001
  norm       = 13.0252
  Prefactor  = 14.8802
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 32.0854
  norm       = 0.865677
  Prefactor  = 0.0001
  Prefactor  = 22.6677
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.79941
  Normalizat = 1.03936
  Prefactor  = 0.811802
 **********
 **   18 **HESSE 
 **********

 FCN=   7442.128     FROM HESSE     STATUS=OK           415 CALLS     3132 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.868        15.472        .83768E-04   -1.4751    
   2  Prefactor     .10000E-03    19.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.8958        8.7118        .16534E-03   -1.5222    
   5  Prefactor     .10413E-03    5.9823        .69635E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.723        15.707        .90194E-04   -1.4819    
   7  norm          1.0721        .71308        .57027E-04   -1.5501    
   8  Prefactor     1.6465        17.619        .16430E-02   -1.5451    
   9  Prefactor     16.358        20.520        .99030E-04   -1.4899    
  10  Prefactor     .10000E-03    19.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.025        10.180        .11101E-03   -1.4986    
  12  Prefactor     14.880        8.4789        .10384E-03   -1.4936    
  13  Prefactor     .10000E-03    166.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.7576        .16288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.1341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          32.085        17.651        .70738E-04   -1.4574    
  17  norm          .86568        36.700        .47233E-02   -1.5522    
  18  Prefactor     .10000E-03    5.1514        .21731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.668        33.001        .84052E-04   -1.4755    
  20  Prefactor     .10000E-03    12.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.8408        .11423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.7994        14.563        .18358E-03   -1.5270    
  23  Normalizat    1.0394        .22840        .30008E-03   -.91723    
  24  Prefactor     .81180        .14116        .21377E-03   -.99295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.246e-08
Minuit parameter uncertainties:
  1  15.4744
  2  7.26781e-06
  3  2.33717e-05
  4  8.71364
  5  0.00994355
  6  15.7103
  7  0.713083
  8  10.7758
  9  20.5284
  10  2.09691e-06
  11  10.1815
  12  8.47958
  13  0.000172768
  14  4.7665e-07
  15  1.57925e-05
  16  17.6534
  17  11.2798
  18  4.66059e-06
  19  33.028
  20  4.1584e-05
  21  1.04057e-06
  22  14.5735
  23  0.22862
  24  0.141219
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.000e-04  1.579e-05  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  8.118e-01  1.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.039e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 6.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/18264/likelihoodResults_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.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) = 7442.12869267
delta logL = -0.000521543634022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7442.12817113
delta logL = -5.29144017491e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4679       1.0000          .0000       10.000    
     3 'Normalizat'    1.0394       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81181       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+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=   7442.128     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      241 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10008E-03    160.60        .18142E-02** at limit **
   2  Index         2.4491        7.3460        .50000        .22540E-05
   3  Normalizat    1.0394        .20643E-01    .30008E-03   -.17579E-04
   4  Prefactor     .81180        .13236E-01    .21377E-03   -.19092E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100077
  Index      = 2.44911
  Normalizat = 1.03937
  Prefactor  = 0.8118
 **********
 **   18 **HESSE 
 **********

 FCN=   7442.128     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10008E-03    687.14        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4491        5.5446        .50000       -.53539    
   3  Normalizat    1.0394        .46549E-01    .12003E-04   -.91723    
   4  Prefactor     .81180        .29844E-01    .85508E-05   -.99295    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.64946e-09
Minuit parameter uncertainties:
  1  0.0146871
  2  1550.06
  3  0.0465511
  4  0.029845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18264': 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) = 7442.12817111
delta logL = 8.1035977928e-09

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.001e-04  1.469e-02  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.449e+00  1.550e+03  0.000e+00  1.000e+01 (-1.000e+00)
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  8.118e-01  2.984e-02  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.039e+00  4.655e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 353.557 7.602

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/18264/cmap_HighResolution_442281601_442540801_4FGL_J2334.2+0736_daily_bin783.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', job_status='DONE', photon_flux_upper_limit='6.78e-08', time_completed='2021-09-29 23:46:45.234175', job_id='18264', GAL2='0.81', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1632984405.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='8.10e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='783' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:46:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 18264: <4FGL_J2334.2+0736_daily_bin783> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin783> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 23:30:38 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 23:30:39 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:30:39 2021
Terminated at Wed Sep 29 23:46:45 2021
Results reported at Wed Sep 29 23:46:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin783 353.557 7.602 442281601 442540801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.2+0736 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   718.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            967 sec.

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

