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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1128
RA = 342.606, Dec = -42.1095
tmin = 531705601, tmax = 531964801
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='515625', job_status='RUN', time_executed='2021-09-28 22:46:43.575205', time_epoch_executed='1632894403.58' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1128'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515625

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515625/ft1_4FGL_J2250.4-4206_daily_bin1128.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515625/ft2_4FGL_J2250.4-4206_daily_bin1128.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515625/ft1_4FGL_J2250.4-4206_daily_bin1128.fits outfile=/scratch/kocevski/515625/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1128.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=531705601.0 tmax=531964801.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.97
user 3.74
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515625/ft1_filtered_4FGL_J2250.4-4206_daily_bin1128.fits" evtable="EVENTS" scfile=/scratch/kocevski/515625/ft2_4FGL_J2250.4-4206_daily_bin1128.fits sctable="SC_DATA" outfile=/scratch/kocevski/515625/ltcube_531705601_531964801_4FGL_J2250.4-4206_daily_bin1128.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/515625/ft2_4FGL_J2250.4-4206_daily_bin1128.fits
.....................!
real 11.79
user 11.40
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515625/ft1_filtered_4FGL_J2250.4-4206_daily_bin1128.fits evtable="EVENTS" scfile=/scratch/kocevski/515625/ft2_4FGL_J2250.4-4206_daily_bin1128.fits sctable="SC_DATA" expcube=/scratch/kocevski/515625/ltcube_531705601_531964801_4FGL_J2250.4-4206_daily_bin1128.fits outfile=/scratch/kocevski/515625/expmap_531705601_531964801_4FGL_J2250.4-4206_daily_bin1128.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/515625/ltcube_531705601_531964801_4FGL_J2250.4-4206_daily_bin1128.fits
.....................!
real 191.10
user 185.15
sys 5.59

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/515625/ft1_filtered_4FGL_J2250.4-4206_daily_bin1128.fits scfile=/scratch/kocevski/515625/ft2_4FGL_J2250.4-4206_daily_bin1128.fits outfile=/scratch/kocevski/515625/cmap_531705601_531964801_4FGL_J2250.4-4206_daily_bin1128.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/515625/ft1_filtered_4FGL_J2250.4-4206_daily_bin1128.fits scfile=/scratch/kocevski/515625/ft2_4FGL_J2250.4-4206_daily_bin1128.fits outfile=/scratch/kocevski/515625/cmap_HighResolution_531705601_531964801_4FGL_J2250.4-4206_daily_bin1128.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.285       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.149       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.7807       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4843       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4366       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10386E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1887       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .56237E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0134       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11909E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.6567       1.0000         .10000E-03   10000.    
    20 'norm      '    3.6140       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    17.036       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10526E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10597E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    15.537       1.0000         .10000E-03   10000.    
    28 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .11965E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1189       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .91639       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=   3953.409     FROM MIGRAD    STATUS=CONVERGED    806 CALLS     4128 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.344        32.130        .49141E-06    .45226E-04
   2  Prefactor     13.146        11.748        .72315E-07   -.35776E-05
   3  Prefactor     .10000E-03    53.233        .12438E-06** at limit **
   4  norm          .10000E-03    3.6337       -.40765E-08** at limit **
   5  Prefactor     8.7810        10.567        .24653E-05    .62033E-04
   6  Prefactor     5.4841        4.7415        .50549E-07    .35435E-05
   7  Prefactor     .10000E-03    30.150        .29592E-06** at limit **
   8  Prefactor     5.4356        8.7622        .13563E-06    .12688E-05
   9  Prefactor     .10000E-03    10.663       -.95860E-07** at limit **
  10  Prefactor     .10000E-03    50.051       -.56412E-06** at limit **
  11  Prefactor     .10000E-03    38.394       -.35741E-06** at limit **
  12  Prefactor     3.1890        14.587       -.24940E-06    .81187E-08
  13  Prefactor     .10000E-03    148.03       -.11456E-05** at limit **
  14  Prefactor     .10003E-03    9.6594       -.76479E-06** at limit **
  15  Prefactor     7.0141        7.8994        .81889E-06    .17736E-04
  16  Prefactor     .10000E-03    17.327       -.77627E-07** at limit **
  17  Prefactor     .10000E-03    103.02        .10811E-05** at limit **
  18  Prefactor     .10000E-03    6.3667       -.25373E-07** at limit **
  19  norm          7.6591        15.130        .17324E-06   -.92559E-06
  20  norm          3.6159        6.1814        .21869E-06    .30709E-05
  21  norm          .10000E-03    2.2790        .10378E-08** at limit **
  22  norm          17.035        13.835        .11600E-06   -.20848E-04
  23  Prefactor     .10000E-03    5.5921       -.16582E-06** at limit **
  24  Prefactor     .10000E-03    52.879        .13990E-06** at limit **
  25  Prefactor     .10000E-03    40.522       -.28048E-06** at limit **
  26  norm          .10000E-03    4.2424        .72609E-07** at limit **
  27  Prefactor     15.555        19.276        .27859E-06    .11908E-05
  28  norm          .10000E-03    .60746       -.94829E-07** at limit **
  29  norm          .10000E-03    6.3626        .86636E-06** at limit **
  30  Normalizat    1.1189        .23234       -.22671E-07   -.17037E-04
  31  Prefactor     .91634        .22383       -.73159E-06   -.99530E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.344
  Prefactor  = 13.1461
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.78099
  Prefactor  = 5.48414
  Prefactor  = 0.0001
  Prefactor  = 5.43557
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.189
  Prefactor  = 0.000100002
  Prefactor  = 0.000100028
  Prefactor  = 7.01412
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 7.65905
  norm       = 3.61593
  norm       = 0.0001
  norm       = 17.0355
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.5548
  norm       = 0.0001
  norm       = 0.000100002
  Normalizat = 1.11894
  Prefactor  = 0.916337
 **********
 **   18 **HESSE 
 **********

 FCN=   3953.409     FROM HESSE     STATUS=OK           626 CALLS     4754 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.344        32.123        .10989E-03   -1.4977    
   2  Prefactor     13.146        11.735        .11046E-03   -1.4983    
   3  Prefactor     .10000E-03    53.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.6393        .11706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.7810        10.657        .67634E-03   -1.5115    
   6  Prefactor     5.4841        4.7423        .12101E-03   -1.5240    
   7  Prefactor     .10000E-03    30.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.4356        8.7589        .17234E-03   -1.5242    
   9  Prefactor     .10000E-03    10.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    52.158        .41475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    38.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1890        14.509        .22692E-03   -1.5351    
  13  Prefactor     .10000E-03    148.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    58.418        .36854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.0141        7.9056        .75741E-03   -1.5178    
  16  Prefactor     .10000E-03    17.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    103.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.3715        .15494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.6591        15.117        .14492E-03   -1.5154    
  20  norm          3.6159        6.1591        .19845E-03   -1.5328    
  21  norm          .10000E-03    2.2798        .92695E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          17.035        13.833        .97038E-04   -1.4882    
  23  Prefactor     .10000E-03    5.6072        .14487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    53.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    40.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    8.4526        .24366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     15.555        19.131        .10161E-03   -1.4919    
  28  norm          .10000E-03    .76806        .94253E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    12.767        .29039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1189        .27703        .23995E-03   -.89146    
  31  Prefactor     .91634        .26734        .26094E-03   -.95573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.18832e-10
