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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin1195
RA = 118.491, Dec = 9.3904
tmin = 549072001, tmax = 549331201
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='997713', job_status='RUN', time_executed='2021-08-28 19:00:59.332100', time_epoch_executed='1630202459.33' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='1195'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/997713

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/997713/ft1_4FGL_J0753.9+0923_daily_bin1195.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/997713/ft1_4FGL_J0753.9+0923_daily_bin1195.fits outfile=/scratch/kocevski/997713/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin1195.fits ra=118.491 dec=9.3904 rad=12.0 tmin=549072001.0 tmax=549331201.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.00
user 2.72
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.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/997713/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin1195.fits evtable="EVENTS" outfile="/scratch/kocevski/997713/ft1_filtered_4FGL_J0753.9+0923_daily_bin1195.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.55
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/997713/ft1_filtered_4FGL_J0753.9+0923_daily_bin1195.fits" evtable="EVENTS" scfile=/scratch/kocevski/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.fits sctable="SC_DATA" outfile=/scratch/kocevski/997713/ltcube_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.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/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.fits
.....................!
real 13.00
user 12.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/997713/ft1_filtered_4FGL_J0753.9+0923_daily_bin1195.fits evtable="EVENTS" scfile=/scratch/kocevski/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.fits sctable="SC_DATA" expcube=/scratch/kocevski/997713/ltcube_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.fits outfile=/scratch/kocevski/997713/expmap_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.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/997713/ltcube_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.fits
.....................!
real 191.49
user 186.64
sys 4.20

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 166 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 J0753.9+0923 @ 118.491 9.3904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/997713/ft1_filtered_4FGL_J0753.9+0923_daily_bin1195.fits scfile=/scratch/kocevski/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.fits outfile=/scratch/kocevski/997713/cmap_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.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=118.491 yref=9.3904 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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/997713/ft1_filtered_4FGL_J0753.9+0923_daily_bin1195.fits scfile=/scratch/kocevski/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.fits outfile=/scratch/kocevski/997713/cmap_HighResolution_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.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=118.491 yref=9.3904 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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/997713/ft1_filtered_4FGL_J0753.9+0923_daily_bin1195.fits evtable="EVENTS" scfile=/scratch/kocevski/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/997713/Model_4FGL_J0753.9+0923_daily_bin1195.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/997713/ft1_filtered_4FGL_J0753.9+0923_daily_bin1195.fits.....................!
real 93.44
user 91.97
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/997713/ft1_filtered_4FGL_J0753.9+0923_daily_bin1195.fits', '/scratch/kocevski/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.fits', expMap='/scratch/kocevski/997713/expmap_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.fits', expCube='/scratch/kocevski/997713/ltcube_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/997713/Model_4FGL_J0753.9+0923_daily_bin1195.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0753.9+0923'

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/997713/ft1_filtered_4FGL_J0753.9+0923_daily_bin1195.fits
Spacecraft file(s): /scratch/kocevski/997713/ft2_4FGL_J0753.9+0923_daily_bin1195.fits
Exposure map: /scratch/kocevski/997713/expmap_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.fits
Exposure cube: /scratch/kocevski/997713/ltcube_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/997713/Model_4FGL_J0753.9+0923_daily_bin1195.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) = 7261.41275492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.3892       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2832       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.7328       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.888       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13875E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.473       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    39.308       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1121       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.780       1.0000         .10000E-03   10000.    
    19 'norm      '    .72918       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.999       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .90597E-01   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89326       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2303       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7261.391     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2764 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.218       -.26829E-05** at limit **
   2  norm          4.3901        2.7180        .11176E-06   -.26867E-03
   3  norm          1.2835        1.3194        .82416E-07   -.31032E-03
   4  Prefactor     .10000E-03    26.265        .60368E-06** at limit **
   5  Prefactor     .10000E-03    55.399        .54323E-05** at limit **
   6  norm          .10000E-03    1.0274        .15878E-05** at limit **
   7  norm          4.7331        2.2488        .56297E-07   -.23126E-03
   8  Prefactor     12.906        8.4127       -.16642E-05   -.99531E-03
   9  Prefactor     .10000E-03    182.34       -.42398E-05** at limit **
  10  Prefactor     25.468        31.757        .17298E-06   -.58488E-04
  11  Prefactor     .10000E-03    1.5875        .36992E-07** at limit **
  12  norm          .10000E-03    10.802        .14774E-06** at limit **
  13  Prefactor     .10000E-03    3.9305        .67621E-08** at limit **
  14  Prefactor     .10000E-03    46.925       -.16541E-05** at limit **
  15  norm          39.303        66.023       -.40035E-06   -.94777E-05
  16  Prefactor     5.1101        60.265       -.46012E-06   -.22538E-04
  17  norm          .10000E-03    8.7242       -.49545E-07** at limit **
  18  norm          13.779        23.615       -.16330E-06   -.34569E-04
  19  norm          .73002        1.9848        .60173E-06    .13218E-03
  20  Prefactor     23.008        37.790        .28869E-06   -.78357E-05
  21  Prefactor     .10000E-03    9.9886       -.12846E-06** at limit **
  22  norm          .95133E-01    .48173        .69161E-07   -.40492E-03
  23  Normalizat    .89321        .20243       -.18061E-06   -.19077E-03
  24  Prefactor     1.2302        .13501       -.13150E-06   -.30451E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 4.39006
  norm       = 1.2835
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.000100001
  norm       = 4.73314
  Prefactor  = 12.9056
  Prefactor  = 0.0001
  Prefactor  = 25.4683
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 39.3027
  Prefactor  = 5.1101
  norm       = 0.0001
  norm       = 13.7794
  norm       = 0.730021
  Prefactor  = 23.0076
  Prefactor  = 0.0001
  norm       = 0.0951331
  Normalizat = 0.893213
  Prefactor  = 1.23022
 **********
 **   18 **HESSE 
 **********

 FCN=   7261.391     FROM HESSE     STATUS=OK           397 CALLS     3161 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    45.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.3901        2.7302        .10378E-03   -1.5289    
   3  norm          1.2835        1.2993        .94901E-04   -1.5481    
   4  Prefactor     .10000E-03    26.289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    56.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.4701        .15120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.7331        2.2480        .83878E-04   -1.5273    
   8  Prefactor     12.906        9.0486        .11158E-03   -1.4989    
   9  Prefactor     .10000E-03    186.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.468        31.784        .79370E-04   -1.4698    
  11  Prefactor     .10000E-03    1.6148        .10475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    10.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.9393        .16498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    47.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          39.303        66.043        .63931E-04   -1.4453    
  16  Prefactor     5.1101        59.102        .17782E-03   -1.5256    
  17  norm          .10000E-03    8.8256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.779        23.393        .10790E-03   -1.4965    
  19  norm          .73002        1.6603        .19336E-02   -1.5537    
  20  Prefactor     23.008        37.822        .83523E-04   -1.4748    
  21  Prefactor     .10000E-03    10.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .95133E-01    2.2257        .11162E-02   -1.5646    
  23  Normalizat    .89321        .22831        .33309E-03   -.96699    
  24  Prefactor     1.2302        .15281        .19822E-03   -.85406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65993e-09
