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


Performing analysis on: 4FGL_J2250.0-1250_daily_bin1374
RA = 342.505, Dec = -12.8485
tmin = 595468801, tmax = 595728001
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='509212', job_status='RUN', time_executed='2021-09-28 22:26:40.820133', time_epoch_executed='1632893200.82' WHERE source_name='4FGL J2250.0-1250' and cadence='daily' and bin_id='1374'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/509212

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/509212/ft1_4FGL_J2250.0-1250_daily_bin1374.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/509212/ft1_4FGL_J2250.0-1250_daily_bin1374.fits outfile=/scratch/kocevski/509212/ft1_filteredMKT_4FGL_J2250.0-1250_daily_bin1374.fits ra=342.505 dec=-12.8485 rad=12.0 tmin=595468801.0 tmax=595728001.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.11
user 1.94
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.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/509212/ft1_filteredMKT_4FGL_J2250.0-1250_daily_bin1374.fits evtable="EVENTS" outfile="/scratch/kocevski/509212/ft1_filtered_4FGL_J2250.0-1250_daily_bin1374.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.41
user 0.28
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/509212/ft1_filtered_4FGL_J2250.0-1250_daily_bin1374.fits" evtable="EVENTS" scfile=/scratch/kocevski/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.fits sctable="SC_DATA" outfile=/scratch/kocevski/509212/ltcube_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.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/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.fits
.....................!
real 9.46
user 9.17
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/509212/ft1_filtered_4FGL_J2250.0-1250_daily_bin1374.fits evtable="EVENTS" scfile=/scratch/kocevski/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.fits sctable="SC_DATA" expcube=/scratch/kocevski/509212/ltcube_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.fits outfile=/scratch/kocevski/509212/expmap_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.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/509212/ltcube_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.fits
.....................!
real 147.12
user 143.02
sys 3.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 153 point sources and 0 extended sources

Setting source of interest to:
4FGL J2250.0-1250 @ 342.505 -12.8485

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/509212/ft1_filtered_4FGL_J2250.0-1250_daily_bin1374.fits scfile=/scratch/kocevski/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.fits outfile=/scratch/kocevski/509212/cmap_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.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=342.505 yref=-12.8485 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.45
user 0.31
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/509212/ft1_filtered_4FGL_J2250.0-1250_daily_bin1374.fits scfile=/scratch/kocevski/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.fits outfile=/scratch/kocevski/509212/cmap_HighResolution_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.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=342.505 yref=-12.8485 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.45
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/509212/ft1_filtered_4FGL_J2250.0-1250_daily_bin1374.fits evtable="EVENTS" scfile=/scratch/kocevski/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/509212/Model_4FGL_J2250.0-1250_daily_bin1374.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/509212/ft1_filtered_4FGL_J2250.0-1250_daily_bin1374.fits....................!
real 44.12
user 43.06
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/509212/ft1_filtered_4FGL_J2250.0-1250_daily_bin1374.fits', '/scratch/kocevski/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.fits', expMap='/scratch/kocevski/509212/expmap_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.fits', expCube='/scratch/kocevski/509212/ltcube_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/509212/Model_4FGL_J2250.0-1250_daily_bin1374.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.0-1250'

4FGL J2250.0-1250
   Spectrum: LogParabola
