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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin1090
RA = 342.69, Dec = -28.1114
tmin = 521856001, tmax = 522115201
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='522570', job_status='RUN', time_executed='2021-09-28 23:08:43.975648', time_epoch_executed='1632895723.98' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/522570

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/522570/ft1_4FGL_J2250.7-2806_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/522570/ft2_4FGL_J2250.7-2806_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/522570/ft1_4FGL_J2250.7-2806_daily_bin1090.fits outfile=/scratch/kocevski/522570/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1090.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=521856001.0 tmax=522115201.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.79
user 3.55
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/522570/ft1_filtered_4FGL_J2250.7-2806_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/522570/ft2_4FGL_J2250.7-2806_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/522570/ltcube_521856001_522115201_4FGL_J2250.7-2806_daily_bin1090.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/522570/ft2_4FGL_J2250.7-2806_daily_bin1090.fits
.....................!
real 12.20
user 11.79
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/522570/ft1_filtered_4FGL_J2250.7-2806_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/522570/ft2_4FGL_J2250.7-2806_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/522570/ltcube_521856001_522115201_4FGL_J2250.7-2806_daily_bin1090.fits outfile=/scratch/kocevski/522570/expmap_521856001_522115201_4FGL_J2250.7-2806_daily_bin1090.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/522570/ltcube_521856001_522115201_4FGL_J2250.7-2806_daily_bin1090.fits
.....................!
real 190.53
user 185.04
sys 5.12

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/522570/ft1_filtered_4FGL_J2250.7-2806_daily_bin1090.fits scfile=/scratch/kocevski/522570/ft2_4FGL_J2250.7-2806_daily_bin1090.fits outfile=/scratch/kocevski/522570/cmap_521856001_522115201_4FGL_J2250.7-2806_daily_bin1090.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/522570/ft1_filtered_4FGL_J2250.7-2806_daily_bin1090.fits scfile=/scratch/kocevski/522570/ft2_4FGL_J2250.7-2806_daily_bin1090.fits outfile=/scratch/kocevski/522570/cmap_HighResolution_521856001_522115201_4FGL_J2250.7-2806_daily_bin1090.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/522570/ft1_filtered_4FGL_J2250.7-2806_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/522570/ft2_4FGL_J2250.7-2806_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/522570/Model_4FGL_J2250.7-2806_daily_bin1090.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/522570/ft1_filtered_4FGL_J2250.7-2806_daily_bin1090.fits.....................!
real 46.75
user 45.43
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4467       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15166E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.437       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6708       1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11529E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    38.628       1.0000         .10000E-03   10000.    
     9 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    83.517       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.7574       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7846       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .18127E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .60976       1.0000         .10000E-03   10000.    
    16 'Prefactor '    40.049       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.3323       1.0000         .10000E-03   10000.    
    19 'Prefactor '    36.673       1.0000         .10000E-03   10000.    
    20 'norm      '    1.4259       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0723       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95606       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=   5777.119     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2736 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4467        .45034       -.98542E-08    .29977E-03
   2  Prefactor     .10042E-03    15.962       -.31807E-05** at limit **
   3  Prefactor     18.398        26.154        .60064E-06    .18902E-03
   4  Prefactor     3.6715        7.3214        .32514E-06   -.12604E-04
   5  norm          .10000E-03    16.183       -.47351E-06** at limit **
   6  Prefactor     .10000E-03    17.812        .26455E-06** at limit **
   7  Prefactor     .10000E-03    32.379       -.24024E-05** at limit **
   8  Prefactor     38.633        27.447       -.83007E-07    .21889E-04
   9  norm          .10000E-03    1.9721       -.95486E-06** at limit **
  10  Prefactor     83.496        52.590        .56796E-07    .10147E-03
  11  Prefactor     .10000E-03    3.8190        .36704E-07** at limit **
  12  norm          5.7573        4.8922        .68373E-07    .42105E-03
  13  Prefactor     7.7679        20.325        .19050E-05    .21690E-03
  14  Prefactor     .10013E-03    5.1820       -.36721E-06** at limit **
  15  norm          .60924        .54001        .10680E-06    .15834E-02
  16  Prefactor     40.054        48.521       -.31814E-07    .19659E-04
  17  Prefactor     .10000E-03    4.7295       -.46828E-07** at limit **
  18  norm          6.3329        7.6346        .68916E-07    .79968E-05
  19  Prefactor     36.677        41.992       -.16816E-06    .25825E-04
  20  norm          1.4259        2.2398        .17165E-06    .98902E-04
  21  Prefactor     .10000E-03    31.919       -.32019E-07** at limit **
  22  Prefactor     .10000E-03    47.949        .62397E-06** at limit **
  23  Normalizat    1.0722        .20311        .17311E-05    .39786E-03
  24  Prefactor     .95602        .18928       -.13029E-05    .43503E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.44669
  Prefactor  = 0.000100421
  Prefactor  = 18.3977
  Prefactor  = 3.67154
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 38.6332
  norm       = 0.0001
  Prefactor  = 83.4957
  Prefactor  = 0.0001
  norm       = 5.75731
  Prefactor  = 7.76794
  Prefactor  = 0.000100126
  norm       = 0.609242
  Prefactor  = 40.0535
  Prefactor  = 0.0001
  norm       = 6.33288
  Prefactor  = 36.6775
  norm       = 1.42587
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.07222
  Prefactor  = 0.956017
 **********
 **   18 **HESSE 
 **********

 FCN=   5777.119     FROM HESSE     STATUS=OK           401 CALLS     3137 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4467        .45180        .27624E-04   -1.5467    
   2  Prefactor     .10042E-03    72.827        .48535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.398        25.513        .93278E-04   -1.4850    
   4  Prefactor     3.6715        7.3285        .21082E-03   -1.5325    
   5  norm          .10000E-03    16.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    17.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.966        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     38.633        27.488        .64489E-04   -1.4464    
   9  norm          .10000E-03    1.9469        .20401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     83.496        52.260        .43954E-04   -1.3878    
  11  Prefactor     .10000E-03    3.8259        .14504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.7573        4.8664        .13077E-03   -1.5228    
  13  Prefactor     7.7679        20.327        .14372E-03   -1.5150    
  14  Prefactor     .10013E-03    40.721        .30959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .60924        .53371        .46199E-04   -1.5552    
  16  Prefactor     40.054        48.530        .63339E-04   -1.4441    
  17  Prefactor     .10000E-03    4.7422        .16135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.3329        7.6283        .15951E-03   -1.5205    
  19  Prefactor     36.677        42.098        .66180E-04   -1.4496    
  20  norm          1.4259        2.2029        .13815E-03   -1.5469    
  21  Prefactor     .10000E-03    32.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    47.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0722        .23840        .24890E-03   -.90649    
  24  Prefactor     .95602        .22287        .25303E-03   -.94210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.09382e-09
