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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin534
RA = 180.187, Dec = 20.1354
tmin = 377740801, tmax = 378000001
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='258633', job_status='RUN', time_executed='2021-09-04 20:35:49.400988', time_epoch_executed='1630812949.4' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='534'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/258633

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/258633/ft1_4FGL_J1200.7+2008_daily_bin534.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/258633/ft2_4FGL_J1200.7+2008_daily_bin534.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/258633/ft1_4FGL_J1200.7+2008_daily_bin534.fits outfile=/scratch/kocevski/258633/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin534.fits ra=180.187 dec=20.1354 rad=12.0 tmin=377740801.0 tmax=378000001.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.44
user 4.18
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/258633/ft2_4FGL_J1200.7+2008_daily_bin534.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/258633/ft2_4FGL_J1200.7+2008_daily_bin534.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/258633/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin534.fits evtable="EVENTS" outfile="/scratch/kocevski/258633/ft1_filtered_4FGL_J1200.7+2008_daily_bin534.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/258633/ft1_filtered_4FGL_J1200.7+2008_daily_bin534.fits" evtable="EVENTS" scfile=/scratch/kocevski/258633/ft2_4FGL_J1200.7+2008_daily_bin534.fits sctable="SC_DATA" outfile=/scratch/kocevski/258633/ltcube_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.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/258633/ft2_4FGL_J1200.7+2008_daily_bin534.fits
.....................!
real 11.97
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/258633/ft1_filtered_4FGL_J1200.7+2008_daily_bin534.fits evtable="EVENTS" scfile=/scratch/kocevski/258633/ft2_4FGL_J1200.7+2008_daily_bin534.fits sctable="SC_DATA" expcube=/scratch/kocevski/258633/ltcube_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.fits outfile=/scratch/kocevski/258633/expmap_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.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/258633/ltcube_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.fits
.....................!
real 189.78
user 184.93
sys 4.45

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

