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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1043
RA = 342.606, Dec = -42.1095
tmin = 509673601, tmax = 509932801
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='514433', job_status='RUN', time_executed='2021-09-28 22:44:52.447862', time_epoch_executed='1632894292.45' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1043'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514433/ft1_4FGL_J2250.4-4206_daily_bin1043.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514433/ft2_4FGL_J2250.4-4206_daily_bin1043.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514433/ft1_4FGL_J2250.4-4206_daily_bin1043.fits outfile=/scratch/kocevski/514433/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1043.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=509673601.0 tmax=509932801.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.54
user 3.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/514433/ft2_4FGL_J2250.4-4206_daily_bin1043.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/514433/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1043.fits evtable="EVENTS" outfile="/scratch/kocevski/514433/ft1_filtered_4FGL_J2250.4-4206_daily_bin1043.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514433/ft1_filtered_4FGL_J2250.4-4206_daily_bin1043.fits" evtable="EVENTS" scfile=/scratch/kocevski/514433/ft2_4FGL_J2250.4-4206_daily_bin1043.fits sctable="SC_DATA" outfile=/scratch/kocevski/514433/ltcube_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.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/514433/ft2_4FGL_J2250.4-4206_daily_bin1043.fits
.....................!
real 11.91
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514433/ft1_filtered_4FGL_J2250.4-4206_daily_bin1043.fits evtable="EVENTS" scfile=/scratch/kocevski/514433/ft2_4FGL_J2250.4-4206_daily_bin1043.fits sctable="SC_DATA" expcube=/scratch/kocevski/514433/ltcube_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.fits outfile=/scratch/kocevski/514433/expmap_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.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/514433/ltcube_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.fits
.....................!
real 190.78
user 185.25
sys 5.17

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/514433/ft1_filtered_4FGL_J2250.4-4206_daily_bin1043.fits scfile=/scratch/kocevski/514433/ft2_4FGL_J2250.4-4206_daily_bin1043.fits outfile=/scratch/kocevski/514433/cmap_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514433/ft1_filtered_4FGL_J2250.4-4206_daily_bin1043.fits scfile=/scratch/kocevski/514433/ft2_4FGL_J2250.4-4206_daily_bin1043.fits outfile=/scratch/kocevski/514433/cmap_HighResolution_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/514433/ft1_filtered_4FGL_J2250.4-4206_daily_bin1043.fits evtable="EVENTS" scfile=/scratch/kocevski/514433/ft2_4FGL_J2250.4-4206_daily_bin1043.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/514433/Model_4FGL_J2250.4-4206_daily_bin1043.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/514433/ft1_filtered_4FGL_J2250.4-4206_daily_bin1043.fits.....................!
real 37.36
user 36.09
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/514433/ft1_filtered_4FGL_J2250.4-4206_daily_bin1043.fits', '/scratch/kocevski/514433/ft2_4FGL_J2250.4-4206_daily_bin1043.fits', expMap='/scratch/kocevski/514433/expmap_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.fits', expCube='/scratch/kocevski/514433/ltcube_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/514433/Model_4FGL_J2250.4-4206_daily_bin1043.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/514433/ft1_filtered_4FGL_J2250.4-4206_daily_bin1043.fits
Spacecraft file(s): /scratch/kocevski/514433/ft2_4FGL_J2250.4-4206_daily_bin1043.fits
Exposure map: /scratch/kocevski/514433/expmap_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.fits
Exposure cube: /scratch/kocevski/514433/ltcube_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/514433/Model_4FGL_J2250.4-4206_daily_bin1043.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) = 4403.04991023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.336       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0011       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .40763E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.148       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.072       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4966       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10336E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.180       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.275       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13462E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12737E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0108       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.048       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.096       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.0779       1.0000         .10000E-03   10000.    
    20 'norm      '    2.3348       1.0000         .10000E-03   10000.    
    21 'norm      '    3.5582       1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.4198       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.794       1.0000         .10000E-03   10000.    
    26 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .59578       1.0000         .10000E-03   10000.    
    29 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.3379       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82608       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=   4402.987     FROM MIGRAD    STATUS=CONVERGED    792 CALLS     4154 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.336        57.677        .84594E-06    .42870E-05
   2  Prefactor     3.9877        13.059       -.16536E-05    .10989E-05
   3  Prefactor     .10000E-03    465.73       -.17820E-05** at limit **
   4  norm          10.149        8.6351        .80202E-08   -.18261E-04
   5  Prefactor     20.063        14.532        .39482E-07   -.70924E-05
   6  Prefactor     3.4956        4.6746        .28155E-06   -.24297E-04
   7  Prefactor     .10000E-03    16.442       -.35214E-08** at limit **
   8  Prefactor     .10000E-03    9.1150        .64857E-06** at limit **
   9  Prefactor     37.171        31.179       -.26170E-06   -.22064E-04
  10  Prefactor     11.259        26.770        .17934E-06   -.16311E-04
  11  Prefactor     .10000E-03    83.977        .15779E-05** at limit **
  12  Prefactor     .10001E-03    9.6203        .10534E-05** at limit **
  13  Prefactor     .10000E-03    43.153        .88414E-07** at limit **
  14  Prefactor     5.0054        14.246        .68728E-05   -.65636E-04
  15  Prefactor     11.044        10.232        .12619E-06   -.67599E-05
  16  Prefactor     12.105        40.919        .33233E-06    .25604E-07
  17  Prefactor     .10000E-03    40.172       -.17581E-06** at limit **
  18  Prefactor     .10000E-03    10.373        .75384E-08** at limit **
  19  norm          4.0742        13.636        .61859E-06   -.71102E-05
  20  norm          2.3361        5.3320        .21650E-06   -.38148E-04
  21  norm          3.5579        3.7074       -.33818E-07    .16371E-05
  22  norm          .10000E-03    3.1191       -.34255E-06** at limit **
  23  Prefactor     7.4204        7.1902       -.26527E-06   -.58670E-04
  24  Prefactor     .10000E-03    27.668        .22522E-06** at limit **
  25  Prefactor     11.714        100.81       -.27628E-05   -.63980E-04
  26  norm          .10000E-03    2.4664        .83111E-07** at limit **
  27  Prefactor     .10000E-03    10.244        .12491E-06** at limit **
  28  norm          .59458        1.4632        .57332E-06    .60047E-05
  29  norm          .10000E-03    2.1108        .87497E-07** at limit **
  30  Normalizat    1.3386        .23449        .69189E-06   -.20380E-03
  31  Prefactor     .82562        .22653       -.28364E-05   -.42353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.336
  Prefactor  = 3.98768
  Prefactor  = 0.000100004
  norm       = 10.149
  Prefactor  = 20.0634
  Prefactor  = 3.49556
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.1712
  Prefactor  = 11.2595
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 5.00536
  Prefactor  = 11.0438
  Prefactor  = 12.1045
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.07417
  norm       = 2.33606
  norm       = 3.55792
  norm       = 0.0001
  Prefactor  = 7.42042
  Prefactor  = 0.0001
  Prefactor  = 11.7139
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.594581
  norm       = 0.0001
  Normalizat = 1.33859
  Prefactor  = 0.825618
 **********
 **   18 **HESSE 
 **********

 FCN=   4402.987     FROM HESSE     STATUS=OK           624 CALLS     4778 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.336        57.320        .79584E-04   -1.4701    
   2  Prefactor     3.9877        12.903        .20162E-03   -1.5309    
   3  Prefactor     .10000E-03    465.65        .21255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.149        8.6384        .12578E-03   -1.5071    
   5  Prefactor     20.063        14.541        .89401E-04   -1.4812    
   6  Prefactor     3.4956        4.6717        .15785E-03   -1.5334    
   7  Prefactor     .10000E-03    16.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.3123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.171        31.159        .65729E-04   -1.4488    
  10  Prefactor     11.259        26.751        .11931E-03   -1.5037    
  11  Prefactor     .10000E-03    85.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    35.246        .39323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    43.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.0054        14.339        .89822E-03   -1.5260    
  15  Prefactor     11.044        10.233        .12053E-03   -1.5043    
  16  Prefactor     12.105        40.904        .11518E-03   -1.5012    
  17  Prefactor     .10000E-03    40.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.0742        13.625        .19965E-03   -1.5304    
  20  norm          2.3361        5.2857        .22219E-03   -1.5402    
  21  norm          3.5579        3.7126        .12730E-03   -1.5331    
  22  norm          .10000E-03    3.1203        .11441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4204        7.1330        .14724E-03   -1.5163    
  24  Prefactor     .10000E-03    27.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     11.714        101.83        .11665E-03   -1.5023    
  26  norm          .10000E-03    2.4946        .10174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    10.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .59458        1.4366        .11450E-03   -1.5554    
  29  norm          .10000E-03    2.1452        .94141E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.3386        .28278        .23573E-03   -.82422    
  31  Prefactor     .82562        .26930        .28869E-03   -.98791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.24503e-10
