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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1092
RA = 342.606, Dec = -42.1095
tmin = 522374401, tmax = 522633601
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='515571', job_status='RUN', time_executed='2021-09-28 22:45:31.002266', time_epoch_executed='1632894331.0' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1092'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515571

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515571/ft1_4FGL_J2250.4-4206_daily_bin1092.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515571/ft2_4FGL_J2250.4-4206_daily_bin1092.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515571/ft1_4FGL_J2250.4-4206_daily_bin1092.fits outfile=/scratch/kocevski/515571/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1092.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=522374401.0 tmax=522633601.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.69
user 3.44
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/515571/ft2_4FGL_J2250.4-4206_daily_bin1092.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/515571/ft2_4FGL_J2250.4-4206_daily_bin1092.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/515571/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1092.fits evtable="EVENTS" outfile="/scratch/kocevski/515571/ft1_filtered_4FGL_J2250.4-4206_daily_bin1092.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515571/ft1_filtered_4FGL_J2250.4-4206_daily_bin1092.fits" evtable="EVENTS" scfile=/scratch/kocevski/515571/ft2_4FGL_J2250.4-4206_daily_bin1092.fits sctable="SC_DATA" outfile=/scratch/kocevski/515571/ltcube_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.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/515571/ft2_4FGL_J2250.4-4206_daily_bin1092.fits
.....................!
real 12.01
user 11.52
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515571/ft1_filtered_4FGL_J2250.4-4206_daily_bin1092.fits evtable="EVENTS" scfile=/scratch/kocevski/515571/ft2_4FGL_J2250.4-4206_daily_bin1092.fits sctable="SC_DATA" expcube=/scratch/kocevski/515571/ltcube_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.fits outfile=/scratch/kocevski/515571/expmap_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.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/515571/ltcube_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.fits
.....................!
real 190.22
user 185.10
sys 4.81

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

