aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 188 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 = 7476
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1664
RA = 353.557, Dec = 7.602
tmin = 670636801, tmax = 670896001
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='316869', job_status='RUN', time_executed='2022-04-06 00:39:17.841910', time_epoch_executed='1649230757.84' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316869

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316869/ft1_4FGL_J2334.2+0736_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316869/ft2_4FGL_J2334.2+0736_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316869/ft1_4FGL_J2334.2+0736_daily_bin1664.fits outfile=/scratch/kocevski/316869/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1664.fits ra=353.557 dec=7.602 rad=12.0 tmin=670636801.0 tmax=670896001.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 5.36
user 5.08
sys 0.26

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

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

Number of photons that the gtmktime cut: 595

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316869/ft1_filtered_4FGL_J2334.2+0736_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316869/ft2_4FGL_J2334.2+0736_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316869/ltcube_670636801_670896001_4FGL_J2334.2+0736_daily_bin1664.fits outfile=/scratch/kocevski/316869/expmap_670636801_670896001_4FGL_J2334.2+0736_daily_bin1664.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/316869/ltcube_670636801_670896001_4FGL_J2334.2+0736_daily_bin1664.fits
.....................!
real 190.85
user 185.86
sys 4.68

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/316869/ft1_filtered_4FGL_J2334.2+0736_daily_bin1664.fits scfile=/scratch/kocevski/316869/ft2_4FGL_J2334.2+0736_daily_bin1664.fits outfile=/scratch/kocevski/316869/cmap_670636801_670896001_4FGL_J2334.2+0736_daily_bin1664.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316869/ft1_filtered_4FGL_J2334.2+0736_daily_bin1664.fits scfile=/scratch/kocevski/316869/ft2_4FGL_J2334.2+0736_daily_bin1664.fits outfile=/scratch/kocevski/316869/cmap_HighResolution_670636801_670896001_4FGL_J2334.2+0736_daily_bin1664.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.926       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.824       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7259       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .67899       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.1060       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.712       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.5592       1.0000         .10000E-03   10000.    
    17 'norm      '    .10319E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2654       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .20556       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .45252       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3820       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=   6859.856     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2729 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.935        20.422       -.17928E-05    .10585E-03
   2  Prefactor     .10000E-03    5.6977       -.60579E-07** at limit **
   3  Prefactor     45.813        44.977       -.81489E-05    .13914E-03
   4  Prefactor     1.7258        3.9947       -.74247E-06   -.73920E-03
   5  Prefactor     .10000E-03    8.9178        .50612E-06** at limit **
   6  Prefactor     .10000E-03    5.8040       -.32250E-06** at limit **
   7  norm          .67791        1.0137       -.24375E-06   -.28986E-03
   8  Prefactor     .10000E-03    6.6419       -.62537E-06** at limit **
   9  Prefactor     .10000E-03    9.0026        .11968E-06** at limit **
  10  Prefactor     .10000E-03    20.303       -.61658E-06** at limit **
  11  norm          8.1038        8.0257        .77970E-06   -.12090E-03
  12  Prefactor     .10000E-03    4.1336       -.14036E-08** at limit **
  13  Prefactor     .10000E-03    172.92       -.27888E-06** at limit **
  14  Prefactor     11.698        9.3364        .95242E-06   -.11361E-03
  15  Prefactor     .10000E-03    41.966       -.13248E-05** at limit **
  16  norm          2.5556        24.829       -.10397E-04   -.18406E-04
  17  norm          .10000E-03    18.852       -.94118E-06** at limit **
  18  Prefactor     .10000E-03    1.4657       -.93679E-07** at limit **
  19  Prefactor     .10000E-03    6.0334        .89001E-06** at limit **
  20  Prefactor     3.2607        32.694        .41933E-05   -.85838E-04
  21  Prefactor     .10000E-03    3.8839       -.46088E-08** at limit **
  22  Prefactor     .10079E-03    10.954       -.79033E-07** at limit **
  23  Normalizat    .45264        .24627        .97232E-06    .71439E-05
  24  Prefactor     1.3821        .15815        .72447E-06    .12387E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.9346
  Prefactor  = 0.0001
  Prefactor  = 45.8126
  Prefactor  = 1.7258
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.67791
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.10376
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.6984
  Prefactor  = 0.0001
  norm       = 2.55557
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.26067
  Prefactor  = 0.0001
  Prefactor  = 0.000100787
  Normalizat = 0.452644
  Prefactor  = 1.38206
 **********
 **   18 **HESSE 
 **********

 FCN=   6859.856     FROM HESSE     STATUS=OK           399 CALLS     3128 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.935        20.361        .65954E-04   -1.4492    
   2  Prefactor     .10000E-03    5.6980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     45.813        44.446        .59229E-04   -1.4353    
   4  Prefactor     1.7258        4.0706        .25084E-03   -1.5445    
   5  Prefactor     .10000E-03    9.0106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .67791        1.0136        .47924E-04   -1.5543    
   8  Prefactor     .10000E-03    6.6753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.0148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.1038        7.9853        .14082E-03   -1.5139    
  12  Prefactor     .10000E-03    4.1800        .16426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    173.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.698        9.2845        .11706E-03   -1.5024    
  15  Prefactor     .10000E-03    42.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.5556        25.872        .25520E-03   -1.5388    
  17  norm          .10000E-03    18.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.4788        .97858E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.0290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.2607        31.915        .22410E-03   -1.5347    
  21  Prefactor     .10000E-03    3.8976        .15940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10079E-03    13.861        .84014E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .45264        .24970        .45883E-03   -1.1466    
  24  Prefactor     1.3821        .16421        .18358E-03   -.80899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72915e-10