Setting source of interest to:
4FGL J1200.7+2008 @ 180.187 20.1354

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/258633/ft1_filtered_4FGL_J1200.7+2008_daily_bin534.fits scfile=/scratch/kocevski/258633/ft2_4FGL_J1200.7+2008_daily_bin534.fits outfile=/scratch/kocevski/258633/cmap_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.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=180.187 yref=20.1354 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/258633/ft1_filtered_4FGL_J1200.7+2008_daily_bin534.fits scfile=/scratch/kocevski/258633/ft2_4FGL_J1200.7+2008_daily_bin534.fits outfile=/scratch/kocevski/258633/cmap_HighResolution_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.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=180.187 yref=20.1354 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/258633/ft1_filtered_4FGL_J1200.7+2008_daily_bin534.fits evtable="EVENTS" scfile=/scratch/kocevski/258633/ft2_4FGL_J1200.7+2008_daily_bin534.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/258633/Model_4FGL_J1200.7+2008_daily_bin534.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/258633/ft1_filtered_4FGL_J1200.7+2008_daily_bin534.fits.....................!
real 56.34
user 54.94
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/258633/ft1_filtered_4FGL_J1200.7+2008_daily_bin534.fits', '/scratch/kocevski/258633/ft2_4FGL_J1200.7+2008_daily_bin534.fits', expMap='/scratch/kocevski/258633/expmap_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.fits', expCube='/scratch/kocevski/258633/ltcube_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/258633/Model_4FGL_J1200.7+2008_daily_bin534.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.7+2008'

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.085e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/258633/ft1_filtered_4FGL_J1200.7+2008_daily_bin534.fits
Spacecraft file(s): /scratch/kocevski/258633/ft2_4FGL_J1200.7+2008_daily_bin534.fits
Exposure map: /scratch/kocevski/258633/expmap_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.fits
Exposure cube: /scratch/kocevski/258633/ltcube_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/258633/Model_4FGL_J1200.7+2008_daily_bin534.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) = 6453.54053984

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0568       1.0000         .10000E-03   10000.    
     2 'norm      '    .11670E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5654       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2404       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3382       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8351       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1425       1.0000         .10000E-03   10000.    
    10 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1639       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2767       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11304E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5167       1.0000         .10000E-03   10000.    
    16 'norm      '    21.255       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19219       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9247       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.0359       1.0000         .10000E-03   10000.    
    20 'norm      '    .74554       1.0000         .10000E-03   10000.    
    21 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.4191       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.7841       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .97400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0825       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6453.423     FROM MIGRAD    STATUS=CONVERGED    628 CALLS     2666 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0574        5.7061        .38130E-07   -.27857E-04
   2  norm          .10000E-03    18.255       -.15978E-07** at limit **
   3  Prefactor     .10000E-03    5.7780        .13990E-06** at limit **
   4  Prefactor     .10000E-03    26.669        .24512E-05** at limit **
   5  Prefactor     1.5652        15.388        .11291E-05   -.21865E-05
   6  Prefactor     2.2282        33.670        .22659E-05    .14979E-04
   7  Prefactor     6.3375        6.5334        .48518E-07   -.15738E-04
   8  Prefactor     1.8365        1.5420       -.19149E-08   -.14394E-03
   9  Prefactor     4.1447        8.4888       -.39291E-06    .43649E-04
  10  norm          .10000E-03    .36004        .93290E-07** at limit **
  11  Prefactor     1.1445        56.988        .29276E-04   -.93013E-04
  12  Prefactor     2.2767        3.2485        .20625E-06   -.81424E-05
  13  Prefactor     .10000E-03    36.557       -.24395E-05** at limit **
  14  Prefactor     .10000E-03    1.0202       -.19855E-07** at limit **
  15  Prefactor     1.5176        2.0537       -.16084E-06   -.30853E-03
  16  norm          21.244        5.1553        .39226E-07   -.11528E-03
  17  Prefactor     .20750        1.6839        .44125E-06   -.28084E-03
  18  Prefactor     2.9245        1.7838        .48499E-07   -.37101E-04
  19  Prefactor     5.0363        4.0715       -.88092E-07   -.73154E-04
  20  norm          .74555        .25361        .15528E-07   -.67691E-03
  21  norm          .10000E-03    2.0470        .13797E-06** at limit **
  22  Prefactor     7.4236        10.136       -.26994E-05   -.33026E-03
  23  Prefactor     .10000E-03    5.0789        .77309E-07** at limit **
  24  Prefactor     7.7353        30.041        .12446E-04    .13530E-03
  25  Normalizat    .97380        .17982       -.32478E-06    .11884E-04
  26  Prefactor     1.0828        .18160       -.20059E-05   -.67859E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.05743
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.56522
  Prefactor  = 2.22818
  Prefactor  = 6.33746
  Prefactor  = 1.83649
  Prefactor  = 4.14467
  norm       = 0.0001
  Prefactor  = 1.14454
  Prefactor  = 2.27674
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.51765
  norm       = 21.244
  Prefactor  = 0.207499
  Prefactor  = 2.92455
  Prefactor  = 5.03627
  norm       = 0.745552
  norm       = 0.0001
  Prefactor  = 7.42356
  Prefactor  = 0.0001
  Prefactor  = 7.73531
  Normalizat = 0.9738
  Prefactor  = 1.08278
 **********
 **   18 **HESSE 
 **********

 FCN=   6453.423     FROM HESSE     STATUS=OK           470 CALLS     3136 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0574        5.7075        .15101E-03   -1.5177    
   2  norm          .10000E-03    18.861        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.8018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    26.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5652        15.390        .33994E-03   -1.5458    
   6  Prefactor     2.2282        33.017        .27459E-03   -1.5409    
   7  Prefactor     6.3375        6.5298        .15943E-03   -1.5204    
   8  Prefactor     1.8365        1.5305        .84120E-04   -1.5437    
   9  Prefactor     4.1447        8.4796        .19804E-03   -1.5301    
  10  norm          .10000E-03    .49254        .93353E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1445        57.703        .21326E-02   -1.5494    
  12  Prefactor     2.2767        3.2279        .16414E-03   -1.5406    
  13  Prefactor     .10000E-03    36.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.0362        .79097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.5176        2.0282        .12851E-03   -1.5462    
  16  norm          21.244        5.3411        .76587E-04   -1.4786    
  17  Prefactor     .20750        8.7917        .17822E-02   -1.5617    
  18  Prefactor     2.9245        1.7815        .80256E-04   -1.5366    
  19  Prefactor     5.0363        4.0691        .14135E-03   -1.5259    
  20  norm          .74555        .25260        .22450E-04   -1.5535    
  21  norm          .10000E-03    2.0816        .11218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.4236        10.198        .14725E-03   -1.5163    
  23  Prefactor     .10000E-03    5.0975        .17680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     7.7353        30.255        .14372E-03   -1.5152    
  25  Normalizat    .97380        .21246        .25524E-03   -.93913    
  26  Prefactor     1.0828        .21491        .25758E-03   -.90019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.09277e-10
