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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin332
RA = 117.701, Dec = 12.494
tmin = 325382401, tmax = 325641601
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='941427', job_status='RUN', time_executed='2021-08-28 16:03:08.105604', time_epoch_executed='1630191788.11' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='332'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941427

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941427/ft1_4FGL_J0750.8+1229_daily_bin332.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941427/ft2_4FGL_J0750.8+1229_daily_bin332.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941427/ft1_4FGL_J0750.8+1229_daily_bin332.fits outfile=/scratch/kocevski/941427/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin332.fits ra=117.701 dec=12.494 rad=12.0 tmin=325382401.0 tmax=325641601.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.51
user 3.28
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941427/ft2_4FGL_J0750.8+1229_daily_bin332.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/941427/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin332.fits evtable="EVENTS" outfile="/scratch/kocevski/941427/ft1_filtered_4FGL_J0750.8+1229_daily_bin332.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941427/ft1_filtered_4FGL_J0750.8+1229_daily_bin332.fits" evtable="EVENTS" scfile=/scratch/kocevski/941427/ft2_4FGL_J0750.8+1229_daily_bin332.fits sctable="SC_DATA" outfile=/scratch/kocevski/941427/ltcube_325382401_325641601_4FGL_J0750.8+1229_daily_bin332.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/941427/ft2_4FGL_J0750.8+1229_daily_bin332.fits
.....................!
real 12.11
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941427/ft1_filtered_4FGL_J0750.8+1229_daily_bin332.fits evtable="EVENTS" scfile=/scratch/kocevski/941427/ft2_4FGL_J0750.8+1229_daily_bin332.fits sctable="SC_DATA" expcube=/scratch/kocevski/941427/ltcube_325382401_325641601_4FGL_J0750.8+1229_daily_bin332.fits outfile=/scratch/kocevski/941427/expmap_325382401_325641601_4FGL_J0750.8+1229_daily_bin332.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/941427/ltcube_325382401_325641601_4FGL_J0750.8+1229_daily_bin332.fits
.....................!
real 190.73
user 185.38
sys 4.99

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/941427/ft1_filtered_4FGL_J0750.8+1229_daily_bin332.fits scfile=/scratch/kocevski/941427/ft2_4FGL_J0750.8+1229_daily_bin332.fits outfile=/scratch/kocevski/941427/cmap_325382401_325641601_4FGL_J0750.8+1229_daily_bin332.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 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941427/ft1_filtered_4FGL_J0750.8+1229_daily_bin332.fits scfile=/scratch/kocevski/941427/ft2_4FGL_J0750.8+1229_daily_bin332.fits outfile=/scratch/kocevski/941427/cmap_HighResolution_325382401_325641601_4FGL_J0750.8+1229_daily_bin332.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 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.0484       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.9232       1.0000         .10000E-03   10000.    
     7 'norm      '    2.8873       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.701       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.5788       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12151E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15607E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2148       1.0000         .10000E-03   10000.    
    14 'Prefactor '    143.26       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.5152       1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.900       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3239       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1403       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91224       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=   7073.600     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2458 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.0223        .22320E-07** at limit **
   2  norm          .10000E-03    .86068        .78670E-07** at limit **
   3  norm          4.0484        1.5475        .46093E-07    .14467E-03
   4  Prefactor     .10000E-03    34.808       -.10019E-06** at limit **
   5  Prefactor     .10000E-03    29.677        .93882E-07** at limit **
   6  norm          1.9231        1.8714       -.86134E-07    .27382E-04
   7  norm          2.8869        1.9849        .38104E-07   -.34273E-03
   8  Prefactor     15.702        14.055        .53875E-06    .64970E-04
   9  Prefactor     5.5783        13.141        .33253E-07   -.52702E-04
  10  Prefactor     .10000E-03    198.33        .79293E-06** at limit **
  11  Prefactor     .10000E-03    1.8112       -.10277E-05** at limit **
  12  norm          .10000E-03    6.6180       -.93988E-07** at limit **
  13  Prefactor     6.2152        7.3637        .10517E-05    .83892E-04
  14  Prefactor     143.30        161.63        .31842E-04    .51187E-04
  15  norm          .10000E-03    58.920       -.10657E-05** at limit **
  16  Prefactor     .10000E-03    9.6778       -.50157E-07** at limit **
  17  norm          .10000E-03    10.582        .11648E-06** at limit **
  18  norm          4.5147        3.9676        .10120E-06    .63487E-04
  19  Prefactor     34.896        28.870        .33714E-06   -.95641E-05
  20  Prefactor     1.2792        72.670        .44947E-05   -.12023E-03
  21  Normalizat    1.1406        .20699       -.20014E-05    .25635E-03
  22  Prefactor     .91210        .11931       -.31047E-07    .11835E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.04842
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.92305
  norm       = 2.88686
  Prefactor  = 15.7022
  Prefactor  = 5.57829
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 6.21517
  Prefactor  = 143.304
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.51472
  Prefactor  = 34.8957
  Prefactor  = 1.27922
  Normalizat = 1.14062
  Prefactor  = 0.912104
 **********
 **   18 **HESSE 
 **********

 FCN=   7073.600     FROM HESSE     STATUS=OK           344 CALLS     2802 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.0387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.4511        .15114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.0484        1.5461        .61662E-04   -1.5306    
   4  Prefactor     .10000E-03    34.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.9231        1.8648        .92011E-04   -1.5431    
   7  norm          2.8869        1.9787        .94468E-04   -1.5368    
   8  Prefactor     15.702        13.984        .10108E-03   -1.4915    
   9  Prefactor     5.5783        13.130        .17009E-03   -1.5236    
  10  Prefactor     .10000E-03    200.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.9748        .21307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    6.6289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.2152        7.3565        .16103E-03   -1.5209    
  14  Prefactor     143.30        161.57        .16831E-03   -1.3308    
  15  norm          .10000E-03    58.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.6876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.5147        3.9726        .15280E-03   -1.5283    
  19  Prefactor     34.896        28.840        .67834E-04   -1.4526    
  20  Prefactor     1.2792        72.332        .38217E-03   -1.5482    
  21  Normalizat    1.1406        .23447        .29724E-03   -.88458    
  22  Prefactor     .91210        .13809        .20551E-03   -.95719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28245e-09