Minuit parameter uncertainties:
  1  0.451803
  2  0.0110917
  3  25.528
  4  7.33031
  5  8.45673e-05
  6  8.29825e-05
  7  0.000336432
  8  27.4975
  9  2.46863e-05
  10  52.2884
  11  2.65646e-06
  12  4.86673
  13  20.3451
  14  0.00453955
  15  0.533711
  16  48.5776
  17  1.3852e-05
  18  7.62944
  19  42.1324
  20  2.20299
  21  0.000118397
  22  0.000358954
  23  0.238636
  24  0.223082
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  5.757e+00  4.867e+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:  9.560e-01  2.231e-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:  1.072e+00  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.72
Ra Dec: 342.690 -28.111
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 3.85e-08 +/- 3.25e-08
Energy Flux (Fixed Index): 2.04e-05 +/- 1.73e-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) = 5776.75826252
delta logL = 0.361183866365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5776.5417803
delta logL = 0.577666081921

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7625       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0033       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0917       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95728       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=   5776.542     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      215 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7550        1.9584        .78896E-02   -.39963E-03
   2  alpha         1.0013        .47146        .35925       -.25274E-04
   3  Normalizat    1.0914        .18827        .55899E-01   -.91216E-04
   4  Prefactor     .95744        .18296        .45731E-01   -.79321E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.755
  alpha      = 1.00132
  Normalizat = 1.0914
  Prefactor  = 0.957443
 **********
 **   18 **HESSE 
 **********

 FCN=   5776.542     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7550        3.6871        .94773E-04   -1.5443    
   2  alpha         1.0013        .89273        .15255E-01   -.64284    
   3  Normalizat    1.0914        .22746        .24718E-03   -.90028    
   4  Prefactor     .95744        .22135        .25329E-03   -.94162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88805e-09
Minuit parameter uncertainties:
  1  3.68754
  2  0.925367
  3  0.227664
  4  0.221563
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/522570': 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) = 5776.54177758
delta logL = 0.577668807411

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.755e+00  3.688e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  1.001e+00  9.254e-01  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.574e-01  2.216e-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:  1.091e+00  2.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.89
Ra Dec: 342.690 -28.111
Photon Index (Free Index): 1.00 +/- 0.93
Photon Flux (Free Index): 7.21e-09 +/- 1.19e-08
Energy Flux (Free Index): 4.44e-05 +/- 6.17e-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/522570/cmap_HighResolution_521856001_522115201_4FGL_J2250.7-2806_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.85e-08', energy_flux2='4.44e-05', photon_flux_error='3.25e-08', dlogl='5.78e-01', energy_flux='2.04e-05', photon_flux2='7.21e-09', job_status='DONE', time_completed='2021-09-28 23:19:30.632575', photon_index_error2='0.93', photon_index2='1.00', ts='5.72', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='6.17e-05', EG='1.07', time_epoch_completed='1632896370.63', return_code='0', job_id='522570', GAL2='0.96', EG2='1.09', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='1.19e-08', ts2='6.89', photon_index='2.05' WHERE bin_id='1090' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:19:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 522570: <4FGL_J2250.7-2806_daily_bin1090> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin1090> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 23:05:47 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 23:05:49 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:05:49 2021
Terminated at Tue Sep 28 23:19:31 2021
Results reported at Tue Sep 28 23:19:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin1090 342.69 -28.1114 521856001 522115201 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 :                                   573.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             296.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            824 sec.

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