Minuit parameter uncertainties:
  1  32.1644
  2  11.7366
  3  7.00522e-05
  4  4.72437e-07
  5  10.6597
  6  4.74261
  7  0.000160317
  8  8.76098
  9  1.73922e-05
  10  8.24627e-05
  11  0.000130059
  12  13.6094
  13  0.00120319
  14  0.002563
  15  7.90674
  16  2.50854e-05
  17  0.000958185
  18  6.28896e-07
  19  15.1247
  20  6.16017
  21  6.72257e-07
  22  13.8352
  23  3.42496e-06
  24  6.01535e-06
  25  0.000169409
  26  9.85652e-05
  27  19.1387
  28  1.66634e-06
  29  0.000299742
  30  0.277388
  31  0.267727
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  7.014e+00  7.907e+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:  9.163e-01  2.677e-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.119e+00  2.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.73
Ra Dec: 342.606 -42.109
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 2.63e-08 +/- 2.97e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.68e-05

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

Saving results to:
/scratch/kocevski/515625/likelihoodResults_531705601_531964801_4FGL_J2250.4-4206_daily_bin1128.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) = 3953.3441298
delta logL = 0.0644356331122

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3953.34118754
delta logL = 0.0673778938062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0973       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7718       1.0000          .0000       10.000    
     3 'Normalizat'    1.1296       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91090       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=   3953.341     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      269 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0974        9.3847        .14090E-03   -.10946E-03
   2  Index         1.7720        .82426        .10787E-01   -.25698E-04
   3  Normalizat    1.1296        .26546        .23895E-03    .20078E-04
   4  Prefactor     .91090        .26457        .26161E-03    .20533E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.09738
  Index      = 1.77196
  Normalizat = 1.12961
  Prefactor  = 0.910898
 **********
 **   18 **HESSE 
 **********

 FCN=   3953.341     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0974        9.3560        .28179E-04   -1.5139    
   2  Index         1.7720        .82163        .43147E-03   -.70182    
   3  Normalizat    1.1296        .26568        .95581E-05   -.88807    
   4  Prefactor     .91090        .26485        .10464E-04   -.95761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74878e-11
Minuit parameter uncertainties:
  1  9.35772
  2  0.828103
  3  0.265995
  4  0.26523
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515625': 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) = 3953.34118751
delta logL = 0.0673779143867

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  8.097e+00  9.358e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  1.772e+00  8.281e-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:  9.109e-01  2.652e-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.130e+00  2.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.86
Ra Dec: 342.606 -42.109
Photon Index (Free Index): 1.77 +/- 0.83
Photon Flux (Free Index): 1.72e-08 +/- 2.95e-08
Energy Flux (Free Index): 2.24e-05 +/- 3.84e-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/515625/cmap_HighResolution_531705601_531964801_4FGL_J2250.4-4206_daily_bin1128.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.24e-03', comment='SUCCESS', photon_flux='2.63e-08', energy_flux2='2.24e-05', photon_flux_error='2.97e-08', dlogl='6.74e-02', energy_flux='1.49e-05', photon_flux2='1.72e-08', job_status='DONE', time_completed='2021-09-28 22:58:11.465262', photon_index_error2='0.83', photon_index2='1.77', ts='1.73', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='3.84e-05', EG='1.12', time_epoch_completed='1632895091.47', return_code='0', job_id='515625', GAL2='0.91', EG2='1.13', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='2.95e-08', ts2='1.86', photon_index='2.09' WHERE bin_id='1128' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:58:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 515625: <4FGL_J2250.4-4206_daily_bin1128> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1128> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:45:19 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:45:20 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:20 2021
Terminated at Tue Sep 28 22:58:12 2021
Results reported at Tue Sep 28 22:58:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1128 342.606 -42.1095 531705601 531964801 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 :                                   661.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            773 sec.

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

