/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 190 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 = 7350
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2234.1-2656_daily_bin305
RA = 338.543, Dec = -26.9375
tmin = 318384001, tmax = 318643201
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='351101', job_status='RUN', time_executed='2021-09-28 14:18:40.522234', time_epoch_executed='1632863920.52' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='305'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351101

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351101/ft1_4FGL_J2234.1-2656_daily_bin305.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351101/ft2_4FGL_J2234.1-2656_daily_bin305.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351101/ft1_4FGL_J2234.1-2656_daily_bin305.fits outfile=/scratch/kocevski/351101/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin305.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=318384001.0 tmax=318643201.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.27
user 3.03
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/351101/ft2_4FGL_J2234.1-2656_daily_bin305.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/351101/ft2_4FGL_J2234.1-2656_daily_bin305.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/351101/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin305.fits evtable="EVENTS" outfile="/scratch/kocevski/351101/ft1_filtered_4FGL_J2234.1-2656_daily_bin305.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351101/ft1_filtered_4FGL_J2234.1-2656_daily_bin305.fits" evtable="EVENTS" scfile=/scratch/kocevski/351101/ft2_4FGL_J2234.1-2656_daily_bin305.fits sctable="SC_DATA" outfile=/scratch/kocevski/351101/ltcube_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.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/351101/ft2_4FGL_J2234.1-2656_daily_bin305.fits
.....................!
real 12.24
user 11.88
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351101/ft1_filtered_4FGL_J2234.1-2656_daily_bin305.fits evtable="EVENTS" scfile=/scratch/kocevski/351101/ft2_4FGL_J2234.1-2656_daily_bin305.fits sctable="SC_DATA" expcube=/scratch/kocevski/351101/ltcube_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.fits outfile=/scratch/kocevski/351101/expmap_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.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/351101/ltcube_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.fits
.....................!
real 190.74
user 185.23
sys 5.16

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

Setting source of interest to:
4FGL J2234.1-2656 @ 338.543 -26.9375

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/351101/ft1_filtered_4FGL_J2234.1-2656_daily_bin305.fits scfile=/scratch/kocevski/351101/ft2_4FGL_J2234.1-2656_daily_bin305.fits outfile=/scratch/kocevski/351101/cmap_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.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=338.543 yref=-26.9375 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351101/ft1_filtered_4FGL_J2234.1-2656_daily_bin305.fits scfile=/scratch/kocevski/351101/ft2_4FGL_J2234.1-2656_daily_bin305.fits outfile=/scratch/kocevski/351101/cmap_HighResolution_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.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=338.543 yref=-26.9375 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/351101/ft1_filtered_4FGL_J2234.1-2656_daily_bin305.fits evtable="EVENTS" scfile=/scratch/kocevski/351101/ft2_4FGL_J2234.1-2656_daily_bin305.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351101/Model_4FGL_J2234.1-2656_daily_bin305.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/351101/ft1_filtered_4FGL_J2234.1-2656_daily_bin305.fits.....................!
real 57.75
user 56.29
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/351101/ft1_filtered_4FGL_J2234.1-2656_daily_bin305.fits', '/scratch/kocevski/351101/ft2_4FGL_J2234.1-2656_daily_bin305.fits', expMap='/scratch/kocevski/351101/expmap_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.fits', expCube='/scratch/kocevski/351101/ltcube_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/351101/Model_4FGL_J2234.1-2656_daily_bin305.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2234.1-2656'

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  9.136e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.955e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/351101/ft1_filtered_4FGL_J2234.1-2656_daily_bin305.fits
Spacecraft file(s): /scratch/kocevski/351101/ft2_4FGL_J2234.1-2656_daily_bin305.fits
Exposure map: /scratch/kocevski/351101/expmap_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.fits
Exposure cube: /scratch/kocevski/351101/ltcube_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/351101/Model_4FGL_J2234.1-2656_daily_bin305.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) = 7124.90107429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.504       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    26.607       1.0000         .10000E-03   10000.    
     5 'norm      '    1.4647       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5699       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9211       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4105       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .44748E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.754       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.4723       1.0000         .10000E-03   10000.    
    13 'norm      '    2.7725       1.0000         .10000E-03   10000.    
    14 'Prefactor '    61.122       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.635       1.0000         .10000E-03   10000.    
    16 'norm      '    .12721E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.466       1.0000         .10000E-03   10000.    
    19 'norm      '    .35274       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .67738       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0320       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7124.826     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2563 TOTAL
                     EDM=   .53E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.506        13.545       -.12420E-06   -.86524E-05
   2  Prefactor     .10000E-03    4.8676       -.52602E-07** at limit **
   3  Prefactor     .10000E-03    17.340        .83587E-06** at limit **
   4  norm          26.609        5.6258        .26727E-07   -.38817E-04
   5  norm          1.4647        .37158        .19593E-08   -.76276E-04
   6  Prefactor     2.5757        10.132        .71922E-05   -.16593E-04
   7  Prefactor     4.9202        17.644       -.54960E-06   -.61087E-05
   8  Prefactor     7.4141        6.9430        .31112E-06    .16674E-06
   9  Prefactor     .10000E-03    159.84        .20844E-04** at limit **
  10  norm          .10000E-03    6.9315        .54743E-06** at limit **
  11  Prefactor     20.759        18.795       -.93907E-07   -.52646E-05
  12  Prefactor     9.4745        10.997        .99782E-06   -.39071E-04
  13  norm          2.7714        2.1997        .72479E-07   -.72368E-04
  14  Prefactor     61.127        44.218       -.85066E-06   -.25458E-04
  15  Prefactor     20.640        11.128        .35438E-06   -.15130E-04
  16  norm          .10000E-03    1.7228        .88063E-07** at limit **
  17  Prefactor     .10000E-03    7.3150       -.55776E-06** at limit **
  18  Prefactor     10.457        8.4433        .66791E-06   -.34860E-04
  19  norm          .35313        .63431       -.48154E-07    .14818E-03
  20  Prefactor     .10000E-03    23.784       -.10615E-05** at limit **
  21  Prefactor     .10000E-03    8.8811        .13988E-06** at limit **
  22  Normalizat    .67706        .17281       -.13609E-05   -.18380E-03
  23  Prefactor     1.0321        .15023       -.59827E-06   -.28311E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5064
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 26.6093
  norm       = 1.46471
  Prefactor  = 2.57574
  Prefactor  = 4.92022
  Prefactor  = 7.41407
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 20.7585
  Prefactor  = 9.47451
  norm       = 2.77141
  Prefactor  = 61.1266
  Prefactor  = 20.6399
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4565
  norm       = 0.353131
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.67706
  Prefactor  = 1.03206
 **********
 **   18 **HESSE 
 **********

 FCN=   7124.826     FROM HESSE     STATUS=OK           378 CALLS     2941 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.506        13.545        .10900E-03   -1.4973    
   2  Prefactor     .10000E-03    4.8730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          26.609        5.6272        .77664E-04   -1.4676    
   5  norm          1.4647        .37265        .24617E-04   -1.5466    
   6  Prefactor     2.5757        10.140        .12731E-02   -1.5387    
   7  Prefactor     4.9202        17.675        .18131E-03   -1.5264    
   8  Prefactor     7.4141        6.9439        .14733E-03   -1.5163    
   9  Prefactor     .10000E-03    159.82        .21211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.9437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.759        18.805        .87920E-04   -1.4796    
  12  Prefactor     9.4745        11.008        .65105E-03   -1.5092    
  13  norm          2.7714        2.2057        .97091E-04   -1.5375    
  14  Prefactor     61.127        44.476        .51322E-04   -1.4143    
  15  Prefactor     20.640        11.172        .44087E-03   -1.4799    
  16  norm          .10000E-03    4.2463        .20930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.3341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.457        7.9710        .61926E-03   -1.5061    
  19  norm          .35313        .57099        .62912E-03   -1.5589    
  20  Prefactor     .10000E-03    23.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.0037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .67706        .20629        .28232E-03   -1.0481    
  23  Prefactor     1.0321        .17960        .21818E-03   -.91668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08452e-10