Minuit parameter uncertainties:
  1  20.3645
  2  1.13347e-06
  3  44.4785
  4  4.07121
  5  1.0068e-05
  6  8.70933e-06
  7  1.01363
  8  3.95398e-08
  9  2.06398e-06
  10  9.01368e-06
  11  7.98638
  12  7.88132e-06
  13  8.76928e-05
  14  9.28567
  15  9.66441e-05
  16  16.2713
  17  8.12987e-05
  18  4.6374e-06
  19  1.96056e-05
  20  20.4162
  21  1.80996e-06
  22  0.00660824
  23  0.250314
  24  0.164268
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.000e-04  9.664e-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:  1.382e+00  1.643e-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:  4.526e-01  2.503e-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: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/316869/likelihoodResults_670636801_670896001_4FGL_J2334.2+0736_daily_bin1664.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) = 6859.85561282
delta logL = -0.000112191889457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6859.8555001
delta logL = 5.33686034032e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6856       1.0000          .0000       10.000    
     3 'Normalizat'    .45264       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3821       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.

 FCN=   6859.855     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      266 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    .39449        .10531    ** at limit **
   2  Index         2.7685        8.5075        .50000       -.78194E-05
   3  Normalizat    .45264        .92435E-03    .10352        .58597E-04
   4  Prefactor     1.3821        .62090E-03    .31314E-01    .50532E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100025
  Index      = 2.76851
  Normalizat = 0.452644
  Prefactor  = 1.38206
 **********
 **   18 **HESSE 
 **********

 FCN=   6859.855     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      303 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    75.511        .57284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7685        5.3996        .50000       -.46262    
   3  Normalizat    .45264        .44381E-02    .45882E-03   -1.1466    
   4  Prefactor     1.3821        .29910E-02    .18358E-03   -.80899    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.84911e-08
Minuit parameter uncertainties:
  1  0.00275567
  2  85.1846
  3  0.00443809
  4  0.00299105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316869': 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) = 6859.85549992
delta logL = 7.07688741386e-07

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.000e-04  2.756e-03  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.769e+00  8.518e+01  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:  1.382e+00  2.991e-03  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:  4.526e-01  4.438e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/316869/cmap_HighResolution_670636801_670896001_4FGL_J2334.2+0736_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.10e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2022-04-06 00:50:30.338968', job_id='316869', GAL2='1.38', fit_tolerance='1e-08', EG2='0.45', EG='0.45', time_epoch_completed='1649231430.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='7.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1664' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:50:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 316869: <4FGL_J2334.2+0736_daily_bin1664> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:57 2022
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:36:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:36:00 2022
Terminated at Wed Apr  6 00:50:31 2022
Results reported at Wed Apr  6 00:50:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1664 353.557 7.602 670636801 670896001 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 :                                   675.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            874 sec.

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

