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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin485
RA = 117.701, Dec = 12.494
tmin = 365040001, tmax = 365299201
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='942681', job_status='RUN', time_executed='2021-08-28 16:09:13.361495', time_epoch_executed='1630192153.36' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942681

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942681/ft1_4FGL_J0750.8+1229_daily_bin485.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942681/ft2_4FGL_J0750.8+1229_daily_bin485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942681/ft1_4FGL_J0750.8+1229_daily_bin485.fits outfile=/scratch/kocevski/942681/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin485.fits ra=117.701 dec=12.494 rad=12.0 tmin=365040001.0 tmax=365299201.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.77
user 3.39
sys 1.35

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/942681/ft2_4FGL_J0750.8+1229_daily_bin485.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/942681/ft2_4FGL_J0750.8+1229_daily_bin485.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/942681/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin485.fits evtable="EVENTS" outfile="/scratch/kocevski/942681/ft1_filtered_4FGL_J0750.8+1229_daily_bin485.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 1.65
user 0.34
sys 1.29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942681/ft1_filtered_4FGL_J0750.8+1229_daily_bin485.fits" evtable="EVENTS" scfile=/scratch/kocevski/942681/ft2_4FGL_J0750.8+1229_daily_bin485.fits sctable="SC_DATA" outfile=/scratch/kocevski/942681/ltcube_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.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/942681/ft2_4FGL_J0750.8+1229_daily_bin485.fits
.....................!
real 13.38
user 11.73
sys 1.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942681/ft1_filtered_4FGL_J0750.8+1229_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/942681/ft2_4FGL_J0750.8+1229_daily_bin485.fits sctable="SC_DATA" expcube=/scratch/kocevski/942681/ltcube_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.fits outfile=/scratch/kocevski/942681/expmap_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.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/942681/ltcube_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.fits
.....................!
real 191.02
user 185.28
sys 5.37

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 168 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0750.8+1229 @ 117.701 12.494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/942681/ft1_filtered_4FGL_J0750.8+1229_daily_bin485.fits scfile=/scratch/kocevski/942681/ft2_4FGL_J0750.8+1229_daily_bin485.fits outfile=/scratch/kocevski/942681/cmap_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.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=117.701 yref=12.494 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 1.67
user 0.37
sys 1.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942681/ft1_filtered_4FGL_J0750.8+1229_daily_bin485.fits scfile=/scratch/kocevski/942681/ft2_4FGL_J0750.8+1229_daily_bin485.fits outfile=/scratch/kocevski/942681/cmap_HighResolution_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.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=117.701 yref=12.494 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 1.67
user 0.37
sys 1.28

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/942681/ft1_filtered_4FGL_J0750.8+1229_daily_bin485.fits evtable="EVENTS" scfile=/scratch/kocevski/942681/ft2_4FGL_J0750.8+1229_daily_bin485.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/942681/Model_4FGL_J0750.8+1229_daily_bin485.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/942681/ft1_filtered_4FGL_J0750.8+1229_daily_bin485.fits.....................!
real 86.22
user 83.07
sys 2.67

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/942681/ft1_filtered_4FGL_J0750.8+1229_daily_bin485.fits', '/scratch/kocevski/942681/ft2_4FGL_J0750.8+1229_daily_bin485.fits', expMap='/scratch/kocevski/942681/expmap_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.fits', expCube='/scratch/kocevski/942681/ltcube_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/942681/Model_4FGL_J0750.8+1229_daily_bin485.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0750.8+1229'

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.506e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/942681/ft1_filtered_4FGL_J0750.8+1229_daily_bin485.fits
Spacecraft file(s): /scratch/kocevski/942681/ft2_4FGL_J0750.8+1229_daily_bin485.fits
Exposure map: /scratch/kocevski/942681/expmap_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.fits
Exposure cube: /scratch/kocevski/942681/ltcube_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/942681/Model_4FGL_J0750.8+1229_daily_bin485.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) = 6343.34738992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.268       1.0000         .10000E-03   10000.    
     2 'norm      '    .62632       1.0000         .10000E-03   10000.    
     3 'norm      '    1.4278       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.0756       1.0000         .10000E-03   10000.    
     7 'norm      '    2.0657       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .43138E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.046       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10597E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11615E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.625       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1547       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.7393       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10576E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4749       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85488       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6343.250     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2041 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.268        13.515       -.23127E-06   -.62809E-04
   2  norm          .62644        1.8362       -.86642E-06   -.16365E-02
   3  norm          1.4280        1.3789       -.10101E-06   -.94702E-03
   4  Prefactor     .10000E-03    25.776       -.44663E-06** at limit **
   5  Prefactor     .10000E-03    25.157        .45507E-05** at limit **
   6  norm          5.0806        2.2363       -.38973E-07   -.10384E-02
   7  norm          2.0654        1.9625       -.42708E-07   -.41474E-03
   8  Prefactor     .10004E-03    7.3883        .11793E-05** at limit **
   9  Prefactor     14.046        14.170       -.14520E-06   -.16476E-04
  10  Prefactor     .10000E-03    63.638       -.21636E-04** at limit **
  11  Prefactor     .10000E-03    1.9596       -.50096E-06** at limit **
  12  norm          12.616        16.550        .23200E-05   -.58836E-04
  13  Prefactor     1.1137        38.929        .14571E-04   -.32671E-03
  14  Prefactor     .10000E-03    46.274        .16211E-04** at limit **
  15  norm          .10000E-03    41.541        .72304E-05** at limit **
  16  Prefactor     .10000E-03    7.4646        .63596E-07** at limit **
  17  norm          .10000E-03    6.3413       -.73015E-07** at limit **
  18  norm          2.7391        3.0909        .39471E-07    .11710E-03
  19  Prefactor     .10000E-03    13.900       -.76321E-06** at limit **
  20  Prefactor     .10000E-03    27.854       -.15912E-04** at limit **
  21  Normalizat    1.4753        .21107       -.12517E-05    .65030E-04
  22  Prefactor     .85472        .13652        .55600E-06   -.70614E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.2679
  norm       = 0.626436
  norm       = 1.42796
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.08057
  norm       = 2.06542
  Prefactor  = 0.000100042
  Prefactor  = 14.0458
  Prefactor  = 0.000100005
  Prefactor  = 0.000100001
  norm       = 12.6155
  Prefactor  = 1.11372
  Prefactor  = 0.000100003
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.73912
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.4753
  Prefactor  = 0.854724
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.250     FROM HESSE     STATUS=OK           342 CALLS     2383 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.268        13.520        .91244E-04   -1.4830    
   2  norm          .62644        1.8725        .17704E-03   -1.5550    
   3  norm          1.4280        1.3618        .87281E-04   -1.5469    
   4  Prefactor     .10000E-03    25.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.0806        2.0194        .68600E-04   -1.5257    
   7  norm          2.0654        1.9531        .10496E-03   -1.5421    
   8  Prefactor     .10004E-03    47.748        .36727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.046        14.170        .10687E-03   -1.4958    
  10  Prefactor     .10000E-03    64.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.7722        .21376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.616        16.108        .11274E-03   -1.4997    
  13  Prefactor     1.1137        32.769        .42990E-03   -1.5497    
  14  Prefactor     .10000E-03    46.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    41.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.4676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.3471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.7391        3.0921        .14518E-03   -1.5377    
  19  Prefactor     .10000E-03    13.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    28.425        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4753        .23935        .26989E-03   -.78475    
  22  Prefactor     .85472        .15776        .22143E-03   -.97742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41107e-09