Minuit parameter uncertainties:
  1  13.5479
  2  5.23727e-07
  3  4.77992e-06
  4  5.62735
  5  0.372652
  6  10.1471
  7  17.6942
  8  6.94462
  9  0.00095262
  10  4.03795e-06
  11  18.8103
  12  11.0108
  13  2.20573
  14  44.5002
  15  11.1733
  16  3.57727e-05
  17  2.40561e-06
  18  7.97178
  19  0.570997
  20  4.76372e-06
  21  4.56242e-06
  22  0.206524
  23  0.1797
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  4.038e-06  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.955e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.032e+00  1.797e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  6.771e-01  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.543 -26.938
Photon Flux Upper Limit: 3.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.34e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351101/likelihoodResults_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7124.82665067
delta logL = -0.000684606345203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7124.82596614
delta logL = -7.50142135075e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9688       1.0000          .0000       5.0000    
     3 'Normalizat'    .67712       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0320       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7124.826     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      201 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.8201        .90712E-02** at limit **
   2  alpha         1.9829        3.4329        .42391       -.99484E-05
   3  Normalizat    .67706        .15697        .63813E-01    .20754E-04
   4  Prefactor     1.0321        .14806        .41103E-01   -.63779E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.98287
  Normalizat = 0.67706
  Prefactor  = 1.03206
 **********
 **   18 **HESSE 
 **********

 FCN=   7124.826     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.0895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9829        3.4119        .50000       -.20836    
   3  Normalizat    .67706        .18450        .28232E-03   -1.0481    
   4  Prefactor     1.0321        .17430        .21818E-03   -.91668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00887e-10
Minuit parameter uncertainties:
  1  6.05325e-06
  2  2.45526
  3  0.184673
  4  0.1744
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351101': 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) = 7124.82596595
delta logL = 1.14227077574e-07

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  6.053e-06  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.983e+00  2.455e+00  0.000e+00  5.000e+00 ( 1.000e+00)
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.032e+00  1.744e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  6.771e-01  1.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.543 -26.938

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/351101/cmap_HighResolution_318384001_318643201_4FGL_J2234.1-2656_daily_bin305.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.34e-05', job_status='DONE', photon_flux_upper_limit='3.36e-08', time_completed='2021-09-28 14:29:59.663465', job_id='351101', GAL2='1.03', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1632864599.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.14e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='305' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:29:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 351101: <4FGL_J2234.1-2656_daily_bin305> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin305> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep 28 14:15:18 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:15:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 14:15:19 2021
Terminated at Tue Sep 28 14:30:00 2021
Results reported at Tue Sep 28 14:30:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin305 338.543 -26.9375 318384001 318643201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.1-2656 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            882 sec.

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

