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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1265
RA = 342.606, Dec = -42.1095
tmin = 567216001, tmax = 567475201
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='515826', job_status='RUN', time_executed='2021-09-28 22:48:25.551544', time_epoch_executed='1632894505.55' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515826

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515826/ft1_4FGL_J2250.4-4206_daily_bin1265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515826/ft2_4FGL_J2250.4-4206_daily_bin1265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515826/ft1_4FGL_J2250.4-4206_daily_bin1265.fits outfile=/scratch/kocevski/515826/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1265.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=567216001.0 tmax=567475201.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.33
user 2.10
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515826/ft1_filtered_4FGL_J2250.4-4206_daily_bin1265.fits" evtable="EVENTS" scfile=/scratch/kocevski/515826/ft2_4FGL_J2250.4-4206_daily_bin1265.fits sctable="SC_DATA" outfile=/scratch/kocevski/515826/ltcube_567216001_567475201_4FGL_J2250.4-4206_daily_bin1265.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/515826/ft2_4FGL_J2250.4-4206_daily_bin1265.fits
.....................!
real 10.31
user 10.00
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515826/ft1_filtered_4FGL_J2250.4-4206_daily_bin1265.fits evtable="EVENTS" scfile=/scratch/kocevski/515826/ft2_4FGL_J2250.4-4206_daily_bin1265.fits sctable="SC_DATA" expcube=/scratch/kocevski/515826/ltcube_567216001_567475201_4FGL_J2250.4-4206_daily_bin1265.fits outfile=/scratch/kocevski/515826/expmap_567216001_567475201_4FGL_J2250.4-4206_daily_bin1265.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/515826/ltcube_567216001_567475201_4FGL_J2250.4-4206_daily_bin1265.fits
.....................!
real 147.65
user 143.13
sys 4.15

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/515826/ft1_filtered_4FGL_J2250.4-4206_daily_bin1265.fits scfile=/scratch/kocevski/515826/ft2_4FGL_J2250.4-4206_daily_bin1265.fits outfile=/scratch/kocevski/515826/cmap_567216001_567475201_4FGL_J2250.4-4206_daily_bin1265.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.48
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/515826/ft1_filtered_4FGL_J2250.4-4206_daily_bin1265.fits scfile=/scratch/kocevski/515826/ft2_4FGL_J2250.4-4206_daily_bin1265.fits outfile=/scratch/kocevski/515826/cmap_HighResolution_567216001_567475201_4FGL_J2250.4-4206_daily_bin1265.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.46
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/515826/ft1_filtered_4FGL_J2250.4-4206_daily_bin1265.fits evtable="EVENTS" scfile=/scratch/kocevski/515826/ft2_4FGL_J2250.4-4206_daily_bin1265.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515826/Model_4FGL_J2250.4-4206_daily_bin1265.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/515826/ft1_filtered_4FGL_J2250.4-4206_daily_bin1265.fits.....................!
real 41.74
user 40.58
sys 1.04

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    64.195       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1165       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.1798       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.866       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11443E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.147       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.031       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.5902       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.927       1.0000         .10000E-03   10000.    
    19 'norm      '    7.5228       1.0000         .10000E-03   10000.    
    20 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.1854       1.0000         .10000E-03   10000.    
    22 'norm      '    8.3161       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.7233       1.0000         .10000E-03   10000.    
    24 'Prefactor '    25.485       1.0000         .10000E-03   10000.    
    25 'Prefactor '    42.055       1.0000         .10000E-03   10000.    
    26 'norm      '    6.1102       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    3.3236       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .88499       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1697       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=   7573.197     FROM MIGRAD    STATUS=CONVERGED    794 CALLS     4118 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.198        35.762        .28561E-06    .45495E-04
   2  Prefactor     2.1128        7.7305        .82633E-06   -.31466E-04
   3  Prefactor     .10002E-03    67.582       -.71513E-05** at limit **
   4  norm          1.1799        3.3805        .70223E-06   -.14581E-03
   5  Prefactor     10.869        10.158        .18208E-05   -.33406E-03
   6  Prefactor     .10000E-03    1.1537        .50898E-07** at limit **
   7  Prefactor     .10000E-03    11.370       -.93346E-06** at limit **
   8  Prefactor     .10000E-03    5.7700        .39197E-06** at limit **
   9  Prefactor     27.134        26.991       -.16547E-05   -.12452E-03
  10  Prefactor     .10000E-03    21.877       -.19286E-05** at limit **
  11  Prefactor     17.047        20.036        .89509E-06    .15225E-04
  12  Prefactor     .10000E-03    4.6022        .19704E-06** at limit **
  13  Prefactor     .10001E-03    48.366        .70052E-05** at limit **
  14  Prefactor     6.5933        9.9801        .35384E-05   -.44516E-03
  15  Prefactor     .10000E-03    2.2836        .51079E-08** at limit **
  16  Prefactor     .10000E-03    13.122        .87301E-06** at limit **
  17  Prefactor     .10000E-03    13.732        .90365E-06** at limit **
  18  Prefactor     22.929        13.153        .18963E-06   -.28525E-04
  19  norm          7.5225        10.019        .18941E-05   -.27036E-03
  20  norm          .10000E-03    2.5102        .68611E-08** at limit **
  21  norm          1.1860        3.2509        .12978E-05    .43646E-03
  22  norm          8.3172        8.3457        .12970E-06   -.51050E-04
  23  Prefactor     4.7248        3.9241        .78841E-07    .62740E-04
  24  Prefactor     25.493        35.034        .74281E-06    .67195E-05
  25  Prefactor     42.070        56.660        .25297E-05    .91775E-04
  26  norm          6.1097        5.5110       -.15555E-06   -.18582E-03
  27  Prefactor     .10000E-03    5.1125       -.14724E-06** at limit **
  28  norm          .10000E-03    .32597        .18716E-07** at limit **
  29  norm          3.3237        3.1109        .45250E-07   -.10312E-03
  30  Normalizat    .88459        .17291       -.19527E-05   -.67283E-05
  31  Prefactor     1.1701        .16970        .12933E-06   -.11677E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.1979
  Prefactor  = 2.11279
  Prefactor  = 0.000100016
  norm       = 1.17988
  Prefactor  = 10.8691
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.1341
  Prefactor  = 0.0001
  Prefactor  = 17.0466
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 6.59325
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.9291
  norm       = 7.52248
  norm       = 0.0001
  norm       = 1.18603
  norm       = 8.31716
  Prefactor  = 4.72483
  Prefactor  = 25.4934
  Prefactor  = 42.0702
  norm       = 6.10966
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.3237
  Normalizat = 0.88459
  Prefactor  = 1.17011
 **********
 **   18 **HESSE 
 **********

 FCN=   7573.197     FROM HESSE     STATUS=OK           626 CALLS     4744 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.198        35.689        .50087E-04   -1.4104    
   2  Prefactor     2.1128        7.7112        .28353E-03   -1.5417    
   3  Prefactor     .10002E-03    70.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1799        3.3113        .26475E-03   -1.5491    
   5  Prefactor     10.869        10.163        .60769E-03   -1.5048    
   6  Prefactor     .10000E-03    1.1719        .91250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.0146        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.134        27.037        .76889E-04   -1.4666    
  10  Prefactor     .10000E-03    22.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.047        19.990        .97051E-04   -1.4882    
  12  Prefactor     .10000E-03    4.6366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    50.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.5933        10.040        .78160E-03   -1.5194    
  15  Prefactor     .10000E-03    2.2934        .12841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.929        13.145        .83655E-04   -1.4750    
  19  norm          7.5225        10.050        .73109E-03   -1.5159    
  20  norm          .10000E-03    2.5322        .13461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.1860        2.7654        .25048E-02   -1.5490    
  22  norm          8.3172        8.3406        .13902E-03   -1.5131    
  23  Prefactor     4.7248        3.9213        .15178E-03   -1.5273    
  24  Prefactor     25.493        34.837        .79352E-04   -1.4698    
  25  Prefactor     42.070        56.967        .61815E-04   -1.4410    
  26  norm          6.1097        5.4551        .14618E-03   -1.5214    
  27  Prefactor     .10000E-03    5.1336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    .34115        .96807E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          3.3237        3.1016        .13786E-03   -1.5343    
  30  Normalizat    .88459        .20650        .26215E-03   -.97004    
  31  Prefactor     1.1701        .20410        .24346E-03   -.87256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54786e-09
