aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 92 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin1762
RA = 180.187, Dec = 20.1354
tmin = 696038401, tmax = 696297601
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='107852', job_status='RUN', time_executed='2023-01-25 00:54:33.342270', time_epoch_executed='1674636873.34' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107852

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107852/ft1_4FGL_J1200.7+2008_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107852/ft2_4FGL_J1200.7+2008_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107852/ft1_4FGL_J1200.7+2008_daily_bin1762.fits outfile=/scratch/kocevski/107852/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1762.fits ra=180.187 dec=20.1354 rad=12.0 tmin=696038401.0 tmax=696297601.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.70
user 3.45
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107852/ft2_4FGL_J1200.7+2008_daily_bin1762.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/107852/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/107852/ft1_filtered_4FGL_J1200.7+2008_daily_bin1762.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.51
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 695

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107852/ft1_filtered_4FGL_J1200.7+2008_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107852/ft2_4FGL_J1200.7+2008_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107852/ltcube_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.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/107852/ft2_4FGL_J1200.7+2008_daily_bin1762.fits
.....................!
real 15.14
user 14.63
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107852/ft1_filtered_4FGL_J1200.7+2008_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107852/ft2_4FGL_J1200.7+2008_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107852/ltcube_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.fits outfile=/scratch/kocevski/107852/expmap_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.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/107852/ltcube_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.fits
.....................!
real 194.44
user 186.71
sys 6.79

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/107852/ft1_filtered_4FGL_J1200.7+2008_daily_bin1762.fits scfile=/scratch/kocevski/107852/ft2_4FGL_J1200.7+2008_daily_bin1762.fits outfile=/scratch/kocevski/107852/cmap_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107852/ft1_filtered_4FGL_J1200.7+2008_daily_bin1762.fits scfile=/scratch/kocevski/107852/ft2_4FGL_J1200.7+2008_daily_bin1762.fits outfile=/scratch/kocevski/107852/cmap_HighResolution_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.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.63
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107852/ft1_filtered_4FGL_J1200.7+2008_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107852/ft2_4FGL_J1200.7+2008_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107852/Model_4FGL_J1200.7+2008_daily_bin1762.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/107852/ft1_filtered_4FGL_J1200.7+2008_daily_bin1762.fits.....................!
real 68.59
user 66.57
sys 1.60

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/107852/ft1_filtered_4FGL_J1200.7+2008_daily_bin1762.fits', '/scratch/kocevski/107852/ft2_4FGL_J1200.7+2008_daily_bin1762.fits', expMap='/scratch/kocevski/107852/expmap_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.fits', expCube='/scratch/kocevski/107852/ltcube_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/107852/Model_4FGL_J1200.7+2008_daily_bin1762.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  0.000e+00  1.000e+06 ( 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/107852/ft1_filtered_4FGL_J1200.7+2008_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/107852/ft2_4FGL_J1200.7+2008_daily_bin1762.fits
Exposure map: /scratch/kocevski/107852/expmap_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.fits
Exposure cube: /scratch/kocevski/107852/ltcube_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/107852/Model_4FGL_J1200.7+2008_daily_bin1762.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) = 7507.70152075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1122       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19882E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.8194       1.0000          .0000       .10000E+07
     4 'Prefactor '    22.173       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.278       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1134       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0583       1.0000          .0000       .10000E+07
     8 'norm      '    53.746       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.3495       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.3480       1.0000          .0000       .10000E+07
    11 'Prefactor '    .58296E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .90454E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .22343E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.9244       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14608E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.4456       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9534       1.0000          .0000       .10000E+07
    18 'norm      '    .41633E-08   1.0000          .0000       .10000E+07
    19 'norm      '    13.061       1.0000          .0000       .10000E+07
    20 'Prefactor '    .41135E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .33730E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .97818       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7507.696     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1861 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1103        6.3121        .76672E-06    .88332E-02
   2  Prefactor      .0000        4.8487        .28600E-07** at limit **
   3  Prefactor     3.8108        1.4077        .13167E-06   -.15077E-01
   4  Prefactor     22.192        1.0859       -.25456E-07    .19683E-01
   5  Prefactor     12.272        1.2891       -.67239E-07    .16723E-01
   6  Prefactor     3.1143        2.6923        .10599E-07    .11660E-05
   7  Prefactor     4.0591        1.5802        .17643E-06   -.16759E-01
   8  norm          53.728        4.0793        .14252E-07    .54121E-03
   9  Prefactor     6.3550        1.0249        .62676E-09   -.11167E-02
  10  Prefactor     2.3409        4.2303        .13844E-06   -.61143E-03
  11  Prefactor      .0000        23.716       -.23003E-06** at limit **
  12  Prefactor      .0000        1.9074       -.11016E-06** at limit **
  13  Prefactor      .0000        1.0983       -.63441E-07** at limit **
  14  norm          2.9253        2.3278       -.40516E-07    .14793E-03
  15  Prefactor      .0000        .79328        .34215E-07** at limit **
  16  Prefactor     3.4470        2.5179        .21582E-06   -.11893E-02
  17  Prefactor     1.9541        3.0276       -.22270E-06    .88505E-03
  18  norm           .0000        .13803       -.32994E-07** at limit **
  19  norm          13.057        1.0376        .10327E-08   -.54829E-02
  20  Prefactor      .0000        2.4892       -.89225E-07** at limit **
  21  Prefactor     .55511E-10    6.4675       -.23253E-06** at limit **
  22  Normalizat    .97845        .21663       -.22313E-05    .13837E-04
  23  Prefactor     .83775        .20953       -.41536E-05    .27679E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.11034
  Prefactor  = 0
  Prefactor  = 3.81077
  Prefactor  = 22.1916
  Prefactor  = 12.2718
  Prefactor  = 3.11426
  Prefactor  = 4.05906
  norm       = 53.7278
  Prefactor  = 6.35498
  Prefactor  = 2.3409
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.92528
  Prefactor  = 0
  Prefactor  = 3.44703
  Prefactor  = 1.95412
  norm       = 0
  norm       = 13.0569
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.978448
  Prefactor  = 0.837753
 **********
 **   18 **HESSE 
 **********

 FCN=   7507.696     FROM HESSE     STATUS=OK           426 CALLS     2287 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1103        6.3803        .40585E-03   -1.5659    
   2  Prefactor      .0000        4.8556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.8108        12.504        .51620E-03   -1.5669    
   4  Prefactor     22.192        26.395        .21243E-03   -1.5614    
   5  Prefactor     12.272        10.128        .28563E-03   -1.5638    
   6  Prefactor     3.1143        2.8364        .57440E-03   -1.5673    
   7  Prefactor     4.0591        9.8190        .50027E-03   -1.5668    
   8  norm          53.728        4.1281        .13641E-03   -1.5561    
   9  Prefactor     6.3550        10.687        .39810E-03   -1.5658    
  10  Prefactor     2.3409        4.2950        .66872E-03   -1.5677    
  11  Prefactor      .0000        23.717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.9037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.0945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.9253        2.3292        .59378E-03   -1.5674    
  15  Prefactor      .0000        .79349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.4470        2.5367        .54462E-03   -1.5671    
  17  Prefactor     1.9541        3.0883        .74213E-03   -1.5680    
  18  norm           .0000        .77558E-01    .13421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.057        5.7867        .27690E-03   -1.5636    
  20  Prefactor      .0000        2.4872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    6.4566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .97845        .18198        .66292E-01   -.93756    
  23  Prefactor     .83775        .17315        .69643E-01   -.98351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12141e-08
