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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin1272
RA = 202.693, Dec = 29.5536
tmin = 569030401, tmax = 569289601
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='724318', job_status='RUN', time_executed='2021-09-08 00:53:20.565795', time_epoch_executed='1631087600.57' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='1272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724318

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724318/ft1_4FGL_J1330.7+2933_daily_bin1272.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724318/ft1_4FGL_J1330.7+2933_daily_bin1272.fits outfile=/scratch/kocevski/724318/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1272.fits ra=202.693 dec=29.5536 rad=12.0 tmin=569030401.0 tmax=569289601.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.61
user 3.37
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.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/724318/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1272.fits evtable="EVENTS" outfile="/scratch/kocevski/724318/ft1_filtered_4FGL_J1330.7+2933_daily_bin1272.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724318/ft1_filtered_4FGL_J1330.7+2933_daily_bin1272.fits" evtable="EVENTS" scfile=/scratch/kocevski/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.fits sctable="SC_DATA" outfile=/scratch/kocevski/724318/ltcube_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.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/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.fits
.....................!
real 16.78
user 16.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724318/ft1_filtered_4FGL_J1330.7+2933_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.fits sctable="SC_DATA" expcube=/scratch/kocevski/724318/ltcube_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.fits outfile=/scratch/kocevski/724318/expmap_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.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/724318/ltcube_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.fits
.....................!
real 191.90
user 186.72
sys 4.75

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 J1330.7+2933 @ 202.693 29.5536

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/724318/ft1_filtered_4FGL_J1330.7+2933_daily_bin1272.fits scfile=/scratch/kocevski/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.fits outfile=/scratch/kocevski/724318/cmap_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.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=202.693 yref=29.5536 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724318/ft1_filtered_4FGL_J1330.7+2933_daily_bin1272.fits scfile=/scratch/kocevski/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.fits outfile=/scratch/kocevski/724318/cmap_HighResolution_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.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=202.693 yref=29.5536 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.60
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/724318/ft1_filtered_4FGL_J1330.7+2933_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724318/Model_4FGL_J1330.7+2933_daily_bin1272.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/724318/ft1_filtered_4FGL_J1330.7+2933_daily_bin1272.fits.....................!
real 53.15
user 51.79
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/724318/ft1_filtered_4FGL_J1330.7+2933_daily_bin1272.fits', '/scratch/kocevski/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.fits', expMap='/scratch/kocevski/724318/expmap_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.fits', expCube='/scratch/kocevski/724318/ltcube_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/724318/Model_4FGL_J1330.7+2933_daily_bin1272.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1330.7+2933'

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  2.755e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
306        Index:  2.449e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/724318/ft1_filtered_4FGL_J1330.7+2933_daily_bin1272.fits
Spacecraft file(s): /scratch/kocevski/724318/ft2_4FGL_J1330.7+2933_daily_bin1272.fits
Exposure map: /scratch/kocevski/724318/expmap_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.fits
Exposure cube: /scratch/kocevski/724318/ltcube_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/724318/Model_4FGL_J1330.7+2933_daily_bin1272.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) = 6472.44744143

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    44.208       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .53527       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10477E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .11208E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10367E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.7031       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3483       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9639       1.0000         .10000E-03   10000.    
    10 'norm      '    3.1689       1.0000         .10000E-03   10000.    
    11 'norm      '    .10697E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .33069E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.012       1.0000         .10000E-03   10000.    
    15 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    146.99       1.0000         .10000E-03   10000.    
    17 'norm      '    9.0434       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2699       1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.537       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.6830       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .84608E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    2.4605       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.9990       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .90331       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2316       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6472.420     FROM MIGRAD    STATUS=CONVERGED    655 CALLS     3183 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4460        .95132E-07** at limit **
   2  Prefactor     44.190        42.315       -.12570E-05   -.37264E-04
   3  Prefactor     .53386        8.5151       -.17081E-05    .50593E-04
   4  Prefactor     .10001E-03    5.1750       -.26304E-05** at limit **
   5  norm          .10000E-03    2.3975       -.60419E-06** at limit **
   6  Prefactor     .10000E-03    30.519       -.11654E-05** at limit **
   7  norm          6.7054        4.1439       -.44771E-07   -.49736E-03
   8  Prefactor     3.3480        12.719       -.50532E-05   -.19688E-03
   9  norm          1.9638        2.4187        .70905E-07   -.18730E-03
  10  norm          3.1617        4.5950        .53272E-06    .85683E-04
  11  norm          .10000E-03    5.7123       -.51132E-06** at limit **
  12  norm          .10015E-03    119.97        .55944E-04** at limit **
  13  Prefactor     .10000E-03    3.0742        .31275E-06** at limit **
  14  Prefactor     12.035        17.830       -.13479E-05   -.15190E-03
  15  norm          .10000E-03    2.8760        .30331E-06** at limit **
  16  Prefactor     147.00        73.124        .98665E-06   -.58802E-04
  17  norm          9.0462        8.9076       -.17478E-06   -.29278E-03
  18  Prefactor     .10000E-03    23.212        .18487E-05** at limit **
  19  Prefactor     1.2708        87.338        .47752E-07   -.10443E-04
  20  Prefactor     36.624        67.494        .86663E-05   -.74216E-04
  21  Prefactor     5.6848        5.3086       -.19459E-05   -.60797E-03
  22  Prefactor     .10273E-03    31.471       -.23608E-04** at limit **
  23  norm          2.4605        2.8377       -.36200E-07   -.78501E-04
  24  Prefactor     6.9997        4.5093        .23849E-06   -.15187E-03
  25  Normalizat    .90314        .18509        .48301E-06   -.92483E-03
  26  Prefactor     1.2317        .19628       -.10744E-05   -.48866E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 44.1897
  Prefactor  = 0.533863
  Prefactor  = 0.000100015
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 6.70535
  Prefactor  = 3.34801
  norm       = 1.96377
  norm       = 3.16167
  norm       = 0.0001
  norm       = 0.000100153
  Prefactor  = 0.0001
  Prefactor  = 12.035
  norm       = 0.0001
  Prefactor  = 147.003
  norm       = 9.0462
  Prefactor  = 0.0001
  Prefactor  = 1.27085
  Prefactor  = 36.6241
  Prefactor  = 5.68476
  Prefactor  = 0.000102729
  norm       = 2.46052
  Prefactor  = 6.99972
  Normalizat = 0.903142
  Prefactor  = 1.23169
 **********
 **   18 **HESSE 
 **********

 FCN=   6472.420     FROM HESSE     STATUS=OK           472 CALLS     3655 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.4568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     44.190        42.260        .60298E-04   -1.4377    
   3  Prefactor     .53386        8.7299        .45200E-03   -1.5562    
   4  Prefactor     .10001E-03    19.241        .32605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.2672        .23862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.7054        4.1019        .12212E-03   -1.5190    
   8  Prefactor     3.3480        12.703        .11059E-02   -1.5342    
   9  norm          1.9638        2.4094        .13422E-03   -1.5428    
  10  norm          3.1617        4.4964        .17626E-03   -1.5352    
  11  norm          .10000E-03    5.7442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10015E-03    135.27        .66072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.1466        .27287E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.035        17.596        .11558E-03   -1.5014    
  15  norm          .10000E-03    2.8905        .13311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     147.00        73.046        .16619E-03   -1.3277    
  17  norm          9.0462        8.8706        .13328E-03   -1.5106    
  18  Prefactor     .10000E-03    23.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.2708        88.193        .39488E-03   -1.5483    
  20  Prefactor     36.624        67.903        .66303E-04   -1.4497    
  21  Prefactor     5.6848        5.2458        .81368E-03   -1.5231    
  22  Prefactor     .10273E-03    13.260        .77603E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.4605        2.8344        .14165E-03   -1.5394    
  24  Prefactor     6.9997        4.5085        .13150E-03   -1.5179    
  25  Normalizat    .90314        .21459        .25439E-03   -.96350    
  26  Prefactor     1.2317        .23019        .25601E-03   -.85362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13998e-09
