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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1293
RA = 343.308, Dec = -12.5416
tmin = 574473601, tmax = 574732801
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='571192', job_status='RUN', time_executed='2021-09-29 01:41:35.574495', time_epoch_executed='1632904895.57' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1293'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571192

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571192/ft1_4FGL_J2253.2-1232_daily_bin1293.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571192/ft2_4FGL_J2253.2-1232_daily_bin1293.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571192/ft1_4FGL_J2253.2-1232_daily_bin1293.fits outfile=/scratch/kocevski/571192/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1293.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=574473601.0 tmax=574732801.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 4.08
user 3.79
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/571192/ft2_4FGL_J2253.2-1232_daily_bin1293.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/571192/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1293.fits evtable="EVENTS" outfile="/scratch/kocevski/571192/ft1_filtered_4FGL_J2253.2-1232_daily_bin1293.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.50
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571192/ft1_filtered_4FGL_J2253.2-1232_daily_bin1293.fits" evtable="EVENTS" scfile=/scratch/kocevski/571192/ft2_4FGL_J2253.2-1232_daily_bin1293.fits sctable="SC_DATA" outfile=/scratch/kocevski/571192/ltcube_574473601_574732801_4FGL_J2253.2-1232_daily_bin1293.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/571192/ft2_4FGL_J2253.2-1232_daily_bin1293.fits
.....................!
real 11.59
user 11.24
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571192/ft1_filtered_4FGL_J2253.2-1232_daily_bin1293.fits evtable="EVENTS" scfile=/scratch/kocevski/571192/ft2_4FGL_J2253.2-1232_daily_bin1293.fits sctable="SC_DATA" expcube=/scratch/kocevski/571192/ltcube_574473601_574732801_4FGL_J2253.2-1232_daily_bin1293.fits outfile=/scratch/kocevski/571192/expmap_574473601_574732801_4FGL_J2253.2-1232_daily_bin1293.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/571192/ltcube_574473601_574732801_4FGL_J2253.2-1232_daily_bin1293.fits
.....................!
real 190.78
user 185.55
sys 4.86

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/571192/ft1_filtered_4FGL_J2253.2-1232_daily_bin1293.fits scfile=/scratch/kocevski/571192/ft2_4FGL_J2253.2-1232_daily_bin1293.fits outfile=/scratch/kocevski/571192/cmap_574473601_574732801_4FGL_J2253.2-1232_daily_bin1293.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/571192/ft1_filtered_4FGL_J2253.2-1232_daily_bin1293.fits scfile=/scratch/kocevski/571192/ft2_4FGL_J2253.2-1232_daily_bin1293.fits outfile=/scratch/kocevski/571192/cmap_HighResolution_574473601_574732801_4FGL_J2253.2-1232_daily_bin1293.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/571192/ft1_filtered_4FGL_J2253.2-1232_daily_bin1293.fits evtable="EVENTS" scfile=/scratch/kocevski/571192/ft2_4FGL_J2253.2-1232_daily_bin1293.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/571192/Model_4FGL_J2253.2-1232_daily_bin1293.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/571192/ft1_filtered_4FGL_J2253.2-1232_daily_bin1293.fits.....................!
real 55.25
user 53.36
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.462       1.0000         .10000E-03   10000.    
     2 'Prefactor '    51.137       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3476       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.0100       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.9429       1.0000         .10000E-03   10000.    
     9 'Prefactor '    75.209       1.0000         .10000E-03   10000.    
    10 'norm      '    2.8563       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0868       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    31.966       1.0000         .10000E-03   10000.    
    15 'Prefactor '    62.941       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.7738       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11490E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .72186       1.0000         .10000E-03   10000.    
    19 'norm      '    .10261E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.817       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11524E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0654       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74573       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=   5959.573     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2729 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.466        15.396        .21035E-06    .15501E-04
   2  Prefactor     51.135        57.928       -.20880E-05    .52291E-05
   3  Prefactor     1.3475        3.4446       -.71668E-06   -.79221E-03
   4  Prefactor     .10000E-03    52.250       -.10515E-05** at limit **
   5  norm          5.0101        3.6074       -.37825E-07   -.88366E-04
   6  Prefactor     .10000E-03    19.578        .29977E-05** at limit **
   7  Prefactor     .10000E-03    15.188        .33901E-06** at limit **
   8  norm          1.9429        1.1568       -.14015E-06   -.39422E-03
   9  Prefactor     75.223        37.100        .35837E-05    .40476E-04
  10  norm          2.8559        2.7884       -.11672E-05   -.29578E-03
  11  Prefactor     .10000E-03    20.732       -.12745E-05** at limit **
  12  Prefactor     8.0868        8.2816        .29733E-06    .31840E-03
  13  Prefactor     .10000E-03    10.246       -.12559E-06** at limit **
  14  norm          31.965        16.635        .13155E-06   -.52367E-05
  15  Prefactor     62.914        51.721       -.18317E-04   -.73354E-05
  16  Prefactor     4.7080        36.237        .23150E-04   -.19937E-04
  17  Prefactor     .10000E-03    6.5669        .87965E-06** at limit **
  18  norm          .72238        1.4668        .14890E-06   -.85501E-03
  19  norm          .10000E-03    4.3905        .49690E-06** at limit **
  20  Prefactor     .10000E-03    17.843       -.22066E-05** at limit **
  21  Prefactor     13.821        13.693       -.11889E-05   -.24256E-04
  22  Prefactor     .10000E-03    174.49       -.13492E-04** at limit **
  23  Normalizat    1.0650        .19836        .22614E-05   -.94851E-04
  24  Prefactor     .74599        .14816       -.11921E-05    .10906E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.4656
  Prefactor  = 51.1354
  Prefactor  = 1.34752
  Prefactor  = 0.0001
  norm       = 5.01015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94292
  Prefactor  = 75.223
  norm       = 2.85595
  Prefactor  = 0.0001
  Prefactor  = 8.08677
  Prefactor  = 0.0001
  norm       = 31.9648
  Prefactor  = 62.9142
  Prefactor  = 4.70799
  Prefactor  = 0.000100002
  norm       = 0.722378
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 13.821
  Prefactor  = 0.000100002
  Normalizat = 1.06498
  Prefactor  = 0.745986
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.573     FROM HESSE     STATUS=OK           399 CALLS     3128 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.466        15.409        .71434E-04   -1.4585    
   2  Prefactor     51.135        57.920        .56083E-04   -1.4277    
   3  Prefactor     1.3475        3.4162        .21990E-03   -1.5476    
   4  Prefactor     .10000E-03    52.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.0101        3.5980        .11819E-03   -1.5260    
   6  Prefactor     .10000E-03    19.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9429        1.1484        .60191E-04   -1.5429    
   9  Prefactor     75.223        37.433        .46299E-04   -1.3971    
  10  norm          2.8559        2.8005        .70438E-04   -1.5370    
  11  Prefactor     .10000E-03    20.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0868        8.2895        .70495E-03   -1.5139    
  13  Prefactor     .10000E-03    10.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          31.965        16.640        .70871E-04   -1.4577    
  15  Prefactor     62.914        51.654        .50580E-04   -1.4120    
  16  Prefactor     4.7080        35.583        .18414E-03   -1.5274    
  17  Prefactor     .10000E-03    6.6553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .72238        1.4349        .12592E-03   -1.5538    
  19  norm          .10000E-03    4.4731        .15791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    17.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.821        13.708        .10775E-03   -1.4964    
  22  Prefactor     .10000E-03    174.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0650        .23203        .26914E-03   -.90884    
  24  Prefactor     .74599        .17259        .23978E-03   -1.0175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6091e-09