Minuit parameter uncertainties:
  1  5.70795
  2  0.000107524
  3  1.63411e-05
  4  0.000171875
  5  9.81918
  6  17.1653
  7  6.53053
  8  1.53052
  9  8.48206
  10  2.87412e-06
  11  16.2693
  12  3.2281
  13  0.000168325
  14  5.24925e-07
  15  2.02833
  16  5.34127
  17  2.70108
  18  1.78155
  19  4.06935
  20  0.252605
  21  1.12338e-05
  22  10.2005
  23  6.88001e-06
  24  30.315
  25  0.212646
  26  0.215078
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  2.277e+00  3.228e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  1.083e+00  2.151e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  9.738e-01  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.72
Ra Dec: 180.187 20.135
Photon Flux Upper Limit: 9.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/258633/likelihoodResults_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.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) = 6453.40888949
delta logL = 0.0140124309437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6452.21054731
delta logL = 1.21235460776

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.9305       1.0000          .0000       10.000    
     3 'Normalizat'    .89921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1489       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6452.211     FROM MIGRAD    STATUS=CONVERGED    202 CALLS      485 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .34865E-02    .29583E-03** at limit **
   2  Index         8.9304        7.6761        .21199        .95533E-04
   3  Normalizat    .89955        .49885E-01    .44892E-01    .10723E-04
   4  Prefactor     1.1487        .52570E-01    .56797E-01   -.10716E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.93035
  Normalizat = 0.899548
  Prefactor  = 1.14873
 **********
 **   18 **HESSE 
 **********

 FCN=   6452.211     FROM HESSE     STATUS=OK            31 CALLS      516 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .83390E-03    .92381E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.9304        .38517        .93268E-03    .90443    
   3  Normalizat    .89955        .20526        .26400E-03   -.96476    
   4  Prefactor     1.1487        .21614        .25115E-03   -.87924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.16962e-12
Minuit parameter uncertainties:
  1  6.50411e-10
  2  0.386171
  3  0.205434
  4  0.216304
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/258633': 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) = 6452.2105451
delta logL = 1.21235681141

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  6.504e-10  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  8.930e+00  3.862e-01  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  1.149e+00  2.163e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  8.995e-01  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.29
Ra Dec: 180.187 20.135
Photon Index (Free Index): 8.93 +/- 0.39
Photon Flux (Free Index): 6.33e-08 +/- 4.42e-08
Energy Flux (Free Index): 7.20e-06 +/- 5.01e-06

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/258633/cmap_HighResolution_377740801_378000001_4FGL_J1200.7+2008_daily_bin534.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.66e-03', comment='SUCCESS', energy_flux2='7.20e-06', dlogl='1.21e+00', photon_flux2='6.33e-08', job_status='DONE', time_completed='2021-09-04 20:48:39.896009', photon_index_error2='0.39', photon_index2='8.93', ts='0.72', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='9.84e-08', energy_flux_error2='5.01e-06', EG='0.97', time_epoch_completed='1630813719.9', return_code='0', job_id='258633', GAL2='1.15', EG2='0.90', return_code2='0', photon_flux_error2='4.42e-08', ts2='3.29', photon_index='2.52' WHERE bin_id='534' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:48:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 258633: <4FGL_J1200.7+2008_daily_bin534> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin534> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep  4 20:35:32 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:35:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 20:35:34 2021
Terminated at Sat Sep  4 20:48:40 2021
Results reported at Sat Sep  4 20:48:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin534 180.187 20.1354 377740801 378000001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.7+2008 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   767.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            788 sec.

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

