/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 176 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 = 7399
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2207.6+0053_daily_bin200
RA = 331.914, Dec = 0.8907
tmin = 291168001, tmax = 291427201
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='198364', job_status='RUN', time_executed='2021-09-28 05:53:27.924968', time_epoch_executed='1632833607.92' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198364

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198364/ft1_4FGL_J2207.6+0053_daily_bin200.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198364/ft2_4FGL_J2207.6+0053_daily_bin200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198364/ft1_4FGL_J2207.6+0053_daily_bin200.fits outfile=/scratch/kocevski/198364/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin200.fits ra=331.914 dec=0.8907 rad=12.0 tmin=291168001.0 tmax=291427201.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.45
user 3.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/198364/ft1_filtered_4FGL_J2207.6+0053_daily_bin200.fits" evtable="EVENTS" scfile=/scratch/kocevski/198364/ft2_4FGL_J2207.6+0053_daily_bin200.fits sctable="SC_DATA" outfile=/scratch/kocevski/198364/ltcube_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.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/198364/ft2_4FGL_J2207.6+0053_daily_bin200.fits
.....................!
real 11.92
user 11.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198364/ft1_filtered_4FGL_J2207.6+0053_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/198364/ft2_4FGL_J2207.6+0053_daily_bin200.fits sctable="SC_DATA" expcube=/scratch/kocevski/198364/ltcube_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.fits outfile=/scratch/kocevski/198364/expmap_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.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/198364/ltcube_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.fits
.....................!
real 190.16
user 185.00
sys 4.83

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/198364/ft1_filtered_4FGL_J2207.6+0053_daily_bin200.fits scfile=/scratch/kocevski/198364/ft2_4FGL_J2207.6+0053_daily_bin200.fits outfile=/scratch/kocevski/198364/cmap_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/198364/ft1_filtered_4FGL_J2207.6+0053_daily_bin200.fits scfile=/scratch/kocevski/198364/ft2_4FGL_J2207.6+0053_daily_bin200.fits outfile=/scratch/kocevski/198364/cmap_HighResolution_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.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.57
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/198364/ft1_filtered_4FGL_J2207.6+0053_daily_bin200.fits', '/scratch/kocevski/198364/ft2_4FGL_J2207.6+0053_daily_bin200.fits', expMap='/scratch/kocevski/198364/expmap_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.fits', expCube='/scratch/kocevski/198364/ltcube_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/198364/Model_4FGL_J2207.6+0053_daily_bin200.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/198364/ft1_filtered_4FGL_J2207.6+0053_daily_bin200.fits
Spacecraft file(s): /scratch/kocevski/198364/ft2_4FGL_J2207.6+0053_daily_bin200.fits
Exposure map: /scratch/kocevski/198364/expmap_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.fits
Exposure cube: /scratch/kocevski/198364/ltcube_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/198364/Model_4FGL_J2207.6+0053_daily_bin200.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) = 8116.49031159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.776       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1878       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    68.273       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .16618E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.7516       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5372       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6936       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.601       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.8276       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.664       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.237       1.0000         .10000E-03   10000.    
    19 'norm      '    13.092       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0555       1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.783       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69989       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93575       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=   8116.479     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2537 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.773        25.480        .25512E-07    .65997E-04
   2  Prefactor     .10000E-03    10.363       -.13477E-07** at limit **
   3  Prefactor     3.1878        1.6634       -.32417E-07    .50822E-04
   4  Prefactor     .10000E-03    10.283        .28625E-07** at limit **
   5  Prefactor     .10000E-03    11.615       -.15298E-06** at limit **
   6  Prefactor     68.191        59.577        .30914E-05    .19248E-03
   7  Prefactor     .10000E-03    26.877        .38621E-06** at limit **
   8  norm          .10000E-03    1.7359       -.27046E-05** at limit **
   9  norm          7.7191        18.225        .40326E-05    .49781E-03
  10  Prefactor     2.5373        4.1117        .19506E-06    .11198E-03
  11  Prefactor     2.6945        8.5538        .55714E-06    .15527E-04
  12  Prefactor     .10000E-03    19.655        .16697E-07** at limit **
  13  Prefactor     10.601        14.737       -.14576E-06    .15714E-04
  14  Prefactor     6.8297        14.881       -.10409E-06    .17249E-04
  15  Prefactor     18.665        26.741       -.54071E-07    .75724E-04
  16  Prefactor     .10000E-03    12.632        .38471E-06** at limit **
  17  Prefactor     .10000E-03    3.7452       -.52701E-08** at limit **
  18  Prefactor     14.239        4.7884        .66547E-07    .71270E-04
  19  norm          13.092        4.2500       -.17083E-07    .45727E-04
  20  Prefactor     4.0561        5.8510        .19211E-06   -.12928E-04
  21  Prefactor     29.780        62.397       -.36519E-06   -.23295E-05
  22  Normalizat    .70004        .18846       -.36510E-08    .51424E-03
  23  Prefactor     .93562        .10364        .62850E-06    .89865E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.7732
  Prefactor  = 0.0001
  Prefactor  = 3.18782
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 68.1907
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 7.71912
  Prefactor  = 2.5373
  Prefactor  = 2.69448
  Prefactor  = 0.0001
  Prefactor  = 10.6006
  Prefactor  = 6.8297
  Prefactor  = 18.6653
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.2387
  norm       = 13.092
  Prefactor  = 4.05613
  Prefactor  = 29.7796
  Normalizat = 0.700045
  Prefactor  = 0.935623
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.479     FROM HESSE     STATUS=OK           374 CALLS     2911 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.773        25.483        .78903E-04   -1.4692    
   2  Prefactor     .10000E-03    10.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.1878        1.6636        .81096E-04   -1.5351    
   4  Prefactor     .10000E-03    10.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     68.191        60.503        .24289E-03   -1.4055    
   7  Prefactor     .10000E-03    26.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.2693        .19445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.7191        19.079        .14403E-03   -1.5152    
  10  Prefactor     2.5373        4.0847        .22440E-03   -1.5389    
  11  Prefactor     2.6945        8.5107        .24823E-03   -1.5380    
  12  Prefactor     .10000E-03    19.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.601        14.661        .12306E-03   -1.5057    
  14  Prefactor     6.8297        14.805        .15355E-03   -1.5185    
  15  Prefactor     18.665        26.741        .92708E-04   -1.4844    
  16  Prefactor     .10000E-03    12.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.7471        .17028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.239        4.7796        .10615E-03   -1.4953    
  19  norm          13.092        4.2521        .98957E-04   -1.4984    
  20  Prefactor     4.0561        5.8451        .20022E-03   -1.5305    
  21  Prefactor     29.780        62.391        .73416E-04   -1.4616    
  22  Normalizat    .70004        .21903        .34781E-03   -1.0389    
  23  Prefactor     .93562        .12180        .17536E-03   -.94907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56685e-09