Setting source of interest to:
4FGL J2250.4-4206 @ 342.606 -42.1095

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515571/ft1_filtered_4FGL_J2250.4-4206_daily_bin1092.fits scfile=/scratch/kocevski/515571/ft2_4FGL_J2250.4-4206_daily_bin1092.fits outfile=/scratch/kocevski/515571/cmap_HighResolution_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.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.606 yref=-42.1095 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/515571/ft1_filtered_4FGL_J2250.4-4206_daily_bin1092.fits evtable="EVENTS" scfile=/scratch/kocevski/515571/ft2_4FGL_J2250.4-4206_daily_bin1092.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515571/Model_4FGL_J2250.4-4206_daily_bin1092.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/515571/ft1_filtered_4FGL_J2250.4-4206_daily_bin1092.fits.....................!
real 37.75
user 36.43
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/515571/ft1_filtered_4FGL_J2250.4-4206_daily_bin1092.fits', '/scratch/kocevski/515571/ft2_4FGL_J2250.4-4206_daily_bin1092.fits', expMap='/scratch/kocevski/515571/expmap_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.fits', expCube='/scratch/kocevski/515571/ltcube_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/515571/Model_4FGL_J2250.4-4206_daily_bin1092.xml', optimizer='MINUIT')

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

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.312e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/515571/ft1_filtered_4FGL_J2250.4-4206_daily_bin1092.fits
Spacecraft file(s): /scratch/kocevski/515571/ft2_4FGL_J2250.4-4206_daily_bin1092.fits
Exposure map: /scratch/kocevski/515571/expmap_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.fits
Exposure cube: /scratch/kocevski/515571/ltcube_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/515571/Model_4FGL_J2250.4-4206_daily_bin1092.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) = 4373.32011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    75.294       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.479       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.3240       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.7727       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.537       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.100       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.458       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.3726       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .38090E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.4151       1.0000         .10000E-03   10000.    
    24 'Prefactor '    40.006       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .38524       1.0000         .10000E-03   10000.    
    29 'norm      '    2.4592       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .98999       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .75828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4373.252     FROM MIGRAD    STATUS=CONVERGED    793 CALLS     4135 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.282        40.287       -.86248E-06   -.21424E-03
   2  Prefactor     .10000E-03    4.0083       -.57762E-07** at limit **
   3  Prefactor     .10001E-03    29.118        .44656E-05** at limit **
   4  norm          10.477        8.5576       -.57328E-08   -.11556E-04
   5  Prefactor     3.3238        6.7286        .45686E-06   -.66755E-04
   6  Prefactor     5.7735        4.5412        .27227E-07    .46822E-04
   7  Prefactor     .10000E-03    33.187       -.30822E-05** at limit **
   8  Prefactor     10.538        7.9328       -.43570E-08   -.70406E-04
   9  Prefactor     .10000E-03    9.2603       -.72267E-06** at limit **
  10  Prefactor     .10000E-03    48.213       -.84866E-06** at limit **
  11  Prefactor     28.111        45.419        .27090E-05    .97967E-04
  12  Prefactor     21.455        19.251       -.57442E-06   -.63307E-04
  13  Prefactor     .10001E-03    51.858        .56499E-05** at limit **
  14  Prefactor     .10000E-03    17.352        .29732E-05** at limit **
  15  Prefactor     4.3716        7.0915        .44711E-05   -.11469E-02
  16  Prefactor     .10000E-03    12.767        .95844E-06** at limit **
  17  Prefactor     .10000E-03    15.747       -.33929E-05** at limit **
  18  Prefactor     .10000E-03    8.3340        .13506E-06** at limit **
  19  norm          .10000E-03    4.8148        .27581E-07** at limit **
  20  norm          .10073E-03    7.6585       -.90250E-06** at limit **
  21  norm          .10000E-03    5.3903        .26197E-06** at limit **
  22  norm          .10000E-03    3.8673        .32955E-07** at limit **
  23  Prefactor     6.4155        5.8742       -.11388E-06    .15626E-05
  24  Prefactor     40.031        43.153        .38314E-05    .28781E-03
  25  Prefactor     .10001E-03    34.180       -.51598E-05** at limit **
  26  norm          .10000E-03    3.9697        .54509E-06** at limit **
  27  Prefactor     .10000E-03    9.4003        .26244E-06** at limit **
  28  norm          .38523        1.1200        .44357E-06    .56462E-04
  29  norm          2.4595        3.9532       -.77844E-07   -.15927E-03
  30  Normalizat    .98973        .20789       -.25645E-05    .38327E-04
  31  Prefactor     .75854        .19221        .85753E-06   -.12331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.2815
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  norm       = 10.4775
  Prefactor  = 3.32379
  Prefactor  = 5.77346
  Prefactor  = 0.000100004
  Prefactor  = 10.5384
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.1113
  Prefactor  = 21.455
  Prefactor  = 0.000100013
  Prefactor  = 0.000100003
  Prefactor  = 4.37159
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100728
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.41549
  Prefactor  = 40.0309
  Prefactor  = 0.00010001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.38523
  norm       = 2.45951
  Normalizat = 0.989726
  Prefactor  = 0.758545
 **********
 **   18 **HESSE 
 **********

 FCN=   4373.252     FROM HESSE     STATUS=OK           622 CALLS     4757 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.282        40.472        .46273E-04   -1.3970    
   2  Prefactor     .10000E-03    4.0259        .12927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    29.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.477        8.5632        .12377E-03   -1.5060    
   5  Prefactor     3.3238        6.7137        .22202E-03   -1.5343    
   6  Prefactor     5.7735        4.5550        .11802E-03   -1.5227    
   7  Prefactor     .10000E-03    33.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.538        7.9400        .12343E-03   -1.5059    
   9  Prefactor     .10000E-03    9.2849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    48.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     28.111        45.573        .75576E-04   -1.4647    
  12  Prefactor     21.455        19.251        .86466E-04   -1.4781    
  13  Prefactor     .10001E-03    52.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.3716        7.6809        .96307E-03   -1.5290    
  16  Prefactor     .10000E-03    12.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.3565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.8193        .14172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10073E-03    7.9448        .54079E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    5.4272        .14970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.8838        .12700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.4155        5.8307        .14264E-03   -1.5201    
  24  Prefactor     40.031        43.875        .63373E-04   -1.4442    
  25  Prefactor     .10001E-03    35.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    3.9791        .12782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    9.4420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .38523        1.0956        .10549E-03   -1.5584    
  29  norm          2.4595        3.9337        .15711E-03   -1.5394    
  30  Normalizat    .98973        .24766        .22741E-03   -.93375    
  31  Prefactor     .75854        .22916        .25218E-03   -1.0127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09724e-09
