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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1038
RA = 342.606, Dec = -42.1095
tmin = 508377601, tmax = 508636801
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='514425', job_status='RUN', time_executed='2021-09-28 22:41:26.722673', time_epoch_executed='1632894086.72' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1038'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514425/ft1_4FGL_J2250.4-4206_daily_bin1038.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514425/ft2_4FGL_J2250.4-4206_daily_bin1038.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514425/ft1_4FGL_J2250.4-4206_daily_bin1038.fits outfile=/scratch/kocevski/514425/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1038.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=508377601.0 tmax=508636801.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.64
user 3.43
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514425/ft1_filtered_4FGL_J2250.4-4206_daily_bin1038.fits" evtable="EVENTS" scfile=/scratch/kocevski/514425/ft2_4FGL_J2250.4-4206_daily_bin1038.fits sctable="SC_DATA" outfile=/scratch/kocevski/514425/ltcube_508377601_508636801_4FGL_J2250.4-4206_daily_bin1038.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/514425/ft2_4FGL_J2250.4-4206_daily_bin1038.fits
.....................!
real 11.97
user 11.59
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514425/ft1_filtered_4FGL_J2250.4-4206_daily_bin1038.fits evtable="EVENTS" scfile=/scratch/kocevski/514425/ft2_4FGL_J2250.4-4206_daily_bin1038.fits sctable="SC_DATA" expcube=/scratch/kocevski/514425/ltcube_508377601_508636801_4FGL_J2250.4-4206_daily_bin1038.fits outfile=/scratch/kocevski/514425/expmap_508377601_508636801_4FGL_J2250.4-4206_daily_bin1038.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/514425/ltcube_508377601_508636801_4FGL_J2250.4-4206_daily_bin1038.fits
.....................!
real 190.96
user 185.33
sys 5.31

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/514425/ft1_filtered_4FGL_J2250.4-4206_daily_bin1038.fits scfile=/scratch/kocevski/514425/ft2_4FGL_J2250.4-4206_daily_bin1038.fits outfile=/scratch/kocevski/514425/cmap_508377601_508636801_4FGL_J2250.4-4206_daily_bin1038.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514425/ft1_filtered_4FGL_J2250.4-4206_daily_bin1038.fits scfile=/scratch/kocevski/514425/ft2_4FGL_J2250.4-4206_daily_bin1038.fits outfile=/scratch/kocevski/514425/cmap_HighResolution_508377601_508636801_4FGL_J2250.4-4206_daily_bin1038.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/514425/ft1_filtered_4FGL_J2250.4-4206_daily_bin1038.fits evtable="EVENTS" scfile=/scratch/kocevski/514425/ft2_4FGL_J2250.4-4206_daily_bin1038.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/514425/Model_4FGL_J2250.4-4206_daily_bin1038.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/514425/ft1_filtered_4FGL_J2250.4-4206_daily_bin1038.fits.....................!
real 44.18
user 42.81
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1063       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3379       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.499       1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.440       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.839       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.3146       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.340       1.0000         .10000E-03   10000.    
    24 'Prefactor '    28.258       1.0000         .10000E-03   10000.    
    25 'Prefactor '    47.548       1.0000         .10000E-03   10000.    
    26 'norm      '    .10317E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .93100E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0561       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.4435       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=   5605.219     FROM MIGRAD    STATUS=CONVERGED    779 CALLS     4050 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    69.981       -.13012E-05** at limit **
   2  Prefactor     .10000E-03    6.2226       -.28801E-05** at limit **
   3  Prefactor     5.0094        354.09       -.37948E-05    .13091E-05
   4  norm          .10000E-03    2.7473       -.11388E-06** at limit **
   5  Prefactor     .10000E-03    4.6060        .16471E-06** at limit **
   6  Prefactor     2.3379        3.4138        .16116E-06    .61182E-05
   7  Prefactor     .10000E-03    21.482        .53882E-07** at limit **
   8  Prefactor     13.497        7.3792        .63176E-06    .29297E-04
   9  Prefactor     36.436        31.826        .12924E-06   -.73619E-05
  10  Prefactor     .10000E-03    10.294        .66873E-07** at limit **
  11  Prefactor     .10000E-03    24.181       -.86109E-06** at limit **
  12  Prefactor     .10000E-03    4.0304       -.36903E-06** at limit **
  13  Prefactor     21.787        77.022       -.67697E-06   -.10193E-04
  14  Prefactor     .10000E-03    7.3950        .22300E-06** at limit **
  15  Prefactor     .10000E-03    5.9904        .19119E-06** at limit **
  16  Prefactor     .10000E-03    13.127       -.65320E-08** at limit **
  17  Prefactor     .10000E-03    30.022        .20572E-06** at limit **
  18  Prefactor     .10000E-03    9.2298        .83771E-07** at limit **
  19  norm          .10000E-03    23.114        .21502E-06** at limit **
  20  norm          3.3146        4.0799       -.34239E-07   -.13009E-05
  21  norm          .10000E-03    1.7780        .18414E-08** at limit **
  22  norm          .10000E-03    3.4890        .47498E-07** at limit **
  23  Prefactor     15.339        7.8193        .24597E-08   -.24373E-04
  24  Prefactor     28.253        44.148        .16830E-06   -.51322E-04
  25  Prefactor     47.540        64.619        .16406E-06   -.55725E-05
  26  norm          .10000E-03    3.1313       -.52447E-07** at limit **
  27  Prefactor     .10000E-03    16.655        .33340E-06** at limit **
  28  norm          .10000E-03    .29284        .29295E-07** at limit **
  29  norm          .10000E-03    3.5754        .29397E-06** at limit **
  30  Normalizat    1.0563        .22468       -.15305E-05    .28662E-04
  31  Prefactor     1.4433        .22231        .79929E-06   -.71514E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.00942
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.33786
  Prefactor  = 0.0001
  Prefactor  = 13.4968
  Prefactor  = 36.4364
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.7866
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.31463
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 15.339
  Prefactor  = 28.2531
  Prefactor  = 47.5403
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Normalizat = 1.05629
  Prefactor  = 1.44331
 **********
 **   18 **HESSE 
 **********

 FCN=   5605.219     FROM HESSE     STATUS=OK           610 CALLS     4660 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    70.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.2400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.0094        358.44        .17792E-03   -1.5260    
   4  norm          .10000E-03    2.7491        .12120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.6439        .15693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3379        3.3963        .16043E-03   -1.5402    
   7  Prefactor     .10000E-03    21.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.497        7.4074        .54510E-03   -1.4973    
   9  Prefactor     36.436        31.850        .66390E-04   -1.4500    
  10  Prefactor     .10000E-03    10.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    24.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.0391        .14679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.787        77.168        .85711E-04   -1.4774    
  14  Prefactor     .10000E-03    7.4311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.0515        .17896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    30.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.2563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    23.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.3146        4.0771        .16372E-03   -1.5344    
  21  norm          .10000E-03    1.7784        .97490E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.4959        .13657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.339        7.8235        .10226E-03   -1.4924    
  24  Prefactor     28.253        41.203        .75366E-04   -1.4644    
  25  Prefactor     47.540        64.680        .58150E-04   -1.4328    
  26  norm          .10000E-03    3.1499        .12886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    16.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    .29420        .39557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    15.563        .25105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0563        .27061        .28061E-03   -.91168    
  31  Prefactor     1.4433        .27022        .25327E-03   -.79140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82131e-10
