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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin1255
RA = 342.69, Dec = -28.1114
tmin = 564624001, tmax = 564883201
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='523867', job_status='RUN', time_executed='2021-09-28 23:12:57.643009', time_epoch_executed='1632895977.64' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='1255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/523867

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/523867/ft1_4FGL_J2250.7-2806_daily_bin1255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/523867/ft2_4FGL_J2250.7-2806_daily_bin1255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/523867/ft1_4FGL_J2250.7-2806_daily_bin1255.fits outfile=/scratch/kocevski/523867/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1255.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=564624001.0 tmax=564883201.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 3.62
user 3.39
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/523867/ft2_4FGL_J2250.7-2806_daily_bin1255.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/523867/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1255.fits evtable="EVENTS" outfile="/scratch/kocevski/523867/ft1_filtered_4FGL_J2250.7-2806_daily_bin1255.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.52
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/523867/ft1_filtered_4FGL_J2250.7-2806_daily_bin1255.fits" evtable="EVENTS" scfile=/scratch/kocevski/523867/ft2_4FGL_J2250.7-2806_daily_bin1255.fits sctable="SC_DATA" outfile=/scratch/kocevski/523867/ltcube_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.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/523867/ft2_4FGL_J2250.7-2806_daily_bin1255.fits
.....................!
real 12.01
user 11.67
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/523867/ft1_filtered_4FGL_J2250.7-2806_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/523867/ft2_4FGL_J2250.7-2806_daily_bin1255.fits sctable="SC_DATA" expcube=/scratch/kocevski/523867/ltcube_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.fits outfile=/scratch/kocevski/523867/expmap_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.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/523867/ltcube_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.fits
.....................!
real 191.00
user 185.39
sys 5.26

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/523867/ft1_filtered_4FGL_J2250.7-2806_daily_bin1255.fits scfile=/scratch/kocevski/523867/ft2_4FGL_J2250.7-2806_daily_bin1255.fits outfile=/scratch/kocevski/523867/cmap_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/523867/ft1_filtered_4FGL_J2250.7-2806_daily_bin1255.fits scfile=/scratch/kocevski/523867/ft2_4FGL_J2250.7-2806_daily_bin1255.fits outfile=/scratch/kocevski/523867/cmap_HighResolution_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/523867/ft1_filtered_4FGL_J2250.7-2806_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/523867/ft2_4FGL_J2250.7-2806_daily_bin1255.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/523867/Model_4FGL_J2250.7-2806_daily_bin1255.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/523867/ft1_filtered_4FGL_J2250.7-2806_daily_bin1255.fits.....................!
real 32.96
user 31.61
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/523867/ft1_filtered_4FGL_J2250.7-2806_daily_bin1255.fits', '/scratch/kocevski/523867/ft2_4FGL_J2250.7-2806_daily_bin1255.fits', expMap='/scratch/kocevski/523867/expmap_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.fits', expCube='/scratch/kocevski/523867/ltcube_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/523867/Model_4FGL_J2250.7-2806_daily_bin1255.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/523867/ft1_filtered_4FGL_J2250.7-2806_daily_bin1255.fits
Spacecraft file(s): /scratch/kocevski/523867/ft2_4FGL_J2250.7-2806_daily_bin1255.fits
Exposure map: /scratch/kocevski/523867/expmap_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.fits
Exposure cube: /scratch/kocevski/523867/ltcube_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/523867/Model_4FGL_J2250.7-2806_daily_bin1255.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) = 3074.93592891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2123       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.057       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.738       1.0000         .10000E-03   10000.    
     5 'norm      '    14.728       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    50.347       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22574E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.6878       1.0000         .10000E-03   10000.    
    10 'Prefactor '    172.63       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10559E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.2661       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    37.348       1.0000         .10000E-03   10000.    
    18 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    66.679       1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.995       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .39945       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.4196       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=   3074.735     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     3129 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2124        1.0943        .46504E-07   -.62259E-04
   2  Prefactor     .10000E-03    9.0680        .54831E-07** at limit **
   3  Prefactor     10.057        23.783        .18047E-05   -.26761E-04
   4  Prefactor     23.734        26.566        .34838E-05    .84610E-05
   5  norm          14.735        31.167       -.47956E-05   -.23718E-04
   6  Prefactor     .10000E-03    46.090       -.10526E-04** at limit **
   7  Prefactor     50.346        34.089        .58012E-05   -.77853E-04
   8  Prefactor     .10000E-03    628.33       -.24389E-04** at limit **
   9  norm          1.6880        3.9574        .14904E-05   -.17594E-03
  10  Prefactor     172.61        123.65       -.81387E-05   -.72568E-04
  11  Prefactor     .10000E-03    10.519        .18390E-06** at limit **
  12  norm          .10000E-03    3.3376        .29495E-07** at limit **
  13  Prefactor     .10000E-03    62.245        .14317E-04** at limit **
  14  Prefactor     .10001E-03    63.210        .69260E-05** at limit **
  15  norm          6.2643        2.3700        .10119E-05   -.20354E-02
  16  Prefactor     .10000E-03    99.514        .38679E-04** at limit **
  17  Prefactor     37.377        43.626       -.10853E-04   -.15014E-03
  18  norm          .10000E-03    43.306        .55051E-05** at limit **
  19  Prefactor     .10000E-03    84.846       -.50196E-04** at limit **
  20  norm          .10000E-03    2.2438        .12802E-06** at limit **
  21  Prefactor     66.670        80.183       -.19798E-04   -.33138E-04
  22  Prefactor     29.241        300.77        .40065E-03    .10266E-04
  23  Normalizat    .39931        .41546       -.28676E-05   -.11936E-03
  24  Prefactor     1.4196        .33579       -.37905E-05    .83963E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.21237
  Prefactor  = 0.0001
  Prefactor  = 10.0569
  Prefactor  = 23.7342
  norm       = 14.7346
  Prefactor  = 0.0001
  Prefactor  = 50.3463
  Prefactor  = 0.000100001
  norm       = 1.68802
  Prefactor  = 172.612
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100007
  norm       = 6.26434
  Prefactor  = 0.0001
  Prefactor  = 37.3766
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 66.6697
  Prefactor  = 29.2414
  Normalizat = 0.39931
  Prefactor  = 1.41961
 **********
 **   18 **HESSE 
 **********

 FCN=   3074.735     FROM HESSE     STATUS=OK           387 CALLS     3516 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2124        1.0948        .28670E-04   -1.5297    
   2  Prefactor     .10000E-03    9.0920        .16308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.057        23.743        .12635E-03   -1.5074    
   4  Prefactor     23.734        26.441        .82214E-04   -1.4733    
   5  norm          14.735        31.172        .10437E-03   -1.4940    
   6  Prefactor     .10000E-03    46.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     50.346        33.710        .56519E-04   -1.4288    
   8  Prefactor     .10000E-03    634.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6880        3.8622        .14438E-03   -1.5448    
  10  Prefactor     172.61        121.99        .30711E-04   -1.3073    
  11  Prefactor     .10000E-03    10.524        .17566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.3422        .98895E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    62.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    63.939        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.2643        2.4120        .40189E-04   -1.5207    
  16  Prefactor     .10000E-03    99.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     37.377        44.224        .65581E-04   -1.4484    
  18  norm          .10000E-03    43.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    84.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.2483        .81044E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     66.670        79.450        .49151E-04   -1.4073    
  22  Prefactor     29.241        298.88        .37202E-03   -1.4626    
  23  Normalizat    .39931        .42366        .48116E-03   -1.1734    
  24  Prefactor     1.4196        .35677        .24124E-03   -.79817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45499e-09