Minuit parameter uncertainties:
  1  0.000342614
  2  2.73023
  3  1.29933
  4  5.58613e-05
  5  0.000609594
  6  9.18146e-05
  7  2.24802
  8  9.0496
  9  0.000379807
  10  31.8049
  11  1.34566e-06
  12  1.17367e-05
  13  1.18121e-06
  14  0.00021545
  15  66.166
  16  34.8001
  17  4.81603e-06
  18  23.4086
  19  1.6604
  20  37.8611
  21  1.3748e-06
  22  0.919861
  23  0.228553
  24  0.152863
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  1.174e-05  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.230e+00  1.529e-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:  8.932e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 118.491 9.390
Photon Flux Upper Limit: 4.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/997713/likelihoodResults_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.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) = 7261.39132609
delta logL = -0.000438818681687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7261.39088722
delta logL = 5.59439286008e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4409       1.0000          .0000       5.0000    
     3 'Normalizat'    .89322       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2302       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7261.391     FROM MIGRAD    STATUS=FAILED        98 CALLS      240 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    295.95        .18142E-01** at limit **
   2  alpha         1.9589        3.5907        .16466        .22224E-06
   3  Normalizat    .89321        .24165E-01    .33309E-03    .32083E-04
   4  Prefactor     1.2302        .16688E-01    .19822E-03    .42717E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7261.391     FROM SIMPLEX   STATUS=UNCHANGED    193 CALLS      433 TOTAL
                     EDM=   .85E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    295.95        .52343E-03** at limit **
   2  alpha         1.9589        3.5907        .30728E-06    .22224E-06
   3  Normalizat    .89321        .24165E-01    .77362E-08    .32083E-04
   4  Prefactor     1.2302        .16688E-01    .18879E-08    .42717E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7261.391     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      461 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.619        .30840E-02** at limit **
   2  alpha         1.9514        3.1462        .65866E-02    .10770E-06
   3  Normalizat    .89321        .20913        .13324E-04    .31229E-04
   4  Prefactor     1.2302        .14450        .39644E-04    .41581E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100004
  alpha      = 1.95139
  Normalizat = 0.893214
  Prefactor  = 1.23022
 **********
 **   18 **HESSE 
 **********

 FCN=   7261.391     FROM HESSE     STATUS=OK            23 CALLS      484 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.913        .61679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9514        3.3576        .13173E-02   -.22124    
   3  Normalizat    .89321        .20924        .26648E-05   -.96699    
   4  Prefactor     1.2302        .14457        .79289E-05   -.85406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15731e-10
Minuit parameter uncertainties:
  1  0.000487975
  2  402.813
  3  0.209431
  4  0.144615
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/997713': 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) = 7261.39088626
delta logL = 1.00981742435e-06

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  4.880e-04  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  1.951e+00  4.028e+02  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.230e+00  1.446e-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:  8.932e-01  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 118.491 9.390

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/997713/cmap_HighResolution_549072001_549331201_4FGL_J0753.9+0923_daily_bin1195.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.12e-05', job_status='DONE', photon_flux_upper_limit='4.58e-08', time_completed='2021-08-28 19:13:48.993598', job_id='997713', GAL2='1.23', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1630203228.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.01e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1195' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:13:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 997713: <4FGL_J0753.9+0923_daily_bin1195> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin1195> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Aug 28 19:00:29 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 19:00:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 19:00:30 2021
Terminated at Sat Aug 28 19:13:49 2021
Results reported at Sat Aug 28 19:13:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin1195 118.491 9.3904 549072001 549331201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0753.9+0923 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   762.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            800 sec.

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

