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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1635
RA = 343.308, Dec = -12.5416
tmin = 663120001, tmax = 663379201
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='887368', job_status='RUN', time_executed='2022-01-09 03:19:51.282542', time_epoch_executed='1641727191.28' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887368

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887368/ft1_4FGL_J2253.2-1232_daily_bin1635.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887368/ft2_4FGL_J2253.2-1232_daily_bin1635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887368/ft1_4FGL_J2253.2-1232_daily_bin1635.fits outfile=/scratch/kocevski/887368/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1635.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=663120001.0 tmax=663379201.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 2.33
user 2.10
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887368/ft2_4FGL_J2253.2-1232_daily_bin1635.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/887368/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1635.fits evtable="EVENTS" outfile="/scratch/kocevski/887368/ft1_filtered_4FGL_J2253.2-1232_daily_bin1635.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.44
user 0.28
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887368/ft1_filtered_4FGL_J2253.2-1232_daily_bin1635.fits" evtable="EVENTS" scfile=/scratch/kocevski/887368/ft2_4FGL_J2253.2-1232_daily_bin1635.fits sctable="SC_DATA" outfile=/scratch/kocevski/887368/ltcube_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.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/887368/ft2_4FGL_J2253.2-1232_daily_bin1635.fits
.....................!
real 11.14
user 10.78
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887368/ft1_filtered_4FGL_J2253.2-1232_daily_bin1635.fits evtable="EVENTS" scfile=/scratch/kocevski/887368/ft2_4FGL_J2253.2-1232_daily_bin1635.fits sctable="SC_DATA" expcube=/scratch/kocevski/887368/ltcube_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.fits outfile=/scratch/kocevski/887368/expmap_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.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/887368/ltcube_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.fits
.....................!
real 155.71
user 151.34
sys 4.08

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/887368/ft1_filtered_4FGL_J2253.2-1232_daily_bin1635.fits scfile=/scratch/kocevski/887368/ft2_4FGL_J2253.2-1232_daily_bin1635.fits outfile=/scratch/kocevski/887368/cmap_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.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.48
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887368/ft1_filtered_4FGL_J2253.2-1232_daily_bin1635.fits scfile=/scratch/kocevski/887368/ft2_4FGL_J2253.2-1232_daily_bin1635.fits outfile=/scratch/kocevski/887368/cmap_HighResolution_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887368/ft1_filtered_4FGL_J2253.2-1232_daily_bin1635.fits evtable="EVENTS" scfile=/scratch/kocevski/887368/ft2_4FGL_J2253.2-1232_daily_bin1635.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887368/Model_4FGL_J2253.2-1232_daily_bin1635.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/887368/ft1_filtered_4FGL_J2253.2-1232_daily_bin1635.fits....................!
real 49.82
user 48.63
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/887368/ft1_filtered_4FGL_J2253.2-1232_daily_bin1635.fits', '/scratch/kocevski/887368/ft2_4FGL_J2253.2-1232_daily_bin1635.fits', expMap='/scratch/kocevski/887368/expmap_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.fits', expCube='/scratch/kocevski/887368/ltcube_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/887368/Model_4FGL_J2253.2-1232_daily_bin1635.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/887368/ft1_filtered_4FGL_J2253.2-1232_daily_bin1635.fits
Spacecraft file(s): /scratch/kocevski/887368/ft2_4FGL_J2253.2-1232_daily_bin1635.fits
Exposure map: /scratch/kocevski/887368/expmap_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.fits
Exposure cube: /scratch/kocevski/887368/ltcube_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/887368/Model_4FGL_J2253.2-1232_daily_bin1635.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) = 6970.68988091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.480       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0300       1.0000         .10000E-03   10000.    
     4 'Prefactor '    146.09       1.0000         .10000E-03   10000.    
     5 'norm      '    2.4521       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.813       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .24725E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .14840       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.976       1.0000         .10000E-03   10000.    
    10 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.3657       1.0000         .10000E-03   10000.    
    14 'norm      '    48.508       1.0000         .10000E-03   10000.    
    15 'Prefactor '    65.447       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5291       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15131E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10353E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .20103       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    126.65       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5708       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .61819       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6964.356     FROM MIGRAD    STATUS=CONVERGED    992 CALLS     3373 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.474        13.185        .90748E-04   -.30067E-05
   2  Prefactor     .10000E-03    59.783        .18142E-02** at limit **
   3  Prefactor     1.0293        3.3795        .26388E-03   -.28560E-03
   4  Prefactor     146.14        75.534        .16669E-03    .11177E-03
   5  norm          2.4519        2.7283        .13955E-03   -.19063E-03
   6  Prefactor     23.854        54.150        .82086E-04    .24653E-04
   7  Prefactor     .10002E-03    11.799        .79697E-01** at limit **
   8  norm          .14792        .50757        .95278E-03    .90170E-02
   9  Prefactor     22.977        12.744        .83565E-04    .38846E-03
  10  norm          .10000E-03    2.6928        .11026E-02** at limit **
  11  Prefactor     .10000E-03    112.59        .36285E-03** at limit **
  12  Prefactor     .10000E-03    5.7945        .18142E-02** at limit **
  13  Prefactor     5.3638        7.1267        .17349E-03   -.79945E-05
  14  norm          48.508        15.955        .57575E-04   -.10300E-03
  15  Prefactor     65.434        59.470        .49608E-04    .18783E-03
  16  Prefactor     5.5263        15.395        .17086E-03   -.15037E-04
  17  Prefactor     .10000E-03    22.901        .36285E-02** at limit **
  18  norm          .10000E-03    .99391        .12787E-02** at limit **
  19  norm          .20368        10.955        .28111E-02    .57335E-03
  20  Prefactor     .10000E-03    27.252        .18142E-02** at limit **
  21  Prefactor     .10000E-03    9.8713        .18142E-02** at limit **
  22  Prefactor     126.63        87.139        .17885E-03    .12777E-04
  23  Normalizat    1.5715        .23262        .24264E-03    .11314E-03
  24  Prefactor     .61799        .16648        .27324E-03   -.10327E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4741
  Prefactor  = 0.0001
  Prefactor  = 1.02934
  Prefactor  = 146.14
  norm       = 2.4519
  Prefactor  = 23.8538
  Prefactor  = 0.000100016
  norm       = 0.147918
  Prefactor  = 22.9769
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.36378
  norm       = 48.5083
  Prefactor  = 65.4337
  Prefactor  = 5.52632
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.203677
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 126.635
  Normalizat = 1.5715
  Prefactor  = 0.617991
 **********
 **   18 **HESSE 
 **********

 FCN=   6964.356     FROM HESSE     STATUS=OK           387 CALLS     3760 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.474        13.185        .36299E-05   -1.4825    
   2  Prefactor     .10000E-03    59.786        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.0293        3.3786        .10555E-04   -1.5505    
   4  Prefactor     146.14        75.522        .33339E-04   -1.3284    
   5  norm          2.4519        2.7281        .55819E-05   -1.5395    
   6  Prefactor     23.854        54.156        .32834E-05   -1.4731    
   7  Prefactor     .10002E-03    11.077        .83576E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .14792        .50675        .19056E-03   -1.5631    
   9  Prefactor     22.977        12.700        .16713E-04   -1.4749    
  10  norm          .10000E-03    2.6954        .22051E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    112.60        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.7960        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.3638        7.1265        .69397E-05   -1.5245    
  14  norm          48.508        15.954        .11515E-04   -1.4314    
  15  Prefactor     65.434        59.176        .99216E-05   -1.4088    
  16  Prefactor     5.5263        15.395        .68346E-05   -1.5238    
  17  Prefactor     .10000E-03    22.953        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .99546        .25573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .20368        10.973        .11244E-03   -1.5618    
  20  Prefactor     .10000E-03    27.254        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.8739        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     126.63        87.108        .71541E-05   -1.3453    
  23  Normalizat    1.5715        .23278        .48528E-04   -.75788    
  24  Prefactor     .61799        .16658        .10929E-04   -1.0683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36899e-09
