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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1636
RA = 331.892, Dec = -53.7719
tmin = 663379201, tmax = 663638401
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='952965', job_status='RUN', time_executed='2022-01-12 01:24:38.797295', time_epoch_executed='1641979478.8' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/952965

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/952965/ft1_4FGL_J2207.5-5346_daily_bin1636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/952965/ft1_4FGL_J2207.5-5346_daily_bin1636.fits outfile=/scratch/kocevski/952965/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1636.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=663379201.0 tmax=663638401.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.66
user 2.42
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.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/952965/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1636.fits evtable="EVENTS" outfile="/scratch/kocevski/952965/ft1_filtered_4FGL_J2207.5-5346_daily_bin1636.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.68
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/952965/ft1_filtered_4FGL_J2207.5-5346_daily_bin1636.fits" evtable="EVENTS" scfile=/scratch/kocevski/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.fits sctable="SC_DATA" outfile=/scratch/kocevski/952965/ltcube_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.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/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.fits
.....................!
real 15.92
user 15.56
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/952965/ft1_filtered_4FGL_J2207.5-5346_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.fits sctable="SC_DATA" expcube=/scratch/kocevski/952965/ltcube_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.fits outfile=/scratch/kocevski/952965/expmap_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.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/952965/ltcube_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.fits
.....................!
real 192.32
user 187.18
sys 4.71

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

Setting source of interest to:
4FGL J2207.5-5346 @ 331.892 -53.7719

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/952965/ft1_filtered_4FGL_J2207.5-5346_daily_bin1636.fits scfile=/scratch/kocevski/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.fits outfile=/scratch/kocevski/952965/cmap_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.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=331.892 yref=-53.7719 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/952965/ft1_filtered_4FGL_J2207.5-5346_daily_bin1636.fits scfile=/scratch/kocevski/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.fits outfile=/scratch/kocevski/952965/cmap_HighResolution_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.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=331.892 yref=-53.7719 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/952965/ft1_filtered_4FGL_J2207.5-5346_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/952965/Model_4FGL_J2207.5-5346_daily_bin1636.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/952965/ft1_filtered_4FGL_J2207.5-5346_daily_bin1636.fits.....................!
real 40.38
user 39.03
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/952965/ft1_filtered_4FGL_J2207.5-5346_daily_bin1636.fits', '/scratch/kocevski/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.fits', expMap='/scratch/kocevski/952965/expmap_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.fits', expCube='/scratch/kocevski/952965/ltcube_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/952965/Model_4FGL_J2207.5-5346_daily_bin1636.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.5-5346'

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.875e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/952965/ft1_filtered_4FGL_J2207.5-5346_daily_bin1636.fits
Spacecraft file(s): /scratch/kocevski/952965/ft2_4FGL_J2207.5-5346_daily_bin1636.fits
Exposure map: /scratch/kocevski/952965/expmap_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.fits
Exposure cube: /scratch/kocevski/952965/ltcube_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/952965/Model_4FGL_J2207.5-5346_daily_bin1636.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) = 4719.33377638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6472       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11814E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10986E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27098E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2326       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0349       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .33652E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21071E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.1391       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11607E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11468       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14798E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.699       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14025E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5816       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77183       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=   4719.275     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2389 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6527        5.5106       -.15560E-05   -.38427E-03
   2  Prefactor     .10000E-03    93.886        .18526E-04** at limit **
   3  Prefactor     .10000E-03    25.253       -.13850E-04** at limit **
   4  Prefactor     .10000E-03    64.894       -.57726E-04** at limit **
   5  Prefactor     .10024E-03    10.150       -.18200E-05** at limit **
   6  Prefactor     .10000E-03    9.4827        .16342E-06** at limit **
   7  Prefactor     4.2339        4.9839        .24650E-05    .18438E-04
   8  norm          1.0354        1.1784       -.31803E-06   -.79401E-03
   9  Prefactor     .10000E-03    149.52        .27186E-05** at limit **
  10  Prefactor     .10000E-03    3.9541       -.12111E-06** at limit **
  11  Prefactor     .10000E-03    2.0387       -.96230E-07** at limit **
  12  Prefactor     .10000E-03    119.25        .18585E-04** at limit **
  13  norm          7.1354        6.7367       -.31853E-05    .10256E-03
  14  Prefactor     .10000E-03    5.1939        .25173E-06** at limit **
  15  Prefactor     .25047        8.9044       -.11196E-05    .53315E-03
  16  Prefactor     .10001E-03    21.688        .62638E-05** at limit **
  17  Prefactor     .10000E-03    3.3786        .11136E-05** at limit **
  18  Prefactor     11.506        110.98       -.40899E-03    .60643E-04
  19  Prefactor     .10000E-03    31.710        .19914E-04** at limit **
  20  Prefactor     .10000E-03    5.0424       -.10606E-06** at limit **
  21  Normalizat    1.5807        .23720        .17435E-05    .28946E-03
  22  Prefactor     .77217        .18272        .50178E-05    .24169E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.65275
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100236
  Prefactor  = 0.0001
  Prefactor  = 4.2339
  norm       = 1.03543
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.13541
  Prefactor  = 0.0001
  Prefactor  = 0.250466
  Prefactor  = 0.000100005
  Prefactor  = 0.000100002
  Prefactor  = 11.5064
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.58065
  Prefactor  = 0.772167
 **********
 **   18 **HESSE 
 **********

 FCN=   4719.275     FROM HESSE     STATUS=OK           338 CALLS     2727 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6527        5.5036        .16774E-03   -1.5277    
   2  Prefactor     .10000E-03    96.218        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    64.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10024E-03    109.79        .41848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.4866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.2339        4.9657        .16019E-03   -1.5296    
   8  norm          1.0354        1.1455        .75305E-04   -1.5504    
   9  Prefactor     .10000E-03    152.66        .21341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.9639        .13340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.0647        .95765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    119.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.1354        6.7397        .15013E-03   -1.5174    
  14  Prefactor     .10000E-03    5.3903        .30549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .25047        76.115        .37488E-02   -1.5608    
  16  Prefactor     .10001E-03    21.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.3842        .12333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.506        111.88        .11712E-03   -1.5029    
  19  Prefactor     .10000E-03    31.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.0491        .15066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5807        .28647        .23883E-03   -.75537    
  22  Prefactor     .77217        .21776        .25370E-03   -1.0076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25273e-08
