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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin840
RA = 331.914, Dec = 0.8907
tmin = 457056001, tmax = 457315201
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='200413', job_status='RUN', time_executed='2021-09-28 05:58:22.154906', time_epoch_executed='1632833902.15' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='840'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200413

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200413/ft1_4FGL_J2207.6+0053_daily_bin840.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200413/ft2_4FGL_J2207.6+0053_daily_bin840.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200413/ft1_4FGL_J2207.6+0053_daily_bin840.fits outfile=/scratch/kocevski/200413/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin840.fits ra=331.914 dec=0.8907 rad=12.0 tmin=457056001.0 tmax=457315201.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.35
user 4.12
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/200413/ft2_4FGL_J2207.6+0053_daily_bin840.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200413/ft2_4FGL_J2207.6+0053_daily_bin840.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/200413/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin840.fits evtable="EVENTS" outfile="/scratch/kocevski/200413/ft1_filtered_4FGL_J2207.6+0053_daily_bin840.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200413/ft1_filtered_4FGL_J2207.6+0053_daily_bin840.fits" evtable="EVENTS" scfile=/scratch/kocevski/200413/ft2_4FGL_J2207.6+0053_daily_bin840.fits sctable="SC_DATA" outfile=/scratch/kocevski/200413/ltcube_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.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/200413/ft2_4FGL_J2207.6+0053_daily_bin840.fits
.....................!
real 11.68
user 11.30
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200413/ft1_filtered_4FGL_J2207.6+0053_daily_bin840.fits evtable="EVENTS" scfile=/scratch/kocevski/200413/ft2_4FGL_J2207.6+0053_daily_bin840.fits sctable="SC_DATA" expcube=/scratch/kocevski/200413/ltcube_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.fits outfile=/scratch/kocevski/200413/expmap_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.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/200413/ltcube_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.fits
.....................!
real 191.35
user 185.57
sys 5.46

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

Setting source of interest to:
4FGL J2207.6+0053 @ 331.914 0.8907

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/200413/ft1_filtered_4FGL_J2207.6+0053_daily_bin840.fits scfile=/scratch/kocevski/200413/ft2_4FGL_J2207.6+0053_daily_bin840.fits outfile=/scratch/kocevski/200413/cmap_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.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.914 yref=0.8907 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200413/ft1_filtered_4FGL_J2207.6+0053_daily_bin840.fits scfile=/scratch/kocevski/200413/ft2_4FGL_J2207.6+0053_daily_bin840.fits outfile=/scratch/kocevski/200413/cmap_HighResolution_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.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.914 yref=0.8907 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/200413/ft1_filtered_4FGL_J2207.6+0053_daily_bin840.fits evtable="EVENTS" scfile=/scratch/kocevski/200413/ft2_4FGL_J2207.6+0053_daily_bin840.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/200413/Model_4FGL_J2207.6+0053_daily_bin840.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/200413/ft1_filtered_4FGL_J2207.6+0053_daily_bin840.fits.....................!
real 74.13
user 72.81
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200413/ft1_filtered_4FGL_J2207.6+0053_daily_bin840.fits', '/scratch/kocevski/200413/ft2_4FGL_J2207.6+0053_daily_bin840.fits', expMap='/scratch/kocevski/200413/expmap_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.fits', expCube='/scratch/kocevski/200413/ltcube_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200413/Model_4FGL_J2207.6+0053_daily_bin840.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.6+0053'

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.216e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/200413/ft1_filtered_4FGL_J2207.6+0053_daily_bin840.fits
Spacecraft file(s): /scratch/kocevski/200413/ft2_4FGL_J2207.6+0053_daily_bin840.fits
Exposure map: /scratch/kocevski/200413/expmap_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.fits
Exposure cube: /scratch/kocevski/200413/ltcube_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200413/Model_4FGL_J2207.6+0053_daily_bin840.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) = 8174.24115095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    15.756       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17254E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.383       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8053       1.0000         .10000E-03   10000.    
     8 'norm      '    .65229       1.0000         .10000E-03   10000.    
     9 'norm      '    16.537       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2454       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.661       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.709       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.5121       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .89141E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0007       1.0000         .10000E-03   10000.    
    19 'norm      '    8.4603       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8800       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69769       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95559       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8174.168     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2635 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.409       -.21295E-06** at limit **
   2  Prefactor     15.783        33.627       -.29217E-06   -.12016E-03
   3  Prefactor     .10001E-03    .91447        .15167E-06** at limit **
   4  Prefactor     18.385        24.930       -.89246E-06   -.13701E-03
   5  Prefactor     .10000E-03    13.750       -.30582E-06** at limit **
   6  Prefactor     .10000E-03    21.169        .72568E-06** at limit **
   7  Prefactor     1.8166        259.59       -.88309E-07   -.15171E-04
   8  norm          .65334        1.4446        .78402E-06    .22734E-03
   9  norm          16.532        19.110        .23003E-06   -.76176E-04
  10  Prefactor     2.2476        4.7099        .29203E-06   -.44108E-04
  11  Prefactor     23.661        10.673        .11604E-06    .62090E-06
  12  Prefactor     .10000E-03    10.228       -.16664E-06** at limit **
  13  Prefactor     24.712        14.092       -.71876E-06    .12943E-04
  14  Prefactor     9.5099        16.008        .13441E-05    .57301E-04
  15  Prefactor     .10000E-03    24.040       -.58427E-06** at limit **
  16  Prefactor     .10566E-03    4.9358       -.90034E-06** at limit **
  17  Prefactor     .10000E-03    4.8500        .22900E-07** at limit **
  18  Prefactor     2.0014        3.2748        .20877E-06    .26097E-03
  19  norm          8.4604        3.5446        .38815E-06    .44516E-04
  20  Prefactor     .10000E-03    5.4928        .37899E-09** at limit **
  21  Prefactor     2.8808        156.76       -.81376E-06    .15456E-05
  22  Normalizat    .69777        .18670        .11942E-05    .61218E-05
  23  Prefactor     .95553        .10097       -.30620E-06    .13038E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.7833
  Prefactor  = 0.000100009
  Prefactor  = 18.3846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.81656
  norm       = 0.653341
  norm       = 16.5319
  Prefactor  = 2.24764
  Prefactor  = 23.661
  Prefactor  = 0.0001
  Prefactor  = 24.7124
  Prefactor  = 9.50989
  Prefactor  = 0.0001
  Prefactor  = 0.000105663
  Prefactor  = 0.0001
  Prefactor  = 2.0014
  norm       = 8.4604
  Prefactor  = 0.0001
  Prefactor  = 2.88084
  Normalizat = 0.697774
  Prefactor  = 0.955526
 **********
 **   18 **HESSE 
 **********

 FCN=   8174.168     FROM HESSE     STATUS=OK           390 CALLS     3025 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.783        33.719        .10090E-03   -1.4913    
   3  Prefactor     .10001E-03    13.291        .15135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.385        25.079        .93415E-04   -1.4850    
   5  Prefactor     .10000E-03    13.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.8166        235.56        .31104E-03   -1.5438    
   8  norm          .65334        1.3625        .15602E-02   -1.5546    
   9  norm          16.532        18.392        .98490E-04   -1.4895    
  10  Prefactor     2.2476        4.5223        .24749E-03   -1.5408    
  11  Prefactor     23.661        10.668        .82349E-04   -1.4735    
  12  Prefactor     .10000E-03    10.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.712        14.047        .80585E-04   -1.4713    
  14  Prefactor     9.5099        16.006        .12994E-03   -1.5091    
  15  Prefactor     .10000E-03    24.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10566E-03    10.314        .54940E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.8605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.0014        3.2583        .19069E-03   -1.5425    
  19  norm          8.4604        3.5572        .52353E-03   -1.5126    
  20  Prefactor     .10000E-03    5.7270        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.8808        156.57        .23950E-03   -1.5368    
  22  Normalizat    .69777        .21483        .34034E-03   -1.0398    
  23  Prefactor     .95553        .11826        .17104E-03   -.94227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18012e-09
