/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 9 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_bin1482
RA = 342.606, Dec = -42.1095
tmin = 623462401, tmax = 623721601
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='517194', job_status='RUN', time_executed='2021-09-28 22:50:34.456601', time_epoch_executed='1632894634.46' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1482'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/517194

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/517194/ft1_4FGL_J2250.4-4206_daily_bin1482.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/517194/ft2_4FGL_J2250.4-4206_daily_bin1482.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/517194/ft1_4FGL_J2250.4-4206_daily_bin1482.fits outfile=/scratch/kocevski/517194/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1482.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=623462401.0 tmax=623721601.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 2.71
user 2.50
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/517194/ft1_filtered_4FGL_J2250.4-4206_daily_bin1482.fits" evtable="EVENTS" scfile=/scratch/kocevski/517194/ft2_4FGL_J2250.4-4206_daily_bin1482.fits sctable="SC_DATA" outfile=/scratch/kocevski/517194/ltcube_623462401_623721601_4FGL_J2250.4-4206_daily_bin1482.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/517194/ft2_4FGL_J2250.4-4206_daily_bin1482.fits
.....................!
real 14.88
user 14.52
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/517194/ft1_filtered_4FGL_J2250.4-4206_daily_bin1482.fits evtable="EVENTS" scfile=/scratch/kocevski/517194/ft2_4FGL_J2250.4-4206_daily_bin1482.fits sctable="SC_DATA" expcube=/scratch/kocevski/517194/ltcube_623462401_623721601_4FGL_J2250.4-4206_daily_bin1482.fits outfile=/scratch/kocevski/517194/expmap_623462401_623721601_4FGL_J2250.4-4206_daily_bin1482.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/517194/ltcube_623462401_623721601_4FGL_J2250.4-4206_daily_bin1482.fits
.....................!
real 190.64
user 185.87
sys 4.41

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/517194/ft1_filtered_4FGL_J2250.4-4206_daily_bin1482.fits scfile=/scratch/kocevski/517194/ft2_4FGL_J2250.4-4206_daily_bin1482.fits outfile=/scratch/kocevski/517194/cmap_623462401_623721601_4FGL_J2250.4-4206_daily_bin1482.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/517194/ft1_filtered_4FGL_J2250.4-4206_daily_bin1482.fits scfile=/scratch/kocevski/517194/ft2_4FGL_J2250.4-4206_daily_bin1482.fits outfile=/scratch/kocevski/517194/cmap_HighResolution_623462401_623721601_4FGL_J2250.4-4206_daily_bin1482.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.53
user 0.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/517194/ft1_filtered_4FGL_J2250.4-4206_daily_bin1482.fits evtable="EVENTS" scfile=/scratch/kocevski/517194/ft2_4FGL_J2250.4-4206_daily_bin1482.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/517194/Model_4FGL_J2250.4-4206_daily_bin1482.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/517194/ft1_filtered_4FGL_J2250.4-4206_daily_bin1482.fits.....................!
real 48.72
user 47.47
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.977       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9620       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12563E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9510       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.208       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1427       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.184       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3890       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.786       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .15822E-02   1.0000         .10000E-03   10000.    
    25 'Prefactor '    39.455       1.0000         .10000E-03   10000.    
    26 'norm      '    6.5180       1.0000         .10000E-03   10000.    
    27 'Prefactor '    48.156       1.0000         .10000E-03   10000.    
    28 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1861       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .85520       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=   6632.807     FROM MIGRAD    STATUS=CONVERGED   1440 CALLS     4783 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.756        .18142E-02** at limit **
   2  Prefactor     .10000E-03    4.1925        .16219E-02** at limit **
   3  Prefactor     14.909        69.398        .10349E-03   -.38052E-04
   4  norm          .10000E-03    4.6096        .16947E-02** at limit **
   5  Prefactor     2.9621        4.1998        .19372E-03   -.18251E-04
   6  Prefactor     .10000E-03    33.481        .21098E-02** at limit **
   7  Prefactor     .10000E-03    10.046        .18142E-02** at limit **
   8  Prefactor     3.9532        5.4847        .10147E-02   -.42506E-03
   9  Prefactor     .10000E-03    5.5856        .18142E-02** at limit **
  10  Prefactor     10.207        15.128        .62705E-03   -.25963E-04
  11  Prefactor     .10000E-03    17.365        .18142E-02** at limit **
  12  Prefactor     .10021E-03    31.022        .32972E-02** at limit **
  13  Prefactor     7.1474        72.992        .15009E-03   -.25905E-04
  14  Prefactor     13.186        15.582        .11032E-03   -.55649E-05
  15  Prefactor     5.3890        5.6280        .17311E-03   -.38550E-04
  16  Prefactor     .10000E-03    10.829        .18142E-02** at limit **
  17  Prefactor     .10000E-03    67.258        .18142E-02** at limit **
  18  Prefactor     .10000E-03    2.8397        .13395E-02** at limit **
  19  norm          .10000E-03    3.6320        .15149E-02** at limit **
  20  norm          .10000E-03    1.7090        .10391E-02** at limit **
  21  norm          .10000E-03    1.6463        .10196E-02** at limit **
  22  norm          .10000E-03    4.5181        .16871E-02** at limit **
  23  Prefactor     15.787        9.4771        .10080E-03   -.10432E-03
  24  Prefactor     .10015E-03    36.562        .11477    ** at limit **
  25  Prefactor     39.454        87.439        .63812E-04   -.96206E-05
  26  norm          6.5181        4.7856        .13063E-03   -.98791E-03
  27  Prefactor     48.163        22.973        .57784E-04   -.10093E-03
  28  norm          .10000E-03    .31359        .87536E-04** at limit **
  29  norm          .10000E-03    1.4976        .97102E-03** at limit **
  30  Normalizat    1.1859        .22539        .23360E-03   -.64501E-03
  31  Prefactor     .85540        .20687        .26667E-03   -.21594E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.9093
  norm       = 0.0001
  Prefactor  = 2.96206
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 3.95316
  Prefactor  = 0.0001
  Prefactor  = 10.2075
  Prefactor  = 0.0001
  Prefactor  = 0.000100214
  Prefactor  = 7.14737
  Prefactor  = 13.186
  Prefactor  = 5.38901
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 15.7867
  Prefactor  = 0.000100155
  Prefactor  = 39.4542
  norm       = 6.5181
  Prefactor  = 48.1627
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.1859
  Prefactor  = 0.8554
 **********
 **   18 **HESSE 
 **********

 FCN=   6632.807     FROM HESSE     STATUS=OK           600 CALLS     5383 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.757        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.1933        .32438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.909        69.387        .20699E-04   -1.4936    
   4  norm          .10000E-03    4.6121        .33894E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.9621        4.1997        .77488E-05   -1.5364    
   6  Prefactor     .10000E-03    34.225        .42197E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.046        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.9532        5.4805        .40587E-04   -1.5310    
   9  Prefactor     .10000E-03    5.5856        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.207        15.126        .25082E-04   -1.5069    
  11  Prefactor     .10000E-03    17.367        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10021E-03    31.423        .65945E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.1474        72.940        .60037E-05   -1.5173    
  14  Prefactor     13.186        15.580        .44127E-05   -1.4982    
  15  Prefactor     5.3890        5.6278        .69243E-05   -1.5244    
  16  Prefactor     .10000E-03    10.829        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    67.263        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.8398        .26790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6321        .30297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.7090        .20782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.6463        .20392E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.5186        .33741E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.787        9.4772        .40322E-05   -1.4913    
  24  Prefactor     .10015E-03    34.788        .11870       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     39.454        87.428        .12762E-04   -1.4451    
  26  norm          6.5181        4.7815        .52250E-05   -1.5197    
  27  Prefactor     48.163        22.973        .23114E-05   -1.4319    
  28  norm          .10000E-03    .31359        .17507E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    1.4977        .19420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1859        .22552        .46720E-04   -.87040    
  31  Prefactor     .85540        .20709        .10667E-04   -.97717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.33071e-09
