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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin748
RA = 342.69, Dec = -28.1114
tmin = 433209601, tmax = 433468801
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='520937', job_status='RUN', time_executed='2021-09-28 23:04:49.429430', time_epoch_executed='1632895489.43' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520937

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520937/ft1_4FGL_J2250.7-2806_daily_bin748.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520937/ft2_4FGL_J2250.7-2806_daily_bin748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520937/ft1_4FGL_J2250.7-2806_daily_bin748.fits outfile=/scratch/kocevski/520937/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin748.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=433209601.0 tmax=433468801.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.98
user 5.73
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/520937/ft2_4FGL_J2250.7-2806_daily_bin748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/520937/ft2_4FGL_J2250.7-2806_daily_bin748.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/520937/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin748.fits evtable="EVENTS" outfile="/scratch/kocevski/520937/ft1_filtered_4FGL_J2250.7-2806_daily_bin748.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520937/ft1_filtered_4FGL_J2250.7-2806_daily_bin748.fits" evtable="EVENTS" scfile=/scratch/kocevski/520937/ft2_4FGL_J2250.7-2806_daily_bin748.fits sctable="SC_DATA" outfile=/scratch/kocevski/520937/ltcube_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.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/520937/ft2_4FGL_J2250.7-2806_daily_bin748.fits
.....................!
real 11.85
user 11.51
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520937/ft1_filtered_4FGL_J2250.7-2806_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/520937/ft2_4FGL_J2250.7-2806_daily_bin748.fits sctable="SC_DATA" expcube=/scratch/kocevski/520937/ltcube_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.fits outfile=/scratch/kocevski/520937/expmap_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.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/520937/ltcube_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.fits
.....................!
real 191.90
user 186.06
sys 5.52

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

Setting source of interest to:
4FGL J2250.7-2806 @ 342.69 -28.1114

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/520937/ft1_filtered_4FGL_J2250.7-2806_daily_bin748.fits scfile=/scratch/kocevski/520937/ft2_4FGL_J2250.7-2806_daily_bin748.fits outfile=/scratch/kocevski/520937/cmap_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.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.69 yref=-28.1114 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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520937/ft1_filtered_4FGL_J2250.7-2806_daily_bin748.fits scfile=/scratch/kocevski/520937/ft2_4FGL_J2250.7-2806_daily_bin748.fits outfile=/scratch/kocevski/520937/cmap_HighResolution_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.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.69 yref=-28.1114 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/520937/ft1_filtered_4FGL_J2250.7-2806_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/520937/ft2_4FGL_J2250.7-2806_daily_bin748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/520937/Model_4FGL_J2250.7-2806_daily_bin748.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/520937/ft1_filtered_4FGL_J2250.7-2806_daily_bin748.fits.....................!
real 31.00
user 29.69
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/520937/ft1_filtered_4FGL_J2250.7-2806_daily_bin748.fits', '/scratch/kocevski/520937/ft2_4FGL_J2250.7-2806_daily_bin748.fits', expMap='/scratch/kocevski/520937/expmap_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.fits', expCube='/scratch/kocevski/520937/ltcube_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/520937/Model_4FGL_J2250.7-2806_daily_bin748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.7-2806'

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  4.101e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/520937/ft1_filtered_4FGL_J2250.7-2806_daily_bin748.fits
Spacecraft file(s): /scratch/kocevski/520937/ft2_4FGL_J2250.7-2806_daily_bin748.fits
Exposure map: /scratch/kocevski/520937/expmap_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.fits
Exposure cube: /scratch/kocevski/520937/ltcube_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/520937/Model_4FGL_J2250.7-2806_daily_bin748.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) = 3006.74331724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78883       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .49575E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7582       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11019E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.1629       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2399       1.0000         .10000E-03   10000.    
    15 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.8983       1.0000         .10000E-03   10000.    
    19 'Prefactor '    45.186       1.0000         .10000E-03   10000.    
    20 'norm      '    6.5466       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93955       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86591       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3006.732     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2680 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78879        .37450        .25103E-07    .11572E-04
   2  Prefactor     .10000E-03    5.0396        .45093E-06** at limit **
   3  Prefactor     .10006E-03    17.109        .10593E-06** at limit **
   4  Prefactor     .10000E-03    7.2728        .30528E-06** at limit **
   5  norm          .10000E-03    36.479        .56451E-05** at limit **
   6  Prefactor     .10000E-03    12.438        .32750E-05** at limit **
   7  Prefactor     2.7641        28.978        .19088E-05    .67404E-05
   8  Prefactor     .10000E-03    81.723       -.27630E-04** at limit **
   9  norm          .10000E-03    2.3741       -.64584E-07** at limit **
  10  Prefactor     .10000E-03    28.756       -.14529E-04** at limit **
  11  Prefactor     .10000E-03    20.193        .77415E-05** at limit **
  12  norm          3.1725        5.4356        .24374E-05    .13293E-03
  13  Prefactor     .10000E-03    13.205       -.50461E-05** at limit **
  14  Prefactor     1.2295        2.7712        .12205E-05   -.15864E-02
  15  norm          .10000E-03    .28747       -.19328E-06** at limit **
  16  Prefactor     .10000E-03    36.307        .42461E-05** at limit **
  17  Prefactor     .10000E-03    4.6447       -.51358E-06** at limit **
  18  norm          1.9023        20.787       -.98520E-05   -.16427E-03
  19  Prefactor     45.219        79.329        .39010E-04    .47557E-04
  20  norm          6.5474        4.7603        .70546E-07   -.23161E-04
  21  Prefactor     .10000E-03    22.735       -.16789E-05** at limit **
  22  Prefactor     .10000E-03    69.472        .25639E-04** at limit **
  23  Normalizat    .93921        .23677       -.66750E-05    .21078E-03
  24  Prefactor     .86616        .21914        .20300E-05   -.11272E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.788791
  Prefactor  = 0.0001
  Prefactor  = 0.000100059
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.76408
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.17249
  Prefactor  = 0.0001
  Prefactor  = 1.22953
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.90227
  Prefactor  = 45.2189
  norm       = 6.54737
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.939209
  Prefactor  = 0.866158
 **********
 **   18 **HESSE 
 **********

 FCN=   3006.732     FROM HESSE     STATUS=OK           387 CALLS     3067 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78879        .37606        .22498E-04   -1.5530    
   2  Prefactor     .10000E-03    5.0430        .12023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10006E-03    85.992        .43741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.4356        .14440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    36.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7641        28.901        .24509E-03   -1.5375    
   8  Prefactor     .10000E-03    82.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.4500        .16481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    28.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1725        6.0950        .15754E-03   -1.5352    
  13  Prefactor     .10000E-03    13.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.2295        19.929        .19336E-02   -1.5486    
  15  norm          .10000E-03    .29766        .57160E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    36.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.6539        .11541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.9023        20.704        .30190E-03   -1.5432    
  19  Prefactor     45.219        79.713        .59644E-04   -1.4362    
  20  norm          6.5474        4.7575        .98186E-04   -1.5196    
  21  Prefactor     .10000E-03    22.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    69.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .93921        .29876        .22433E-03   -.95096    
  24  Prefactor     .86616        .27179        .22598E-03   -.97334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44876e-08