Minuit parameter uncertainties:
  1  3.85668e-05
  2  1.15862e-05
  3  85.2846
  4  1.52269e-07
  5  3.94295e-06
  6  3.39661
  7  1.50106e-05
  8  7.40794
  9  31.8646
  10  2.38813e-06
  11  1.617e-05
  12  6.92968e-08
  13  77.5245
  14  1.07812e-05
  15  9.99811e-07
  16  1.07093e-05
  17  4.86364e-05
  18  1.10368e-06
  19  8.61515e-06
  20  4.07748
  21  2.1882e-08
  22  1.34532e-06
  23  7.82399
  24  41.2449
  25  64.7753
  26  7.26253e-07
  27  1.44527e-05
  28  2.16583e-07
  29  0.000299233
  30  0.270963
  31  0.270484
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  9.998e-07  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:  1.443e+00  2.705e-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.056e+00  2.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/514425/likelihoodResults_508377601_508636801_4FGL_J2250.4-4206_daily_bin1038.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): 102
logL (Free Index) = 5605.21940725
delta logL = -0.000786451403656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5605.21862081
delta logL = -9.43509803619e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1091       1.0000          .0000       10.000    
     3 'Normalizat'    1.0563       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4433       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=   5605.219     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    88.008        .90712E-02** at limit **
   2  Index         2.1336        8.7880        .50000       -.34676E-04
   3  Normalizat    1.0563        .20001E-01    .63439E-01    .49642E-04
   4  Prefactor     1.4433        .20740E-01    .57277E-01    .39440E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.13359
  Normalizat = 1.05628
  Prefactor  = 1.44331
 **********
 **   18 **HESSE 
 **********

 FCN=   5605.219     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      242 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    493.84        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1336        6.6694        .50000       -.61051    
   3  Normalizat    1.0563        .51577E-01    .28061E-03   -.91168    
   4  Prefactor     1.4433        .53517E-01    .25327E-03   -.79140    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.35775e-08
Minuit parameter uncertainties:
  1  0.000252338
  2  36.4978
  3  0.0515792
  4  0.0535187
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514425': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5605.21862042
delta logL = 3.79810444429e-07

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  2.523e-04  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.134e+00  3.650e+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:  1.443e+00  5.352e-02  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.056e+00  5.158e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/514425/cmap_HighResolution_508377601_508636801_4FGL_J2250.4-4206_daily_bin1038.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.25e-03', job_status='DONE', photon_flux_upper_limit='6.95e-08', time_completed='2021-09-28 22:54:53.681550', job_id='514425', GAL2='1.44', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1632894893.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.44', dlogl='3.80e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1038' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:54:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 514425: <4FGL_J2250.4-4206_daily_bin1038> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1038> 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) <bullet0231>, 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:54:54 2021
Results reported at Tue Sep 28 22:54:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1038 342.606 -42.1095 508377601 508636801 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 :                                   802.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            851 sec.

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