Minuit parameter uncertainties:
  1  57.4447
  2  12.9117
  3  0.00262798
  4  8.63948
  5  14.5436
  6  4.67218
  7  2.01481e-06
  8  1.25699e-05
  9  31.1731
  10  26.7791
  11  0.000147452
  12  0.00125421
  13  9.89034e-06
  14  14.3487
  15  10.2351
  16  40.9985
  17  9.22314e-05
  18  2.4414e-05
  19  13.6354
  20  5.28674
  21  3.71279
  22  3.92163e-06
  23  7.13379
  24  3.3934e-05
  25  69.2344
  26  2.9621e-06
  27  3.33347e-06
  28  1.43666
  29  1.99241e-06
  30  0.283113
  31  0.269731
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.104e+01  1.024e+01  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:  8.256e-01  2.697e-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:  1.339e+00  2.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.72
Ra Dec: 342.606 -42.109
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 4.14e-08 +/- 3.84e-08
Energy Flux (Fixed Index): 2.34e-05 +/- 2.17e-05

TS (Fixed Index): 1.72
Ra Dec: 342.606 -42.109
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/514433/likelihoodResults_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.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) = 4402.6672594
delta logL = 0.319501423269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4402.61252251
delta logL = 0.374238311152

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.230       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5196       1.0000          .0000       10.000    
     3 'Normalizat'    1.3692       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80385       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4402.613     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      255 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.233        13.427        .10263E-03    .28137E-04
   2  Index         1.5196        .55609        .81108E-02   -.99043E-05
   3  Normalizat    1.3692        .26961        .23343E-03   -.23669E-04
   4  Prefactor     .80386        .26692        .29197E-03   -.10202E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2334
  Index      = 1.51964
  Normalizat = 1.36922
  Prefactor  = 0.803858
 **********
 **   18 **HESSE 
 **********

 FCN=   4402.613     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.233        13.506        .41052E-05   -1.4927    
   2  Index         1.5196        .55929        .32443E-03   -.76991    
   3  Normalizat    1.3692        .26989        .93373E-05   -.81523    
   4  Prefactor     .80386        .26721        .11679E-04   -.99586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62397e-12
