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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1231
RA = 353.557, Dec = 7.602
tmin = 558403201, tmax = 558662401
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='21016', job_status='RUN', time_executed='2021-09-29 23:42:28.097035', time_epoch_executed='1632984148.1' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21016

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21016/ft1_4FGL_J2334.2+0736_daily_bin1231.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21016/ft2_4FGL_J2334.2+0736_daily_bin1231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21016/ft1_4FGL_J2334.2+0736_daily_bin1231.fits outfile=/scratch/kocevski/21016/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1231.fits ra=353.557 dec=7.602 rad=12.0 tmin=558403201.0 tmax=558662401.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.79
user 3.56
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21016/ft2_4FGL_J2334.2+0736_daily_bin1231.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/21016/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1231.fits evtable="EVENTS" outfile="/scratch/kocevski/21016/ft1_filtered_4FGL_J2334.2+0736_daily_bin1231.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21016/ft1_filtered_4FGL_J2334.2+0736_daily_bin1231.fits" evtable="EVENTS" scfile=/scratch/kocevski/21016/ft2_4FGL_J2334.2+0736_daily_bin1231.fits sctable="SC_DATA" outfile=/scratch/kocevski/21016/ltcube_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.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/21016/ft2_4FGL_J2334.2+0736_daily_bin1231.fits
.....................!
real 11.67
user 11.26
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21016/ft1_filtered_4FGL_J2334.2+0736_daily_bin1231.fits evtable="EVENTS" scfile=/scratch/kocevski/21016/ft2_4FGL_J2334.2+0736_daily_bin1231.fits sctable="SC_DATA" expcube=/scratch/kocevski/21016/ltcube_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.fits outfile=/scratch/kocevski/21016/expmap_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.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/21016/ltcube_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.fits
.....................!
real 189.86
user 184.56
sys 4.99

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/21016/ft1_filtered_4FGL_J2334.2+0736_daily_bin1231.fits scfile=/scratch/kocevski/21016/ft2_4FGL_J2334.2+0736_daily_bin1231.fits outfile=/scratch/kocevski/21016/cmap_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21016/ft1_filtered_4FGL_J2334.2+0736_daily_bin1231.fits scfile=/scratch/kocevski/21016/ft2_4FGL_J2334.2+0736_daily_bin1231.fits outfile=/scratch/kocevski/21016/cmap_HighResolution_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.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.57
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21016/ft1_filtered_4FGL_J2334.2+0736_daily_bin1231.fits', '/scratch/kocevski/21016/ft2_4FGL_J2334.2+0736_daily_bin1231.fits', expMap='/scratch/kocevski/21016/expmap_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.fits', expCube='/scratch/kocevski/21016/ltcube_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21016/Model_4FGL_J2334.2+0736_daily_bin1231.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/21016/ft1_filtered_4FGL_J2334.2+0736_daily_bin1231.fits
Spacecraft file(s): /scratch/kocevski/21016/ft2_4FGL_J2334.2+0736_daily_bin1231.fits
Exposure map: /scratch/kocevski/21016/expmap_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.fits
Exposure cube: /scratch/kocevski/21016/ltcube_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21016/Model_4FGL_J2334.2+0736_daily_bin1231.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) = 7676.28886826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9921       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.375       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .40242       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .59519       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.738       1.0000         .10000E-03   10000.    
    10 'Prefactor '    88.266       1.0000         .10000E-03   10000.    
    11 'norm      '    6.1515       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.904       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.5922       1.0000         .10000E-03   10000.    
    17 'norm      '    25.087       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.3423       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.0166       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89484       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91969       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7676.288     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2686 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9905        15.645         .0000       -.49535E-04
   2  Prefactor     .10001E-03    5.4290         .0000    ** at limit **
   3  Prefactor     14.374        35.440         .0000        .77401E-03
   4  Prefactor     .40296        4.9967         .0000        .57876E-01
   5  Prefactor     .10003E-03    4.2748         .0000    ** at limit **
   6  Prefactor     .10008E-03    7.5971         .0000    ** at limit **
   7  norm          .59439        .93157         .0000       -.11603E-02
   8  Prefactor     .10004E-03    4.3344         .0000    ** at limit **
   9  Prefactor     13.738        15.594         .0000        .85888E-04
  10  Prefactor     88.266        60.203         .0000        .66827E-03
  11  norm          6.1497        7.3778         .0000       -.65257E-03
  12  Prefactor     .10000E-03    2.2957         .0000    ** at limit **
  13  Prefactor     .10000E-03    65.783         .0000    ** at limit **
  14  Prefactor     19.908        17.358         .0000        .78797E-03
  15  Prefactor     .10000E-03    18.617         .0000    ** at limit **
  16  norm          7.5922        8.3410         .0000        .73563E-04
  17  norm          25.089        28.605         .0000       -.38525E-03
  18  Prefactor     4.3399        6.4067         .0000        .12099E-01
  19  Prefactor     5.0117        71.395         .0000        .15577E-02
  20  Prefactor     .10000E-03    5.7701         .0000    ** at limit **
  21  Prefactor     .10000E-03    2.8325         .0000    ** at limit **
  22  Prefactor     .10011E-03    7.2027         .0000    ** at limit **
  23  Normalizat    .89497        .18176         .0000        .39994E-03
  24  Prefactor     .91962        .11231         .0000        .33534E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.99055
  Prefactor  = 0.000100007
  Prefactor  = 14.3742
  Prefactor  = 0.402961
  Prefactor  = 0.000100031
  Prefactor  = 0.000100081
  norm       = 0.594386
  Prefactor  = 0.000100041
  Prefactor  = 13.7381
  Prefactor  = 88.2662
  norm       = 6.14972
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.9083
  Prefactor  = 0.000100001
  norm       = 7.59217
  norm       = 25.089
  Prefactor  = 4.33986
  Prefactor  = 5.0117
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100108
  Normalizat = 0.894969
  Prefactor  = 0.919618
 **********
 **   18 **HESSE 
 **********

 FCN=   7676.288     FROM HESSE     STATUS=OK           397 CALLS     3083 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9905        15.666        .14183E-03   -1.5143    
   2  Prefactor     .10001E-03    5.4321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.374        35.496        .10564E-03   -1.4950    
   4  Prefactor     .40296        2.4375        .48819E-01   -1.5581    
   5  Prefactor     .10003E-03    4.2910        .17690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10008E-03    7.6145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .59439        .77610        .10023E-02   -1.5554    
   8  Prefactor     .10004E-03    4.3503        .17801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.738        15.595        .10806E-03   -1.4966    
  10  Prefactor     88.266        60.156        .42766E-04   -1.3826    
  11  norm          6.1497        7.3647        .16187E-03   -1.5212    
  12  Prefactor     .10000E-03    2.3041        .12952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    65.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.908        17.197        .89775E-04   -1.4815    
  15  Prefactor     .10000E-03    18.814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.5922        8.3377        .14554E-03   -1.5157    
  17  norm          25.089        28.588        .79978E-04   -1.4706    
  18  Prefactor     4.3399        6.3513        .96651E-03   -1.5291    
  19  Prefactor     5.0117        71.313        .17954E-03   -1.5260    
  20  Prefactor     .10000E-03    5.7761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.8582        .14398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10011E-03    7.2225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89497        .21156        .30584E-03   -.96637    
  24  Prefactor     .91962        .13080        .19554E-03   -.95459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.75874e-07