Minuit parameter uncertainties:
  1  8.82397e-06
  2  33.7598
  3  0.000692624
  4  25.093
  5  7.57378e-06
  6  6.38022e-06
  7  41.5386
  8  1.3626
  9  18.3985
  10  4.52294
  11  10.6684
  12  2.17493e-05
  13  14.0485
  14  16.0135
  15  5.87214e-05
  16  0.015288
  17  1.3841e-06
  18  3.25854
  19  3.55729
  20  1.0672e-06
  21  42.5925
  22  0.215084
  23  0.118293
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  9.510e+00  1.601e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.555e-01  1.183e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  6.978e-01  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/200413/likelihoodResults_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8174.16799964
delta logL = 9.73750675257e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8174.16795372
delta logL = 0.00014329921396

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6731       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4676       1.0000          .0000       10.000    
     3 'Normalizat'    .69829       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95547       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+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=   8174.168     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      253 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6821        19.624        .12885E-03   -.20170E-03
   2  Index         2.4672        1.0385        .10059E-01   -.73263E-04
   3  Normalizat    .69814        .20281        .34026E-03    .21341E-02
   4  Prefactor     .95538        .11784        .17106E-03    .43509E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.68206
  Index      = 2.46723
  Normalizat = 0.698139
  Prefactor  = 0.955382
 **********
 **   18 **HESSE 
 **********

 FCN=   8174.168     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6821        18.312        .51539E-05   -1.5086    
   2  Index         2.4672        .96964        .40236E-03   -.53118    
   3  Normalizat    .69814        .20283        .68051E-04   -1.0397    
   4  Prefactor     .95538        .11782        .34211E-04   -.94232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.49796e-09
Minuit parameter uncertainties:
  1  18.3227
  2  0.978011
  3  0.203043
  4  0.117856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200413': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8174.16794875
delta logL = 0.000148269548845

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  9.682e+00  1.832e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.467e+00  9.780e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.554e-01  1.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  6.981e-01  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 331.914 0.891

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/200413/cmap_HighResolution_457056001_457315201_4FGL_J2207.6+0053_daily_bin840.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.06e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-28 06:11:38.150315', job_id='200413', GAL2='0.96', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1632834698.15', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.48e-04', ts2='0.48', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='840' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:11:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 200413: <4FGL_J2207.6+0053_daily_bin840> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin840> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:55:45 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:55:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 05:55:46 2021
Terminated at Tue Sep 28 06:11:38 2021
Results reported at Tue Sep 28 06:11:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin840 331.914 0.8907 457056001 457315201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.6+0053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   794.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            953 sec.

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

