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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1529
RA = 330.181, Dec = -24.2421
tmin = 635644801, tmax = 635904001
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='94300', job_status='RUN', time_executed='2021-09-28 00:06:21.660453', time_epoch_executed='1632812781.66' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1529'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94300

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94300/ft1_4FGL_J2200.7-2414_daily_bin1529.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94300/ft1_4FGL_J2200.7-2414_daily_bin1529.fits outfile=/scratch/kocevski/94300/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1529.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=635644801.0 tmax=635904001.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 4.45
user 4.08
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.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/94300/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1529.fits evtable="EVENTS" outfile="/scratch/kocevski/94300/ft1_filtered_4FGL_J2200.7-2414_daily_bin1529.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94300/ft1_filtered_4FGL_J2200.7-2414_daily_bin1529.fits" evtable="EVENTS" scfile=/scratch/kocevski/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.fits sctable="SC_DATA" outfile=/scratch/kocevski/94300/ltcube_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.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/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.fits
.....................!
real 12.70
user 12.26
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94300/ft1_filtered_4FGL_J2200.7-2414_daily_bin1529.fits evtable="EVENTS" scfile=/scratch/kocevski/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.fits sctable="SC_DATA" expcube=/scratch/kocevski/94300/ltcube_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.fits outfile=/scratch/kocevski/94300/expmap_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.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/94300/ltcube_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.fits
.....................!
real 190.75
user 184.97
sys 5.37

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2200.7-2414 @ 330.181 -24.2421

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/94300/ft1_filtered_4FGL_J2200.7-2414_daily_bin1529.fits scfile=/scratch/kocevski/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.fits outfile=/scratch/kocevski/94300/cmap_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.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=330.181 yref=-24.2421 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94300/ft1_filtered_4FGL_J2200.7-2414_daily_bin1529.fits scfile=/scratch/kocevski/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.fits outfile=/scratch/kocevski/94300/cmap_HighResolution_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.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=330.181 yref=-24.2421 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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94300/ft1_filtered_4FGL_J2200.7-2414_daily_bin1529.fits evtable="EVENTS" scfile=/scratch/kocevski/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94300/Model_4FGL_J2200.7-2414_daily_bin1529.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/94300/ft1_filtered_4FGL_J2200.7-2414_daily_bin1529.fits.....................!
real 43.42
user 41.95
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/94300/ft1_filtered_4FGL_J2200.7-2414_daily_bin1529.fits', '/scratch/kocevski/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.fits', expMap='/scratch/kocevski/94300/expmap_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.fits', expCube='/scratch/kocevski/94300/ltcube_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/94300/Model_4FGL_J2200.7-2414_daily_bin1529.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2200.7-2414'

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.200e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.225e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/94300/ft1_filtered_4FGL_J2200.7-2414_daily_bin1529.fits
Spacecraft file(s): /scratch/kocevski/94300/ft2_4FGL_J2200.7-2414_daily_bin1529.fits
Exposure map: /scratch/kocevski/94300/expmap_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.fits
Exposure cube: /scratch/kocevski/94300/ltcube_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/94300/Model_4FGL_J2200.7-2414_daily_bin1529.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) = 4665.36891268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.751       1.0000         .10000E-03   10000.    
     5 'norm      '    .45439E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4780       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.821       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.5606       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.4312       1.0000         .10000E-03   10000.    
    12 'norm      '    .89247       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    44.269       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9326       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.1507       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0107       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4665.321     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2333 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1832        .90712E-02** at limit **
   2  norm          .10000E-03    7.0884        .90712E-02** at limit **
   3  Prefactor     .10000E-03    2.8470        .90712E-02** at limit **
   4  Prefactor     17.755        14.060        .23765E-02    .14756E-02
   5  norm          .89937E-01    7.4504        .60481E-01    .19828E-03
   6  Prefactor     5.4834        20.667        .42919E-02   -.73293E-03
   7  norm          .10000E-03    2.5077        .90712E-02** at limit **
   8  Prefactor     15.832        16.036        .25174E-02    .55816E-03
   9  Prefactor     .10000E-03    32.662        .90712E-02** at limit **
  10  norm          4.5570        4.5495        .47125E-02    .27449E-03
  11  Prefactor     8.4378        21.961        .34515E-02    .57616E-03
  12  norm          .89250        .38649        .60425E-02   -.27528E-03
  13  Prefactor     .10000E-03    3.5112        .90712E-02** at limit **
  14  Prefactor     44.273        19.195        .15064E-02   -.31762E-03
  15  Prefactor     .10000E-03    11.530        .90712E-02** at limit **
  16  Prefactor     3.9350        8.9827        .50857E-02    .17568E-02
  17  Prefactor     .10000E-03    68.641        .90712E-02** at limit **
  18  norm          .10000E-03    10.469        .90712E-02** at limit **
  19  Prefactor     .10000E-03    4.5038        .90712E-02** at limit **
  20  norm          3.1513        2.7084        .57090E-02    .16207E-02
  21  Prefactor     .10000E-03    57.446        .90712E-02** at limit **
  22  norm          .10000E-03    4.1748        .90712E-02** at limit **
  23  Normalizat    1.0104        .22766        .45566E-01   -.25825E-04
  24  Prefactor     1.0040        .16620        .44403E-01   -.19661E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.7549
  norm       = 0.0899373
  Prefactor  = 5.48335
  norm       = 0.0001
  Prefactor  = 15.832
  Prefactor  = 0.0001
  norm       = 4.55701
  Prefactor  = 8.43779
  norm       = 0.8925
  Prefactor  = 0.0001
  Prefactor  = 44.2728
  Prefactor  = 0.0001
  Prefactor  = 3.93498
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.15134
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.01044
  Prefactor  = 1.00402
 **********
 **   18 **HESSE 
 **********

 FCN=   4665.321     FROM HESSE     STATUS=OK           397 CALLS     2730 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.3293        .35519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.8557        .11255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.755        14.063        .95062E-04   -1.4865    
   5  norm          .89937E-01    8.6760        .54349E-01   -1.5648    
   6  Prefactor     5.4834        20.636        .17167E-03   -1.5240    
   7  norm          .10000E-03    2.5079        .10564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.832        16.018        .10069E-03   -1.4912    
   9  Prefactor     .10000E-03    32.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5570        4.5436        .13399E-03   -1.5281    
  11  Prefactor     8.4378        21.910        .69030E-03   -1.5127    
  12  norm          .89250        .38869        .26522E-04   -1.5519    
  13  Prefactor     .10000E-03    3.5183        .12499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     44.273        19.194        .60256E-04   -1.4376    
  15  Prefactor     .10000E-03    11.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.9350        8.9763        .20343E-03   -1.5311    
  17  Prefactor     .10000E-03    68.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    10.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.5125        .14156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.1513        2.7055        .50511E-03   -1.5353    
  21  Prefactor     .10000E-03    57.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.2003        .13626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0104        .26744        .27507E-03   -.92681    
  24  Prefactor     1.0040        .19557        .20717E-03   -.92596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24877e-08