Minuit parameter uncertainties:
  1  6.93762e-06
  2  42.2883
  3  4.31802
  4  0.00106519
  5  0.000198433
  6  8.49198e-05
  7  4.10208
  8  12.7131
  9  2.40955
  10  4.49686
  11  6.09342e-05
  12  0.00911837
  13  3.88188e-05
  14  17.6038
  15  2.64116e-05
  16  73.0913
  17  8.8719
  18  0.000163618
  19  21.2053
  20  68.0471
  21  5.24619
  22  0.0120337
  23  2.83456
  24  4.50876
  25  0.214793
  26  0.230382
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  1.000e-04  1.636e-04  1.000e-04  1.000e+04 ( 1.000e-13)
306        Index:  2.449e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.232e+00  2.304e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  9.031e-01  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 202.693 29.554
Photon Flux Upper Limit: 7.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724318/likelihoodResults_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.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): 102
logL (Free Index) = 6472.42060056
delta logL = -0.000202407843062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6472.42039916
delta logL = -1.00490615296e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12202E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6665       1.0000          .0000       10.000    
     3 'Normalizat'    .90314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2317       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+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=   6472.420     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      281 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10102E-03    93.732        .18142E-02** at limit **
   2  Index         2.6173        5.1710        .50000        .12383E-04
   3  Normalizat    .90315        .88169E-02    .25440E-03    .10546E-03
   4  Prefactor     1.2317        .10229E-01    .25601E-03    .92944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101015
  Index      = 2.61727
  Normalizat = 0.903148
  Prefactor  = 1.23168
 **********
 **   18 **HESSE 
 **********

 FCN=   6472.420     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      310 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10102E-03    418.90        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6173        7.3936        .50000       -.49672    
   3  Normalizat    .90315        .19055E-01    .10176E-04   -.96350    
   4  Prefactor     1.2317        .22106E-01    .10240E-04   -.85362    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.65016e-09
Minuit parameter uncertainties:
  1  0.0415357
  2  372.882
  3  0.0190549
  4  0.0221059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724318': 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): 102
logL (Free Index) = 6472.42039847
delta logL = -3.12379597744e-07

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  1.010e-04  4.154e-02  1.000e-04  1.000e+04 ( 1.000e-13)
306        Index:  2.617e+00  3.729e+02  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.232e+00  2.211e-02  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  9.031e-01  1.905e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 202.693 29.554

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/724318/cmap_HighResolution_569030401_569289601_4FGL_J1330.7+2933_daily_bin1272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-03', job_status='DONE', photon_flux_upper_limit='7.55e-08', time_completed='2021-09-08 01:06:27.649192', job_id='724318', GAL2='1.23', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1631088387.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='-3.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1272' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:06:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 724318: <4FGL_J1330.7+2933_daily_bin1272> in cluster <slac> Done

Job <4FGL_J1330.7+2933_daily_bin1272> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Sep  8 00:50:45 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 00:51:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 00:51:02 2021
Terminated at Wed Sep  8 01:06:28 2021
Results reported at Wed Sep  8 01:06:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.7+2933_daily_bin1272 202.693 29.5536 569030401 569289601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1330.7+2933 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   735.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            943 sec.

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

