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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin367
RA = 117.701, Dec = 12.494
tmin = 334454401, tmax = 334713601
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='941462', job_status='RUN', time_executed='2021-08-28 16:03:31.889067', time_epoch_executed='1630191811.89' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='367'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941462

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941462/ft1_4FGL_J0750.8+1229_daily_bin367.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941462/ft2_4FGL_J0750.8+1229_daily_bin367.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941462/ft1_4FGL_J0750.8+1229_daily_bin367.fits outfile=/scratch/kocevski/941462/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin367.fits ra=117.701 dec=12.494 rad=12.0 tmin=334454401.0 tmax=334713601.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 5.45
user 3.22
sys 2.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941462/ft2_4FGL_J0750.8+1229_daily_bin367.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/941462/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin367.fits evtable="EVENTS" outfile="/scratch/kocevski/941462/ft1_filtered_4FGL_J0750.8+1229_daily_bin367.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 2.45
user 0.32
sys 2.07

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941462/ft1_filtered_4FGL_J0750.8+1229_daily_bin367.fits" evtable="EVENTS" scfile=/scratch/kocevski/941462/ft2_4FGL_J0750.8+1229_daily_bin367.fits sctable="SC_DATA" outfile=/scratch/kocevski/941462/ltcube_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.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/941462/ft2_4FGL_J0750.8+1229_daily_bin367.fits
.....................!
real 13.82
user 11.28
sys 2.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941462/ft1_filtered_4FGL_J0750.8+1229_daily_bin367.fits evtable="EVENTS" scfile=/scratch/kocevski/941462/ft2_4FGL_J0750.8+1229_daily_bin367.fits sctable="SC_DATA" expcube=/scratch/kocevski/941462/ltcube_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.fits outfile=/scratch/kocevski/941462/expmap_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.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/941462/ltcube_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.fits
.....................!
real 194.06
user 185.55
sys 7.40

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/941462/ft1_filtered_4FGL_J0750.8+1229_daily_bin367.fits scfile=/scratch/kocevski/941462/ft2_4FGL_J0750.8+1229_daily_bin367.fits outfile=/scratch/kocevski/941462/cmap_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.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 2.47
user 0.36
sys 2.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941462/ft1_filtered_4FGL_J0750.8+1229_daily_bin367.fits scfile=/scratch/kocevski/941462/ft2_4FGL_J0750.8+1229_daily_bin367.fits outfile=/scratch/kocevski/941462/cmap_HighResolution_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.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 2.43
user 0.37
sys 2.02

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/941462/ft1_filtered_4FGL_J0750.8+1229_daily_bin367.fits evtable="EVENTS" scfile=/scratch/kocevski/941462/ft2_4FGL_J0750.8+1229_daily_bin367.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941462/Model_4FGL_J0750.8+1229_daily_bin367.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/941462/ft1_filtered_4FGL_J0750.8+1229_daily_bin367.fits.....................!
real 105.12
user 100.65
sys 3.65

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/941462/ft1_filtered_4FGL_J0750.8+1229_daily_bin367.fits', '/scratch/kocevski/941462/ft2_4FGL_J0750.8+1229_daily_bin367.fits', expMap='/scratch/kocevski/941462/expmap_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.fits', expCube='/scratch/kocevski/941462/ltcube_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/941462/Model_4FGL_J0750.8+1229_daily_bin367.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/941462/ft1_filtered_4FGL_J0750.8+1229_daily_bin367.fits
Spacecraft file(s): /scratch/kocevski/941462/ft2_4FGL_J0750.8+1229_daily_bin367.fits
Exposure map: /scratch/kocevski/941462/expmap_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.fits
Exposure cube: /scratch/kocevski/941462/ltcube_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/941462/Model_4FGL_J0750.8+1229_daily_bin367.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) = 7861.82162746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.6617       1.0000         .10000E-03   10000.    
     4 'Prefactor '    105.60       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.9276       1.0000         .10000E-03   10000.    
     7 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10593E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.671       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.3459       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.206       1.0000         .10000E-03   10000.    
    17 'norm      '    3.1923       1.0000         .10000E-03   10000.    
    18 'norm      '    13.137       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.7348       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2386       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96061       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=   7861.816     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2344 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.4181       -.33793E-07** at limit **
   2  norm          .10000E-03    .52262       -.19664E-08** at limit **
   3  norm          4.6616        1.5362       -.63446E-07   -.30750E-04
   4  Prefactor     105.59        81.516       -.41996E-05    .10079E-04
   5  Prefactor     .10000E-03    10.146        .15062E-06** at limit **
   6  norm          1.9274        1.3536        .26328E-06    .17814E-03
   7  norm          .10000E-03    .60702       -.67774E-07** at limit **
   8  Prefactor     .10000E-03    10.905        .38832E-06** at limit **
   9  Prefactor     .10000E-03    8.3523       -.49619E-08** at limit **
  10  Prefactor     26.643        39.554       -.26853E-04    .28463E-05
  11  Prefactor     .10000E-03    .96911       -.10183E-07** at limit **
  12  norm          .10000E-03    24.322        .43156E-06** at limit **
  13  Prefactor     6.3490        10.230       -.10882E-05   -.70989E-04
  14  Prefactor     .10000E-03    60.517        .22722E-04** at limit **
  15  norm          .10000E-03    52.563       -.16662E-04** at limit **
  16  Prefactor     31.203        48.641        .54287E-05    .10214E-03
  17  norm          3.1677        70.926       -.19769E-04   -.51025E-04
  18  norm          13.137        6.6005        .16551E-06    .12148E-03
  19  Prefactor     .10000E-03    89.702       -.34239E-05** at limit **
  20  Prefactor     9.7221        17.963       -.55011E-06    .97311E-05
  21  Normalizat    1.2392        .20228        .28620E-05    .80251E-05
  22  Prefactor     .96030        .12239        .56053E-06    .18541E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.66164
  Prefactor  = 105.591
  Prefactor  = 0.0001
  norm       = 1.92737
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 26.6433
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.34902
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 31.2033
  norm       = 3.16775
  norm       = 13.137
  Prefactor  = 0.000100001
  Prefactor  = 9.72209
  Normalizat = 1.23917
  Prefactor  = 0.960296
 **********
 **   18 **HESSE 
 **********

 FCN=   7861.816     FROM HESSE     STATUS=OK           336 CALLS     2680 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.4459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .52787        .62544E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.6616        1.5358        .60257E-04   -1.5276    
   4  Prefactor     105.59        81.468        .39133E-04   -1.3649    
   5  Prefactor     .10000E-03    10.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.9274        1.3465        .82980E-04   -1.5430    
   7  norm          .10000E-03    .98793        .13381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.3736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.643        39.464        .77571E-04   -1.4675    
  11  Prefactor     .10000E-03    .97516        .85203E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    24.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.3490        10.216        .15934E-03   -1.5204    
  14  Prefactor     .10000E-03    60.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    52.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     31.203        47.667        .71726E-04   -1.4590    
  17  norm          3.1677        67.996        .22679E-03   -1.5352    
  18  norm          13.137        6.5971        .11051E-03   -1.4983    
  19  Prefactor     .10000E-03    90.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.7221        18.159        .12844E-03   -1.5084    
  21  Normalizat    1.2392        .23801        .30114E-03   -.85401    
  22  Prefactor     .96030        .14371        .21320E-03   -.94065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00146e-10
