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


Performing analysis on: 4FGL_J2250.4-4206_daily_bin1079
RA = 342.606, Dec = -42.1095
tmin = 519004801, tmax = 519264001
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='515552', job_status='RUN', time_executed='2021-09-28 22:46:45.473969', time_epoch_executed='1632894405.47' WHERE source_name='4FGL J2250.4-4206' and cadence='daily' and bin_id='1079'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/515552

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/515552/ft1_4FGL_J2250.4-4206_daily_bin1079.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/515552/ft2_4FGL_J2250.4-4206_daily_bin1079.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/515552/ft1_4FGL_J2250.4-4206_daily_bin1079.fits outfile=/scratch/kocevski/515552/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1079.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=519004801.0 tmax=519264001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.54
user 3.33
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/515552/ft2_4FGL_J2250.4-4206_daily_bin1079.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/515552/ft1_filteredMKT_4FGL_J2250.4-4206_daily_bin1079.fits evtable="EVENTS" outfile="/scratch/kocevski/515552/ft1_filtered_4FGL_J2250.4-4206_daily_bin1079.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/515552/ft1_filtered_4FGL_J2250.4-4206_daily_bin1079.fits" evtable="EVENTS" scfile=/scratch/kocevski/515552/ft2_4FGL_J2250.4-4206_daily_bin1079.fits sctable="SC_DATA" outfile=/scratch/kocevski/515552/ltcube_519004801_519264001_4FGL_J2250.4-4206_daily_bin1079.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/515552/ft2_4FGL_J2250.4-4206_daily_bin1079.fits
.....................!
real 11.94
user 11.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/515552/ft1_filtered_4FGL_J2250.4-4206_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/515552/ft2_4FGL_J2250.4-4206_daily_bin1079.fits sctable="SC_DATA" expcube=/scratch/kocevski/515552/ltcube_519004801_519264001_4FGL_J2250.4-4206_daily_bin1079.fits outfile=/scratch/kocevski/515552/expmap_519004801_519264001_4FGL_J2250.4-4206_daily_bin1079.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/515552/ltcube_519004801_519264001_4FGL_J2250.4-4206_daily_bin1079.fits
.....................!
real 190.53
user 185.10
sys 5.05

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/515552/ft1_filtered_4FGL_J2250.4-4206_daily_bin1079.fits scfile=/scratch/kocevski/515552/ft2_4FGL_J2250.4-4206_daily_bin1079.fits outfile=/scratch/kocevski/515552/cmap_519004801_519264001_4FGL_J2250.4-4206_daily_bin1079.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.36
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/515552/ft1_filtered_4FGL_J2250.4-4206_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/515552/ft2_4FGL_J2250.4-4206_daily_bin1079.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/515552/Model_4FGL_J2250.4-4206_daily_bin1079.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/515552/ft1_filtered_4FGL_J2250.4-4206_daily_bin1079.fits.....................!
real 38.69
user 37.43
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.067       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7946       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10525E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.9813       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.017       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13806       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0145       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10207E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10813       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10580E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.076       1.0000         .10000E-03   10000.    
    19 'norm      '    6.8232       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.8185       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11530E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10778E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    6.7864       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .97534       1.0000         .10000E-03   10000.    
    29 'norm      '    2.9816       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .88315       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0824       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4889.123     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     3473 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.060        1.0965       -.68713E-08   -.17482E-03
   2  Prefactor     2.7972        6.6094       -.72527E-06   -.32505E-03
   3  Prefactor     .10012E-03    11.069       -.13361E-05** at limit **
   4  norm          .10000E-03    3.2312        .28790E-06** at limit **
   5  Prefactor     .10000E-03    5.5246       -.25524E-05** at limit **
   6  Prefactor     .10000E-03    1.1881       -.11407E-05** at limit **
   7  Prefactor     .10076E-03    14.377        .11885E-05** at limit **
   8  Prefactor     6.9805        5.9022       -.31951E-05   -.16523E-03
   9  Prefactor     12.032        1.2472        .74482E-07    .17023E-03
  10  Prefactor     .10012E-03    11.055       -.13126E-05** at limit **
  11  Prefactor     .10213E-03    353.47       -.29147E-04** at limit **
  12  Prefactor     5.0033        2.2740       -.26873E-06    .23971E-04
  13  Prefactor     .10002E-03    10.415       -.32421E-06** at limit **
  14  Prefactor     .49800E-01    32.473       -.11171E-04    .72741E-03
  15  Prefactor     .10000E-03    4.8169        .35548E-05** at limit **
  16  Prefactor     .10000E-03    15.555        .90443E-06** at limit **
  17  Prefactor     .10016E-03    77.437        .54822E-05** at limit **
  18  Prefactor     26.070        1.0469       -.41912E-07    .78029E-04
  19  norm          6.8222        1.0086        .20258E-07    .10998E-04
  20  norm          .10000E-03    2.0834        .16475E-05** at limit **
  21  norm          .10000E-03    4.0941        .54830E-06** at limit **
  22  norm          .10000E-03    2.5811        .10220E-05** at limit **
  23  Prefactor     1.8182        4.8396        .40908E-06   -.27629E-04
  24  Prefactor     .10034E-03    48.693       -.10712E-04** at limit **
  25  Prefactor     .10013E-03    22.418       -.59860E-05** at limit **
  26  norm          6.7874        4.8246        .34823E-06    .18987E-03
  27  Prefactor     .10000E-03    17.386        .61475E-05** at limit **
  28  norm          .97523        1.0180       -.12804E-06   -.91961E-06
  29  norm          2.9806        3.0676        .47148E-06   -.29007E-04
  30  Normalizat    .88347        .23099       -.33577E-05   -.16614E-04
  31  Prefactor     1.0822        .23503       -.17194E-06   -.16413E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0597
  Prefactor  = 2.79721
  Prefactor  = 0.00010012
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100761
  Prefactor  = 6.9805
  Prefactor  = 12.0316
  Prefactor  = 0.000100117
  Prefactor  = 0.000102135
  Prefactor  = 5.00334
  Prefactor  = 0.000100017
  Prefactor  = 0.0497996
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100158
  Prefactor  = 26.0699
  norm       = 6.82217
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.8182
  Prefactor  = 0.000100337
  Prefactor  = 0.000100127
  norm       = 6.7874
  Prefactor  = 0.000100003
  norm       = 0.975232
  norm       = 2.98061
  Normalizat = 0.883469
  Prefactor  = 1.0822
 **********
 **   18 **HESSE 
 **********

 FCN=   4889.123     FROM HESSE     STATUS=OK           686 CALLS     4159 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.060        27.879        .26698E-02   -1.4958    
   2  Prefactor     2.7972        6.6726        .60844E-02   -1.5373    
   3  Prefactor     .10012E-03    36.972        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.2273        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.4658        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.1840        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10076E-03    30.228        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.9805        6.0138        .37959E-02   -1.5179    
   9  Prefactor     12.032        28.622        .28889E-02   -1.5014    
  10  Prefactor     .10012E-03    36.559        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10213E-03    32.394        .11425       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.0033        11.908        .44894E-02   -1.5261    
  13  Prefactor     .10002E-03    35.967        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .49800E-01    8.3755        .95499E-01   -1.5663    
  15  Prefactor     .10000E-03    4.7733        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.570        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10016E-03    83.932        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.070        19.249        .19612E-02   -1.4686    
  19  norm          6.8222        8.9004        .38400E-02   -1.5186    
  20  norm          .10000E-03    2.0831        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.0460        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.5755        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.8182        4.9450        .77422E-02   -1.5438    
  24  Prefactor     .10034E-03    58.617        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10013E-03    25.358        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          6.7874        4.8709        .38505E-02   -1.5187    
  27  Prefactor     .10000E-03    17.337        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .97523        1.0830        .13078E-01   -1.5510    
  29  norm          2.9806        3.0699        .58780E-02   -1.5363    
  30  Normalizat    .88347        .20345        .44686E-01   -.97043    
  31  Prefactor     1.0822        .20008        .38295E-01   -.90038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57821e-07