Minuit parameter uncertainties:
  1  13.5219
  2  1.87263
  3  1.36184
  4  3.35605e-06
  5  0.000174308
  6  2.01943
  7  1.95311
  8  0.00284302
  9  14.1735
  10  0.00110998
  11  0.000102206
  12  16.1131
  13  12.0891
  14  0.000731846
  15  0.000318397
  16  5.48855e-07
  17  1.52201e-06
  18  3.09231
  19  1.88762e-05
  20  0.000357386
  21  0.239532
  22  0.157849
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  1.022e-04  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  8.547e-01  1.578e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.475e+00  2.395e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 9.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/942681/likelihoodResults_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.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) = 6343.25143037
delta logL = -0.00126256454223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6343.25016794
delta logL = -1.41096279549e-07

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     '    2.5186       1.0000          .0000       10.000    
     3 'Normalizat'    1.4753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85474       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6343.250     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      227 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .14130        .37810E-01** at limit **
   2  Index         2.5204        5.9098        .50000       -.47718E-05
   3  Normalizat    1.4753        .15007E-02    .61026E-01    .11416E-03
   4  Prefactor     .85472        .97402E-03    .44426E-01    .66421E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.52044
  Normalizat = 1.4753
  Prefactor  = 0.854725
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.250     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      260 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.408        .21356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5204        6.8781        .50000       -.51889    
   3  Normalizat    1.4753        .20310E-01    .26989E-03   -.78475    
   4  Prefactor     .85472        .13184E-01    .22143E-03   -.97742    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.27799e-07
Minuit parameter uncertainties:
  1  0.000331891
  2  394.439
  3  0.02031
  4  0.0131843
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942681': 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) = 6343.2501678
delta logL = 4.22824086854e-09

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  3.319e-04  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.520e+00  3.944e+02  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  8.547e-01  1.318e-02  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.475e+00  2.031e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.701 12.494

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/942681/cmap_HighResolution_365040001_365299201_4FGL_J0750.8+1229_daily_bin485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2021-08-28 16:20:08.797001', job_id='942681', GAL2='0.85', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1630192808.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='4.23e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='485' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:20:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 942681: <4FGL_J0750.8+1229_daily_bin485> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin485> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 16:05:30 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:05:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 16:05:31 2021
Terminated at Sat Aug 28 16:20:11 2021
Results reported at Sat Aug 28 16:20:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin485 117.701 12.494 365040001 365299201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0750.8+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   669.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            881 sec.

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