Minuit parameter uncertainties:
  1  40.4868
  2  3.16878e-06
  3  0.000976279
  4  8.56422
  5  6.71521
  6  4.55525
  7  0.000701346
  8  7.94082
  9  8.27022e-05
  10  0.000165917
  11  45.6298
  12  19.2564
  13  0.00162913
  14  0.000492505
  15  7.68264
  16  0.000134012
  17  0.000542606
  18  1.83336e-05
  19  1.43363e-06
  20  0.00481111
  21  5.09333e-05
  22  1.89112e-06
  23  5.83121
  24  43.9108
  25  0.00119735
  26  4.87672e-05
  27  3.4434e-05
  28  1.09566
  29  3.9341
  30  0.247951
  31  0.229447
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  4.372e+00  7.683e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  7.585e-01  2.294e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  9.897e-01  2.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.43
Ra Dec: 342.606 -42.109
Photon Flux Upper Limit: 8.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/515571/likelihoodResults_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.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) = 4373.23644669
delta logL = 0.0153426256866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4373.23074022
delta logL = 0.0210490941217

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4989       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3050       1.0000          .0000       10.000    
     3 'Normalizat'    .98433       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76190       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4373.231     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      211 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4962        234.43        .54037E-02    .35233E-03
   2  Index         2.3052        5.9291        .16344        .62790E-04
   3  Normalizat    .98432        .63371E-01    .45970E-01    .39259E-05
   4  Prefactor     .76192        .53989E-01    .43219E-01    .11903E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.49623
  Index      = 2.30518
  Normalizat = 0.984322
  Prefactor  = 0.761915
 **********
 **   18 **HESSE 
 **********

 FCN=   4373.231     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4962        8.9607        .19748E-03   -1.5334    
   2  Index         2.3052        1.2605        .91463E-02   -.56921    
   3  Normalizat    .98432        .22832        .22796E-03   -.93558    
   4  Prefactor     .76192        .22432        .25166E-03   -1.0115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12116e-11
Minuit parameter uncertainties:
  1  8.96413
  2  1.28016
  3  0.228544
  4  0.224591
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515571': 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) = 4373.23074016
delta logL = 0.0210491532553

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  3.496e+00  8.964e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.305e+00  1.280e+00  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  7.619e-01  2.246e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  9.843e-01  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.43
Ra Dec: 342.606 -42.109

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/515571/cmap_HighResolution_522374401_522633601_4FGL_J2250.4-4206_daily_bin1092.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-03', job_status='DONE', photon_flux_upper_limit='8.98e-08', time_completed='2021-09-28 22:57:14.574166', job_id='515571', GAL2='0.76', fit_tolerance='1e-08', EG2='0.98', EG='0.99', time_epoch_completed='1632895034.57', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.10e-02', ts2='0.47', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1092' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:57:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 515571: <4FGL_J2250.4-4206_daily_bin1092> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1092> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:45:15 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:45: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 22:45:16 2021
Terminated at Tue Sep 28 22:57:14 2021
Results reported at Tue Sep 28 22:57:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1092 342.606 -42.1095 522374401 522633601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.4-4206 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   700.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            719 sec.

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