Minuit parameter uncertainties:
  1  0.376066
  2  6.37105e-06
  3  0.00451468
  4  3.41544e-05
  5  5.70816e-05
  6  3.16756e-05
  7  17.8863
  8  0.000410646
  9  2.75933e-06
  10  6.11825e-05
  11  4.84208e-05
  12  6.09624
  13  6.86677e-05
  14  9.90372
  15  2.93245e-06
  16  5.02189e-05
  17  2.82966e-06
  18  12.5565
  19  79.9013
  20  4.75776
  21  1.7857e-05
  22  0.000176918
  23  0.299288
  24  0.272219
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  3.172e+00  6.096e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  8.662e-01  2.722e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  9.392e-01  2.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 342.690 -28.111
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/520937/likelihoodResults_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.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) = 3005.70324496
delta logL = 1.0287537988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3005.65133354
delta logL = 1.08066521647

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3005.651     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      304 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39795        5.8029        .51368E-02    .52884E-03
   2  alpha         4.3757        4.6511        .27601        .18839E-04
   3  Normalizat    .79814        .75505E-01    .43584E-01    .81369E-05
   4  Prefactor     .96003        .73316E-01    .45769E-01    .28321E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.397951
  alpha      = 4.37572
  Normalizat = 0.798144
  Prefactor  = 0.960034
 **********
 **   18 **HESSE 
 **********

 FCN=   3005.651     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39795        9.0253        .23041E-04   -1.5582    
   2  alpha         4.3757        4.2808        .12726E-01    .84850    
   3  Normalizat    .79814        .27555        .24101E-03   -1.0014    
   4  Prefactor     .96003        .26196        .21564E-03   -.94074    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.19783e-08
Minuit parameter uncertainties:
  1  3.79048
  2  5.37151
  3  0.276032
  4  0.262302
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520937': 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): 102
logL (Free Index) = 3005.65133041
delta logL = 1.08066835392

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  3.980e-01  3.790e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  4.376e+00  5.372e+00  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  9.600e-01  2.623e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  7.981e-01  2.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.86
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 4.38 +/- 5.37
Photon Flux (Free Index): 1.17e-07 +/- 9.80e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.31e-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/520937/cmap_HighResolution_433209601_433468801_4FGL_J2250.7-2806_daily_bin748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-05', comment='SUCCESS', energy_flux2='1.72e-05', dlogl='1.08e+00', photon_flux2='1.17e-07', job_status='DONE', time_completed='2021-09-28 23:13:15.456801', photon_index_error2='5.37', photon_index2='4.38', ts='0.46', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.31e-05', EG='0.94', time_epoch_completed='1632895995.46', return_code='0', job_id='520937', GAL2='0.96', EG2='0.80', return_code2='102', photon_flux_error2='9.80e-08', ts2='2.86', photon_index='2.05' WHERE bin_id='748' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:13:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 520937: <4FGL_J2250.7-2806_daily_bin748> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin748> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 23:00:57 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 23:00:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 23:00:58 2021
Terminated at Tue Sep 28 23:13:16 2021
Results reported at Tue Sep 28 23:13:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin748 342.69 -28.1114 433209601 433468801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.7-2806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   492.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             200.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            739 sec.

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