Minuit parameter uncertainties:
  1  13.1865
  2  8.37868e-06
  3  3.37922
  4  75.5724
  5  2.7282
  6  54.2677
  7  0.000854374
  8  0.506761
  9  12.7016
  10  0.000173629
  11  0.000419912
  12  1.11138e-05
  13  7.12765
  14  15.9559
  15  59.229
  16  15.4059
  17  0.00013336
  18  1.7948e-05
  19  2.98982
  20  5.99906e-05
  21  2.89726e-05
  22  87.1962
  23  0.232943
  24  0.166713
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  4.199e-04  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:  6.180e-01  1.667e-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.572e+00  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.308 -12.542
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887368/likelihoodResults_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.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) = 6964.35557753
delta logL = -4.22699149567e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6964.35557752
delta logL = -4.22677903771e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96348E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6463       1.0000          .0000       10.000    
     3 'Normalizat'    1.5715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61800       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=   6964.086     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      260 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.306        19.396        .90714E-02    .10957E-03
   2  Index         1.5063        .62701        .23052       -.84725E-04
   3  Normalizat    1.5763        .18565        .54796E-01   -.88687E-05
   4  Prefactor     .61038        .13876        .62069E-01    .40112E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3062
  Index      = 1.50626
  Normalizat = 1.57632
  Prefactor  = 0.610383
 **********
 **   18 **HESSE 
 **********

 FCN=   6964.086     FROM HESSE     STATUS=OK            31 CALLS      291 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.306        21.167        .36285E-03   -1.5035    
   2  Index         1.5063        .81496        .14205E-01   -.77365    
   3  Normalizat    1.5763        .21597        .24228E-03   -.75656    
   4  Prefactor     .61038        .16122        .27460E-03   -1.0715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36335e-11
Minuit parameter uncertainties:
  1  21.1812
  2  0.822176
  3  0.216096
  4  0.161344
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887368': 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) = 6964.08574765
delta logL = 0.269787605675

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.131e+01  2.118e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  1.506e+00  8.222e-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:  6.104e-01  1.613e-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.576e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.308 -12.542

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/887368/cmap_HighResolution_663120001_663379201_4FGL_J2253.2-1232_daily_bin1635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.47e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2022-01-09 03:29:48.590267', job_id='887368', GAL2='0.61', fit_tolerance='1e-08', EG2='1.58', EG='1.57', time_epoch_completed='1641727788.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='2.70e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1635' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  9 03:29:48 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 887368: <4FGL_J2253.2-1232_daily_bin1635> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1635> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jan  9 03:15:23 2022
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  9 03:16:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  9 03:16:34 2022
Terminated at Sun Jan  9 03:29:49 2022
Results reported at Sun Jan  9 03:29:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1635 343.308 -12.5416 663120001 663379201 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 :                                   598.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             229.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            866 sec.

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

