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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin182
RA = 331.914, Dec = 0.8907
tmin = 286502401, tmax = 286761601
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='198335', job_status='RUN', time_executed='2021-09-28 05:52:54.646681', time_epoch_executed='1632833574.65' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='182'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198335

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198335/ft1_4FGL_J2207.6+0053_daily_bin182.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198335/ft2_4FGL_J2207.6+0053_daily_bin182.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198335/ft1_4FGL_J2207.6+0053_daily_bin182.fits outfile=/scratch/kocevski/198335/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin182.fits ra=331.914 dec=0.8907 rad=12.0 tmin=286502401.0 tmax=286761601.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.68
user 4.29
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/198335/ft2_4FGL_J2207.6+0053_daily_bin182.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/198335/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin182.fits evtable="EVENTS" outfile="/scratch/kocevski/198335/ft1_filtered_4FGL_J2207.6+0053_daily_bin182.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.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/198335/ft1_filtered_4FGL_J2207.6+0053_daily_bin182.fits" evtable="EVENTS" scfile=/scratch/kocevski/198335/ft2_4FGL_J2207.6+0053_daily_bin182.fits sctable="SC_DATA" outfile=/scratch/kocevski/198335/ltcube_286502401_286761601_4FGL_J2207.6+0053_daily_bin182.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/198335/ft2_4FGL_J2207.6+0053_daily_bin182.fits
.....................!
real 15.43
user 15.05
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198335/ft1_filtered_4FGL_J2207.6+0053_daily_bin182.fits evtable="EVENTS" scfile=/scratch/kocevski/198335/ft2_4FGL_J2207.6+0053_daily_bin182.fits sctable="SC_DATA" expcube=/scratch/kocevski/198335/ltcube_286502401_286761601_4FGL_J2207.6+0053_daily_bin182.fits outfile=/scratch/kocevski/198335/expmap_286502401_286761601_4FGL_J2207.6+0053_daily_bin182.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/198335/ltcube_286502401_286761601_4FGL_J2207.6+0053_daily_bin182.fits
.....................!
real 194.21
user 188.83
sys 4.86

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/198335/ft1_filtered_4FGL_J2207.6+0053_daily_bin182.fits scfile=/scratch/kocevski/198335/ft2_4FGL_J2207.6+0053_daily_bin182.fits outfile=/scratch/kocevski/198335/cmap_286502401_286761601_4FGL_J2207.6+0053_daily_bin182.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/198335/ft1_filtered_4FGL_J2207.6+0053_daily_bin182.fits scfile=/scratch/kocevski/198335/ft2_4FGL_J2207.6+0053_daily_bin182.fits outfile=/scratch/kocevski/198335/cmap_HighResolution_286502401_286761601_4FGL_J2207.6+0053_daily_bin182.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.56
user 0.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    71.103       1.0000         .10000E-03   10000.    
     2 'Prefactor '    37.181       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .90427       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.800       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.439       1.0000         .10000E-03   10000.    
     8 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10155E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.886       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.487       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.9085       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .32558       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2296       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6450       1.0000         .10000E-03   10000.    
    19 'norm      '    9.9055       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.306       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .64698       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1079       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=   7395.403     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2561 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     71.061        46.289        .67768E-06    .17588E-04
   2  Prefactor     37.137        47.633       -.72309E-05   -.14754E-03
   3  Prefactor     .90874        2.6768        .36057E-05    .10530E-03
   4  Prefactor     18.764        33.152        .29193E-05    .20487E-04
   5  Prefactor     .10000E-03    50.908       -.81848E-06** at limit **
   6  Prefactor     .10000E-03    24.569       -.48021E-07** at limit **
   7  Prefactor     23.488        43.592       -.22396E-06   -.49495E-04
   8  norm          .10000E-03    1.1873       -.18327E-06** at limit **
   9  norm          .10000E-03    7.5885       -.32744E-06** at limit **
  10  Prefactor     .10005E-03    4.3970       -.70095E-06** at limit **
  11  Prefactor     .10000E-03    6.5852        .86192E-07** at limit **
  12  Prefactor     45.901        24.125        .17764E-05    .35674E-03
  13  Prefactor     11.484        13.018        .15600E-06    .24904E-04
  14  Prefactor     4.9072        13.920        .37580E-06    .21309E-04
  15  Prefactor     .99793E-01    27.467       -.41784E-05    .42021E-03
  16  Prefactor     .10000E-03    13.371       -.22943E-06** at limit **
  17  Prefactor     1.2299        23.305        .22047E-05   -.12509E-04
  18  Prefactor     3.6433        3.4315        .12092E-06   -.12906E-05
  19  norm          9.9046        4.0641        .81689E-08   -.92938E-05
  20  Prefactor     .10000E-03    1.7072       -.36165E-08** at limit **
  21  Prefactor     16.427        70.962        .64650E-05    .24681E-04
  22  Normalizat    .64698        .22575       -.33922E-05    .12776E-03
  23  Prefactor     1.1080        .12348        .85166E-06    .14303E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 71.0614
  Prefactor  = 37.1367
  Prefactor  = 0.908745
  Prefactor  = 18.7641
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.488
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100052
  Prefactor  = 0.0001
  Prefactor  = 45.9011
  Prefactor  = 11.4838
  Prefactor  = 4.90723
  Prefactor  = 0.0997931
  Prefactor  = 0.0001
  Prefactor  = 1.22991
  Prefactor  = 3.64332
  norm       = 9.90457
  Prefactor  = 0.0001
  Prefactor  = 16.4268
  Normalizat = 0.646982
  Prefactor  = 1.10797
 **********
 **   18 **HESSE 
 **********

 FCN=   7395.403     FROM HESSE     STATUS=OK           378 CALLS     2939 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     71.061        46.285        .47608E-04   -1.4020    
   2  Prefactor     37.137        47.770        .65728E-04   -1.4488    
   3  Prefactor     .90874        2.6774        .19577E-03   -1.5517    
   4  Prefactor     18.764        32.731        .92374E-04   -1.4841    
   5  Prefactor     .10000E-03    51.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.488        42.072        .82737E-04   -1.4738    
   8  norm          .10000E-03    1.2213        .18278E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.6012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10005E-03    35.734        .32510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.6371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     45.901        24.129        .59190E-04   -1.4352    
  13  Prefactor     11.484        12.986        .11820E-03   -1.5030    
  14  Prefactor     4.9072        13.863        .18155E-03   -1.5265    
  15  Prefactor     .99793E-01    31.339        .11372       -1.5645    
  16  Prefactor     .10000E-03    13.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.2299        23.737        .40565E-03   -1.5486    
  18  Prefactor     3.6433        3.4192        .14588E-03   -1.5326    
  19  norm          9.9046        4.0626        .10411E-03   -1.5078    
  20  Prefactor     .10000E-03    1.7084        .10974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.427        70.931        .99186E-04   -1.4897    
  22  Normalizat    .64698        .25106        .38536E-03   -1.0602    
  23  Prefactor     1.1080        .13968        .17529E-03   -.89212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70316e-09