Minuit parameter uncertainties:
  1  1.21084e-05
  2  5.78028e-08
  3  1.53577
  4  81.5544
  5  6.9726e-06
  6  1.34653
  7  6.09232e-06
  8  0.000173518
  9  3.47513e-06
  10  39.5027
  11  1.44444e-06
  12  1.84045e-05
  13  10.2184
  14  2.09716e-06
  15  3.75555e-05
  16  47.7251
  17  29.3901
  18  6.59746
  19  0.000681288
  20  18.1691
  21  0.238217
  22  0.143763
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  1.444e-06  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:  9.603e-01  1.438e-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.239e+00  2.382e-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: 6.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941462/likelihoodResults_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.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) = 7861.82100205
delta logL = -0.00483541237008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7861.81616811
delta logL = -1.47126320371e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10448E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4963       1.0000          .0000       10.000    
     3 'Normalizat'    1.2391       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96036       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=   7861.816     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      216 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.0751        .90712E-02** at limit **
   2  Index         1.9074        5.1795        .50000       -.35132E-06
   3  Normalizat    1.2392        .13445E-01    .68066E-01    .13112E-04
   4  Prefactor     .96029        .85462E-02    .45770E-01    .86512E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.90744
  Normalizat = 1.23917
  Prefactor  = 0.960295
 **********
 **   18 **HESSE 
 **********

 FCN=   7861.816     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      249 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    88.740        .99654E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9074        8.9647        .50000       -.66685    
   3  Normalizat    1.2392        .45156E-01    .30114E-03   -.85401    
   4  Prefactor     .96029        .28727E-01    .21320E-03   -.94065    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.05302e-09
Minuit parameter uncertainties:
  1  5.42819e-06
  2  483.92
  3  0.0451577
  4  0.0287271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941462': 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) = 7861.81615297
delta logL = 1.36651942739e-05

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  5.428e-06  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  1.907e+00  4.839e+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:  9.603e-01  2.873e-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.239e+00  4.516e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/941462/cmap_HighResolution_334454401_334713601_4FGL_J0750.8+1229_daily_bin367.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.98e-03', job_status='DONE', photon_flux_upper_limit='6.40e-08', time_completed='2021-08-28 16:16:10.875302', job_id='941462', GAL2='0.96', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1630192570.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.37e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='367' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:16:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 941462: <4FGL_J0750.8+1229_daily_bin367> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin367> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 16:00:56 2021
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:00:57 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:00:57 2021
Terminated at Sat Aug 28 16:16:11 2021
Results reported at Sat Aug 28 16:16:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin367 117.701 12.494 334454401 334713601 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 :                                   784.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             259.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            915 sec.

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

