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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1142
RA = 343.308, Dec = -12.5416
tmin = 535334401, tmax = 535593601
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='570955', job_status='RUN', time_executed='2021-09-29 01:41:03.634422', time_epoch_executed='1632904863.63' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1142'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/570955

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/570955/ft1_4FGL_J2253.2-1232_daily_bin1142.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/570955/ft1_4FGL_J2253.2-1232_daily_bin1142.fits outfile=/scratch/kocevski/570955/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1142.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=535334401.0 tmax=535593601.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.22
user 4.99
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.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/570955/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1142.fits evtable="EVENTS" outfile="/scratch/kocevski/570955/ft1_filtered_4FGL_J2253.2-1232_daily_bin1142.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/570955/ft1_filtered_4FGL_J2253.2-1232_daily_bin1142.fits" evtable="EVENTS" scfile=/scratch/kocevski/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.fits sctable="SC_DATA" outfile=/scratch/kocevski/570955/ltcube_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.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/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.fits
.....................!
real 11.64
user 11.29
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/570955/ft1_filtered_4FGL_J2253.2-1232_daily_bin1142.fits evtable="EVENTS" scfile=/scratch/kocevski/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.fits sctable="SC_DATA" expcube=/scratch/kocevski/570955/ltcube_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.fits outfile=/scratch/kocevski/570955/expmap_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.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/570955/ltcube_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.fits
.....................!
real 188.51
user 184.53
sys 3.62

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 J2253.2-1232 @ 343.308 -12.5416

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/570955/ft1_filtered_4FGL_J2253.2-1232_daily_bin1142.fits scfile=/scratch/kocevski/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.fits outfile=/scratch/kocevski/570955/cmap_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.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=343.308 yref=-12.5416 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/570955/ft1_filtered_4FGL_J2253.2-1232_daily_bin1142.fits scfile=/scratch/kocevski/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.fits outfile=/scratch/kocevski/570955/cmap_HighResolution_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.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=343.308 yref=-12.5416 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/570955/ft1_filtered_4FGL_J2253.2-1232_daily_bin1142.fits evtable="EVENTS" scfile=/scratch/kocevski/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/570955/Model_4FGL_J2253.2-1232_daily_bin1142.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/570955/ft1_filtered_4FGL_J2253.2-1232_daily_bin1142.fits.....................!
real 62.89
user 61.40
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/570955/ft1_filtered_4FGL_J2253.2-1232_daily_bin1142.fits', '/scratch/kocevski/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.fits', expMap='/scratch/kocevski/570955/expmap_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.fits', expCube='/scratch/kocevski/570955/ltcube_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/570955/Model_4FGL_J2253.2-1232_daily_bin1142.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.2-1232'

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  7.270e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.646e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/570955/ft1_filtered_4FGL_J2253.2-1232_daily_bin1142.fits
Spacecraft file(s): /scratch/kocevski/570955/ft2_4FGL_J2253.2-1232_daily_bin1142.fits
Exposure map: /scratch/kocevski/570955/expmap_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.fits
Exposure cube: /scratch/kocevski/570955/ltcube_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/570955/Model_4FGL_J2253.2-1232_daily_bin1142.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) = 6784.08649598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10318E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    84.965       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6980       1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.673       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    69.689       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.391       1.0000         .10000E-03   10000.    
     8 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    208.89       1.0000         .10000E-03   10000.    
    10 'norm      '    26.356       1.0000         .10000E-03   10000.    
    11 'Prefactor '    40.650       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    24.807       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .22478E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.6115       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    19.663       1.0000         .10000E-03   10000.    
    20 'Prefactor '    60.788       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .36530E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .15599E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2456       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .59206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6783.812     FROM MIGRAD    STATUS=CONVERGED    616 CALLS     2199 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.534        .22166E-05** at limit **
   2  Prefactor     84.521        67.519       -.15087E-05   -.29302E-04
   3  Prefactor     2.7168        5.7889        .10560E-06   -.27621E-03
   4  Prefactor     35.574        59.617       -.31685E-05   -.11901E-03
   5  norm          .10001E-03    2.6949        .11842E-05** at limit **
   6  Prefactor     69.240        105.63       -.41322E-05   -.15178E-03
   7  Prefactor     23.617        14.987       -.18273E-06   -.35344E-04
   8  norm          .10000E-03    .54340        .12404E-05** at limit **
   9  Prefactor     210.19        89.366        .49079E-05   -.21249E-03
  10  norm          26.361        7.7852       -.14422E-05   -.11126E-02
  11  Prefactor     37.823        58.285        .31423E-06   -.19665E-03
  12  Prefactor     .10000E-03    5.3358       -.25752E-07** at limit **
  13  Prefactor     .10000E-03    7.5647        .50860E-06** at limit **
  14  norm          24.815        16.070       -.73701E-07   -.23081E-03
  15  Prefactor     .10000E-03    122.88        .13429E-05** at limit **
  16  Prefactor     4.4922        23.282        .17702E-06    .62034E-04
  17  Prefactor     .10000E-03    6.6673        .17108E-06** at limit **
  18  norm          .10000E-03    .71697        .92272E-07** at limit **
  19  norm          19.682        8.2011        .73605E-07   -.11528E-04
  20  Prefactor     62.486        66.213        .42068E-05    .22485E-03
  21  Prefactor     .10001E-03    66.661       -.47732E-04** at limit **
  22  Prefactor     .10000E-03    32.435        .53231E-07** at limit **
  23  Normalizat    1.2438        .21959        .21366E-05   -.41263E-03
  24  Prefactor     .59262        .15349       -.36651E-05   -.22400E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 84.5215
  Prefactor  = 2.71679
  Prefactor  = 35.5741
  norm       = 0.000100005
  Prefactor  = 69.2396
  Prefactor  = 23.6167
  norm       = 0.000100003
  Prefactor  = 210.189
  norm       = 26.3609
  Prefactor  = 37.823
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.815
  Prefactor  = 0.0001
  Prefactor  = 4.49219
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 19.6824
  Prefactor  = 62.4863
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Normalizat = 1.24384
  Prefactor  = 0.592616
 **********
 **   18 **HESSE 
 **********

 FCN=   6783.812     FROM HESSE     STATUS=OK           393 CALLS     2592 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.240        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     84.521        67.038        .21791E-03   -1.3867    
   3  Prefactor     2.7168        5.6924        .24801E-03   -1.5378    
   4  Prefactor     35.574        59.375        .68056E-04   -1.4514    
   5  norm          .10001E-03    8.5777        .24477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     69.240        103.75        .24042E-03   -1.4042    
   7  Prefactor     23.617        15.061        .82821E-04   -1.4736    
   8  norm          .10000E-03    .96091        .11352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     210.19        92.402        .13985E-03   -1.2798    
  10  norm          26.361        8.0784        .53060E-04   -1.4681    
  11  Prefactor     37.823        58.280        .62870E-04   -1.4477    
  12  Prefactor     .10000E-03    5.3501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.5863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          24.815        16.074        .80427E-04   -1.4711    
  15  Prefactor     .10000E-03    124.59        .20121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.4922        23.227        .18743E-03   -1.5284    
  17  Prefactor     .10000E-03    6.7118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .74569        .13607E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          19.682        8.1879        .90323E-04   -1.4820    
  20  Prefactor     62.486        67.713        .25731E-03   -1.4125    
  21  Prefactor     .10001E-03    67.957        .39209E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    32.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2438        .26254        .29815E-03   -.85259    
  24  Prefactor     .59262        .18148        .30206E-03   -1.0790    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9628e-09