Minuit parameter uncertainties:
  1  13.5084
  2  0.561575
  3  0.270172
  4  0.267644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514433': 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) = 4402.61252248
delta logL = 0.374238342671

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.523e+01  1.351e+01  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  1.520e+00  5.616e-01  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:  8.039e-01  2.676e-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:  1.369e+00  2.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.47
Ra Dec: 342.606 -42.109
Photon Index (Free Index): 1.52 +/- 0.56
Photon Flux (Free Index): 2.27e-08 +/- 2.72e-08
Energy Flux (Free Index): 6.72e-05 +/- 9.20e-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/514433/cmap_HighResolution_509673601_509932801_4FGL_J2250.4-4206_daily_bin1043.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.68e-03', comment='SUCCESS', photon_flux='4.14e-08', energy_flux2='6.72e-05', photon_flux_error='3.84e-08', dlogl='3.74e-01', energy_flux='2.34e-05', photon_flux2='2.27e-08', job_status='DONE', time_completed='2021-09-28 22:56:30.899888', photon_index_error2='0.56', photon_index2='1.52', ts='1.72', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='9.20e-05', EG='1.34', time_epoch_completed='1632894990.9', return_code='0', job_id='514433', GAL2='0.80', EG2='1.37', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='2.72e-08', ts2='2.47', photon_index='2.09' WHERE bin_id='1043' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:56:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 514433: <4FGL_J2250.4-4206_daily_bin1043> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1043> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:40:43 2021
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:40:45 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:40:45 2021
Terminated at Tue Sep 28 22:56:31 2021
Results reported at Tue Sep 28 22:56:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1043 342.606 -42.1095 509673601 509932801 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 :                                   698.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             231.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   946 sec.
    Turnaround time :                            948 sec.

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