Minuit parameter uncertainties:
  1  8.69937e-06
  2  4.74782e-05
  3  64.4504
  4  9.10814e-06
  5  4.20014
  6  0.000733665
  7  1.22632e-05
  8  5.48122
  9  1.00488e-06
  10  15.1321
  11  1.27273e-05
  12  0.00519087
  13  45.7371
  14  15.5845
  15  5.62835
  16  8.32512e-06
  17  0.000213546
  18  3.94888e-07
  19  1.14782e-06
  20  4.4813e-07
  21  7.12515e-06
  22  9.58399e-06
  23  9.47808
  24  0.00464465
  25  87.7144
  26  4.78173
  27  22.9774
  28  2.57053e-07
  29  4.68924e-06
  30  0.225709
  31  0.207275
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  5.389e+00  5.628e+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:  8.554e-01  2.073e-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.186e+00  2.257e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.74
Ra Dec: 342.606 -42.109
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 2.02e-08 +/- 2.11e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 1.19e-05

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

Saving results to:
/scratch/kocevski/517194/likelihoodResults_623462401_623721601_4FGL_J2250.4-4206_daily_bin1482.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) = 6632.67457873
delta logL = 0.132129245086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6632.66985666
delta logL = 0.136851317598

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5382       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4880       1.0000          .0000       10.000    
     3 'Normalizat'    1.1725       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86309       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=   6632.670     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      280 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5379        6.1747        .14106E-03    .19004E-03
   2  Index         2.4881        .91839        .74488E-02    .51370E-04
   3  Normalizat    1.1725        .20798        .23477E-03   -.19159E-03
   4  Prefactor     .86309        .20394        .26558E-03   -.20081E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.53789
  Index      = 2.48805
  Normalizat = 1.17246
  Prefactor  = 0.863093
 **********
 **   18 **HESSE 
 **********

 FCN=   6632.670     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5379        5.3384        .56425E-05   -1.5332    
   2  Index         2.4881        .79471        .29795E-03   -.52636    
   3  Normalizat    1.1725        .20767        .46954E-04   -.87458    
   4  Prefactor     .86309        .20383        .10623E-04   -.97443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.77619e-11