Minuit parameter uncertainties:
  1  4.5719e-06
  2  9.83127e-06
  3  1.54616
  4  1.06947e-05
  5  3.85628e-05
  6  1.86488
  7  1.97871
  8  13.9868
  9  13.1368
  10  0.000193198
  11  0.000277667
  12  6.76273e-06
  13  7.35761
  14  162.071
  15  1.53661e-05
  16  4.46454e-06
  17  6.10631e-06
  18  3.97284
  19  28.8519
  20  19.262
  21  0.234681
  22  0.138147
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  2.777e-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:  9.121e-01  1.381e-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.141e+00  2.347e-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: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941427/likelihoodResults_325382401_325641601_4FGL_J0750.8+1229_daily_bin332.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) = 7073.60065886
delta logL = -0.000683039837895

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7073.59997623
delta logL = -4.17206138081e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5306       1.0000          .0000       10.000    
     3 'Normalizat'    1.1407       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91207       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=   7073.600     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      225 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    1.8388        .60378E-01** at limit **
   2  Index         2.5443        6.2721        .50000       -.17201E-04
   3  Normalizat    1.1406        .54320E-02    .67187E-01    .36864E-03
   4  Prefactor     .91210        .34175E-02    .45159E-01    .36456E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 2.54429
  Normalizat = 1.14062
  Prefactor  = 0.912105
 **********
 **   18 **HESSE 
 **********

 FCN=   7073.600     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    28.624        .21008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5443        5.2134        .50000       -.51340    
   3  Normalizat    1.1406        .21425        .29724E-03   -.88458    
   4  Prefactor     .91210        .13489        .20551E-03   -.95719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0805e-09
Minuit parameter uncertainties:
  1  0.000788307
  2  8.77073
  3  0.21441
  4  0.134935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941427': 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) = 7073.5999757
delta logL = 1.12173438538e-07

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  7.883e-04  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.544e+00  8.771e+00  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.121e-01  1.349e-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.141e+00  2.144e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/941427/cmap_HighResolution_325382401_325641601_4FGL_J0750.8+1229_daily_bin332.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.59e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-08-28 16:14:42.766751', job_id='941427', GAL2='0.91', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630192482.77', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='332' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:14:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 941427: <4FGL_J0750.8+1229_daily_bin332> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin332 117.701 12.494 325382401 325641601 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 :                                   692.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            830 sec.

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