Minuit parameter uncertainties:
  1  1.09477
  2  1.39345e-05
  3  23.7648
  4  26.4544
  5  31.2063
  6  4.54887e-06
  7  33.7227
  8  0.00119049
  9  3.86279
  10  122.173
  11  5.25127e-06
  12  2.51892e-06
  13  0.000439813
  14  0.00133596
  15  2.41202
  16  3.32665e-05
  17  44.2628
  18  4.65624e-05
  19  1.62635e-05
  20  1.72652e-05
  21  79.5768
  22  188.198
  23  0.427125
  24  0.357395
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  2.519e-06  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:  1.420e+00  3.574e-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:  3.993e-01  4.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/523867/likelihoodResults_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.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) = 3074.73650313
delta logL = -0.00114827652851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3074.73535485
delta logL = 8.52833181852e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0518       1.0000          .0000       5.0000    
     3 'Normalizat'    .39932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4196       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3074.735     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      238 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.4492        .98954E-03** at limit **
   2  alpha         2.2047        3.7174        .16808       -.19412E-07
   3  Normalizat    .39932        .37930        .48116E-03    .71285E-04
   4  Prefactor     1.4196        .34598        .24124E-03    .14818E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.20467
  Normalizat = 0.399323
  Prefactor  = 1.4196
 **********
 **   18 **HESSE 
 **********

 FCN=   3074.735     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3861        .19791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2047        3.2752        .67232E-02   -.11841    
   3  Normalizat    .39932        .37931        .19246E-04   -1.1734    
   4  Prefactor     1.4196        .34598        .48249E-04   -.79817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94033e-11
Minuit parameter uncertainties:
  1  7.21687e-06
  2  255.011
  3  0.381783
  4  0.346549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/523867': 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) = 3074.73535466
delta logL = 1.93487721845e-07

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  7.217e-06  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.205e+00  2.550e+02  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:  1.420e+00  3.465e-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:  3.993e-01  3.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.690 -28.111

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/523867/cmap_HighResolution_564624001_564883201_4FGL_J2250.7-2806_daily_bin1255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.77e-05', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-28 23:21:15.481257', job_id='523867', GAL2='1.42', fit_tolerance='1e-08', EG2='0.40', EG='0.40', time_epoch_completed='1632896475.48', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='1.93e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1255' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:21:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 523867: <4FGL_J2250.7-2806_daily_bin1255> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin1255> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 23:10:15 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 23:10:16 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:10:16 2021
Terminated at Tue Sep 28 23:21:16 2021
Results reported at Tue Sep 28 23:21:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin1255 342.69 -28.1114 564624001 564883201 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 :                                   494.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            661 sec.

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