266         norm:  3.029e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.389e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  1.341e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.722e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/509212/ft1_filtered_4FGL_J2250.0-1250_daily_bin1374.fits
Spacecraft file(s): /scratch/kocevski/509212/ft2_4FGL_J2250.0-1250_daily_bin1374.fits
Exposure map: /scratch/kocevski/509212/expmap_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.fits
Exposure cube: /scratch/kocevski/509212/ltcube_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/509212/Model_4FGL_J2250.0-1250_daily_bin1374.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) = 6203.60860857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.411       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11844E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .21704       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.0806       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.203       1.0000         .10000E-03   10000.    
    11 'norm      '    10.081       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .45077       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    20.046       1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.164       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.941       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11756E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.3981       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .74103       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6203.535     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2688 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.409        10.734        .15794E-06   -.18588E-04
   2  Prefactor     .10000E-03    6.6778       -.27264E-07** at limit **
   3  Prefactor     .10000E-03    191.95       -.17011E-04** at limit **
   4  Prefactor     .19128        1.8587        .87108E-06   -.12728E-02
   5  Prefactor     .10000E-03    25.840        .23766E-04** at limit **
   6  norm          7.0837        3.8290       -.96181E-07   -.34449E-03
   7  Prefactor     .10000E-03    80.997        .11377E-04** at limit **
   8  Prefactor     .10000E-03    4.4356       -.14361E-07** at limit **
   9  norm          .10000E-03    .48711       -.11180E-06** at limit **
  10  Prefactor     25.219        41.849        .10046E-04    .58037E-04
  11  norm          10.078        3.8213       -.11788E-05    .24179E-02
  12  Prefactor     .10000E-03    20.926       -.13890E-04** at limit **
  13  Prefactor     .46139        7.7274       -.15341E-05    .22400E-04
  14  Prefactor     .10000E-03    3.3020       -.19066E-07** at limit **
  15  norm          20.045        13.638       -.26568E-06   -.27541E-05
  16  Prefactor     24.188        65.495        .31331E-04    .98390E-04
  17  Prefactor     12.942        30.343       -.11530E-05   -.23792E-03
  18  Prefactor     .10000E-03    13.109       -.73575E-05** at limit **
  19  norm          8.4008        8.9969       -.31378E-05    .69003E-04
  20  Prefactor     .10000E-03    32.468       -.16190E-04** at limit **
  21  Prefactor     .10000E-03    14.792        .74114E-05** at limit **
  22  Normalizat    .74087        .20087       -.49975E-05    .14771E-03
  23  Prefactor     1.0729        .15319        .17237E-05   -.16123E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4094
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.191277
  Prefactor  = 0.0001
  norm       = 7.08374
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.2188
  norm       = 10.0784
  Prefactor  = 0.0001
  Prefactor  = 0.461393
  Prefactor  = 0.0001
  norm       = 20.0447
  Prefactor  = 24.1879
  Prefactor  = 12.9424
  Prefactor  = 0.000100004
  norm       = 8.4008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.740874
  Prefactor  = 1.07291
 **********
 **   18 **HESSE 
 **********

 FCN=   6203.535     FROM HESSE     STATUS=OK           370 CALLS     3058 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.409        10.741        .90908E-04   -1.4827    
   2  Prefactor     .10000E-03    6.6951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    193.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19128        15.572        .20308E-02   -1.5621    
   5  Prefactor     .10000E-03    25.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.0837        3.8244        .10724E-03   -1.5176    
   7  Prefactor     .10000E-03    81.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.4444        .16199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .80118        .10524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.219        45.582        .79793E-04   -1.4703    
  11  norm          10.078        4.1836        .45517E-04   -1.5073    
  12  Prefactor     .10000E-03    20.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .46139        40.319        .42065E-02   -1.5572    
  14  Prefactor     .10000E-03    3.3057        .13977E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          20.045        13.640        .89457E-04   -1.4812    
  16  Prefactor     24.188        66.124        .81488E-04   -1.4724    
  17  Prefactor     12.942        30.431        .55674E-03   -1.4988    
  18  Prefactor     .10000E-03    13.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.4008        8.9754        .13833E-03   -1.5128    
  20  Prefactor     .10000E-03    32.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .74087        .23232        .31539E-03   -1.0230    
  23  Prefactor     1.0729        .17857        .21023E-03   -.90337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13305e-08