Minuit parameter uncertainties:
  1  27.9051
  2  6.67434
  3  0.00421218
  4  5.93897e-07
  5  2.7888e-07
  6  1.07619e-06
  7  0.00959898
  8  6.01432
  9  28.6547
  10  0.00414037
  11  0.0166401
  12  11.9134
  13  0.0015462
  14  1.29054
  15  3.09678e-06
  16  0.000180986
  17  0.00730361
  18  19.2537
  19  8.90215
  20  7.56026e-07
  21  1.15824e-06
  22  8.05338e-07
  23  4.94615
  24  0.00889784
  25  0.00359157
  26  4.87122
  27  0.00047408
  28  1.08301
  29  3.07006
  30  0.203625
  31  0.200223
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  3.097e-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.082e+00  2.002e-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.835e-01  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/515552/likelihoodResults_519004801_519264001_4FGL_J2250.4-4206_daily_bin1079.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) = 4889.12381876
delta logL = -0.000988738564956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4889.12283001
delta logL = 1.60907802638e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0746       1.0000          .0000       10.000    
     3 'Normalizat'    .88348       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0822       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=   4889.123     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      234 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10015E-03    33.446        .14995E-02** at limit **
   2  Index         2.0557        8.3732        .50000        .16277E-04
   3  Normalizat    .88347        .12083E-01    .24829E-03    .21246E-04
   4  Prefactor     1.0822        .12523E-01    .23366E-03    .21359E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100152
  Index      = 2.05568
  Normalizat = 0.883469
  Prefactor  = 1.0822
 **********
 **   18 **HESSE 
 **********

 FCN=   4889.123     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      263 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10015E-03    154.33        .29990E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0557        5.5535        .50000       -.62965    
   3  Normalizat    .88347        .26735E-01    .99316E-05   -.97043    
   4  Prefactor     1.0822        .27707E-01    .93465E-05   -.90038    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.26129e-09
Minuit parameter uncertainties:
  1  0.00969742
  2  260.248
  3  0.0267351
  4  0.0277079
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/515552': 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) = 4889.1228299
delta logL = 1.20183358376e-07

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.002e-04  9.697e-03  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.056e+00  2.602e+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.082e+00  2.771e-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.835e-01  2.674e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.606 -42.109

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/515552/cmap_HighResolution_519004801_519264001_4FGL_J2250.4-4206_daily_bin1079.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.61e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2021-09-28 22:58:45.707208', job_id='515552', GAL2='1.08', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632895125.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.20e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1079' AND source_name='4FGL J2250.4-4206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 22:58:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 515552: <4FGL_J2250.4-4206_daily_bin1079> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.4-4206_daily_bin1079 342.606 -42.1095 519004801 519264001 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 :                                   702.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