Minuit parameter uncertainties:
  1  15.4111
  2  57.9835
  3  3.41666
  4  1.1406e-05
  5  3.59818
  6  9.46069e-07
  7  3.91292e-05
  8  1.1484
  9  37.4443
  10  2.8006
  11  5.24342e-05
  12  8.29069
  13  4.10196e-05
  14  16.6421
  15  51.6906
  16  25.9075
  17  0.000229178
  18  1.43497
  19  0.000103128
  20  1.7162e-05
  21  13.7115
  22  0.0011285
  23  0.232249
  24  0.172713
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  5.243e-05  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:  7.460e-01  1.727e-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.065e+00  2.322e-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.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/571192/likelihoodResults_574473601_574732801_4FGL_J2253.2-1232_daily_bin1293.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) = 5959.57351374
delta logL = -0.000229473115724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5959.57328425
delta logL = 1.80007191375e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7416       1.0000          .0000       10.000    
     3 'Normalizat'    1.0650       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74599       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=   5959.573     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      233 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.736        .90712E-02** at limit **
   2  Index         2.7434        6.3702        .50000       -.80590E-06
   3  Normalizat    1.0650        .18822        .60855E-01    .95987E-05
   4  Prefactor     .74598        .14352        .43010E-01    .13253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.74337
  Normalizat = 1.06498
  Prefactor  = 0.745984
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.573     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .65E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7434        6.3701        .50000       -.46825    
   3  Normalizat    1.0650        .21809        .26914E-03   -.90884    
   4  Prefactor     .74598        .16641        .23978E-03   -1.0175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51358e-13
Minuit parameter uncertainties:
  1  1.11187e-05
  2  4.75992
  3  0.218275
  4  0.166518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571192': 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) = 5959.57328425
delta logL = 1.8490027287e-08

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  1.112e-05  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.743e+00  4.760e+00  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:  7.460e-01  1.665e-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.065e+00  2.183e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/571192/cmap_HighResolution_574473601_574732801_4FGL_J2253.2-1232_daily_bin1293.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-29 01:52:01.127142', job_id='571192', GAL2='0.75', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1632905521.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.85e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1293' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:52:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 571192: <4FGL_J2253.2-1232_daily_bin1293> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1293> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 01:40:30 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:40:32 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:32 2021
Terminated at Wed Sep 29 01:52:01 2021
Results reported at Wed Sep 29 01:52:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1293 343.308 -12.5416 574473601 574732801 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 :                                   611.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            691 sec.

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