Minuit parameter uncertainties:
  1  1.79767e-05
  2  4.73289e-06
  3  3.96963e-06
  4  14.0656
  5  1.76596
  6  20.6628
  7  1.13726e-06
  8  16.0226
  9  0.000155588
  10  4.54393
  11  21.9309
  12  0.388693
  13  3.17248e-06
  14  19.1971
  15  1.34706e-05
  16  8.9794
  17  0.000278925
  18  2.05544e-05
  19  5.31377e-06
  20  2.7056
  21  0.000128903
  22  7.20003e-06
  23  0.267798
  24  0.195705
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  3.172e-06  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.225e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.004e+00  1.957e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.010e+00  2.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 330.181 -24.242
Photon Flux Upper Limit: 6.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94300/likelihoodResults_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.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) = 4665.32198341
delta logL = -0.00134608558255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4665.32063715
delta logL = 1.68420228874e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10424E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1882       1.0000          .0000       10.000    
     3 'Normalizat'    1.0104       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0041       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+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=   4665.321     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      238 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10449E-03    3.5562        .13236E-01** at limit **
   2  Index         2.0886        6.0442        .50000        .71242E-04
   3  Normalizat    1.0104        .50222E-02    .27507E-03    .23351E-04
   4  Prefactor     1.0040        .37913E-02    .20717E-03    .27767E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104494
  Index      = 2.08855
  Normalizat = 1.01044
  Prefactor  = 1.00402
 **********
 **   18 **HESSE 
 **********

 FCN=   4665.321     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10449E-03    44.000        .13844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0886        8.5660        .50000       -.62154    
   3  Normalizat    1.0104        .17814E-01    .11003E-04   -.92681    
   4  Prefactor     1.0040        .13448E-01    .82869E-05   -.92596    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.93809e-08
Minuit parameter uncertainties:
  1  0.0281437
  2  193.113
  3  0.017814
  4  0.0134477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94300': 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) = 4665.3206352
delta logL = 2.12610029848e-06

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.045e-04  2.814e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.089e+00  1.931e+02  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.004e+00  1.345e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.010e+00  1.781e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 330.181 -24.242

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/94300/cmap_HighResolution_635644801_635904001_4FGL_J2200.7-2414_daily_bin1529.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-03', job_status='DONE', photon_flux_upper_limit='6.01e-08', time_completed='2021-09-28 00:16:49.236461', job_id='94300', GAL2='1.00', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1632813409.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.13e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1529' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:16:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 94300: <4FGL_J2200.7-2414_daily_bin1529> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1529> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 00:00:36 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 00:05:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 00:05:56 2021
Terminated at Tue Sep 28 00:16:49 2021
Results reported at Tue Sep 28 00:16:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1529 330.181 -24.2421 635644801 635904001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2200.7-2414 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   546.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            973 sec.

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