Minuit parameter uncertainties:
  1  6.38026
  2  1.94729e-05
  3  12.5045
  4  26.3956
  5  10.1277
  6  2.83635
  7  9.819
  8  4.12805
  9  10.6874
  10  4.29505
  11  2.26434e-05
  12  4.24553e-06
  13  1.35528e-07
  14  2.32919
  15  3.02061e-07
  16  2.53668
  17  3.08834
  18  8.38802e-09
  19  5.78666
  20  2.08456e-07
  21  3.26412e-05
  22  0.182094
  23  0.173258
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  2.341e+00  4.295e+00  0.000e+00  1.000e+06 ( 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:  8.378e-01  1.733e-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.784e-01  1.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.38
Ra Dec: 180.187 20.135
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107852/likelihoodResults_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.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) = 7507.66015951
delta logL = 0.0355980396653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7507.65088388
delta logL = 0.0448736649842

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9800       1.0000          .0000       .10000E+07
     2 'Index     '    2.2516       1.0000          .0000       10.000    
     3 'Normalizat'    .98351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83261       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7507.651     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      259 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9803        5.0319        .23400E-04   -.10553E-02
   2  Index         2.2516        .84239        .12929E-01   -.11330E-04
   3  Normalizat    .98350        .21262        .29253E-03   -.19883E-03
   4  Prefactor     .83262        .20949        .30895E-03   -.12747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.98034
  Index      = 2.25159
  Normalizat = 0.983498
  Prefactor  = 0.832617
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9803        4.9612        .93599E-06   -1.5673    
   2  Index         2.2516        .83096        .51715E-03   -.58198    
   3  Normalizat    .98350        .21284        .11701E-04   -.93585    
   4  Prefactor     .83262        .20964        .12358E-04   -.98537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14759e-11
Minuit parameter uncertainties:
  1  4.96122
  2  0.836536
  3  0.213021
  4  0.209844
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107852': 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) = 7507.65088388
delta logL = 0.0448736686576

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  2.980e+00  4.961e+00  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  2.252e+00  8.365e-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:  8.326e-01  2.098e-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.835e-01  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
Ra Dec: 180.187 20.135

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/107852/cmap_HighResolution_696038401_696297601_4FGL_J1200.7+2008_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.21e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2023-01-25 01:06:25.880762', job_id='107852', GAL2='0.83', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1674637585.88', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.49e-02', ts2='0.46', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1762' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:06:25 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 107852: <4FGL_J1200.7+2008_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:26 2023
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:52:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:52:52 2023
Terminated at Wed Jan 25 01:06:26 2023
Results reported at Wed Jan 25 01:06:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin1762 180.187 20.1354 696038401 696297601 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 :                                   713.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            960 sec.

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