Minuit parameter uncertainties:
  1  10.7424
  2  8.12882e-06
  3  0.000325215
  4  3.45169
  5  4.29249e-06
  6  3.82455
  7  9.35536e-06
  8  8.16902e-06
  9  1.06719e-05
  10  45.6451
  11  4.18372
  12  2.95725e-05
  13  8.6313
  14  1.70651e-07
  15  13.6425
  16  66.3253
  17  30.4676
  18  0.000475365
  19  8.97684
  20  2.3956e-05
  21  1.76979e-05
  22  0.23263
  23  0.178669
Done.

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

Extracting fit parameters...

4FGL J2250.0-1250
   Spectrum: LogParabola
266         norm:  1.008e+01  4.184e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.389e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
268         beta:  1.341e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.722e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.073e+00  1.787e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  7.409e-01  2.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 59.35
Ra Dec: 342.505 -12.848
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 3.48e-07 +/- 1.44e-07
Energy Flux (Fixed Index): 1.46e-04 +/- 6.07e-05

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) = 6202.97670782
delta logL = 0.558310810136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6202.97478334
delta logL = 0.560235290275

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6202.975     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      240 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.938        34.809        .27839E-02    .56540E-04
   2  alpha         2.1867        1.6234        .88048E-01    .87480E-04
   3  Normalizat    .77864        .22367        .69803E-01    .22017E-04
   4  Prefactor     1.0544        .12711        .39672E-01    .31001E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.9384
  alpha      = 2.18673
  Normalizat = 0.778644
  Prefactor  = 1.05436
 **********
 **   18 **HESSE 
 **********

 FCN=   6202.975     FROM HESSE     STATUS=OK            31 CALLS      271 TOTAL
                     EDM=   .34E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.938        3.6427        .52681E-04   -1.4988    
   2  alpha         2.1867        .18876        .38207E-03   -.12564    
   3  Normalizat    .77864        .22111        .30888E-03   -1.0087    
   4  Prefactor     1.0544        .17401        .21197E-03   -.90939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40736e-14
Minuit parameter uncertainties:
  1  3.64275
  2  0.188943
  3  0.221364
  4  0.174107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/509212': 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) = 6202.97478211
delta logL = 0.560236526362

Extracting fit parameters...

4FGL J2250.0-1250
   Spectrum: LogParabola
266         norm:  1.294e+01  3.643e+00  1.000e-04  1.000e+04 ( 1.000e-12)
267        alpha:  2.187e+00  1.889e-01  0.000e+00  5.000e+00 ( 1.000e+00)
268         beta:  1.341e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
269           Eb:  1.722e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.054e+00  1.741e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  7.786e-01  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 64.57
Ra Dec: 342.505 -12.848
Photon Index (Free Index): 2.19 +/- 0.19
Photon Flux (Free Index): 3.08e-07 +/- 7.16e-08
Energy Flux (Free Index): 1.70e-04 +/- 4.24e-05

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/509212/cmap_HighResolution_595468801_595728001_4FGL_J2250.0-1250_daily_bin1374.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.48e-07', energy_flux2='1.70e-04', photon_flux_error='1.44e-07', dlogl='5.60e-01', energy_flux='1.46e-04', photon_flux2='3.08e-07', job_status='DONE', time_completed='2021-09-28 22:38:32.245388', photon_index_error2='0.19', photon_index2='2.19', ts='59.35', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='4.24e-05', EG='0.74', time_epoch_completed='1632893912.25', return_code='0', job_id='509212', GAL2='1.05', EG2='0.78', return_code2='0', energy_flux_error='6.07e-05', photon_flux_error2='7.16e-08', ts2='64.57', photon_index='2.39' WHERE bin_id='1374' AND source_name='4FGL J2250.0-1250' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:38:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 509212: <4FGL_J2250.0-1250_daily_bin1374> in cluster <slac> Done

Job <4FGL_J2250.0-1250_daily_bin1374> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:25:23 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:25:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 22:25:24 2021
Terminated at Tue Sep 28 22:38:32 2021
Results reported at Tue Sep 28 22:38:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.0-1250_daily_bin1374 342.505 -12.8485 595468801 595728001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.0-1250 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   445.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            789 sec.

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