Minuit parameter uncertainties:
  1  25.4933
  2  2.57473e-06
  3  1.66358
  4  4.18733e-07
  5  4.66514e-05
  6  60.5575
  7  7.08476e-05
  8  0.000161622
  9  19.0945
  10  4.08513
  11  8.51449
  12  7.01867e-05
  13  14.666
  14  14.8129
  15  26.7585
  16  4.51164e-06
  17  4.02774e-07
  18  4.77974
  19  4.25222
  20  5.84594
  21  62.5285
  22  0.219303
  23  0.121838
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  6.830e+00  1.481e+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.356e-01  1.218e-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:  7.000e-01  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.29
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 9.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/198364/likelihoodResults_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.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) = 8116.31376073
delta logL = 0.165071324199

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8116.25997257
delta logL = 0.21885948324

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.395       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7085       1.0000          .0000       10.000    
     3 'Normalizat'    .71492       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92878       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=   8116.260     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      259 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.388        18.502        .11378E-03   -.15987E-05
   2  Index         1.7079        .84054        .14345E-01   -.23447E-03
   3  Normalizat    .71479        .20840        .34440E-03    .18684E-04
   4  Prefactor     .92883        .12100        .17587E-03   -.45315E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.3877
  Index      = 1.7079
  Normalizat = 0.714786
  Prefactor  = 0.928834
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.260     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.388        18.721        .45511E-05   -1.5004    
   2  Index         1.7079        .85084        .28690E-02   -.71872    
   3  Normalizat    .71479        .20852        .13776E-04   -1.0331    
   4  Prefactor     .92883        .12108        .35174E-04   -.95141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0926e-11
Minuit parameter uncertainties:
  1  18.7295
  2  0.858259
  3  0.208749
  4  0.121111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198364': 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) = 8116.25997203
delta logL = 0.218860016907

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.239e+01  1.873e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  1.708e+00  8.583e-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.288e-01  1.211e-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:  7.148e-01  2.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.29
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/198364/cmap_HighResolution_291168001_291427201_4FGL_J2207.6+0053_daily_bin200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', job_status='DONE', photon_flux_upper_limit='9.77e-08', time_completed='2021-09-28 06:06:10.984828', job_id='198364', GAL2='0.93', fit_tolerance='1e-08', EG2='0.71', EG='0.70', time_epoch_completed='1632834370.98', return_code2='0', ts='0.29', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.19e-01', ts2='0.73', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='200' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:06:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 198364: <4FGL_J2207.6+0053_daily_bin200> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin200> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:50:22 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:50:24 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:50:24 2021
Terminated at Tue Sep 28 06:06:11 2021
Results reported at Tue Sep 28 06:06:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin200 331.914 0.8907 291168001 291427201 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 :                                   760.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            949 sec.

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