Minuit parameter uncertainties:
  1  5.33912
  2  0.799254
  3  0.207816
  4  0.204012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/517194': 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) = 6632.66985666
delta logL = 0.136851320115

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  3.538e+00  5.339e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.488e+00  7.993e-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.631e-01  2.040e-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.172e+00  2.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.01
Ra Dec: 342.606 -42.109
Photon Index (Free Index): 2.49 +/- 0.80
Photon Flux (Free Index): 3.09e-08 +/- 3.49e-08
Energy Flux (Free Index): 9.08e-06 +/- 9.13e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/517194/cmap_HighResolution_623462401_623721601_4FGL_J2250.4-4206_daily_bin1482.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', comment='SUCCESS', photon_flux='2.02e-08', energy_flux2='9.08e-06', photon_flux_error='2.11e-08', dlogl='1.37e-01', energy_flux='1.14e-05', photon_flux2='3.09e-08', job_status='DONE', time_completed='2021-09-28 23:06:41.412059', photon_index_error2='0.80', photon_index2='2.49', ts='1.74', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='7.50e-08', energy_flux_error2='9.13e-06', EG='1.19', time_epoch_completed='1632895601.41', return_code='0', job_id='517194', GAL2='0.86', EG2='1.17', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='3.49e-08', ts2='2.01', photon_index='2.09' WHERE bin_id='1482' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:06:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 517194: <4FGL_J2250.4-4206_daily_bin1482> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1482 342.606 -42.1095 623462401 623721601 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 :                                   959.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            987 sec.

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