Minuit parameter uncertainties:
  1  46.308
  2  47.8189
  3  2.67779
  4  32.7627
  5  0.000129438
  6  4.1982e-06
  7  42.1247
  8  5.29158e-06
  9  1.08103e-05
  10  0.00271705
  11  9.22944e-06
  12  24.1343
  13  12.9891
  14  13.8724
  15  3.53699
  16  3.29941e-05
  17  10.811
  18  3.41938
  19  4.06272
  20  2.56481e-07
  21  68.4064
  22  0.251505
  23  0.139729
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  4.907e+00  1.387e+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:  1.108e+00  1.397e-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.470e-01  2.515e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/198335/likelihoodResults_286502401_286761601_4FGL_J2207.6+0053_daily_bin182.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) = 7395.38773399
delta logL = 0.0151547433452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7395.38476177
delta logL = 0.0181269646882

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0019       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7554       1.0000          .0000       10.000    
     3 'Normalizat'    .64304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1091       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=   7395.385     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      241 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0005        14.037        .20160E-03    .32144E-04
   2  Index         2.7567        1.6362        .13334E-01    .17634E-04
   3  Normalizat    .64285        .23839        .38653E-03   -.38707E-03
   4  Prefactor     1.1092        .13875        .17519E-03   -.77704E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.0005
  Index      = 2.75672
  Normalizat = 0.642853
  Prefactor  = 1.10921
 **********
 **   18 **HESSE 
 **********

 FCN=   7395.385     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0005        12.225        .80640E-05   -1.5308    
   2  Index         2.7567        1.4328        .53336E-03   -.46526    
   3  Normalizat    .64285        .23850        .15461E-04   -1.0619    
   4  Prefactor     1.1092        .13877        .35039E-04   -.89173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49374e-10
Minuit parameter uncertainties:
  1  12.2323
  2  1.45856
  3  0.238885
  4  0.138814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198335': 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) = 7395.38476092
delta logL = 0.018127818591

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  4.001e+00  1.223e+01  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.757e+00  1.459e+00  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:  1.109e+00  1.388e-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.429e-01  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/198335/cmap_HighResolution_286502401_286761601_4FGL_J2207.6+0053_daily_bin182.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.58e-03', job_status='DONE', photon_flux_upper_limit='9.76e-08', time_completed='2021-09-28 06:05:31.659074', job_id='198335', GAL2='1.11', fit_tolerance='1e-08', EG2='0.64', EG='0.65', time_epoch_completed='1632834331.66', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.81e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='182' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:05:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 198335: <4FGL_J2207.6+0053_daily_bin182> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin182 331.914 0.8907 286502401 286761601 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 :                                   753.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             242.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