Minuit parameter uncertainties:
  1  35.7012
  2  7.71484
  3  0.00214096
  4  3.31186
  5  10.1642
  6  4.13865e-06
  7  0.000107545
  8  2.02972e-05
  9  27.0492
  10  0.000191156
  11  19.9976
  12  5.858e-07
  13  0.0017336
  14  10.0421
  15  3.46965e-06
  16  0.000111755
  17  0.000127504
  18  13.1463
  19  10.0527
  20  6.80582e-07
  21  2.76565
  22  8.34179
  23  3.9215
  24  34.8643
  25  57.0408
  26  5.45559
  27  1.24777e-05
  28  7.32292e-07
  29  3.1018
  30  0.206686
  31  0.204236
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  3.470e-06  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.170e+00  2.042e-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:  8.846e-01  2.067e-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: 3.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/515826/likelihoodResults_567216001_567475201_4FGL_J2250.4-4206_daily_bin1265.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) = 7573.19880323
delta logL = -0.00206912317026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7573.19673416
delta logL = -4.78139554616e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0705       1.0000          .0000       10.000    
     3 'Normalizat'    .88463       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1701       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7573.197     FROM MIGRAD    STATUS=FAILED        87 CALLS      235 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10173E-03    50.569        .12973E-02** at limit **
   2  Index         1.9860        5.9959        .50000        .43381E-04
   3  Normalizat    .88459        .18142E-01    .26215E-03   -.25933E-04
   4  Prefactor     1.1701        .19178E-01    .24346E-03    .10413E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7573.197     FROM SIMPLEX   STATUS=PROGRESS     130 CALLS      365 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10012E-03    50.569        .17403E-03** at limit **
   2  Index         1.9850        5.9959        .34584E-03    .43381E-04
   3  Normalizat    .88458        .18142E-01    .35282E-05   -.25933E-04
   4  Prefactor     1.1701        .19178E-01    .31033E-05    .10413E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7573.197     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      416 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    48.303        .25945E-02** at limit **
   2  Index         1.6869        5.4903        .50000       -.43863E-06
   3  Normalizat    .88459        .16972E-01    .10486E-04    .47833E-03
   4  Prefactor     1.1701        .17943E-01    .97386E-05    .53817E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.68686
  Normalizat = 0.88459
  Prefactor  = 1.17011
 **********
 **   18 **HESSE 
 **********

 FCN=   7573.197     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      445 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    236.92        .51891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6869        8.0407        .50000       -.72432    
   3  Normalizat    .88459        .41695E-01    .20972E-05   -.97004    
   4  Prefactor     1.1701        .44056E-01    .19477E-05   -.87256    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.33053e-08
Minuit parameter uncertainties:
  1  1.586e-05
  2  952.407
  3  0.041697
  4  0.0440574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515826': 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) = 7573.19673125
delta logL = 2.8576096156e-06

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.586e-05  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  1.687e+00  9.524e+02  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.170e+00  4.406e-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:  8.846e-01  4.170e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/515826/cmap_HighResolution_567216001_567475201_4FGL_J2250.4-4206_daily_bin1265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.97e-03', job_status='DONE', photon_flux_upper_limit='3.93e-08', time_completed='2021-09-28 23:01:16.077262', job_id='515826', GAL2='1.17', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632895276.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='2.86e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1265' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 23:01:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 515826: <4FGL_J2250.4-4206_daily_bin1265> in cluster <slac> Done

Job <4FGL_J2250.4-4206_daily_bin1265> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 22:45:34 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 22:45:35 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:35 2021
Terminated at Tue Sep 28 23:01:18 2021
Results reported at Tue Sep 28 23:01:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1265 342.606 -42.1095 567216001 567475201 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 :                                   751.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            944 sec.

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