Minuit parameter uncertainties:
  1  15.6738
  2  0.00038728
  3  35.5481
  4  1.98201
  5  0.000733555
  6  0.00156876
  7  0.77611
  8  0.000843773
  9  15.6
  10  60.1978
  11  7.36581
  12  3.71646e-05
  13  7.46736e-06
  14  17.2012
  15  0.000208786
  16  8.33894
  17  28.6038
  18  6.35229
  19  37.8643
  20  0.000163446
  21  1.31173e-05
  22  0.0017668
  23  0.211752
  24  0.130844
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.000e-04  2.088e-04  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:  9.196e-01  1.308e-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:  8.950e-01  2.118e-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: 7.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21016/likelihoodResults_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.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) = 7676.2880061
delta logL = -0.000253293914284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7676.28775281
delta logL = -6.02994987275e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4583       1.0000          .0000       10.000    
     3 'Normalizat'    .89494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91964       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=   7676.288     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      237 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10156E-03    604.17        .18142E-02** at limit **
   2  Index         2.3663        5.6332        .50000        .40422E-05
   3  Normalizat    .89497        .26189E-01    .30584E-03    .35797E-04
   4  Prefactor     .91962        .17067E-01    .19554E-03    .60699E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101557
  Index      = 2.36627
  Normalizat = 0.894966
  Prefactor  = 0.919619
 **********
 **   18 **HESSE 
 **********

 FCN=   7676.288     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      266 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10156E-03    2189.4        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3663        7.3334        .50000       -.55477    
   3  Normalizat    .89497        .59209E-01    .12233E-04   -.96637    
   4  Prefactor     .91962        .38554E-01    .78215E-05   -.95459    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.10007e-08
Minuit parameter uncertainties:
  1  0.121515
  2  2986.74
  3  0.0592135
  4  0.038555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21016': 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) = 7676.28775273
delta logL = 7.95807864051e-08

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.016e-04  1.215e-01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.366e+00  2.987e+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:  9.196e-01  3.855e-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:  8.950e-01  5.921e-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/21016/cmap_HighResolution_558403201_558662401_4FGL_J2334.2+0736_daily_bin1231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', job_status='DONE', photon_flux_upper_limit='7.52e-08', time_completed='2021-09-29 23:54:35.916085', job_id='21016', GAL2='0.92', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632984875.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='7.96e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1231' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:54:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 21016: <4FGL_J2334.2+0736_daily_bin1231> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1231> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 23:40:20 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 23:40:22 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:40:22 2021
Terminated at Wed Sep 29 23:54:36 2021
Results reported at Wed Sep 29 23:54:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1231 353.557 7.602 558403201 558662401 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 :                                   724.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            856 sec.

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