Minuit parameter uncertainties:
  1  2.29048e-05
  2  67.098
  3  5.69356
  4  59.4736
  5  0.000430921
  6  104.026
  7  15.063
  8  0.000100656
  9  92.4664
  10  8.07876
  11  58.3681
  12  8.79421e-06
  13  2.30859e-06
  14  16.0763
  15  0.000349964
  16  20.4418
  17  3.92994e-07
  18  4.88348e-07
  19  8.18833
  20  67.7965
  21  0.0015683
  22  1.26716e-06
  23  0.262817
  24  0.181659
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  3.782e+01  5.837e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.646e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  5.926e-01  1.817e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  1.244e+00  2.628e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.69
Ra Dec: 343.308 -12.542
Photon Flux Upper Limit: 2.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/570955/likelihoodResults_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.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) = 6783.04840967
delta logL = 0.763659798055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6783.04630229
delta logL = 0.765767181327

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.491       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4882       1.0000          .0000       10.000    
     3 'Normalizat'    1.2706       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58216       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6783.046     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      207 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.491        39.791        .16586E-02    .42378E-03
   2  Index         1.4882        .46172        .19925       -.14228E-03
   3  Normalizat    1.2705        .20537        .66934E-01    .56426E-05
   4  Prefactor     .58217        .14921        .68872E-01    .27669E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.4914
  Index      = 1.48817
  Normalizat = 1.27049
  Prefactor  = 0.582166
 **********
 **   18 **HESSE 
 **********

 FCN=   6783.046     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.491        54.352        .33172E-03   -1.4499    
   2  Index         1.4882        .77438        .10322E-01   -.77872    
   3  Normalizat    1.2705        .24132        .29609E-03   -.84451    
   4  Prefactor     .58217        .17513        .30485E-03   -1.0834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67897e-10
Minuit parameter uncertainties:
  1  54.4261
  2  0.780619
  3  0.24153
  4  0.17529
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/570955': 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) = 6783.04630221
delta logL = 0.765767262552

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  3.649e+01  5.443e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.488e+00  7.806e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  5.822e-01  1.753e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  1.270e+00  2.415e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.32
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 1.49 +/- 0.78
Photon Flux (Free Index): 1.87e-08 +/- 3.20e-08
Energy Flux (Free Index): 6.15e-05 +/- 1.03e-04

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/570955/cmap_HighResolution_535334401_535593601_4FGL_J2253.2-1232_daily_bin1142.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.24e-02', comment='SUCCESS', energy_flux2='6.15e-05', dlogl='7.66e-01', photon_flux2='1.87e-08', job_status='DONE', time_completed='2021-09-29 01:52:18.298432', photon_index_error2='0.78', photon_index2='1.49', ts='0.69', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', photon_flux_upper_limit='2.85e-07', energy_flux_error2='1.03e-04', EG='1.24', time_epoch_completed='1632905538.3', return_code='0', job_id='570955', GAL2='0.58', EG2='1.27', return_code2='0', photon_flux_error2='3.20e-08', ts2='2.32', photon_index='2.65' WHERE bin_id='1142' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:52:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 570955: <4FGL_J2253.2-1232_daily_bin1142> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1142> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 01:40:15 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:40:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 01:40:17 2021
Terminated at Wed Sep 29 01:52:19 2021
Results reported at Wed Sep 29 01:52:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1142 343.308 -12.5416 535334401 535593601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2253.2-1232 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   668.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            724 sec.

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