Minuit parameter uncertainties:
  1  5.50422
  2  0.000899115
  3  3.40056e-05
  4  8.20961e-05
  5  0.0102053
  6  1.8324e-05
  7  4.96613
  8  1.14554
  9  0.00152073
  10  1.2917e-05
  11  5.28268e-06
  12  0.000113934
  13  6.74039
  14  4.35487e-05
  15  8.74199
  16  0.000682838
  17  0.000177344
  18  71.9335
  19  0.000328942
  20  5.89167e-06
  21  0.286763
  22  0.218007
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  5.283e-06  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  7.722e-01  2.180e-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.581e+00  2.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 7.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/952965/likelihoodResults_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.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) = 4719.27687066
delta logL = -0.00228282035005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4719.27458787
delta logL = -2.98941813526e-08

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 'Index     '    2.4313       1.0000          .0000       10.000    
     3 'Normalizat'    1.5807       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77219       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=   4719.275     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      237 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10016E-03    75.626        .95845E-03** at limit **
   2  Index         2.4038        5.0748        .50000        .14107E-04
   3  Normalizat    1.5806        .36382E-01    .23883E-03   -.89207E-05
   4  Prefactor     .77217        .28363E-01    .25370E-03    .67665E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010016
  Index      = 2.40377
  Normalizat = 1.58065
  Prefactor  = 0.772168
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10016E-03    280.29        .19169E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4038        8.6736        .50000       -.54597    
   3  Normalizat    1.5806        .83834E-01    .47765E-04   -.75537    
   4  Prefactor     .77217        .65329E-01    .10148E-04   -1.0076    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.91156e-08
Minuit parameter uncertainties:
  1  0.0134561
  2  985.715
  3  0.0838412
  4  0.0653357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/952965': 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) = 4719.27458776
delta logL = 8.00528141554e-08

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.002e-04  1.346e-02  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.404e+00  9.857e+02  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  7.722e-01  6.534e-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:  1.581e+00  8.384e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.892 -53.772

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/952965/cmap_HighResolution_663379201_663638401_4FGL_J2207.5-5346_daily_bin1636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.30e-08', time_completed='2022-01-12 01:34:02.833447', job_id='952965', GAL2='0.77', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1641980042.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='8.01e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1636' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 12 01:34:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 952965: <4FGL_J2207.5-5346_daily_bin1636> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1636> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jan 12 01:20:35 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 12 01:23:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 12 01:23:19 2022
Terminated at Wed Jan 12 01:34:03 2022
Results reported at Wed Jan 12 01:34:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1636 331.892 -53.7719 663379201 663638401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.5-5346 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   566.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   644 sec.
    Turnaround time :                            808 sec.

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

